Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Why Experts Keep Getting the Economy So Wrong [video](youtube.com ↗)
    discuss
  2. Animated visual explanation of how LLM tokenization works(seeitflow.com ↗)
    discuss
  3. Giving My AI Agents Access to My RSS Reader(markphelps.me ↗)
    discuss
  4. Google Rolls Out $899-Plus 'Ai laptops'(bloomberg.com ↗)
    discuss
  5. Hemmingway-1: The AI that writes like a person(huggingface.co ↗)
    discuss
  6. What Sun Got Wrong(dtrace.org ↗)
    discuss
  7. Will Frontier firms enjoy the rewards of the value the created?(senteguard.com ↗)
    1comments
  8. US will form 'AI Force' and appoint an artificial intelligence tsar(bbc.com ↗)
    discuss
  9. Secure Messaging and AI Remain In Conflict Despite the Promise of TEEs(eff.org ↗)
    discuss
  10. It's Easy to Dismiss Jev as Just a Classifier(sebastianraschka.com ↗)
    discuss
  11. Humans& with Alexis Ross, Manya Bansal, and Niloofar Mireshghallah
    discuss
  12. Prompt Wars(promptwars.party ↗)
    discuss
  13. Show HN: OpenDecision – a 400M zero-shot model makes local decisions, plays Doom(deepanwadhwa.github.io ↗)
    discuss
  14. Developing Immunity to Propaganda(scottlocklin.wordpress.com ↗)
    discuss
  15. Why open source always wins(pgdog.dev ↗)
    discuss
  16. Show HN: I made a game about awkward conversations using Jev(playuhoh.com ↗)
    1comments
  17. New(pirateface.co ↗)
    discuss
  18. Microsoft's new AI 'code of conduct' tells models not to hack systems(techcrunch.com ↗)
    1comments
  19. Just uploaded **Chameleon v0.1.1 Beta(mrjaki.github.io ↗)
    discuss
  20. M5 Ultra Mac Studio Review: The Dream Mac for Local AI Agents(macstories.net ↗)
    discuss
  21. An Undercover Google Analyst Infiltrated a Notorious Supply-Chain Hacking Gang(wired.com ↗)
    discuss
  22. Canonical announces Zephyr 26.04 LTS(canonical.com ↗)
    1comments
  23. Show HN: Run Jev-style models locally on Mac with 0.74 GB RAM(github.com/afshinm ↗)
    discuss
  24. OpenAI President Greg Brockman on Doing Business in the Wake of Hugging Face [video](youtube.com ↗)
    discuss
  25. ROG Xbox Ally X20 / Tokyo Games Show 2026: Improving, but No SteamOS Planned(boilingsteam.com ↗)
    discuss
  26. Shopify CEO says employees' 'slop grenades' are making more work for everyone(businessinsider.com ↗)
    discuss
  27. EU KIDS Act Won't Keep the Internet Accountable and Trustworthy(eff.org ↗)
    discuss
  28. Step 5 Preview: StepFun's frontier model with 1M context and video input(stepfun.ai ↗)
    discuss
  29. Tap to Pay – 72x More Complicated Than a Simple Tap [video](youtube.com ↗)
    discuss
  30. OpenPrinter [video](youtube.com ↗)
    discuss

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

4 pointsby 2h ago
3 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?
2h 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

1h 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.

1h agoHN ↗

ponytail plugin is good for reducing amount of code. i have a different ai that code reviews it and i tell it that it is smarter than the ai that wrote the code. i had to tweak it to not be too nitty.