- 3 Posts
- 224 Comments
Conversely, ads are now one of the primary vectors how malware is distributed, so you still have at least 3 viruses on your computer. 👍
trem@lemmy.blahaj.zoneOPto
Linux@lemmy.ml•PSA: Firefox now auto-uses the XDG portal file picker
4·2 months agoYou 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. 🙃)
trem@lemmy.blahaj.zoneOPto
Linux@lemmy.ml•PSA: Firefox now auto-uses the XDG portal file picker
7·2 months agoOh, I think, you’re right. It was a patch by openSUSE at first, but then they integrated it in about:config.
Huh, isn’t that just plastic bullshit? Why is it so expensive?
trem@lemmy.blahaj.zoneOPto
Linux@lemmy.ml•PSA: Firefox now auto-uses the XDG portal file picker
14·2 months agoJust saw this while flicking through the changelog and hadn’t heard of this when it was released. Perhaps too niche to report on for news pages. So, I figured, I’d post here. ¯\_(ツ)_/¯
trem@lemmy.blahaj.zoneto
Ask Lemmy@lemmy.world•What’s an obscure but concrete technical fact that keeps creating preventable issues in the real world?
7·2 months agoBy the way, it’s absolutely not just Germany that does it the other way:

https://en.wikipedia.org/wiki/Decimal_separator#Conventions_worldwide
No, they mean the license costs. I’m pretty sure, you only have to pay a fee for Docker Desktop…
Oh man, that does not register as food to my brain, from all the food dyes. If the packaging wasn’t there, you could’ve told me this is a cleaning sponge and I might’ve believed you…
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. 🙂
trem@lemmy.blahaj.zoneto
Ask Lemmy@lemmy.world•If we restarted Earth with 120 people, how long until we get to 8 billion?
28·2 months agoHumanity started growing massively when the Industrial Revolution hit:
Source: https://ourworldindata.org/population-growth-over-timeSo, that would be a factor, whether they’d still have access to technology (and whether we’d expect them to be able to maintain at least some of this technology).
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.
uvis 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 -ldoes not show them like hard links, but rather like soft/symbolic links.But when I do
tail -f /path/to/file.txton a file (to keep it open in a process) and then delete the file, I get this output inls -l:3 -> '/path/to/file.txt (deleted)'The
3seems 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 whenls -lasks 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…
trem@lemmy.blahaj.zoneto
Programming@programming.dev•Discussion: Programming conventions for On/Off functions. Singular or separate?
7·2 months agoI would use an enum. Booleans are bad, because they don’t tell you what
truemeans. 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
1is 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…

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 alreadyuv, 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.zoneto
Linux@lemmy.world•After Europe ditched Windows, China follows suit with its own home-grown Linux distrosEnglish
5·2 months agoThey do give out grants, which then existing organizations distribute to open-source devs.
For example, they give money to the NLnet foundation: https://cordis.europa.eu/project/id/101135429
And then NLnet has given it to these projects: https://nlnet.nl/project/index.html
Some of those you might know, like for example this project called “Lemmy”.Another example of what they do, which is somewhat different from what you had in mind, is that they give money to companies, if those companies open-source the developed software (and pay half the dev costs themselves), and ideally also cooperate with other companies.
You also have intermediate foundations for that, for example the Eclipse Foundation does a lot here: https://projects.eclipse.org/
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. 🫠








There’s also https://www.trinitydesktop.org/ which is a fork of KDE 3.5 still being maintained.