1,596 karma · joined Feb 17, 2014 (12y ago) · 1,672 submissions
comment 7y ago · link · parent
Example scenario: a CEO of a large public corporation (which attracted a lot of short sellers). A journalist who have exposed some far-reaching shenanigans of the rich. A political opponent.
I am sure all the relevant agencies are quite busy analyzing Tesla code right now, for exactly this reason. And I know for sure that security is NOT the design goal at Tesla, at least when I talked to them. I would have designed the hardware differently from the start.
Again, I am not talking about a common use scenario for regular people, or driver turning off some safety feature. I am concerned with security of the system as the design goal.
comment 7y ago · link · parent
At the OS level, none of the OS use a memory safe languages, and therefore prone to buffer overflow, stack overflow, use after free, and so on. Yes, some RTOSes may have additional protections, but none (at least known to me) have the memory safety as the prime design directive.
On the application level, most of the cryptography comes from OpenSSL and similar projects. Remember heartbleed? This illustrates that a long running, open source component that powers most of the current infrastructure can have glaring holes (whether intentional or not).
Same can me said about hardware - Intel ME and the like. Rowhammer.
I really would like to see (and, er, participate) in an effort to build an OS/HW system where security is the primary design goal. Is it even possible?
comment 7y ago · link · parent
But in the majority of software development projects the tasks are trivial, and it is possible to enumerate all the little details and their dependencies.
I was thinking of writing a tool to support the process instead of using excel, but unfortunately the dev has stalled due to lack of time on my part.
comment 7y ago · link · parent
But actually, once you show the customer what's involved, and give them a realistic estimate, it might reduce the chances of cancellation. The discussion might be steered towards what they really want, or prioritization of deliverables.
A mockup (and multiple iterations thereof) might be necessary as well.
comment 7y ago · link · parent
One may start with enumerating the features that needs development (a.k.a. "user stories"). Also enumerate external dependencies, team overhead (more people working together means overhead is greater). For each feature enumerated in step 1, try listing as much detail as possible, also listing open issues and unknowns.
For example, list all the UI elements under development. List all individual functions / use cases that need distinct functionality (classes, functions) to be developed. List all the test cases. List external APIs, enumerate different ways the said API can be used. Enumerate failures and possible recovery actions.
I'll give you an example: a login dialog for an application. This starts as a two page requirements document, which balloons to around 120 items using this method.
This alone should give a good idea at the start of the project. Keep doing it (enhancing the level or detail), while keeping the ratio of initial estimate vs real value - that will help in estimating the remaining portion of the work.
The problem (the way I see it) is that we don't really have the tools to do this kind of tracking and analysis. Jira and similar systems don't even come close.
Here is an attempt to apply the methodology using Excel:
https://github.com/andy-goryachev/PasswordSafe/blob/master/F...
comment 7y ago · link · parent
(I mean, reasonable dependencies. No one can account for unknown unknowns, but the software engineering field is not an art, more of a skill, we do have well established processes to minimize the surprises).
Is this something that HN audience is interested in?
comment 7y ago · link · parent
In my opinion, all quiet vehicles must emit some kind of universally accepted noise at low speed, ideally corresponding to the said speed. Think of, you know, the children, blind pedestrians, non-blind pedestrians immersed into smartphones, etc.
One's personal comfort should not come at expense of other's safety, at least that's the kind of world I would like to live in.
comment 7y ago · link · parent
Nearly all large software companies utilize whiteboard coding quizz as a way to measure the quality of their candidates.
Imagine what would happen when the modern crop of javascript developers start working on avionics?
I don't know what's worse - an incompetent politician or an incompetent software developer. Think heartbleed, microsoft windows updating in the middle of surgery, Mars mission crashing because someone mixed imperial and metric units...
We may never be able to hold them liable (because people who write the laws are also corrupt and incompetent), and we will never be able to weed out incompetence in our technical infrastructure (because, frankly, most of us [me included] are lazy, incompetent, greedy, and selfish.