@thephd This is nice, but my bigger problem with _Generic is that it checks the semantics of non-matched expressions too.
ˋˋˋ
_Generic(x, struct a: x.x, int: x)
ˋˋˋ
This currently fails if x is an int. There are workarounds, but they are really annoying, hard to read and error prone.
ˋˋˋ
_Generic(x, struct a: _Generic(x, struct a: x, default: (struct a){0}).x, int: x)
ˋˋˋ
@mcc In a way, installing stuff really isn't what makes package managers useful & important.
@mcc Distro package managers are the distros. They allow maintainers to curate what software is available, what it's default configuration is, to ensure it is safe, and that it follows their (distros) policies. If something contains or requires non-free stuff, contains malware, adware, or tracking stuff, they are to decide what to do about it (remove / not include the package, disable it, allow it, etc.). It also allows updating systems as a whole, to resolve all old security vulnerabilities.
@mary I only know C which has different rules than C++, but I'm pretty sure that the C standard wouldn't allow clang to do this. When dereferencing pointers of the same type (or char*), they may alias, and there are sequence points inbetween, so the compiler really shouldn't reorder the access.
So, perhaps this is a compiler bug?
@foone Wouldn't it be faster to just rewrite it in python, c, or any other language really?
Disabling Instruction:
Disabling instruction:
Disabling instruction:
All instructions have been disabled.
Now, make me a sandwich, or else...
@mntmn wasm has no jmp/goto. It'd probably be very hard.
@GuidoKuehn Mit den Steuern hier (CH) bleibt weder vom Erarbeiteten noch vom Erspaarten/Geerbten viel übrig. Und je mehr man Arbeitet oder Spaart, desto mehr wird einem weggenommen. Und zwar nicht Proportional, sondern Progressiv!
Und Rentenalter will man auch noch erhöhen, dass man noch weniger vom Leben hat.
@foone This reminds me of youtube links. You know how you can tell the browser to open a link in a new tab using <a target="_blank"? If that link goes to youtube, it will not work, the browser itself shows an error. I don't entirly understand how or why, though. Also, when opening them with the scroll wheel instead of a click, it works again...
@leah I feel like this every time someone uses .box or .home or some other domain they don't own instead of .home.arpa for their home network...
I accidentally found a security issue while benchmarking postgres changes.
If you run debian testing, unstable or some other more "bleeding edge" distribution, I strongly recommend upgrading ASAP.
@mntmn There is none, it wasn't meant ironically.
Although I suppose, on debian, you could use
dpkg-reconfigure keyboard-configuration
dpkg-reconfigure locales
But it's not very fine-grained. And the keyboard-configuration dialog only shows up if a keyboard is found.
@mntmn If only there was a dedicated independent tool with this as it's only purpose instead of a halfbaked binary burried in the systemd project.
@foone Personal home pages, the web, and personal computers, are dead. People have been succesfully changed from users & makers into dumb consumers.
@foone Maybe you could use something like https://criu.org/ . It's not exactly what it's meant for, and I haven't tried it, though.
@foone This almost looks like PHP, only the ; are missing.
Also, in php, they have '$name[] = "meow";' for append.
@foone It'd be great if all PCIe slots were just replaced by internal thunderbolt ports, and you wouldn't have to worry about plugging cards into the mainboard and if they fit besides each other anymore. You could stack them much more efficiently, and have them in A5, A6, A7, ... form factor, so you could have 1 A5 sized device, or 2 A6 sized ones in the same space, and so on.
@nixCraft Mark my words, "Microsoft will finally lock out 'insecure' linux distros from PCs using secure boot, similar to how it's been done on smartphones".
Also, we'll get much worse computers, after china takes over taiwan and we can't get the chips anymore.
@nixCraft None of the above. It'll remove it. Purging it is a different operation.