HNHacker News
TopNewBestAskShowJobs

deterministic

2,848 karma · joined February 27, 2013

submissionscomments
deterministic··on Gemini 3.5 deleted 28,745 lines, broke production, and wrote a fake post-mortem
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.

deterministic··on Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions
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.
deterministic··on What You Will Lose When You Retire – By Dan Haylett
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!
deterministic··on Building ML framework with Rust and Category Theory
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.
deterministic··on The foundations of a provably secure operating system (PSOS) (1979) [pdf]
If you are interested in this I highly recommend studying SeL4. A practical industrial proven correct micro kernel used by billions of devices worldwide.
deterministic··on Profunctor Equipment in Haskell
> 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.

deterministic··on Jank now has its own custom IR
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.

deterministic··on I believe there are entire companies right now under AI psychosis
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.
deterministic··on The US is winning the AI race where it matters most: commercialization
Millions of people risk their lives to move to Europe and Australia.
deterministic··on WinUI 3 Performance: A Leap Forward
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.

deterministic··on Why senior developers fail to communicate their expertise
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.
deterministic··on An AI coding agent, used to write code, needs to reduce your maintenance costs
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.

deterministic··on AI isn't paying off in the way companies think according to Gartner study
We still don't have AI robots that can reliably (and more cheaply) assemble a burger at McDonalds.
deterministic··on I'm going back to writing code by hand
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.

deterministic··on I'm going back to writing code by hand
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.
deterministic··on I'm going back to writing code by hand
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.
deterministic··on The Struggle Is Gone
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.

deterministic··on Making your own programming language is easier than you think (but also harder)
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.

deterministic··on Checkmate in Iran
> 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.

deterministic··on What we lost the last time code got cheap
> 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.

deterministic··on Why is southern Italy poorer than northern Italy?
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.

deterministic··on They Called It LISP For A Reason (2005)
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.

deterministic··on What I'm Hearing About Cognitive Debt (So Far)
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.

deterministic··on Windows quality update: Progress we've made since March
> 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.

deterministic··on The Abstraction Fallacy: Why AI can simulate but not instantiate consciousness
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.

deterministic··on “Why not just use Lean?”
Check out SeL4 (a proven correct micro kernel used by billions of devices worldwide) and CompCert (a proven correct C compiler used by Airbus).
deterministic··on AI should elevate your thinking, not replace it
One of the best reads on AI I have read so far. Bravo!
deterministic··on AI should elevate your thinking, not replace it
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.

deterministic··on Composition shouldn't be this hard
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.

deterministic··on People Do Not Yearn for Automation
Take away automation from our factories and farmers and see how quickly civilisation will fall apart.
← PreviousPage 8 of 34Next →