• 3 Posts
  • 224 Comments
Joined 6 months ago
cake
Cake day: April 20th, 2026

help-circle



  • You can still move your folder from .config/librewolf/ to .librewolf/ and it will use it from there. At least, it works like that in Firefox (potentially to be removed in the future, but there’s no real reason to remove it any time soon).

    But yeah, I don’t know how that works together with KeePassXC. I mean, if it worked on LibreWolf before, then presumably moving the folder back to .librewolf/ should fix it until KeePassXC is updated…

    (And yes, the .config/ directory is specified by the XDG standard.)

    (Also, good shout about the directory being relevant. I guess, that’s also why the extension is currently broken for me, because I was a bit too eager to switch to the .config/ dir. 🙃)









  • MDN has a really good tutorial: https://developer.mozilla.org/en-US/docs/Learn_web_development/Core

    I also want to throw in that a “static site generator” would probably be up your alley.
    It is additional software, but it just gives you HTML+CSS in the end, so you can still upload to NeoCities or the like. It would effectively replace PHP for your use-case.

    Knowing some HTML and CSS, and the rest of what you learned in that tutorial, is still helpful, as you may want to customize your template, but for the most part you can just write your blog posts in Markdown and it’ll generate the HTML with navigation links for you.

    Of course, a static site generator is still an additional layer of complexity. For learning how HTML and such work, it’s definitely valid to plug everything together yourself. 🙂



  • Well, Anthropic have previously used their near-infinite investor money to give out tokens to open-source projects as a publicity stunt. And it just seemed so impossible to me that they would revert when they’re owned by Anthropic, that it made me unsure, if they’re aware of this ownership… 😅

    And good point about Bun being more than just a package manager.
    uv is also more than a package manager. Pretty sure, it could also be referred to as a bundler and a test runner, and I’ve seen it used to manage the install of different Python runtime versions. But yeah, being a full language runtime by itself, that is the big one here.

    I mean, there’s also a near-infinite supply of toy programming languages being implemented in Rust, if the LLM needs something to ripoff, but yeah, a production codebase will be magnitudes more complex, of course.


  • Just to kind of confirm this:

    ls -l does not show them like hard links, but rather like soft/symbolic links.

    But when I do tail -f /path/to/file.txt on a file (to keep it open in a process) and then delete the file, I get this output in ls -l:

    3 -> '/path/to/file.txt (deleted)'
    

    The 3 seems to just be an incrementing number for each file opened by the process. And then, well, obviously the file isn’t now called “file.txt (deleted)”. That is just a name the kernel makes up when ls -l asks it what’s in that directory.

    So, presumably the kernel keeps a separate copy of that file in memory until the process closes the file or is terminated. And then exposes it through this pseudo-softlink rather than making use of hardlinks.


  • Yeah, it’s going to be interesting. In principle, this is something that LLMs are good at, i.e. taking some existing thing and just translating it into a different language. But from what the Zig creator said about the Bun codebase, a lot of those hacks may be difficult to translate into Rust, and of course have a lot of potential for bugs.

    And well, they do also have the problem that they cannot halfass this rewrite, which LLMs are not good at. If they publish a new version and it’s a buggy mess, it will still look bad…


  • I would use an enum. Booleans are bad, because they don’t tell you what true means. And specifically named functions are bad, because you cannot pass them through the codebase as data (without resorting to entirely functional patterns).

    I mean, your examples are in C, which has shit enums that are just integers, so at runtime you won’t know either what a 1 is without context.
    And I believe the compiler doesn’t stop you either from passing a different enum or just an integer into a parameter with that enum as type.
    But at least it’ll be written in the code what you hope to get passed, so…
    it's something.


  • In case you’re not aware, the company behind Bun is now owned by Anthropic. So, IMHO there is no way they’ll revert the rewrite, because that decision would have to come from Anthropic and they have a ton of reputation to lose.

    I guess, I could see them trying to justify a revert by flinging mud at Rust, like they did with Zig, but I don’t know if they dare.
    It’s easier to punch down for Zig, because comparatively few people know it. And there’s also already uv, which is a package manager for Python, written in Rust, so clearly the Bun rewrite should be possible.


  • I mean, maybe, but I seriously would not underestimate the internalized misogony of older women.

    A few years ago, we had an event in our village and I was assigned to do the dishes, along with a handful of younger girls.
    And for whatever reason, my aunt came into the kitchen, saw me in the dishwashing corner and then basically wanted me to say that I was only there to show the girls how to do it, not because I was working there myself.

    Like she was seriously disgruntled when I replied that the girls know just as well how to do it.




  • trem@lemmy.blahaj.zonetome_irl@lemmy.world•Me_irl
    link
    fedilink
    arrow-up
    5
    ·
    2 months ago

    I’ll go on a trip over 2½ days in autumn, and for dietary reasons, I can’t really expect to find food there. So, my current plan is genuinely to just bring my own food for the whole trip.

    And yeah, it’s just 7 meals, a bag of food is probably enough. But in my head, I’m already trying to work out the logistics of transporting a shopping cart’s worth of food there. 🫠