Type-safe lipstick :)
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
.
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
.
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.
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.
Full Self-Driving
Any idea that comes out of that prick’s mouth is snake oil if we’re going to be truthful about it.
Allison from The Breakfast Club. I can fix her.
I’m not a teenager anymore however, so yeah, no thanks, Chris Hansen. I’ll stand.
Keep the PC locked down, though. Think of it like giving an old gaming PC to a kid.
I know nobody wants to hear this, but it’s more like giving an old gaming PC to a 13 year old. If anything is going to break it, it’s going to be the malware downloaded from “sketchy” sites of a certain variety.
This assumes front-end development.
From a (dev)ops perspective, if I had a vendor hand me a tarball instead of proper documentation, I’d look very far away from their company. It isn’t a matter of if shit goes wrong, but when. And when that shit goes wrong, having comprehensive documentation about the architecture and configuration is going to be a lot more useful than having to piece it together yourself in the middle of an outage.
For your sake, I hope your employment was agile as well. Those jobs sound like they were dumpster fires waiting to happen.
This seems like common sense, no? Return 403 or better yet reject TCP connections on port 80 entirely.
That initial HTTP request header and body is sent in clear text, and that’s more than enough to leak credentials or other sensitive data.
Name a real-world implementation of communism that either isn’t Marxist–Lenninist, or one that is and has moved beyond the “dictatorship of the proletariat” stage. I’ll be waiting.
From a theoretical point, they don’t count as communist. They entirely dropped the all-important aspect of giving power to the working class.
Both the USSR and China, in their self-described “communist” periods, were ruled with absolute power and directed by a head of state. The USSR collapsed, and modern China is about as communist as North Korea is democratic.
Communism would work if it weren’t for people trying to co-opt it for power
As long as there exists a way to gain power over others, someone will do it. That’s just the reality of our nature, unfortunately.
Apparently, I did not. Or I might have replied to the wrong comment. Either way, my apologies.
Or, teach them both LibreOffice and Office 365. They’ll have more technical literacy by learning to adapt to new situations rather than relying on clicking this button here and that button there.
There’s OpenOffice and LibreOffice. There’s even Google Docs or Office 365, which run in a web browser.
Microsoft Office for Windows is about as useful as manufacturer-installed bloatware these days.
A reminder: Google added support for and then subsequently dropped JPEGXL support in Chrome. Fuck Google.