Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,859 karma · joined Feb 27, 2013 (13y ago) · 3,460 submissions

Submissions

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.

comment 6mo ago · link · parent

I highly recommend writing your own toy version of LISP in whatever language you already know. Just enough to get the basic eval loop working (+ macros if you feel brave).

It is fun and IMHO the best way to learn LISP.

If you get stuck read through one of the many examples online and then try again without looking at those examples.

comment 6mo ago · link · parent

Not my experience at all. I’ve been using Claude Code on a large "hand written" project and it’s genuinely excellent at finding bugs and generating new methods or classes.

That said, it still frequently introduces subtle bugs, so I have to review every change carefully.

The real trick is learning when to use it. Some tasks are much faster to do myself, while others are faster with Claude Code.

comment 6mo ago · link · parent

> When people advise you to switch to Linux if you can, they are giving solid advice.

I am forced to use Linux at work and I dread updating anything because the result is usually a broken system. I never have that problem with Windows.

So YMMV is as always valid here.

comment 7mo ago · link · parent

If we assume that nature is fundamentally computational, and that our brains are 100% physical (no supernatural soul or whatever) then our consciousness is computational physics.

In other words, yes AI's could in principle have consciousness.

comment 7mo ago · link · parent

Check out SeL4 (a proven correct micro kernel used by billions of devices worldwide) and CompCert (a proven correct C compiler used by Airbus).

comment 7mo ago · link · parent

One of the best reads on AI I have read so far. Bravo!

comment 7mo ago · link · parent

I am using AI at work. And it definitely makes me (say) 10% more effective.

However my #1 productivity tool is still a custom code generator I have been using for years. It routinely generates 90+% of the code needed to write a typical biz web application, leaving just the business logic.

No AI. Just straightforward high-level-spec-to-server-client-DB code that is 100% trusted and proven in battle.

comment 7mo ago · link · parent

A great overview of the problems we all know we have. And zero new ideas on how to fix it.

Developing a "new kind of programming system" has been done many times before. Think case tools, functional programming, object oriented programming, CORBA, DDD, etc. etc. etc.

So best of luck but I highly recommend not investing your time unless you have at least one truly new idea that will change the outcome for the better.

comment 7mo ago · link · parent

Take away automation from our factories and farmers and see how quickly civilisation will fall apart.

comment 7mo ago · link · parent

Learning how to program from tutorials is like learning how to ride a bike from watching YouTube videos.

You kinda feel that you are learning something but you only truly learn when you have to do it from scratch.

comment 7mo ago · link · parent

The vast majority of people using UI's want predictability. Not "guess how this UI works!" games where you have to click on things at random to figure out how the UI works.

If you are an UI designer and want to create art then fine do that in your spare time. But at work be a professional and make the UI predictable and functional above all else.

317.

Why Companies Are Quietly Rehiring Software Engineers(youtube.com ↗)

3 points · by deterministic · 7mo ago · 1 comment

comment 7mo ago · link · parent

Whatever you do don't waste your time on the "Dragon" book.

Google "recursive descent parsing" and it will tell you everything you need to know about the front-end of a compiler.

Google "My First Language Frontend with LLVM" and it will teach you the other half.

comment 7mo ago · link · parent

"The two bugs that were found both sat outside the boundary of what the proofs cover. The denial-of-service was a missing specification. The heap overflow was a deeper issue in the trusted computing base, the C++ runtime that the entire proof edifice assumes is correct (and now has a PR addressing)."

In other words, the code was proven correct according to spec by LEAN. Which is exactly what LEAN claims to do.

comment 7mo ago · link · parent

Recognise that waiting for motivation to strike is a bad idea.

Instead just get started with the smallest possible step you can just about manage to do. And then do another smallest step. A lot of times you almost automatically keep going and the motivation then arrives.

Maybe the first step is to create a basic "Hello World" application. And then a few empty functions/methods that flesh out what the app needs to do. Then maybe a few of those methods/functions are really easy to do (or AI can write them for you) so you quickly do those. Etc.

comment 7mo ago · link · parent

Beyond Meat might be the most ultra-processed “food” I’ve ever come across.

It's actually really simple to eat healthily: Cook yourself using real (non-processed) food. The kind of food that doesn't need a label.

comment 7mo ago · link · parent

You can't create and enrich nuclear materials inside a datacenter.

comment 7mo ago · link · parent

Hmmm I would personally pick nuclear weapons as the #1 scary tech.

And a close (non-tech) second is the ruthlessness of sociopaths seeking power.

comment 7mo ago · link · parent

What an excellent read. Balanced and full of real insight. How rare that is nowadays.

comment 7mo ago · link · parent

Different strokes for different fokes.

In 2026 I don't want to use a slow interpreted non-typed language like Python.

C++ (for example) has excellent super fast matrix libraries where you can do AxB.

comment 7mo ago · link · parent

Asking that kind of minutia detailed question in an interview is seriously bad practice.

It is easy to come up with questions that the author would fail in an interview. Simply because there are thousands of minutia details that most senior developers wouldn't know about.

What the interviewer should focus on is the ability to solve real world problems. For example by walking the interviewee through a real world business scenario and letting the interviewee describe how he/she would solve the problem.

comment 7mo ago · link · parent

What's the name of the youtube channel?

comment 7mo ago · link · parent

In my experience (30+ years) writing good code (and good automatic tests) makes me way more productive.

Both when initially writing the code and later when maintaining it.

Good code dramatically reduce bugs and makes the remaining bugs more visible.

I spend almost zero time fixing bugs. Because there aren't many. Not a brag. Just the truth.

comment 8mo ago · link · parent

Professional compiler writer here. All you really need to use is a recursive descent parser. Very easy to understand. Very easy to implement. While also being very powerful.
1
101112
116