13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 4y ago · link · parent
edit: Glad to see hashers at the top. This is one of the easiest wins you can get and it can be pretty significant.
I see some stuff that could be added. `dyn` vs static dispatch, for example. Do I just open an issue somewhere?
edit: Created issues.
comment 4y ago · link · parent
comment 4y ago · link · parent
I do agree that data collection is at the core of the problem, but Twitter really should have done a better job.
comment 4y ago · link · parent
I signed up for Nebula and I barely use it. It's poorly curated, there's seemingly no recommendations so I'm just in a wash of content with no direction.
I think that it's probably worse the more you use it. The more I subscribe the more garbage I get recommended I think. I watched the raw footage of some of the Heard v Depp trial (as in - uncut, direct footage) and I don't know if my algorithmic output will ever recover - the shit I get recommended now is of zero interest to me. Similarly, I looked up a few 'how tos' for some games, and now I get tons of 'gamer' content. The other day Youtube recommended Ben Shapiro to me lol
But that's just the main page. If I'm already on a good video the sidebar recommendations are decent.
If there's something better please let me know, I hate Youtube as a construct and I think that the monetization of horribly low content is damaging in ways I can't even predict, but also I gotsta have my "expert on topic talks to me about interesting thing" content.
comment 4y ago · link · parent
1. Clients authenticate servers
2. Servers authenticate clients
3. Communications are encrypted and auditable
4. Fine grained authorization using available context like device health
You could have employees hold a client cert, connect to a VPN, have the VPN attest the employee's state, and then provide them access to a subnet. From that subnet they can continue talking to other services that also perform authn/authz. The VPN doesn't make it "less" zero trust, it's just that the traditional VPN model is one where it's the single point of auth.
comment 4y ago · link · parent
Attackers do kill those agents, absolutely, but you'd have to be root to kill the agent with this method (and ideally any method), at which point endpoint instrumentation and forensic artifacts are unreliable anyway. Any logs that someone were looking at that said "attacker killed me" could just be deleted/ rewritten. The attacker could even rewrite them on the fly and ship them off the box so you're none the wiser :)
comment 4y ago · link · parent
I mean it's probably a good idea to close the trivial version of the bypass by disallowing setting exec on files (although you need to check the path because you may want to set it on a directory), but if you can execute `chmod`, write to the i-node directly, write to any other executable, write to your own executable, etc, that's just a full bypass.
comment 4y ago · link · parent
1. It's designed to run on Fuschia, not Linux
2. Go FFI is very inefficient, you can't just "extend" a Go project with native bindings and get the same performance wins
3. Hopefully the gvisor team learned the obvious lesson that Go is not suitable for this kind of work
comment 4y ago · link · parent
Javascript async doing things automatically has been infinitely more confusing for me, frankly. Async rust isn't hard, rust isn't hard - not for a lot of people at least.
I don't know what gritty details you're referring to, you need to know the same rules you always know - move semantics, some concept of lifetimes maybe. Move of the time it's "add a `move` and clone before the async block".
comment 4y ago · link · parent
It's a marketing term ultimately and any practitioner should be able to understand what it means. If they don't it's kinda on them.
comment 4y ago · link · parent
https://gvisor.dev/docs/architecture_guide/performance/#netw...
Network performance in gvisor is awful and, by gvisor's own documentation, this is a matter of "implementation costs" ie: it is how gvisor is written, not gvisor's fundamental constructs, that makes it slow.
The rest of the benchmarks are notable as well, there are a few other places where the implementation is called out as being a problem.
comment 4y ago · link · parent
"The Data Protection Authority has banned the use of Workspace - the applications on the Chromebook - because students' data may be disclosed to US authorities"
Wouldn't that be the case with all US hosted services?
comment 4y ago · link · parent
Keep in mind that if you can:
1. write to a file 2. Make that file executable (or write to an already-executable file, or an executable that provides scripting/ code exec natively)
And you have the `exec` capability, the sandbox is trivial to bypass in the face of code execution in the pledge'd process.