[-] Ephera@lemmy.ml 2 points 11 hours ago

In the article linked as "statement", there's an image with a scale:

[-] Ephera@lemmy.ml 7 points 18 hours ago

Damn, those pipes look useful. Can use them to send stdout from one command to the stdin of another, as you'd expect. But you can also easily send stuff to stdin from Rust code (and of course, easily read from stdout and stderr, too): https://doc.rust-lang.org/stable/std/io/fn.pipe.html#examples

[-] Ephera@lemmy.ml 1 points 19 hours ago

I guess, kinda? In my head, a Verein is definitely more of a hobby/socialising thing, but I do have to say that "club" certainly doesn't feel impactful enough. Like, Germany as a whole would fall apart, if you took the Vereine away.

For example, the Red Cross is an e.V. here. There's e.V.s that support the local voluntary firefighters (although those are also organized by the municipality). We've got big-ass nature preservation e.V.s that do really important work in suing awful corporations. Local sports organizations and orchestras and whatnot are also organized as e.V.s. And perhaps the most relevant in this community is the KDE e.V., which helps organize/assist the wider KDE community.

So, yeah, some of them definitely do work that one might expect from a charity...

[-] Ephera@lemmy.ml 2 points 20 hours ago

It's easy to set up a cache, but what's hard is convincing your devs to use it.

Mainly because, well, it generally works without configuring the cache in your build pipeline, as you'll almost always need some solution for accessing the internet anyways.

But there's other reasons, too. You need authentication or a VPN for accessing a cache like that. Authentications means you have to deal with credentials, which is a pain. VPN means it's likely slower than downloading directly from the internet, at least while you're working from home.

Well, and it's also just yet another moving part in your build pipeline. If that cache is ever down or broken or inaccessible from certain build infrastructure, chances are it will get removed from affected build pipelines and those devs are unlikely to come back.


Having said that, of course, GitHub is promoting caches quite heavily here. This might make it actually worth using for the individual devs.

[-] Ephera@lemmy.ml 3 points 20 hours ago

I also remember there being a tiny shitstorm when Google started proxying package manager requests through their own servers, maybe two years ago or so. I don't know what happened with that, though, or if it's actually relevant here...

[-] Ephera@lemmy.ml 7 points 1 day ago

For Rust, as I understand, crates.io hosts a copy of the source code. It is possible to specify a Git repository directly as a dependency, but apparently, you cannot do that if you publish to crates.io.

So, it will cause pain for some devs, but the ecosystem at large shouldn't implode.

[-] Ephera@lemmy.ml 12 points 1 day ago

It's gonna be problematic in particular for organisations with larger offices. If you've got hundreds of devs/sysadmins under the same public IP address, those 60 requests/hour are shared between them.

Basically, I expect unauthenticated pulls to not anymore be possible at my day job, which means repos hosted on GitHub become a pain.

[-] Ephera@lemmy.ml 8 points 1 day ago

But do they also randomly explode all over the place when you enter a room?

[-] Ephera@lemmy.ml 9 points 2 days ago

Interesting thought, yeah, but this method isn't going to be viable for mass production, possibly ever.

They produced 89000 nuclei per second.
1 gold atom weighs about 196.96657 u.
1 u is 1.66053906892 * 10^−27^ kg.

Therefore, we can calculate how much gold they'd produce in a year:
196.96657 u/atom * 1.66053906892*10^−27^ kg/u * 89 000 atoms/second * 60 seconds/minute * 60 minutes/hour * 24 hours/day * 365 days/year = 917.9905991879 * 10^-15^ kg/year

That's still basically nothing. If they ran these streams continuously for a billion years, that's when we'd get close to producing 1 gram.

And it won't really start scaling much either, since you'll always need to accelerate a proportional amount of lead to near-light-speed, no matter what you produce with this method. But yeah, maybe we'll find a different method at some point.

[-] Ephera@lemmy.ml 6 points 2 days ago

You have to think of them more like a club rather than a non-profit company. Their legal form "eingetragener Verein" does mean "registered club".

Basically, here in Germany, you can register a non-profit club and then you get exempt from taxes. And folks who donate to your club can also get that donation exempt from their taxes.

37
submitted 3 weeks ago by Ephera@lemmy.ml to c/linux@lemmy.ml

Screenshot showing how the directory last-modified timestamp changes each time a file underneath it is added, renamed and then removed.

I'm currently working on a build tool, which does caching based on the last-modified timestamp of files. And yeah, man, I was prepared for a world of pain, where I'd have to store a list of all files, so I could tell when one of them disappears.
I probably would've also had to make up some non-existent last-modified timestamp to try to pretend I know when that file got deleted. I figured, there's no way to ask the deleted file when it got deleted, because it doesn't exist anymore.

Thank you, to whomever had that smart idea to design it like that. I can just take the directory last-modified timestamp now, if it's the highest value.
In fact, my implementation accidentally does this correct already. That's how I found out. 🫠

37
submitted 2 months ago by Ephera@lemmy.ml to c/potatoism@lemmy.world
47
submitted 2 months ago by Ephera@lemmy.ml to c/rust@lemmy.ml
52
submitted 2 months ago by Ephera@lemmy.ml to c/rust@lemmy.ml
127
Argh chives (lemmy.ml)
submitted 4 months ago by Ephera@lemmy.ml to c/memes@lemmy.ml

Bought a pot of chives and every time I look away, it seems to grow multiple centimeters in size. I have to give it a haircut almost daily...

849
IEEE 754 (cdn.fosstodon.org)
submitted 4 months ago by Ephera@lemmy.ml to c/programmerhumor@lemmy.ml

~~Stolen~~ Cross-posted from here: https://fosstodon.org/@foo/113731569632505985

211
submitted 4 months ago by Ephera@lemmy.ml to c/programmerhumor@lemmy.ml
139
submitted 5 months ago by Ephera@lemmy.ml to c/programmerhumor@lemmy.ml

The rendered output looks like this:

It even sounds half-decent.

I would also like to congratulate German for having the most fucked up notation system, according to the LilyPond documentation. 🙃

Source code

9
Cyanide and Door Business (sh.itjust.works)
submitted 5 months ago by Ephera@lemmy.ml to c/dadjokes@lemmy.world
242
submitted 5 months ago by Ephera@lemmy.ml to c/linux@lemmy.ml

If I'm interpreting this correctly, many MP4 patents are going to expire next year. 🎉

245
submitted 6 months ago by Ephera@lemmy.ml to c/programmerhumor@lemmy.ml
88
submitted 7 months ago by Ephera@lemmy.ml to c/programmerhumor@lemmy.ml

So, this uses a macro, but if you're thinking anything is possible with a macro, it's actually not in Rust. The input does still need to parse as valid Rust tokens.

Which means the authors asked themselves at some point: Is the Rust syntax a superset of the Python syntax?
And well, it's not. In particular, some Python keywords will just be tokenized as an identifier (like a variable name).

But it is close enough that the authors decided against requiring a massive string to be passed in, which does amuse me. 🙃

view more: next ›

Ephera

joined 5 years ago