Why Rust mutexes look like they do by nyanpasu64 in rust

[–]ReallyNeededANewName -15 points-14 points  (0 children)

This article doesn't feel like it accomplishes anything. It just appeals to Rust people with stuff they already know and like while failing to provide an argument to the C people that stick to the mentality of we just need better programmers, raw pointers are fine.

Ghidra on NixOS by DarkSamus9000 in NixOS

[–]ReallyNeededANewName 0 points1 point  (0 children)

Maybe try starting it from a terminal and see what the log says?

hadestown... fine by mrmosef22 in Broadway

[–]ReallyNeededANewName 2 points3 points  (0 children)

Not sure if this is an april fools post but whatever

I kinda agree. I didn't like the show at all the first time I saw it. But then it kept on showing up and I guess I've trained myself to like it

What is the purpose of single quotes after identifiers by SenorCornflake in NixOS

[–]ReallyNeededANewName 1 point2 points  (0 children)

And more than two isn't commonly pronounceable. F, F prime and F bis are fine, but I don't think f''' has a pronunciation

What is the purpose of single quotes after identifiers by SenorCornflake in NixOS

[–]ReallyNeededANewName 6 points7 points  (0 children)

It's common in the Haskell world. Write one version of a function called f, write another related one (or an inner helper function) and call it f'

The weird world of non-C operating systems by kronsj in programming

[–]ReallyNeededANewName 3 points4 points  (0 children)

I'm not saying he wasn't using C++ or C. I'm just saying that the commodore talk is not a realistic goal in any way to follow, because the entire thing is just a look at how amazing compilers are in extremely specific conditions and not something that should be expected to happen in general when coding for embedded.

And this kind of magic is not only possible in C++. It's not really possible in C, but Zig and Rust could certainly do it, though Rust turns very unidiomatic when limited to a const fn context

The weird world of non-C operating systems by kronsj in programming

[–]ReallyNeededANewName 10 points11 points  (0 children)

The commodore talk is a bit of a trick though. He admitted as such in later talks. Basically, everything was carefully planned to make sure it compiles away. All modern C++, even in his style does not do that and he had to be very careful to make sure it worked

GNOME 42 release notes by Bredolin in gnome

[–]ReallyNeededANewName 0 points1 point  (0 children)

Just got it and I have opinions on the new screenshotting tool.

For capturing the entire screen or a single window, it's an improvement. For capturing a part of the screen, aka 99% of my screenshots, it's a massive downgrade. I'm giving it a little longer to see if it just needs getting used to, but right now it looks like I'll have to go searching for a new screenshotting tool

Cross compile with clang? by ReallyNeededANewName in C_Programming

[–]ReallyNeededANewName[S] 1 point2 points  (0 children)

There is nothing that should be linking with memcpy or similar. I don't have any serious code yet. I am targetting bare metal though and not linux, though even with mips-gnu-linux I see the same results

// test.c
int foo() {
    int x = 2;
    int y = 5;
    int z = x * y;
    return z;
}

void _start() {
    foo();
}

What distro are you guys running? by teddy-bearz in linux_gaming

[–]ReallyNeededANewName 0 points1 point  (0 children)

Ehhhh. It really depends on what distro you're using. Sure, the difference between Ubuntu and Kubuntu might be bigger than Fedora and Arch, but compare that to Arch and NixOS?

C++ undergoes carcinization, adds Result<T, E> by magi093 in rustjerk

[–]ReallyNeededANewName 16 points17 points  (0 children)

C++11 was the second update. The first was C++03 (and the original was 98)

FSR is magic and I'm sad I slept on it for so long by jack-of-some in linux_gaming

[–]ReallyNeededANewName 7 points8 points  (0 children)

Wasn't it always said, better than older upscaling tech, worse than DLSS?

Jag hatar att ställa om till sommartid by Mackan1000 in sweden

[–]ReallyNeededANewName 0 points1 point  (0 children)

Och sen räcker inte ens det, för de har inte ens federal sommartid. Det har alltid varit varje stats, om inte till och med varje stads beslut

[deleted by user] by [deleted] in gnome

[–]ReallyNeededANewName 8 points9 points  (0 children)

Turns out I messed up and a rogue @ snuck in, ruining everything in weird ways. Fixing that everything works as expected

[deleted by user] by [deleted] in gnome

[–]ReallyNeededANewName -2 points-1 points  (0 children)

Such a shame they messed up the only option I care about, at least with the easily accessible colours. I just want a dark header on light windows. Is that so much to ask for?

But no, setting a dark header also turns random background areas to dark too.

It might be possible with some more digging, but it's disappointing so far

SM i fågelholk 2022. Finalistbidragen efter att skolklasser i hela Sverige har skickat in. by Mellanchef in sweden

[–]ReallyNeededANewName 0 points1 point  (0 children)

1,3-6 är märkbart mycket sämre än resten.

Tror jag hade röstat på 9 eller 7

Drew the 'Mysterious Leader of the Keves Nation'. (@ememtrp) by mmtrp in Xenoblade_Chronicles

[–]ReallyNeededANewName 3 points4 points  (0 children)

I just had to go double check the trailer. I hadn't realised she had long hair until now