• 12 Posts
  • 126 Comments
Joined 2 years ago
cake
Cake day: March 28th, 2025

help-circle


  • While I agree on principle, we’re not always using big-name websites. The argument falls short for some-local-blog.com, there’s no security improvement on clicking that link as opposed to shortener.tld/blog-link. I’d say we should trust the source of the link instead of the link itself. Link shortening can be useful if you want long links to look nice when sharing, or simply for personal use so that you don’t need to remember long links to access an internal resource. Or just for personal websites. I can link my CV at https://domain.tld/cv instead of the full PDF file path, for example.










  • For most “normal” setups, no. Networks, environment variables, volumes, permissions etc. map pretty much one-to-one.

    If you’re using compose, you can even keep your setup mostly unchanged and use podman compose. Although, I would recommend learning a bit about quadlets and using them instead. There’s a tool called podlet that can help you translate your docker commands to quadlets, although it’s not complete and does miss some features. The annoying thing can be some QoL tooling that exists for docker compose that doesn’t for quadlets e.g. automatic restart for changed quadlet files. I wrote some scripts for most of these situations. I will probably release them at some point after I make sure that they don’t rely on any specific properties of my setup. But you can easily write them for yourself if you know some shell scripting.

    For docker run commands, you can mostly get away with changing it to podman run.





  • I’m sorry, but since we’re being pedantic, this is not a proof. It’s full of assumptions, some of which are wrong.

    5% is clearly better than 100%

    Never denied it. 0% is even better. What matters is where it’s used. If it’s used for FFI, that’s understandable. Any other use should be scrutinized more. And that’s the issue. The claim of Zig’s creator is that the devs of Bun are not reliable. And to me at least, his arguments make sense.

    it’s usual for Rust projects to use at least some unsafe

    Doesn’t seem like it. This article claims that only about 20% of Rust crates use unsafe at all. Even among those, the vast majority use it for FFI, which is kinda unavoidable.

    but somehow 5% isn’t

    Again, no one claimed that. But we need more than “better than 100%” when it’s a JS runtime. And the "better"ness isn’t necessarily linear. So, even though it might be technically “better”, it might not be by much. At that point, what even is the point of the rewrite?

    Again, I’m not claiming that it’s actually badly written. I’m only claiming that your arguments are not adequate, and that Bun is not a reliable company, so take whatever they claim with a grain of salt.






  • As far as I understand, it doesn’t keep copies of the different edits. The original file is saved, and the edits are serialized and stored in some form. Only one more copy is generated for the final version for preview and such. When editing again, you can add to or subtract from previous edits, and again a maximum of two files will be present. (But there would be no thumbnail, preview etc. for the original. So it isn’t exactly double the storage usage.)

    This is my vague recollection from what I’ve read in the discussions, so take it with a grain of salt. But this is close to what’s happening when you’re editing.