Skip Navigation

Posts
6
Comments
511
Joined
2 yr. ago

  • It's such a good investment that it's why insurance was invented.

  • It's almost 30 years old. Not to knock cURL, it's a staple for sure.

    HTTPie and xh claim to have a more intuitive UX. If the functionality is comparable, I choose tools written in memory-safe languages by default.

  • xh is a nice modern alternative.

  • There is actually a JS library called Planktos that can serve static websites over BitTorrent. I don't know how good it is, but it sounds like a starting point.

    https://github.com/xuset/planktos

  • My SO's family all like to pronounce "mauve" in a weird way, so I say it every chance I get to perturb them.

  • Over time I switched to saying it like you. It's more internally consistent for me to pronounce all abbreviations the same as the words being abbreviated. That applies to enum, char, var, serde, num, regex, etc.

  • It's technically a good combat scene, but it kinda felt like I was just watching a high budget reenactment, not a drama.

  • Saving Private Ryan

    I like Spielberg, but compared to others in the war drama genre like Band of Brothers or Full Metal Jacket, SPR is laughably bad.

    The tone of the movie, trying to be more inspirational than realistic, was awkward at best. Acting was pretty mediocre, probably because the script and characters were 1 dimensional.

    It completely disregards the historical context of the war. You could watch this movie and learn absolutely nothing about the history of WWII.

    Now Band of Brothers. That was some amazing retelling of true war stories. It wasn't trying to be inspirational. It was just honest about the chaos and brutality of war. That made it harrowing heartbreaking, infuriating, and inspirational all at once.

  • Organizationally, you don't want your API handler to care about implementation details like database queries. All DB interaction should be abstracted into a separate layer.

    Generally API handlers only care about injecting any "global" dependencies (like a database object), extracting the request payload, and dispatching into some lower-level method.

    None of this requires generic code. It's just about having a clear separation of concerns, and this can lead to more reusable and testable code.

  • that’s a git problem, not Windows.

    I use Git, and I don't use Windows. I have no problems. Sounds like... a Windows problem?

  • You are never guaranteed to be able to do anything during a crash. You are better off handling these kinds of edge cases in a recovery phase during the start of your app.

  • Seems like a stretch to file a federal murder charge when it was really only the stalking that can be argued as "cross state". Isn't federal murder charge usually reserved for serial killers or killers that transport the body across state lines?

    • Has a simple backup and migration workflow. I recently had to backup and migrate a MediaWiki database. It was pretty smooth but not as simple as it could be. If your data model is spread across RDBMS and file, you need to provide a CLI tool that does the export/import.
    • Easy to run as a systemd service. This is the main criteria for whether it will be easy to create a NixOS module.
    • Has health endpoints for monitoring.
    • Has an admin web UI that surfaces important configuration info.
    • If there are external service dependencies like postgres or redis, then there needs to be a wealth of documentation on how those integrations work. Provide infrastructure as code examples! IME systemd and NixOS modules are very capable of deploying these kinds of distributed systems.
  • American Voters soon to get bad news that Trump does not give a fuck about them.

  • I don't think it's fair to say 2 is strictly whataboutism, because Chomsky has a founded fear that strengthening NATO as a military power through conflict escalation will lead to worse outcomes in the long run. That's why it's relevant to point out NATO war crimes.

    As for 3, that's a fair point, and I would press Chomsky to provide an option for de-escalation that doesn't involve allowing Russia to keep any Ukrainian soil.