13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 8y ago · link · parent
The issue of Optional<T> being nullable is an extremely uncommon one - I have seen it happen once ever, and there were way bigger issues going on that happened to manifest that way. It's one of those "that's dumb but ultimately makes no difference" problems that many languages have.
comment 8y ago · link · parent
It was always stupid to be against OSS from a business perspective and so long as developers hand over their IP on a platter it always will be - Microsoft would be really stupid to turn away free money, and they seem to realize this now.
comment 8y ago · link · parent
And in every topic like this, ones about Mozilla's spending (or sometimes Chrome or any other org that has a popular, free product), someone feels the need to say "but why not this one bug that I harp on?" really, really consistently.
comment 8y ago · link · parent
Linus has always been a total blowhard when it comes to... everything, but in particular when it comes to security. I wouldn't take his opinions too seriously on the matter.
The fact is that grsec still maintains the state of the art for memory safety mitigations.
comment 8y ago · link · parent
But anyways, [2] is at least a problem in many other package repositories. [1] would probably be a problem for many - given legal pressure (vendor your shit, that's the solution). [3] was a bug, not a design issue - no package management system is immune to bugs.
The one thing Java has is that it uses namespaces, which may help with [2] (but barely). [2] certainly has been a problem in PyPI.
Certainly all of this could happen to PyPI. We see it happen with js more, I think, because js happens to be extremely popular so there's a ton of packages for it and it's also much younger (especially node) than others.
comment 8y ago · link · parent
Weird, I'm pretty sure with my new Android phone, upon booting it up for the first time, I had to opt in to location services and a little popup explained exactly what it was doing.
comment 8y ago · link · parent
Other than on the internet, I've never experienced pointless bikeshed arguments. So long as within an organization you keep the same standards, what difference does it make? Everywhere I've worked does this and it's fine - and allows us to be break from patterns handed down to us from people doing a different job.
comment 8y ago · link · parent
I didn't say they did... I was providing two examples. I wouldn't call linksys tiny, either.
You're assuming a lot about the costs of this liability for a made up law with no defined penalty.
Maybe if companies building software can't afford to keep it safe... they shouldn't be companies? Is that so controversial?
comment 8y ago · link · parent
Yes, and it's a fake law that doesn't exist. How would I possibly answer this?
Off handedly, I'd say that the fine could really range depending on a lot of things. Was this an outdated version of OpenSSL that they just didn't patch? Was it a programmer error using the library? A 0day? All of these things would probably make a big different - charging companies for 0days in 3rd party code, in at least many cases, would not make sense.
> I agree, but slapping fines of developers for using openssl to enhance security makes it a bit hard for anyone to afford putting any extra money towards security
At some point if companies can't afford to keep users safe maybe they just shouldn't be companies. And if we're talking about router companies, they have the cash.
> why you and every other serious developer would be sued out of existence unless you propose obscenely small fines
I would imagine instead that companies would have insurance around these issues to cover developers, but again, the legal components of this are not something I'd want to get into since I'm not qualified to.
comment 8y ago · link · parent
> Since you believe that you are liable, can you give me a ballpark of how much money you think you personally should be sued for because you deployed something using openssl?
This is a really ridiculous question. I've already stated that these things are complicated - you're asking for a hard number?
Companies should take responsibility for their users data, which includes understanding the risk involved in third party libraries they use.
If they're concerned about fees, invest in the security of the project you're using.
But this is all based on some hypothetical, undefined 'law', so arguing about the specific mechanics is pointless.