0
202
fruitcantfly

@programming.dev

fruitcantfly 58 points 10 months ago

At this point the people complaining about Rust at every opportunity have become more annoying than the "rewrite it in Rust" people ever were

path: 0 21025351, hotness: undefined, score: 58, children: 4
fruitcantfly 37 points 2 months ago

Betteridge's law of headlines:

Any headline that ends in a question mark can be answered by the word no

path: 0 25217976, hotness: undefined, score: 37, children: 3
fruitcantfly 36 points 3 months ago

It can't be quite that bad; they've been shipping the rust version of Bun with Claude Code since v2.1.181 (released June 18th), and I haven't seen an outcry over all related functionality breaking

path: 0 24986770 24988372, hotness: undefined, score: 36, children: 3
fruitcantfly 34 points 10 months ago

The article is about an internal kernel API: They can easily rename those, since they are not exposed to user-space.

But you seem to be talking about the kill command and/or the kill function, that are part of the POSIX and C standards, respectively. Renaming either would break a shit-ton of code, unless you merely aliased them. And while I agree that kill is a poor name, adding non-standard aliases doesn't really offer much benefit

path: 0 20947527 20948267 20948573 20949006, hotness: undefined, score: 34, children: 0
fruitcantfly 34 points 18 days ago

Always take these stories with a grain of salt.

For example, while the article claims that "we saw Denmark's government move from Windows to Linux back in 2025", the reality is that it was just one department and they didn't even move to Linux. They merely started a pilot project to see if they could move from Office 365 to Collabora: https://www.digmin.dk/...

path: 0 26012517, hotness: undefined, score: 34, children: 2
fruitcantfly 33 points 10 months ago

I set the timestamps of my music to its original release date, so that I can sort it chronologically... OK, I don't actually do that, but now I'm tempted

path: 0 20866126 20866421, hotness: undefined, score: 33, children: 2
fruitcantfly 28 points 3 months ago

I can't believe that Rust developers would call POSIX functions to interact with the operating system! The audacity!

path: 0 24567113, hotness: undefined, score: 28, children: 3
fruitcantfly 28 points 7 months ago

It’s probably easier to strip down GRUB, than it is to resurrect and add missing features to a project that has been dead for 10+ years

path: 0 22868336 22869625, hotness: undefined, score: 28, children: 5
fruitcantfly 24 points 7 months ago

I also saw a 4.5 second boot time speedup from installing mine. I have NO IDEA how, but it’s happened.

If I saw a speedup that I didn’t understand, then I’d worry that I had accidentally broken something. It’s easy to get speedups by not doing things correctly

path: 0 22813864 22819192, hotness: undefined, score: 24, children: 2
fruitcantfly 22 points 8 months ago

These are all very useful things to know about, but besides maybe the difference between stack and heap, they are not things you need to learn about before getting starting with Rust.

So if you actually do want to learn Rust, then that's your next rabbit hole

path: 0 22025273, hotness: undefined, score: 22, children: 0
fruitcantfly 22 points 4 months ago

This is probably not worth losing sleep over. OpenAI are not the only Platinum Member, nor the biggest contributor to the Rust Foundation. Microsoft and Google have both contributed at least $1 million each, going by previous press releases. See here for a list of the foundation members

path: 0 24316275, hotness: undefined, score: 22, children: 16
fruitcantfly 19 points 7 months ago

Hopefully nobody tells the corpos that they can just use BSD if they want a MIT licensed kernel and user-land

path: 0 22616465 22618929 22619875, hotness: undefined, score: 19, children: 0
fruitcantfly 19 points 7 months ago

What do you mean, he “admitted” that?

It’s quite literally the first thing he wrote in his pull request to systemd:

Stores the user's birth date for age verification, as required by recent laws in California (AB-1043), Colorado (SB26-051), Brazil (Lei 15.211/2025), etc.

And the second paragraph of his pull request to arch:

Recent age verification laws in California (AB-1043), Colorado (SB26-051), Brazil (Lei 15.211/2025), etc. require platforms to verify user age. Collecting birth date at install time ensures Arch Linux is compliant with these regulations.

path: 0 22893046 22893652, hotness: undefined, score: 19, children: 1
fruitcantfly 19 points 3 months ago

You didn't expect them to use the standard low-level, cross-platform API to build cross-platform coreutils?

path: 0 24567113 24567639 24573129, hotness: undefined, score: 19, children: 1
fruitcantfly 18 points 3 months ago

Other git hosts are also getting scraped, and have had to implement counters because of it. For example, this is the kind of thing Codeberg shows crawlers. I've even seen people who self-host complaining about getting overloaded because of bots scraping their forge

path: 0 24953679 24959619, hotness: undefined, score: 18, children: 1
fruitcantfly 18 points 3 months ago

Banning "AI" is too broad and too shortsighted.

They haven't done that. The actual terms are

You must not share projects that mostly consist of code written by "generative AI"-tools (including services such as Claude, OpenAI Codex). Such projects having an unclear copyright status (see requirements § 2 (1) 1 and § 2 (1) 3) and furthermore have little safeguards to ensure that they do not include harmful code (c.f. § 2 (1) 5).

See also their blog post, where they specifically mentions experiments as "tolerated":

Side projects and experiments with little resource usage

path: 0 24925525 24925624, hotness: undefined, score: 18, children: 4
fruitcantfly 18 points 20 days ago

This looks like a colossally bad idea:

  if (!strcmp(platform, "windows") && !isSpecificPlatform) {
    debugLog("Falling back to rm -rf", 2);
    debugLog(strfmt("rm -rf exited with code %d",system(strfmt("rm -rf %s", path))), 3);
  }

In addition,

However, their even though their client doesn’t allow vibe coding, it is still written in Python, which itself takes ai contributions.

Per the Makefile, this project is built using GCC. GCC itself accepts AI contributions, provided that the code is "legally insignificant" (meaning less than around 15 lines of code) or is part of test cases: https://gcc.gnu.org/ai-policy.html

path: 0 25981074, hotness: undefined, score: 18, children: 5
fruitcantfly 18 points 4 months ago

I prefer the classic Bool:

enum Bool 
{ 
    True, 
    False, 
    FileNotFound 
};
path: 0 24289030, hotness: undefined, score: 18, children: 2
fruitcantfly 17 points 10 months ago

How the fuck can it not recover the files?

Undeleting files typically requires low-level access to the drive containing the deleted files.
Do you really want to give an AI, the same one that just wiped your files, that kind of access to your data?

path: 0 20786833 20790948, hotness: undefined, score: 17, children: 0
fruitcantfly 16 points a month ago

I think they are quoting themselves. I'm fairly sure they've posted this exact thing before, for other versions of GIMP

path: 0 25753312 25753908, hotness: undefined, score: 16, children: 2

thanks for using Leebra!

go to feed...