![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/e8842a5a-3702-4103-8102-b71875cd9eda.png)
How has nobody mentioned Sonic Colors yet?
How has nobody mentioned Sonic Colors yet?
Type-safe lipstick :)
To offer a differing opinion, why is null helpful at all?
If you have data that may be empty, it’s better to explicitly represent that possibility with an Optional<T>
generic type. This makes the API more clear, and if implicit null isn’t allowed by the language, prevents someone from passing null where a value is expected.
Or if it’s uninitialized, the data can be stored as Partial<T>
, where all the fields are Optional<U>
. If the type system was nominal, it would ensure that the uninitialized or partially-initialized type can’t be accidentally used where T
is expected since Partial<T>
!= T
. When the object is finally ready, have a function to convert it from Partial<T>
into T
.
Yeah, but that’s thinking long-term. CEOs of publicly traded companies don’t give a shit about anything other than making the line go up during their own employment at the company.
As a Linux user: fuck Teams.
In some jurisdictions, you can’t hire foreign workers unless there are no local workers that meet the job requirements. Posting a fake position with the intent to deny all candidates is usually sufficient to demonstrate that an attempt was made to search for local talent. They can’t admit it without getting into a lot of trouble, however.
Paying people more is a recurring cost, and the ultimate goal of a company is to keep increasing profits. If they can spend $10k once to scare their employees into being more productive, it has a better return on investment.
For-profit prisons and corporate lobbying are one hell of a combination.
If you have 11 people and a Nazi at a dinner party, you have 12 Nazis.
The problem is that they’re trying to frame it as a better replacement for sudo when it’s really not.
In some respects, it’s safer by not using a setuid binary. In other respects, it massively increases the surface area by relying on the correctness of three separate daemons: systemd, dbus, and polkitd. If any one of those components are misconfigured, you risk an unauthorized user gaining root privileges.
With sudo, the main concern is the sudo process being exploited through memory safety bugs since it runs at root automatically.
Don’t get me wrong, sudo has a lot of stupid decisions and problems. There’s a ton of code in sudo for features that almost nobody uses, and there’s bound to be bugs in there somewhere. It needs to be replaced with something simpler, but run0 is not that.
A better implementation than run0
.
Unless you already paid for a lifetime Plex pass, I highly recommend giving Jellyfin a try.
They don’t have NAT punchthrough like Plex, but they also aren’t trying to push streaming content on you. It’s just your library, and that’s it.
Being pedantic, but…
The amd64 ISA doesn’t have native 256-bit integer operations, let alone 512-bit. Those numbers you mention are for SIMD instructions, which is just 8x 32-bit integer operations running at the same time.
If you’re willing to admit that you’re denigrating an operating system for having the same flaws as the one you prefer and are being a massive hypocrite in doing so, sure.
Only slightly related, but here’s the compiler flag to disable an arbitrary 2GB limit on x86 programs.
Finding the reason for its existence from a credible source isn’t as easy, however. If you’re fine with an explanation from StackOverflow, you can infer that it’s there because some programs treat pointers as signed integers and die horribly when anything above 7FFFFFFF gets returned by the allocator.
You’re thinking of operating systems that give unrestricted access to all parts of a computer that aren’t memory or the camera. That would everything1, actually.
1 There’s also Linux with properly-configured SELinux, but good luck with that on a distro that isn’t focused on opsec.
It would have if I actually had the PSID 🥲
It was an expensive lesson to take photos of my new drives and store the PSID and serial numbers in KeePass.
Let me guess, Wikipedia is now considered an antisemitic hate group by the ADL, right?
When using Opal (hardware encryption), it locks down the drive. Not even a secure erase would wipe/release the damn thing.
A reminder: Google added support for and then subsequently dropped JPEGXL support in Chrome. Fuck Google.