3 ms·
I'm technologically stuck in the era when everyone hated JavaScript. I provision instances with bash and services over REST APIs.
by expertentipp 3y ago
I'm technologically stuck in the era when everyone hated JavaScript. I provision instances with bash and services over REST APIs.
- nailer 3y agoTo be fair JS was a bit ridiculous pre ES2017. These days, you have async/await (even at the top level) and it just works when you use `node file.mjs` For TS, install '@digitak/esrun' and run: esrun file.ts (no tsconfig, package.json, etc. required) That basically turns JS into the async equivalent of python and is great for boring sysadmin tasks.
- elyoun 3y agoI just started working on a more devops/platform kind of role. I believe we're basically doing what you feel like is stuck in an era. Can you shed some light as to how JavaScript is used/ is an improvement?
- candiddevmike 3y agoI have a tool that I'm about to release soon that you may be interested in. It's a way to configure servers (with bash or whatever you want) in a distributed, decentralized way. You build "patterns" which are signed build and run scripts that the servers can be pushed or pull the patterns from a storage provider (like a storage bucket). The tool exports various prometheus metrics that you'd use to determine the state of it and whether the patterns were successfully applied etc. Best of all, it's stateful by design, so when you add or remove things the pattern will clean up after itself. Message me if you want to be part of the beta.