13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 4y ago · link · parent
For a Rust program the bar is "has to be safe, even if some other part of the program uses unsafe". That seems like it's arguably a higher bar than C where everything is already "unsafe" in that same way.
comment 4y ago · link · parent
Being in an office also made it clear how much I worked. I was there on most weekends and people noticed.
I'm not saying that that's more important than the benefits of remote, but people absolutely do act like it's a black and white scenario.
comment 4y ago · link · parent
The 'rust fuzzing' experience is really solid. You just 'derive' your way through it and you're 99% done.
> It’s quite natural and more efficient to start this process with something like Vec::with_capacity(list_length). Usually this is fine, but if the minidump is corrupt (or malicious), then this length could be impossibly large and cause us to immediately OOM.
That's a fun one. I `with_capacity` all the time and I guess I hadn't really thought too much about whether the value I pass in is strictly valid every time. Food for though.
Anyway, awesome write up, and great nod to Mario universes, which itself is a wild ride.
comment 4y ago · link · parent
IDK, I could see this happening in multiple ways.
1. Images / media artifacts stored for display purposes
2. Cached files - 'zero install' config for yarn comes to mind, where every dependency has its file cached in git.
Plus binary files aren't displayed in git diffs so it seems somewhat easy to sneak in.
Otherwise, yeah, agree. Most people don't rely on Git's security model, they rely on Github's.
comment 4y ago · link · parent
Yeah I highly recommend not having that view. Kernel upstream is the entire reason this problem exists - they spent decades downplaying and deriding security researchers who found root -> kernel privesc, and, in general, have had an incredibly hostile relationship with security professionals.
I don't know the case with Docker as much but my impression is a lot more positive based on what I've seen - integration with Apparmor/SELinux, seccomp, memory safety, etc.
comment 4y ago · link · parent
As for Java, quite a lot of the exploits against it (when it was a browser plugin) were in fact memory safety issues in the VM. But more recently what we see are serialization issues, which Rust also does not have.
comment 4y ago · link · parent
70% of all vulnerabilities reported to them are memory safety issues. To my knowledge, 100% of exploits against Chrome in the wild leverage memory unsafety.
comment 4y ago · link · parent
But also, no one should be fasting and eating nothing - they should make sure they're getting the necessary vitamins and minerals. Taking more leptin could make sense.
comment 4y ago · link · parent
Then that stops, and suddenly your scale isn't showing you the same drastic win as the first few days. You might reasonably think "I guess my body has adjusted".
That isn't to say that your body doesn't change how it functions in order to save energy, obviously a lot changes when you've exhausted your glycogen stores. But I think a lot of the "drastic" results for people hitting a wall after a few days of fasting is based on that initial huge win.