Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,860 karma · joined Feb 27, 2013 (13y ago) · 3,465 submissions

Submissions

comment 5y ago · link · parent

Just go for a 45 min walk without bringing your phone (or if you have the discipline simply don’t use it). I solve most problems that way.

comment 5y ago · link · parent

The Theory of Constraints works well for me: at any point in time there will be exactly one thing you can do that will have the most positive impact on what you want to achieve. So do that one thing as much as you can. And only do the rest when you are too tired to do #1 or are blocked. The rest you can do in any order without stress. For example optimising when you are taking garbage out is so far from being #1 that you shouldn’t even think about it. It has zero importance. And when #1 is achieved or you have the habit/system in place, something else will now be #1.

comment 5y ago · link · parent

Agree. I wouldn’t be able to confidently deploy my code into production without solid tests. I haven’t had a production bug for years because of those solid tests catching it early.

comment 5y ago · link · parent

Obviously the E2E tests were really badly implemented. Implementing solid E2E tests is a skill that needs to be learned like any other software development skill. Most developers don’t know how to do it well.

comment 5y ago · link · parent

Test against API’s. Not implementation! Your API’s are supposed to be stable. If they are not then you are doing it wrong.

comment 5y ago · link · parent

Agree. They clearly are lacking in test engineering skills. So the right solution would have been to hire somebody who knows how to do this well. Bad tests are simply bad code. So fix it!

comment 5y ago · link · parent

All models are wrong. Some are useful. The problem is knowing if a specific model is useful.

comment 5y ago · link · parent

Not my experience at all. Having solid end-to-end tests means that I spend 99% of my time adding new features and 1% of my time fixing bugs before deploying. I haven’t had a bug in production for years because of solid end-to-end tests.

comment 5y ago · link · parent

I don’t think it was bravery. I think it was lack of end-to-end test engineering skills. If your tests are flaky then do what you would do with any other software: fix it! If your end-to-end tests are slow then do what you would do with any other software: optimise it! Not having proper end-to-end tests is a massive red flag.

comment 5y ago · link · parent

Agree. They are not testing the end-to-end contracts of how concurrent services interact. I predict it will end badly.

comment 5y ago · link · parent

So you are saying that X is not worth it if X is crap? Who wouldn’t agree with that? What if X was implemented well and did what it was supposed to do? We use end-to-end production and it works extremely well. I have had zero production problems for years now. All issues were found by the end-to-end tests before deploying.

comment 5y ago · link · parent

Unit tests are worthless. End-to-end tests are 100% needed. You need tests that cover all use cases end-to-end including testing error cases. That’s the absolute minimum I would expect from a well-engineered system.

comment 5y ago · link · parent

I never had any problems writing reliable end-to-end tests. They are super useful for catching serious subtle bugs before the system goes into production. Not having solid end-to-end tests is a massive red flag for me.

comment 5y ago · link · parent

Agree. Other organisations can effective run very large end-to-end tests. So it is most definitely possible. If they don’t have the in-house skills to do it then they should hire somebody who can.

comment 5y ago · link · parent

The real problem is that they don’t know how to write fast end-to-end tests. Not having solid end-to-end tests is a massive red flag. Also, each service can be simulation tested in isolation. So even if they don’t have the skills to do end-to-end testing, they could at least do per-service simulation testing, with each service team responsible for running those tests independently.

comment 5y ago · link · parent

My Kinesis Freestyle 2 is the reason why I can still work as a developer. With any other keyboard my wrists starts hurting after a few hours of work.

comment 5y ago · link · parent

Here is an algorithm that usually works for me: 1. An idea pops into your mind and you truly believe it. 2. You use the full force of your intellect to prove it wrong. You seek out evidence to prove the idea wrong. You throw everything you have at the idea. You ask people with different opinions to prove it wrong and listen carefully to the arguments/evidence given. 3. You keep the ideas that so far have withstood the attack. But whenever new counter evidence appears, you repeat step 2 again.

comment 5y ago · link · parent

Yep agree. It’s the same when people claim that country A is “better” than country B. Your answer very much depends on what you value as “better”.

comment 5y ago · link · parent

That is pretty much a Stoic argument: focus on what you can control. Ignore what you can’t. It is a very practical way to live.

comment 5y ago · link · parent

This is so obviously true that I laugh whenever I read the “10x software developers doesn’t exist” articles. Typically written by average developers with an axe to grind.

comment 5y ago · link · parent

I have worked with 10x developers. And I have worked with -1x developers (stopping them from working made everybody else productive). Without the 10x developers things wouldn’t get done. Your demo/prototype wouldn’t be ready in time to secure the contract. Your production problems wouldn’t be solved fast. I suspect that certain (average) developers are jealous of the attention 10x developers (rightly) get. That’s understandable. But pretending that 10x developers doesn’t exist is silly. It’s like pretending that world class musicians/engineers/artists/… doesn’t exist.

comment 5y ago · link · parent

So what evidence would you accept to prove you wrong? I have two injections and didn’t get a heart attack. Millions of people have two injections and didn’t die of heart attacks. If that doesn’t make you hesitate believing what you believe what would? If your answer is “nothing” then you are not being rational.

comment 5y ago · link · parent

Do you know the difference between Causality and Correlation?

comment 5y ago · link · parent

Why are you avoiding answering my question? No company wants to pay employees more than they need to. So why are they paying software developers a lot more than roofers? And why aren’t all roofers applying for “easy” well paid software development jobs? Why aren’t you grabbing one of those “easy” well paid jobs?

comment 5y ago · link · parent

You don’t get it. Working hard is not what a software company pays for. What they pay for is knowledge. The knowledge to solve difficult software development problems. The best software developers don’t work hard. They have the skills to automate most of the work.

comment 5y ago · link · parent

Completely agree. I have interviewed and hired a number of people and a simple one page reading code test (“What do you think the code does and are there any bugs?”) worked wonders.

comment 5y ago · link · parent

I change my mind when facts/reality change. What do you do?

comment 5y ago · link · parent

Call the Republican one the “Freedom Vaccine” and market it as the way to show your Patriotism, and hint that taking it will make Liberals cry (“The Libs will HATE you for taking this vaccine!”). Also claim that the Freedom Vaccine is full of anti-Communist goodness and Proudly Made In America! (Using 99% ingredients imported from Mexico) making America Great Again!

comment 5y ago · link · parent

If that is true then why are companies willing to pay a reasonably good software developer a $100k salary instead of just hiring a cheaper roofer instead? It kinda should be really obvious but in case it isn’t: a roofer can’t do the job.
1
838485
116