13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 6y ago · link · parent
Just as a sort of thought about this, if the entire web moved to brotli over gzip, or if we introduced an even better compression algorithm that was widely distributed across the internet, what would that impact me? A 5% reduction in CPU usage for every computer loading every page? I'd be curious to hear what that would actually amount to, power-wise.
comment 6y ago · link · parent
> This is a very hard problem. It's a regulation on a quality that is a very fast moving target with weak consensus.
Doing this in a regulatory way just isn't viable today.
> the few effective ways
I disagree that they're effective. I don't think they are. Lots of companies with a SOC2 are breached, no company that people consider 'very secure' has earned that reputation due to SOC2 (or any other compliance for that matter).
comment 6y ago · link · parent
The fact that it also causes harm to small companies, and detracts from resources for companies that actually care about security, just makes it a particularly harmful grift.
comment 6y ago · link · parent
A bunch of unqualified people coming in to rank the unrankable in a vague, gameable, expensive way is my definition of a grift. Then, on top of that, you have a sort of ring of high status organizations that will audit you and charge a fortune, but they've convinced all of these other orgs that their audits are Definitely Better (companies audited by them get breached all the time too), and now you've got this whole racket on top of the grift.
Agile isn't forced on anyone. People won't skip over your product because you're "not really doing agile" or whatever. You don't get forced into yearly audits where you pay some outsider with an "agile certification" and 0 technical knowledge to take up multiple engineers for months to write reports.
This post explains more: https://news.ycombinator.com/item?id=24505894
comment 6y ago · link · parent
1. Those who care about security
2. Those who do not care about security
For the (1), SOC2 provides no value, because any structure it lends (it lends none, but you'll end up choosing some NIST thing or whatever) is something you could have implemented for much less money. Remember, you'll spend ~1 full security engineer worth of money/ time, so you could hire a FTE to just do these things. Except you won't be constrained in nearly the same ways.
2. Companies that don't care will just grift the grifters. It's simple - there are lots of easy checkboxes, and most of it is just documenting processes. Anyone who's gone through a SOC2 should see how easy it is to "game" it. It's tedious, but a large company will just hire their way out of it, and have a compliance team that's almost certainly isolated from security.
Because it's gameable SOC2 is far easier for large companies to push off. They can hire a compliance team, call it 'security', and move on. Small companies, and/ or companies that care about security, are left having to dedicate their much more limited resources to compliance over implementing meaningful controls. A small company isn't going to know the many 'tricks' for doing minimal work to pass, which is a really important quality of SOC2 - you want the least policy to pass, otherwise you're setting yourself up for either stagnation or an even longer report next year, since changes between reports have to be documented and go through the process. Large companies can just get away with way more.
As one simple example, let's say you have 1 FTE seceng. For compliance, they could spend N% of their time setting up logging, documenting that logging, writing docs on their IR policy, etc. Or, without SOC2, they could spend N% of their time setting up logging, writing good detections, understanding and exploring their infrastructure, documenting in a much more natural way at a lower cost, etc. And then that budget could go towards improving infra, tooling, training, new hires, etc, to do that work even more effectively.
How many breaches has SOC2 stopped? Because clearly it hasn't been the deterrent in many cases - how many companies get owned, while being compliant, due to unpatched vulns (something any auditor is guaranteed to ask about)? What if they'd spent the few hundred thousand a year on a few more seceng? The way companies scale security puts ~10-500 employees to every seceng, meaning that even cutting a few would be a massive increase in risk.
In short, the companies that are already ignoring security will have no problem doing so when they're large, and smaller companies, or companies that do care, will only be drained by SOC2.
edit: I will also say that,
* I won't state that SOC2 is universally useless.
* This is a very hard problem. It's a regulation on a quality that is a very fast moving target with weak consensus.
comment 6y ago · link · parent
The harm is so significant. Tons of these due diligence terms are driven not by any security engineer, but by a legal or compliance team - I've even had members of the security team outright apologize for having to send it over.
comment 6y ago · link · parent
Without placement new allocating an object involves:
a) Constructing the object on the stack
b) Copying it to the heap
With placement new you construct the object directly on the heap, thus avoiding a copy.
It's purely an optimization to avoid a single copy. It's a bit surprising that Rust doesn't have it, given the focus on control over such things, and that it had an experimental 'box' keyword for this at 1.0.
edit: To be clear, the extra copy is not guaranteed - compilers can elide it. In order to help the compiler do this you can look at crates like boxext, which provide extension methods on Box that help the compiler to remove the copy. But placement new guarantees this.
comment 6y ago · link · parent
Some more context. There used to be a `box` keyword too. https://github.com/rust-lang/rust/issues/50047
comment 6y ago · link · parent
comment 6y ago · link · parent
As some other CEOs have chimed in, I'll say that my relatively small startup (6 people, but growing) just pays people what they're valued at, regardless of location or business expenses. I budgeted for those salaries - if someone moved to a cheaper area I wouldn't cut their salaries because their location hasn't changed anything for me. Everyone makes enough to live in the bay area comfortably, which means they'll be just fine elsewhere.
comment 6y ago · link · parent
I really found that "isolation" is just a key optimization and one of the most useful properties of a system, which they call out in that talk. I wrote about it a bit more in depth here: https://www.graplsecurity.com/post/architecting-for-performa...
I've written our data processing layer and our event orchestration layer as basically an actor oriented system, with push/pull systems in a couple of key places where it makes sense. It's incredible what you can do with strong isolated infrastructure in terms of performance, security, reliability, and quality.
comment 6y ago · link · parent
They're often worse. I can't recall the study, but one of them looked across industries at software quality, and security products were statistically worse than others. Of course such studies are hard to really feel confidence in, but it isn't surprising.
comment 6y ago · link · parent
I take 1k iu a day, since I barely go outside anymore, but I'd probably cut that in half if life were normal again. I think of most vitamins as a "cover my bases in cases I eat like shit today", not as a "this is going to keep me from getting cancer".
I also found the commentary on metanalyses interesting - they're touted as being very high quality, but of course there's always the garbage in garbage out.
comment 6y ago · link · parent
I very much want a language like Pony because, as this talk demonstrates, it's doing some incredibly cool and powerful things. But it's pretty confusing.
Rust types like Arc, Mutex, &, &mut, and affine, have been wayyyy easier to learn for me because they aren't totally new concepts - I know what Arc is, Mutex, references are, moves are new but that's just one thing and it wasn't too crazy coming from C++. I know how to convert between these types because they're regular structures, with methods and documentation like all other structures. This is in really direct contrast to my experience with Pony where I had to learn like 6 new keywords, try to map them back to my own reference model, and, worst of all, trying to remember the strange incantation to map between them. I bet this is a "learn it once" thing, and it would be fine if that were the only new thing, but it's not - there are object capabilities, actors, learning the runtime/GC, learning new libraries, etc - there just isn't enough complexity budget in my brain for all of these things.
I contrast this with Rust, which people consider quite hard to learn, and Pony has just been way, way harder. It's a little "too good" - nothing in Pony is unjustifiable, like not having assertions/ failures, but I really want those things! Division by 0 is a perfectly fine thing to define as returning 0, I seriously don't even care, but it's just one more straw.
All in all, I was so hooked on learning Pony at first, totally enamored, and then I just found that I couldn't justify putting in the time.
I ended up writing an actor library inspired in part by Pony for Rust, using macros, and I've been fairly satisfied - though there's much more Pony offers, by far. I'd really like to see more actor model languages crop up, and incorporating many features that Pony has, but maybe making some 'worse is better' decisions in a few places.