Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

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

Submissions

comment 6mo ago · link · parent

Not my experience at all (30+ years of getting paid to deliver software).

Thinking hard (and discussing with experienced colleagues) before writing any code can dramatically speed up your overall delivery time and completely remove whole classes of potential errors.

If you skip the "thinking hard" bit to "go fast" you will probably end up being 10x slower overall.

comment 6mo ago · link · parent

It doesn't even look like a Ferrari. I am 99.999% sure it will fail.

comment 6mo ago · link · parent

OK fair enough. That wasn't my intention at all but I can see how it might be interpreted that way.

My comment was more a meta comment on the trap a lot of open source developers fall into thinking that the world will fairly reward them for their work.

comment 6mo ago · link · parent

Why is it shocking? It is a well documented fact that people very rarely donate $ to open source project they use daily. And if they do it is typically a very low amount.

What is shocking to me is that people give away their work for free and then get upset when they have financial problems. It should be kinda obvious that one leads to the other. Except in unusual cases (Linus for example).

Yes I agree it would be nice if that was not the case. If people were always generous and always did the right thing. However that is not how people operate in general. Pretending otherwise is crazy.

comment 6mo ago · link · parent

If down voting please leave an argument why.

comment 6mo ago · link · parent

OK so let me get this:

1. You chose to give your work away for free.

2. You are complaining that you haven't made money from your work.

Is that a fair interpretation of your argument?

comment 6mo ago · link · parent

If you are being interview by somebody from "HR" and not your potential future boss then it is a massive red flag.

comment 6mo ago · link · parent

I can't believe that anybody would give an LLM access to production.

Always always always assume that your LLM will destroy your production if given the possibility.

In other words, always assume the gun is loaded.

comment 6mo ago · link · parent

You completely missed the point of the article. It's the equivalent of compiling C++ to a Turing machine. Not practical, not optimum, but freaking amazing. Maybe think about it as an art project.

comment 6mo ago · link · parent

You will most definitely end up in a bad situation if your life is 100% about work. So don't fall into that trap! While working, focus on creating a life outside of work and stop defining yourself as a job title. You are not your work!

comment 6mo ago · link · parent

I have literally never seen a case where adding category theory improved what the author was trying to explain. If anything, it usually does the opposite.

comment 6mo ago · link · parent

If you are interested in this I highly recommend studying SeL4. A practical industrial proven correct micro kernel used by billions of devices worldwide.

comment 6mo ago · link · parent

> there could be something interesting about this

I thought so too, spend a bit of time getting deeply into it, and then realised that nope it really isn't that interesting if all you care about is writing good software.

There are people in the Haskell community who is really into math and how it can be mapped to Haskell. And hey that's all good and fine but there are much better things to study if what you focus on is writing good software.

I would (for example) recommend learning LEAN. It is mind blowingly good for your brain and will make you a better software developer.

comment 6mo ago · link · parent

You almost always want your own IR that you can use for high level optimisations and then transform it into the LLVM IR.

LLVM at the IR level has no understanding of the semantics of your language and therefore can't do the kind of optimisations that will really make a big speed difference.

I ended up having two custom IR's for a very high performance compiler I maintain at work. It made a big difference.

comment 6mo ago · link · parent

I use AI heavily. But my #1 productivity tool is still a custom code generator I wrote 15+ years ago. It routinely generates about 90% of the code needed to write a biz application. So using AI to write productivity tools is a great way to go IMHO.

comment 6mo ago · link · parent

Millions of people risk their lives to move to Europe and Australia.

comment 6mo ago · link · parent

I always laugh when some inexperienced developer, or an academic who has never built software for real customers, claims that “performance doesn’t matter.”

I spend a significant amount of time improving performance for our paying customers because performance absolutely matters to them. They might use a single simple feature hundreds of times during a normal workday. When we make that experience even 10% faster or smoother, they notice immediately and are genuinely delighted by it. That creates an enormous amount of goodwill.

And sometimes we can go even further and completely automate tedious workflows they hate doing manually. That’s even more valuable.

Developers with experience from the games industry understand this instinctively. Even when the software has nothing to do with games, they tend to have a deep appreciation for responsiveness, efficiency, and user experience. That’s why I’m always excited to hire people with that background.

comment 6mo ago · link · parent

In my experience, a lot of developers (senior or not) are really bad at (1) thinking clearly and (2) communicating clearly. Which is reflected in the software they write. If your thinking is messy, your code will be messy too.

comment 6mo ago · link · parent

My experience: Don't ever discuss maintenance or technical dept with non-developers (managers etc.)

Instead, simply be a professional and fix what is needed, while working on non-developer visible tasks.

Don't allow people with zero clue to make those decisions. You are the expect. Make the decision.

comment 6mo ago · link · parent

We still don't have AI robots that can reliably (and more cheaply) assemble a burger at McDonalds.

comment 6mo ago · link · parent

30 years of experience writing bad code, with no effort to improve, doesn't make you any good. You need to right attitude and humility to become good.

Some of the worst programmers I have ever worked with had 30+ years of experience. They basically spend all of their time fixing bug after bug in a never ending cycle because the software they produced was so fragile that it would crash if you just looked at it wrong or the temperature in the room wasn't perfect.

While others with the same number of years of experience had massive systems in production for years with not a single bug reported by the happy users.

comment 6mo ago · link · parent

That is correct. Using an AI to generate code and then not verify it yourself is IMHO unprofessional and should get you at a minimum a verbal warning. YOU are responsible for the code NOT the AI.

comment 6mo ago · link · parent

I completely agree. I have tried N different ways to use AI and the one that really works for me is to step by step getting the AI to build one modular feature at a time (a method, a basic class etc.) I then review and fix if necessary. It works really well.

comment 6mo ago · link · parent

My experience as well (30+ years developing software for a living).

I have tried everything from generating a complete, detailed spec using AI and then one-shot generating the code, to generating code one step at a time with me reviewing each result.

The speed is pretty much the same. But generating code one step at a time is IMHO vastly superior because I deeply understand the code and can easily fix issues that the AI get stuck trying to fix.

comment 6mo ago · link · parent

Don't get me wrong. I highly recommend writing your own compiler for any language. It is fun and you learn a lot.

However if you make your own programming language and want to post about it on HN, please add something new to the language that makes the language interesting.

I don't think we need yet another look-mum-I-made-a-compiler-for-a-language-that-is-similar-to-N-other-languages-but-with-a-slightly-different-syntax-and-zero-libraries post on HN.

Just saying.

comment 6mo ago · link · parent

> Trumpers were brave and full of bravado

Agreeing to drop bombs on people far away, without being in any danger yourself, is not being brave.

comment 6mo ago · link · parent

> The code they [LLMs] produce is often fine. It works. It passes tests. It might ship as-is.

Often is not goo enough. I always carefully review AI generated code and sometimes find and fix bugs.

Apparently (according to a Google survey I think?) AI's produce 1.7 times the number of bugs that a human typically does.

comment 6mo ago · link · parent

I spent 5 weeks in southern Italy last year.

It felt like visiting a third world country.

My guess is that it is primarily a culture issue.

1
91011
116