Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

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

Submissions

comment 22h ago · link · parent

What have you built and learned during the 2 years?

That would be my first question as somebody hiring people.

Did you contribute to Open Source? Try to start your own biz? Learn new things?

Somebody who does that shows the kind of initiative and thirst for learning we are always looking for.

comment 1d ago · link · parent

> bugs and omissions

In compcert? Can you give a few examples?

comment 1d ago · link · parent

Thanks for the reply. I love the editor. It reminds me of my past working in the games industry :)

How did you create the car models and textures? Another editor or prompting?

comment 2d ago · link · parent

I completely agree. I stopped caring about programming languages now that AI writes all the code. And AI’s are really good at C++ so that’s my weapon of choice.

comment 2d ago · link · parent

Love it! Built with AI I assume? How was your approach? Plan first then implement or step by step prompting? How did you generate the models?

comment 3d ago · link · parent

If you enjoy your brain exploding then I also highly recommend learning LEAN and how to prove software correct.

comment 3d ago · link · parent

What an excellent article. Not only is it well presented, but it also demonstrates how to use LLMs intelligently to solve problems, using them as power tools without switching off your brain.

comment 3d ago · link · parent

Judge the quality of the output not how it was made.

Most output produced by humans without using AI’s is low quality slop.

comment 3d ago · link · parent

I agree. Judge the quality of the outcome not how it was made. “Certified 100% Human Produced” does not automatically mean quality. Very few humans produce quality outcome of anything including code, music, art, politics, opinions, judgements, …

comment 5d ago · link · parent

You can represent any imperative state as a pure value and then "run" an imperative program by doing:

(i1,s1) = step(i0,s0)

(i2,s2) = step(i1,s1)

...

(halt,sN) = step(i(N-1),s(N-1))

where i* is the instruction(s), s* is the state(s) and halt is the "program is done" instruction.

Think about it as a pure interpreter running an imperative program.

It is how imperative software is proven correct using pure languages like LEAN.

comment 1w ago · link · parent

And LEAN! I have done all of the above but LEAN (and proving code correct) absolutely blew my mind.

comment 1w ago · link · parent

You need the same even if it is 100% written by a human. There is a lot of human slop out there :)

I guess all you can do is to start reading and stop the moment you realise it isn't high quality.

Or perhaps skim the comments first to see if others find it valuable.

comment 1w ago · link · parent

No longer true with AI and LEAN. I believe proven correct software will become a lot more routine in the future. Especially because it’s the only true defence we have to AI hacking.

seL4 is an example of a proven correct kernel used on billions of devices. It was extremely expensive to prove it correct without AI but now the “cost per proof” has dropped dramatically.

comment 1w ago · link · parent

This is brilliant leading edge work. Proving code correct is now becoming viable because of AI.

comment 1w ago · link · parent

Judge the quality of the result not how it was made. AI is just a tool.

comment 1w ago · link · parent

Yes put you can prove non-pure imperial language correct in LEAN. Understanding why takes a lot of learning unfortunately and can’t easily be summarised in a single answer. seL4 (for example) is a real-world-used-in-production kernel proven correct in a pure language (Isabel/HOL).

comment 1w ago · link · parent

I don’t care if an article is written with AI. What I care about is the resulting quality.

comment 1w ago · link · parent

Steam is full of AI generated games making $0. It takes a lot of work to make a good game even if AI does all the coding.

comment 1w ago · link · parent

Not my experience. We use event sourcing in production for enterprise level software and inexperienced developers have no problems using it after about 15 min of introduction. Just start with your bank account list of events as an example and build from there.

comment 2w ago · link · parent

Not my experience. I’ve played around with Common Lisp, Clojure, Scheme, Chicken, even wrote my own Lisp in C++. I’ve really wanted to like it, but it never stuck.

Also, the whole cult-like attitude from a number of people in the Lisp community was a big turn-off. All that “if you don’t get Lisp, you’re not smart enough, haven’t got enough experience, or just haven’t tried hard enough” BS gets pretty tiresome. Lisp is really simple. There isn’t much to “get”. Haskell/LEAN was much harder for me to “get” than Lisp. And LEAN absolutely blew my mind. Lisp didn’t.

comment 2w ago · link · parent

I use a home grown multi-threaded unzip library in production at work built on top of zlib. Using 8 threads a typical unzip went from 30 secs to roughly 3 secs.

comment 2w ago · link · parent

Interesting that the tech ban has resulted in US companies slowly but steadily loosing the worlds largest market for computer hardware. I wonder what will happen when China has saturated its home market and starts out-competing US companies internationally.

comment 2w ago · link · parent

So nice to see true innovation in hardware.

comment 2w ago · link · parent

What an excellent read! Love it.

comment 2w ago · link · parent

If they're fixing 10x as many PRs per month, I'm surprised they haven't run out of PRs to fix!

With AI, I've gone from having a long backlog of PRs on my TODO list to basically none after just a few months. Now I'm working on other projects until new PRs pop up.

I'm also surprised it takes hours to fix these PRs. In my experience, Claude Code can usually fix a PR in under 10 minutes.

comment 1mo ago · link · parent

Don’t listen to the BS garbage coming from the tech bros. They have zero clue about how Ai will ultimately shape the future.

comment 1mo ago · link · parent

Not my experience at all. I have added multi-threading to very large C++ applications safely. One of them has been used in production for 5+ years without a single bug. The trick is to do it very carefully and use automatic tools (Valgrind etc.) to verify the code.

comment 1mo ago · link · parent

> the spec must be human readable

Usually I would agree with you but when porting code the source code is the spec.

comment 1mo ago · link · parent

And they’re 100% right about the vast majority of people.

All it takes to understand this is a little knowledge of history and psychology.

Progress has always been driven by a tiny minority who refuse to be amoral sheep. Without them, we’d still be living in caves, bashing each other over the head with rocks.

12345
116