4,359 karma · joined Mar 1, 2010 (16y ago) · 1,704 submissions
I'm an inventor type person. I'm also owner of https://www.adama-platform.com/
comment 5y ago · link · parent
comment 5y ago · link · parent
This may also be stockholm syndrome.
comment 5y ago · link · parent
There is a bit of diminishing returns to what I believe, but it also depends on ones dependencies and what one considers 100%.
As an example, I designed a multi-TB file-format and synchronization engine. I made that engine a dependency free library such that all the math, contracts, threading, and scheduling could be 100% tested before integration. This forced the messy integration into the core application which then was E2E tested with hundreds of randomized tests.
The key concept at play was beating all the math into the ground such that it was damn near perfect because a single flaw would lose data.
comment 5y ago · link · parent
From a career perspective, I have seeded new infrastructure services with 100% code coverage. At core, I believe achieving great reliability requires a solid foundation.
I don't claim these services are perfect, but when a bug is discovered then I can usually use the logs to figure out what state the program is in and then test the bug with a unit test. Then, I can protect future engineers from that issue.
Now, don't get me wrong, there are LOADS of silly tests for languages like Java to make code coverage tools happy. Like "new ClassThatOnlyHasStaticMethodsInIt()", but the key is that you can alarm on code coverage less than 100% but once you let the paper cuts build up it is hard to manage.
I'm a big believer in "slow is smooth, and smooth is fast" when it comes to building services for others.
comment 5y ago · link · parent
The problem with a lot of people is that they view testing as a burden rather than a criticism of the code they are testing. If you can't test your code easily, then your code is awful. End of story.
comment 6y ago · link · parent
There are a lot of really good "fakes" out there. Fake file system which lets you simulate disk failures. Fake time and randomness to introduce determinism. Every API over network can have a fake. These are all good things to fake out as you can simulate the appropriate failures which are almost impossible to do via integration, acceptance, or E2E tests.
comment 6y ago · link · parent
As a human, you were meant to have a leader. Your first leader (hopefully) are your parents since you don't emerge with a complete understanding of things, and then you pick up a series of teachers/mentors through-out life.
The thing that fucks everyone up is power. Power will corrupt a teacher. Power corrupts managers. Power corrupts owners.
The question is how to mitigate the corruption of power. A boss is a corrupt leader in my opinion, and I agree that we shouldn't have one.
comment 6y ago · link · parent
The best policy is for a deployment to lower the health check on the service, wait a few minutes per box, then bounce the process.
This is assuming the service is 100% stateless.
comment 6y ago · link · parent
One of the crazy things that I have found as a senior engineer, I focus much more on growing people in the space I created. Afterall, if the space I create can't be occupied by people, then I failed.
For Einstein, how much of his time was dedicated towards the education of ideas versus trying to solve new problems. I don't know, but it is worth considering what the purpose of tenure. Is the idea of tenure to encourage people to find new results, or to continue teaching their ideas?
comment 6y ago · link · parent
I feel like we do academics wrong. We should encourage a large gap between undergrad and graduate school for two reasons. First, develop empathy for the realities of shipping software (or whatever the field is). Second, build some wealth to not chase wrong grants.
I take Arnold Schwarzenegger as an inspiration on this front. He did hard work and had some good fortune due to great timing (real-estate in California) to build up wealth before becoming an actor, and this manifested in the freedom to go all in on Acting.
The thing that I take as inspiring is that instead of chasing the money via that path or just chilling out, he went hard on a passion.
comment 6y ago · link · parent
This hit me. I was focused on getting a Masters in Math, and I had a 4.0 GPA and 40 hours of credit with just a test or thesis preventing me from a credential. Instead, I dropped out to focus on building products with friends.
Best decision ever.
At least for me since I'm 38 and on the verge of retiring.
> academic institutions systemically promote exactly the sort of short-term optimization
The whole publish or perish ideology is teaching people the wrong f'n skills on imaginary problems, so I gave on reading on academic papers years ago because the amount of noise to signal was intolerable.
Like Colin, I do independent research but in a different space. I'm currently writing a programming language for board games ( http://www.adama-lang.org/ ) which I believe could turn into something crazy as I'm inventing a low-cost way of doing "serverless stateful micro services" or "a key to state machine service".
I don't know how I could even get a grant for such work, but it interests me. And, I've reached a nice point in my life where success is measured by whether a task brings me joy rather than external signals.
In a sense, when I decide to retire, I'll have the ultimate freedom of the idealized tenure that I built myself.
comment 6y ago · link · parent
This project is very much in the seeking ground phase, so having a bunch of hacks is very appropriate. If it turns out useful, then people will fix things. If it turns out not to be useful, then oh well.
The danger of course if there are show stopping bugs which prohibit the transition from interesting project to useful project.