• 1 Post
  • 26 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle












  • I’ve been trying out an IaC services’ (Pulumi) chatbot to answer questions about how to spin up architecture. It’s really bad. Totally makes up properties that don’t exist and at times spins up code that doesn’t even make sense syntactically. Not to mention that the code it generates has the potential to cost not insignificant amounts of money.

    Definitely not a replacement for stack overflow, github, forums, or random blog posts. Not for a service that spins up critical infrastructure. Like, you have to know to some degree how that stuff works. And if you know how that stuff works, what’s the point of the service? Saving a few minutes typing stuff out and looking at documentation?





  • Depends if you want a managed service or not. As stated by others, any Linux vm can do it: Aws ec2, Azure, Digital ocean, etc. Cost won’t spiral because you pay a fixed fee for the vm you choose (can be like 5 dollars a month).

    The options that can spiral if for some reason your app started being used a lot. But likely these will be pretty much free:

    A lot of cloud platforms have some sort of managed container service. Wrap your app in a docker container and pay per 10K API calls for example.

    Another option is to use a managed service that handles the runtime for you (AWS Lambda, Google cloud app engine, etc.) These options should have the option for a dotnet core runtime. They can also be really cheap if your app isn’t used much.




  • The CLI and probably other more advanced guis are going to give you the option to:

    • bisect: very useful for debugging. Like definitely check it out.
    • rebase: excellent for clean commits. I use it all the time to squash commits together
    • diff arbitrary branches and commits. Super useful for debugging.
    • cherry pick: useful to apply a commit from a different branch or remote
    • Apply: I use it to pass around patches for things for testing / debugging.

    That’s just off the top of my head and also stuff that you can learn on the job. Good to know it exists though. I still use a “gui” (fugitive for vim) for simple tasks, like staging files 🙂