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

Not true. You can make any system arbitrarily complex. And 95% of software developers IMHO are hell-bent on proving that true every single day. Micro-services is a GREAT example of this.

comment 3y ago · link · parent

“CEOs on average, just 6% of their time is spent with frontline teams and 3% with customers. They spend 72% of their time in meetings.‘

That’s the problem with most businesses right there.

comment 3y ago · link · parent

Teachers are well paid in Finland and Denmark (for example).

comment 3y ago · link · parent

Micro-services is BS invented by cloud providers to solve problems you don’t have at 10x the cost.

The worst software systems I have ever seen were micro-services. One of them is more than 20 years old. The WTF count per minute is exponential.

comment 3y ago · link · parent

This is THE way to learn math as a programmer:

https://softwarefoundations.cis.upenn.edu/

With the added bonus that you learn how to prove software correct.

comment 3y ago · link · parent

That’s a PERFECT explanation of what AI art sometimes feels like.

comment 3y ago · link · parent

Yep. It’s called the market place.

comment 3y ago · link · parent

No successful software is bug free. Except for proven correct code like CompCert and seL4 of course.

comment 3y ago · link · parent

The success of UNIX and C is no accident.

comment 3y ago · link · parent

Not true. Check out CompCert, seL4 etc.

comment 3y ago · link · parent

And yet C code runs the world. You might be right in theory but in practice C is the most successful programming language in history. At work we routinely deploy million+ lines of C in production running large international airlines and airports. And it works.

comment 3y ago · link · parent

The only way to think about infinities IMHO is to (for example) prove “for all N, P(N) is true”. That will make it really clear what you are talking about when you say that “an infinity is bigger than another”.

So “infinity A is bigger than infinity B” could be translated to:

For all N, N > c => countA(N) > countB(N)

where c is a constant and countA/countB is a lower bound of the “size” of A/B.

comment 3y ago · link · parent

Game developers use state machines all the time.

comment 3y ago · link · parent

API stability is THE #1 most important thing to get right.

I don’t care about the details of your API. I have worked with API’s that triggered a WTF every 5 secs. But I don’t care. I figure it out, build an abstraction on top that makes sense to me, and move on with far more important things.

So do what Linus does with Linux. Don’t f* break clients! Add a separate new API instead or expand the old API with additional entry points. Never ever deprecate anything in your API!

API developers that think it makes sense to break all clients, and force those clients to make changes, just because they wake up one day thinking that renaming FooBar to BarXk is a good idea, makes me want to throw my PC out of the window.

And who actually thought that marking things “deprecated” is a good idea? It is still an API change. With annoying warnings/errors added as a bonus.

Don’t. Do. It.

Use your brain to figure out how to accomplish the same task without breaking clients. The Linux guys can do it. So can you.

comment 3y ago · link · parent

Thanks for the link. I am starting to get into simple but deep strategy board games. Is there a good place to find the best simple but deep strategy games?

comment 3y ago · link · parent

Why not? CEO’s routinely get large bonuses no matter how profitable the companies they manage are. And they never have to return any of it if things go badly.

comment 3y ago · link · parent

They will simply introduce many flavours of titles that pretty much mean the same thing. So that they can pay the 10% who does 50% of the work more than the rest.

comment 3y ago · link · parent

CompCert is a proven correct C compiler proven correct by a very small team in a few years. Used by Airbus for avionics software. GCC after 25 years of work still has bugs.

comment 3y ago · link · parent

CompCert, seL4, EverParse, AWS TLA+, Azure infrastructure code proven correct etc.

You might already be using proven correct software somewhere in your stack without knowing it. You most certainly will be trusting your life with it flying Airbus.

comment 3y ago · link · parent

Yeah I maintain compilers for a living so throwing together a parser for my own custom language is fun and quick. The custom language is just event definitions, state machines etc. Nothing complicated.

comment 3y ago · link · parent

Almost all the time the “truth” is less important than the values and feelings of people involved. Humans are emotional beings first and foremost. I have met a few “super rational” people in my life and they were clearly driven by strong emotions. Emotions they were blind to or refused to acknowledge. They also typically didn’t understand that all rational value judgement is relative to and built on top of a foundation of axiomatic values that are different for different individuals. So your “rational” truth might not be my “rational” truth.

comment 3y ago · link · parent

There are hundreds of thousands of C++ applications out there running everything from factories and warehouses to airlines, airports, large enterprises, cars, aircraft etc. It’s like COBOL but times 10000. C++ developers will be needed for a very long time. Not to mention that new C++ projects are being started every day. And yes you will probably use LLM as a tool in your tool box working on C++ code. But it’s just a tool. There are hundreds of other tools already being used by C++ developers to automate things. LLM is just another one.

comment 3y ago · link · parent

In this case LEAN/Agda/Coq/Idris would be better choices since it allows you to prove mathematical theories. And those languages all have support for sum types, arguably more useful than S-expressions IMHO.

comment 3y ago · link · parent

LEAN/Coq/Idris/Agda allow you to prove mathematical theories out of the box. Lisp not so much. Unless there is a Lisp library that gives you the power of Dependent Types and/or Refinement Types?

comment 3y ago · link · parent

Experienced game developer here: if you are just starting out wanting to learn how to make games then 1000000% focus on gameplay and not technology. Almost all developers I know who starts working on games end up basically just working on engine technology and never get an actual game done. I used to be one of them so I talk from experience! :) Nowadays I just use Unity and focus on the actual hardest part of making games: coming up with fun enjoyable gameplay that isn’t just a clone of somebody else’s game.

comment 3y ago · link · parent

I haven’t published it. I don’t want to spend time supporting it.

It is quite simple though:

1. Decide on an architecture that scales well.

2. Redesign the architecture to maximise opportunities for auto generating code/schemas/protocols/client/server/DB etc.

3. Define your actual application in a declarative language. I use my own custom language but you can use JSON/YAML/…

4. Write a generator that reads the declarative files and generates as much of the code needed as possible to implement the application.

5. Hand code what remains (basically the core biz logic).

That’s pretty much it. I have done this exercise more than 9 times and I learned a lot doing it. I highly recommend giving it a go yourself. You learn a true super power and it is great fun.

comment 3y ago · link · parent

Why on earth do you want to work 60+ hours a week? It absolutely boggles my brain that anybody would be proud to work that many hours. Unless you are an entrepreneur working for yourself and love doing it.

comment 3y ago · link · parent

This has been done many times before. I (for example) use a code generator I wrote myself to generate 80% of new biz applications. It is a very powerful tool.

However I have never used it for work because most of the stuff I work on is old but highly valuable code.

comment 3y ago · link · parent

30+ years of experience here. 8+ years of successful management experience:

9 out of 10 managers I have ever worked with were incompetent.

1
282930
116