Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Show HN: SQLBraid – Write SQL directly in TypeScript without a query-builder DSL(github.com/clickin ↗)
    discuss
  2. The Roadmap to Mastering LLM Inference Optimization(machinelearningmastery.com ↗)
    discuss
  3. Will new grid rules put the future of UK datacentres at risk?(computerweekly.com ↗)
    discuss
  4. He was probably right: we should be confident in our beliefs, but never certain(aeon.co ↗)
    1comments
  5. GeoJev, ask questions about the world and get its heatmaps(geojev.vercel.app ↗)
    discuss
  6. Do people prefer traditional architecture?(worksinprogress.co ↗)
    discuss
  7. Want to have a 24/7 colleague for your recruitment?(sourcegeek.com ↗)
    discuss
  8. Anthropic Principle(wikipedia.org ↗)
    1comments
  9. Big Bang(wikipedia.org ↗)
    discuss
  10. Deterministic Kittens: Fun with Qwen-Image-2.1 on an M2 MacBook Pro(reddit.com ↗)
    discuss
  11. Rolling with the Punches(debarshibasak.github.io ↗)
    discuss
  12. Day One Support for the Duo(timleland.com ↗)
    discuss
  13. The End Of Upward Mobility – AI is coming for the meritocracy(noemamag.com ↗)
    discuss
  14. BugBash'26 Keynote: We won, what now?(muratbuffalo.blogspot.com ↗)
    discuss
  15. Virtual Worlds(worksinprogress.co ↗)
    discuss
  16. The toilet took five minutes. My phone took the rest(salari-dev.medium.com ↗)
    discuss
  17. The Conveniences I Used to Write a Book About Inconvenience(lithub.com ↗)
    discuss
  18. ProviderCallbackHost is an allow-list, not a destination(nkap.dev ↗)
    discuss
  19. CSE 452: Google's Introduction to Distributed System Design(washington.edu ↗)
    discuss
  20. Mvndy (Comic)(mvndy.cl ↗)
    discuss
  21. Archive.yesterday: an empirical study of the Streisand effect(gyrovague.com ↗)
    1comments
  22. Tired of Astra eating all my credits. DotSwarm to the Rescue(github.com/druidia-bot ↗)
    discuss
  23. Probes into Toronto's shooter-for-hire network thwarted by impenetrable phone(theglobeandmail.com ↗)
    1comments
  24. Sifty, free text classification with one URL and no API key(sifty.dev ↗)
    1comments
  25. Ask HN: How do you guys stay on top of the code that is generated?
    3comments
  26. Jev Use Cases Tested: Where This Decision-Only AI Fits(mindstudio.ai ↗)
    discuss
  27. PDF Artifacts: What they are and why they matter for Accessibility(pdf4wcag.com ↗)
    4comments
  28. SoftBank Seeks Over $11 Billion in Junk Bonds for OpenAI Bet(bloomberg.com ↗)
    1comments
  29. Show HN: See what ChatGPT, Claude and Gemini say about your business(kelriva.ai ↗)
    discuss
  30. The Coal Conquest – There was no shortage of trees(ageofinvention.xyz ↗)
    1comments

Ask HN: How do you guys stay on top of the code that is generated?

2 pointsby 43m ago
2 comments
I have been working on a new service from scratch and AI has spat out 1000s of LOC and while I leveraged on it quite a bit for the design of the service, I need to know exactly what is happening in every single line of code. This has increasingly become a problem for me, especially when working on something new from scratch, is there any plugin, skill, prompt that makes it easier to understand a codebase in-depth?
23m agoHN ↗

I think a lot of folks ended up in a world where you write specs and designs in Markdown documents and use that to drive the outcome (the code, the system, tests, etc). So you drive intend through those specifications and design docs.

Lately though, I've switched tact a bit and have resurrected some ~20yr old research called Behaviour Tree Engineering or Behaviour Trees, so I'm now writing specifications called BT specs.

e.g: https://bte.mills.io/s/v4Mjbyf0OBJWm5YRLwG5XiIH

8m agoHN ↗

Two distinct strategies.

For tools and architecture,I design data structures and let the LLM write the code, in small steps. Lots of discussion with the LLM. What Cory Doctorow calls centaur mode - a human mind augmented with a more powerful body. Applies to side projects and $DAYJOB.

For applications, I rewrote a framework of mine that I used 2003-2009. It is highly constrained so the LLM has few options to improvise. I can just tell it what features to add and it adds them without much in the way of slop. I still find code repetition which I just tell it to clean up.