13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 5y ago · link · parent
To be clear, it does. WebAssembly does attempt to ensure that it compiles and executes programs in such a way that they are resistant to memory unsafety.
From webassembly.org, section "Memory Safety":
https://webassembly.org/docs/security/
Webassembly advertises itself as more or less solving the "insecure C is still insecure" problem. In reality it's missing a lot of memory safety mitigations you'd find in a C program compiled with a modern compiler.
comment 5y ago · link · parent
This is actually something we took away from this (I work at Grapl) as well.
We consider the Linux kernel to be unsuitable for isolation in some of our services, and it at least requires hardening (such as limiting unprivileged ebpf) in others.
comment 5y ago · link · parent
Yep! People see open source as a goal, rather than a sustainable product being a goal.
comment 5y ago · link · parent
Legal weed is wayyyy more expensive in my experience and I dislike the experience. I went to an SF dispensary and it was so odd - had to give them an ID, sit there and fiddle with some ipad, etc. Presumably there's a lot of overhead with taxes, employees, property, etc.
And apparently artificially keeping prices high...
Also a somewhat damning case of "we have no idea how to value this"
I don't really smoke anymore, no time, but it was enough of a difference that the novelty of cutesy edibles wore off fairly quickly.
comment 5y ago · link · parent
UUIDv4 can be entirely suitable for security purposes, so long as the implementation is defined to use a secure RNG, which most sane implementations would be (since that's the dead simplest way to ensure the guarantees of UUIDv4).
Most people use them for security purposes because libraries for UUID tend to make it easy - you get 122bits of randomness (more than enough for many use cases), a nice way to convert to strings in multiple formats, parsers, etc.
comment 5y ago · link · parent
I'm not really offended at all because, again, I don't find this whole type of argument to be compelling or valid. You're also entirely off base in your implication that I don't go outside (this last year is obviously exceptional).
It's interesting that this seems to come up for you quite a lot, but I don't find it compelling in terms of evidence, which is what I stated earlier. Again, I'm entirely willing to believe (and would even naively assume) that pesticides and human behavior have negatively impacted insect populations, even greatly so. But "open your eyes" and "do you go outside?" are not helping anyone.
comment 5y ago · link · parent
comment 5y ago · link · parent
I don't recall there being more/ less insects at any given point in my life, I haven't noticed anything at all in that regard. I'm completely willing to believe that insecticide use is bad and that there are less insects, fwiw.
comment 5y ago · link · parent
My understanding was that the main benefit was that it's easier to produce in large amounts (and faster to go from sequence -> vaccine?), and the main downside is that it's harder to store (since it breaks down so easily).
But I'm not a doctor, and I generally try to not tell people what they should do, shouldn't do, or what the risks are - just give them the info and help them understand what's going on. Most people are just afraid of the unknown, and if no one's giving them an explanation they can understand they'll go with the simplistic, albeit incorrect ones that they can ("microchips are a thing I know about - they put those in animals to track them, maybe they're putting it in the vaccine").
comment 5y ago · link · parent
The vaccine contains mRNA, which is basically like DNA (in layman terms). The mRNA is from covid and it's what gives it its 'spiky' structure. When the mRNA is injected your body uses it to generate those spikes - that's just a normal function of your body. Your immune system learns how to attack those spikes, and so it'll recognize covid in general. mRNA is very short-lived so it breaks down, the end result being that your body gets some covid proteins for a little while and your immune system cleans them up.
I think a really simplistic breakdown like this goes a long way to helping people feel comfortable. They're no longer wondering "what's in this thing? how does it work?" and instead it's like "oh ok yeah, I have at least an extremely basic understanding of DNA, and this is just a tiny little piece of DNA stuff that breaks down super fast".
comment 5y ago · link · parent
Yeah, agreed, but I think in 2005 this was just sort of the common way to write about security. It was a lot more hostile, a lot more brazen.
I think it's because the industry was even worse back then than it is now, with even weaker goal posts. We're in a better position now to discuss nuance today.
comment 5y ago · link · parent
"Penetrate and Patch" starts to get a little less straightforward. It's a naive view of pentesting, but given that view it's fine to say it's dumb, and lots of people do naive pentests.
Hacking is Cool is obviously the stupidest section. I really skimmed it and missed what he was saying because, tbh, the first half was sort of just trite. It's pretty garbage.
IDK, to me this is just sort of what security blog posts were like 15 years ago. Kinda just dumb rants that didn't say much. I certainly wrote plenty myself. This one seems to be just a particularly naive version of that.
comment 5y ago · link · parent
It also generated a manifest.lock so if manifests changed you would know about it.
Then once it built up the sandbox it would execute the build. If no dependencies require networking, for example, it gets no networking, etc.
I stopped working on it because I didn't have time, and it obviously relied on everyone doing the work of writing a manifest.toml and using my tool, plus it only supported rust and crates.io
TBH it seems really easy to solve this problem, it's very well worn territory - Browser extensions have been doing the same thing for decades. Similarly, why can I upload a package with a near-0 string distance to another package? That'd help a massive amount against typosquatting.
No one wants to implement it who also implements package managers I guess.
comment 5y ago · link · parent
I think that's really fair feedback FWIW.
> would've been to write an RFC to some mailing list
I don't think this is a thing in Rust, but there is a user forum/ subreddit.
> I'm sure they'll learn as they go along, and I probably am being way to harsh on people who actually are trying to do something good for the community.
Yeah I think that's all I'm saying. Maybe this is the wrong venue, but I don't think your criticism was necessary or constructive in totality - some of it is, some of it isn't. I'm sure that much of this feedback will be incorporated, based on what I'm seeing from the author.
comment 5y ago · link · parent
It's even mentioned that the launch is largely symbolic, as the work is already open source, but that this is a sort of "call to arms".
Seems pretty easy to understand.
comment 5y ago · link · parent
Yep. I just was answering the question, which is what the tradeoff is.
> Not sure about most distros gating that sysctl. Ubuntu works fine with rootless Docker with no changes and looking at their install instructions, there's only mention of setting that sysctl on debian and arch.
Interesting. I haven't checked in a while. I'm also not on the latest debian though.