13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 4y ago · link · parent
Blockchain provides integrity guarantees given a number of malicious participants. That's all it provides over any other ACID database.
comment 4y ago · link · parent
The reason why you could do what you did is because you participated in a young, unregulated market. Blockchain added nothing.
comment 4y ago · link · parent
In no way does bitcoin being blockchain based enable you to do this better or more effectively. It's just because it's a less regulated currency.
comment 4y ago · link · parent
1. Lack of tooling and cooperation for investigating fraud
2. Lack of regulation
3. Programmatic interfaces
4. There are markets like the NFT space that are amazing for laundering
But no part of why it's good for crime has to do with blockchain.
comment 4y ago · link · parent
comment 4y ago · link · parent
There's also a lot you can do to harden that boundary. You can harden your kernel, you can execute user's shells in constrained environments like docker containers or restricted shells, leverage sandboxing technologies like apparmor or selinux, etc.
The user/root boundary can be a lot thinner than people expect, so I get why you'd want to point out that reliance on the attacker not escalating should be met with an evaluation of that boundary, but I think it may be understating the boundary to unconditionally not trust a host based firewall, or to say that getting onto the bastion itself is enough to disable the firewall when it does indeed require escalation.
comment 4y ago · link · parent
This assumes that the attacker can get unconstrained root access to the system. It's fine to assume that attackers will but it's not as if you can't make that difficult.
Agree with the rest of what you said though.
comment 4y ago · link · parent
I could talk a lot about why I think it's a bad language, it would be hard to summarize it since I'd want to cite Pike's talks on "simplicity", articles on Go's GC implementation, discuss error handling, what I think makes a language "good", etc.
comment 4y ago · link · parent
Sure, that'd be cool, like segmentation registers.
> of course more than that happens. I am trying to make a point and not document the minutia of the entire boot process of a modern x86_64 computer.
That's fair but it did seem like a central part of your point was that "starting up" was equivalent to existing on disk - though I suspect I was misreading your post.
comment 4y ago · link · parent
I don't think we would want "program on hard drive" and "program in memory" to be isomorphic for a bunch of reasons, one being security.
comment 4y ago · link · parent
With Go there's one parameter, and in my opinion it's a very strange one. It also seems strange to have to (imo) hack GC metrics in using finalizers, whereas with the JVM it's simply provided to you.
Full disclosure though, I think Go is a bad language, so I'm biased.
comment 4y ago · link · parent
What would you like to see in that? Genuinely curious, I've considered putting something together that's just a meta-crate that pulls in some others.
comment 4y ago · link · parent
https://eng.uber.com/jvm-tuning-garbage-collection/
Here's another blog from Uber on JVM tuning.
Some notes:
1. They have options
2. They have a powerful gc log, no need to roll your own finalizer thing like this
3. Choosing the max heap size, which seems like what they actually wanted here, is trivial
You could say "but that's more complex", but to me it's that the JVM has far more mature features, tons of tooling and options that they could explore and adopt, and that the obvious wins are trivial to achieve through basic parameter tuning.
Further, this GOGC parameter seems to be a very weird knob. The knobs you'd run into with the JVM will often be a lot more straightforward ie: a static value for heap size vs some number that's based on a working set percentage.
I wonder if over time Go will end up with a tunable GC.
comment 4y ago · link · parent
Personally, I find it to be exciting. As the site mentions, this could be absolutely massive for people whose interaction with the world is non-default, ie: those with disabilities. The physical and virtual interfaces we have are often inflexible and designed with 'the norm' in mind. Having an adaptive interface for those people to help them bridge the gap seems huge.
I recall a spoon that would avoid shaking, allowing someone with (as I recall) Parkinsons to eat without spilling their food. I would love to see that same sort of intermediary interface for all sorts of things.
Personally, I have pretty bad eye sight. I can't drive because of it. The premise of self driving cars, or even just street signs that I can read at night, would be immensely helpful, and I'm pretty close to 'the norm'.
There are maybe some valid concerns. Technology is power and power can be abused. We see that today. But ideally we'll adapt and regulate that power for societal good, as we have done with power historically.
comment 4y ago · link · parent
Further, you can restrict a process to only open specific files in a number of ways on Linux, including based on path. There's room for improvement, though.
comment 4y ago · link · parent
A lot of that stems from permissions systems being implemented outside of the code they constrain. In theory a compiler knows every reachable system call and all points of data input that could reach them, and as such it could constrain the program's capabilities accordingly.
In fact, compilers already do this for control flow integrity - it would just be a more advanced system.
> What happened if an update requests a new permission?
It's going to depend on the system. For browser extensions the new permission means a new prompt, so you'd get a CI failure until a human updated a lockfile.
> Also, how would that have prevented the current situation? Infinite loops are famously hard to detect and prevent automatically.
It really depends on the system. You could have a CPU capability that restricts cycles or forces preemption, etc.
I'm not saying you can solve literally all security problems but you can reduce risk considerably. If "infinite loop" is the scariest thing a dependency can do we're in a pretty good position. An unconditional infinite loop should break your CI tests.