Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

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

Submissions

comment 3y ago · link · parent

30+ years of experience here working for companies in 5 different countries. Both as a manager, a director, a CEO, and as a developer.

The truth is that most managers are incompetent. It’s that simple. Most of them think that it is their job to make all the decisions. Nope wrong. Or that they need to interrupt people all the time to get status reports or whatever. Nope. Wrong again. No cookie.

I actually blame the companies they work for. Being a manager is something you need to be trained to do well. And yet companies promote and hire managers who have never received even the most basic training on how to be a manager. A few still succeed despite their lack of training. But those ones are rare.

Look at the military. They train their leaders before putting them in charge of soldiers. They know how crucial it is to have well trained managers (officers) in charge. For some reason companies don’t get this.

comment 3y ago · link · parent

A proven correct binary protocol parser generator: EverParse

https://project-everest.github.io/everparse/

comment 3y ago · link · parent

The games I enjoy playing are all indie games. However the AAA studios are making so much money that they don’t care about minorities like us. So obviously there is a huge market for what they deliver.

comment 3y ago · link · parent

Airbus. Not government funded but guaranteed loans that was paid back. The way to do it IMHO.

comment 3y ago · link · parent

A perfect example of why sanctions work short term but not long term. It is economically cheaper to simply import what you need. But if that is no longer possible, because of sanctions, then you are forced to create a local industry instead. It will take time, but with enough effort most countries (with highly skilled engineers) will get there. And the end result will be a massive long term economic loss to the country that introduced the sanctions in the first place. The sanctions introduced by the US will pretty much guarantee that China will become a world class competitor to US chip manufacturing, making the US chip industry even less competitive.

comment 3y ago · link · parent

Here is a radical plan for you:

Don’t try and re-invent the wheel. Copy what successful countries in Europe already does. For example, Germany is a great example when it comes to creating a strong export industry. Finland is a great example of how to create a world class education system.

Less ideology. More practical implementation.

comment 3y ago · link · parent

Yep. Still doing it today. Very large scale Enterprise systems with complex multi-country/multi-organisational operational rules running 24/7. Millions of lines of code. No Kubernetes. No micro-services. No BS. It’s simple. It works. And it has worked for 30+ years.

comment 3y ago · link · parent

What on earth makes you think that the business domain of Airbnb/Doordash is any more complex than what 37signals is working on?

Almost all complexity in software is created by developers. 37signals seems to be one of the few companies that really understand this.

comment 3y ago · link · parent

I work for a company that routinely deploy very large scale software to airlines/airports/rail companies around the world. Millions of lines of mission critical server and mobile/browser/desktop client code.

We do it without the cloud, without micro-services, without Kubernetes etc. Just straight forward good old fashioned client/server monoliths. It’s simple. It works.

The reality is that 99% of people who think they need Kubernetes don’t actually need it. Almost all problems in software development are caused by the developers themselves. Not by the actual business problems.

comment 3y ago · link · parent

I am the maintainer of a very large scale multi-threaded C++ application used by large airline/airport/rail companies around the world. I haven’t had a bug in production for 5+ years. Not one. And I routinely refactor/improve large parts of the code with zero problems.

The “secret” obviously is 9000+ system level tests.

And I will claim that you need that number of tests. Even if the application was written in (say) Rust. Rust won’t save you from subtle daylight savings errors, country specific governmental requirements, weird special case organisational policy rules etc. Only an executable spec (tests) will do that.

comment 3y ago · link · parent

Most developers don’t have a clue about performance. A friend of mine (an average developer by his own account) joined a company that had just lost a $10 million contract because of low performance software. He has a background in games development. So he raised an eyebrow, ran a profiler to figure out what the bottleneck was, and fixed the problem. In less than a week. Now he is treated like a super star by management and other developers. So knowing how to make software fast can be a real benefit.

comment 3y ago · link · parent

“Software Foundations” is IMHO a much more useful choice than CT.

comment 3y ago · link · parent

Agree 100%. CT is fun if you like abstract mathematics. But it is not a practical useful tool for developing software. A much better choice would be “Software Foundations”. Now that is also hyper abstract math but useful for developing real world software. As demonstrated with the CompCert and seL4 projects. Even pro mathematicians are starting to dive on (see the LEAN mathlib project for example).

comment 3y ago · link · parent

I am not worried at all about loosing my job to an “AI”. We already have ways to automate most of our software developer jobs: libraries, frameworks, code generators, compilers etc. And yet we are still needed to make all of those components work together to solve a business problem. So called “AI” is just another automation tools in our arsenal. Nothing more. Nothing less.

comment 3y ago · link · parent

I have noticed that the best developers I have ever worked with knows how to write a compiler. And the not-so-great developers don’t. It might just be a random correlation of course. But perhaps not?

