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

Here in Germany, I can pretty much only buy them shrink-wrapped, at least in the winter. They get imported from Spain, and I guess, the shrink wrap helps keep them fresh and undamaged during transport.

I imagine, this wouldn't be too different in the UK, but would be glad to be corrected.

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

I mean, Rust has the additional thing that a reference is a pointer + a borrow, so it's not quite as similar to a pass-by-value.

And as for the dereference operator, occasionally you can use it to turn a reference into an owned value, often by making a copy of the value (but in that case, you can usually also use .to_owned()).

A case where I don't think there's an alternative to the dereference operator, is if you've got a mutable reference and you want to replace the value that's underneath: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=04621490e1d0fd6fe1af7f2e843547fb
At the very least, if you remove the asterisk, the compiler will tell you very precisely that you need to add it back.

[-] Ephera@lemmy.ml 10 points 15 hours ago

To me, it just means that you need to be mindful of it being a partnership. If they're good at giving emotional support, while you're good at handiwork or whatever, and you're both happy with that arrangement, then there's no point in mulling it.

It's more a word of warning, especially for the traditionally-male raised folks, who might come into a relationship and fall apart completely, because they feel for the first time, like they're allowed to share their hardships. Like, yeah, you can do that thing, if you're mindful of them being on board. You do still need to make it up to them, because it is a partnership. And you simply won't know, if they can even emotionally deal with your troubles. There is always the risk, especially in young relationships, for your partner to need to get out of there, no matter how much you'd be willing to make it up to them, because it simply drags them down far beyond any relationship could make up.

[-] Ephera@lemmy.ml 9 points 16 hours ago

I think, your expectations are off for what a native integration would achieve. A kernel which has both a Linux API and a Windows API would be an insane maintenance effort. You'd naturally want the Windows APIs to simply be translated to the respective Linux API calls. This is what WINE does.
In theory, if it's directly integrated, you could do some dirtier stuff, i.e. call kernel-internal APIs, but you want to avoid that as much as possible, since those kernel-internal APIs are not nearly as stable as the public APIs.
It should also be said that writing kernel-level code is hard. You cannot ever crash, you cannot ever make mistakes when managing memory, you cannot allow yourself any vulnerabilities. Again, you want to avoid writing kernel-level code, if you can.

WINE has some additional ugly workarounds, like a virtualized filesystem. There's not terribly much you can do about that. Windows applications may simply expect certain folders to be in certain paths. You can't directly map that to a UNIX filesystem.

As far as I can tell, pretty much the only advantage of natively integrating it, would be that it's installed by default, which can be achieved in other ways (distros), and due to those ugly workarounds will not be popular at all. As much as I'm touting its horn right now, I do not want WINE on my system, unless I need it.

It's easy to be frustrated with WINE, because it does not handle all applications perfectly, and then think that the approach is just wrong. But yeah, no, some really smart folks came up with that approach. It's just insanely hard to get the exact (undocumented) behavior of the Windows kernel APIs correct, whether you do a mapping or implement them natively.

[-] Ephera@lemmy.ml 6 points 16 hours ago

Yeah, I was expecting it to be a joke like:

  • Introducing Longtrucks. 🚌
  • Impress even more strangers of the superior person-hauling capabilities with 32 seats.
  • Includes a light-up sign 🚍 so you can proudly show to strangers where you're headed.
  • Access a world-wide network of pick-up bays 🚏 for you to pick up strangers from.
[-] Ephera@lemmy.ml 11 points 1 day ago

Was bin ich sehend?

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

Zero-setup snapshotting, GUIs for system settings, more sophisticated repo management, less custom-patching of software, more utilitarian than minimalist.

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

I do enjoy how he's referred to as "head chef", when "chef" itself comes originally from the Latin word for "head".

If you will, he's either Head Head Jeff or also Chef Chef Jeff.

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

I guess, I'm not up-to-date on the situation then...

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

It's so ridiculous, too. As far as I can tell, he was arrested, because his clothes looked superficially similar to the person who shot the CEO, but if you spend five seconds comparing the security camera images, it's pretty obvious that none of the clothing items actually match. If they hole him up based on this evidence, that's embarrassing.

41
ich🥄iel (lemmy.ml)
submitted 5 days ago by Ephera@lemmy.ml to c/ich_iel@feddit.org
258
Cyanide and Door Business (sh.itjust.works)
submitted 1 week ago by Ephera@lemmy.ml to c/dadjokes@lemmy.world
239
submitted 2 weeks 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. 🎉

92
ich🖨️iel (lemmy.ml)
submitted 2 weeks ago by Ephera@lemmy.ml to c/ich_iel@feddit.org
241
submitted 1 month ago by Ephera@lemmy.ml to c/programmerhumor@lemmy.ml
92
ich🚮iel (lemmy.ml)
submitted 1 month ago by Ephera@lemmy.ml to c/ich_iel@feddit.org
88
submitted 1 month 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. 🙃

20
ich🎓iel (lemmy.ml)
submitted 4 months ago by Ephera@lemmy.ml to c/ich_iel@feddit.org

Vom Wikipedia-Artikel zur sprichwörtlichen Eintagsfliege: https://de.wikipedia.org/wiki/Eintagsfliege

30
ich🌰iel (lemmy.ml)
submitted 4 months ago by Ephera@lemmy.ml to c/ich_iel@feddit.org
2
submitted 5 months ago by Ephera@lemmy.ml to c/ich_iel@feddit.org
45
submitted 6 months ago by Ephera@lemmy.ml to c/askscience@lemmy.world

We often talk about the climate impact based on greenhouse gases, but extracting fuel from the ground and using it in exothermal processes of course also releases energy as heat.

This is mostly¹ in contrast with renewables, which make use of energy that's not long-term contained to begin with, so would end up as heat in our atmosphere anyways.

So, my question is: Does the amount of energy released by non-renewables have any notable impact on our global temperature? Or would it easily radiate into space, if we solved the greenhouse gas problem?


¹) In the case of solar, putting up black surfaces does mean that less sunlight gets reflected, so more heat ultimately gets trapped in our atmosphere. There's probably other such cases, too.

328
submitted 7 months ago by Ephera@lemmy.ml to c/programmerhumor@lemmy.ml
view more: next ›

Ephera

joined 4 years ago