• 1 Post
  • 23 Comments
Joined 8 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. 🙃)







  • 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.



  • Yeah? You should still make a decision. If you want it possible to watch, star and fork the repo from any of the sub-pages, then that stuff has to live in that top ribbon.

    But then you shouldn’t duplicate it into the Code sub-page. I’d work with split buttons, where you can look at who starred and you can add your own star, all from the same UI element. It would not even take up more space, since they do already display the count in the top ribbon as well.

    Apparently this is how Codeberg does it (see e.g. this repo), so this might be where I have the idea from…


  • I mean, yeah, it can make sense to duplicate information. That screenshot isn’t supposed to say that all of these should be deduplicated.
    But you really gotta be cautious with duplication, because it makes everything else harder to find. And I would absolutely argue that GitHub has crossed the line where they duplicate too much, across the board. It feels like design-by-committee.

    This is entirely anecdotal, but what really dumbfounded me while annotating that screenshot, is that I never actually read the links in that “About” section.
    I’ve seen this page probably a thousand times already, but I had no idea that there’s an “Activity” link there, which actually seems like it could be useful. Nor a link to the README, to the CONTRIBUTING.md or for “Custom Properties” (whatever that is).
    I had no idea how to report a repo until now, even though the link is apparently always on screen.

    There’s just so much info there, and it’s presented like read-only info, not like navigation links, so I always just skipped over the lines that don’t have numbers in them. I also genuinely never tried clicking any of these lines before…