comment 3y ago · link · parent

Pro compiler developer here: Simple compilers are easy. You can do one in a weekend. High performance optimising production compilers take years.

comment 3y ago · link · parent

Perhaps that should be a hint that you are asking the wrong questions. The job of a software developer is to solve customer problems. Not being C++ language experts. So instead ask how they have solved real customer problems, what the tech trade-offs were, why they chose the solutions they ended up with, what other possible solutions they could have used, the hardest bugs they have fixed, how they fixed it etc.

I have 30+ years of experience, and have hired many C++ developers, while working for different companies around the world. And my success rate in hiring good developers have been very high. Using exactly the questions I mentioned above.

comment 3y ago · link · parent

Yep you are 100% right. Developers who are not 100% focused on solving customer problems, in customer specified priority order, are in my opinion self-indulgent non-professionals.

Realise that it is not really your employer who pays your salary. Your salary is ultimately paid for by customers. All your employer does is to redirect some of the customer money to you. If the customers stop paying, no salary for you.

comment 3y ago · link · parent

30+ years of experience here, having worked on all kinds of very large scale VALUABLE legacy systems used to run airlines, airports etc. around the world:

1. Always prioritise work based on customer priorities. Not your personal subjective preferences. So keep a list of To Do’s in customer selected priority order.

2. Always and only work on the #1 customer priority. If the code to solve #1 priority needs refactoring then FIRST write system level tests that specify exactly what the code should do. And then refactor, followed by adding the new feature.

3. Goto 1.

It’s simple. It works.

comment 3y ago · link · parent

Excellent read. I am a pro compiler developer and I learned quite a few things from the article.

comment 3y ago · link · parent

Writing down your thoughts and reasoning is a great way to think.

comment 3y ago · link · parent

Nope. Type Theory (like Matin Luff TT) describes Type Theory really well. And it is way more useful for software development than CT is. Tools like Coq, LEAN, Agda, Idris etc. are built on TT not CT.

comment 3y ago · link · parent

Agree. If you care about abstract mathematics that is useful for developing practical software then don’t waste your time with CT.

comment 3y ago · link · parent

Category Theory will not make you more efficient in FP languages like Haskell. I studied it enough to realise that it doesn’t give me any insights or thinking tools I can actually use to write better software. However I highly recommend reading “Software Foundations”. It is almost guaranteed to make you better at writing software in any language. Including Haskell. That’s what happened to me.

comment 3y ago · link · parent

You are most definitely smart enough. And your instincts are correct. Category Theory is not an efficient thinking tool for thinking about software. You can use it for that of course (monads were originally modelled in CT) but there are much better tools out there that will get you there faster (Abstract Algebra, Reduction Machines and State Machines for example).

There are a few (usually Haskell) people that love to make claims about the need for you to learn CT. They are wrong. It’s that simple.

comment 3y ago · link · parent

> The truth is that even seasoned C/C++ developers can’t write safe C/C++ code

I maintain a very large C++ project used to run airlines around the world that hasn’t had a bug in production for 5+ years. No crashes. No memory leaks. No production shutdown. Not even once. So no it most definitely is possible to write solid code in C++. However I do agree that it is hard :) I managed to do it by having 9000+ tests testing all aspects of the code.

Another (more public) example is SQLite. I am sure there are more examples out there. Airbus avionics software is written in C for example.

comment 3y ago · link · parent

It is naive to believe that 100% understanding each other somehow will lead to less violence or war. If you 100% understand that somebody wants to take what is yours, rape you, or in any other way have a deep desire to cause you harm, then the conflict and violence will still happen.

There are people out there who truly and deeply believe that they are superior to others and therefore have the right to take what is yours. They might 100% understand that you are not happy about it but they simply don’t care.

So you either accept to be a victim or use violence to stop it. Any attempt to negotiate or talk about it will be answered with a fist in your face.

comment 3y ago · link · parent

A small percentage of people love to annoy and piss off other people. And it just takes one to provoke everybody around them. So I think it would lead to more road rage not less.

However I would love to have a system where drivers can spend (say) 10 penalty points a year on bad drivers they observe in traffic, and every year the top 1% receivers of penalty points (above a minimum amount) gets heavily fined, and are forced to reapply for a drivers license.

comment 3y ago · link · parent

I hope that class action suits will force companies that use “Buy” buttons to actually give ownership of digital products to the buyer. Making the companies unable to revoke a “Buy” later for whatever reason.

If your customers are just buying a limited license to use a digital product until cancelled at the whim of the company then make that 100% up-front obvious. And adjust the prices accordingly.

comment 3y ago · link · parent

Yep agree. I own one. It’s simple. It works. Without any stupid subscription model, ad delivery mechanism, VR googles, AI voice control, or any other nonsense. How refreshing!
1
293031
116