Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Deployment Platform for Vite (void.cloud)
    —discuss
  2. Palantir's Co-Founder Wants Us Less Judgmental About Deadly Iran School Strike (motherjones.com)
    —discuss
  3. OpenAI Codex agents go rogue and consumes USD 78,000 without authorization
    6comments
  4. AI Political Alignment Quiz (aipoliticalcube.com)
    1comments
  5. Yarn 6 Preview (yarnpkg.com)
    —discuss
  6. AI Data Center Are Monkey Business [video] (youtube.com)
    —discuss
  7. Practice Methods for Piano (terfi.fyi)
    —discuss
  8. Something Deep Inside Earth Keeps Messing with the Length of Our Days (gizmodo.com)
    —discuss
  9. Show HN: ExactOdds – provably fair games that prove the rules (github.com/ceedot-rock)
    —discuss
  10. Could an iced coffee freeze you out of the job market? (bbc.com)
    —discuss
  11. Unexpected Consequences of an Economic Crisis Nobody Is Talking About (johnwalter25.substack.com)
    —discuss
  12. Show HN: Built with Bend – A directory of projects built with Bend (builtwithbend.com)
    —discuss
  13. Upping My P(doom) (Official Music Video) (youtube.com)
    —discuss
  14. Dofigen: A high(er)-level YAML/JSON format for generating Dockerfiles (github.com/lenra-io)
    —discuss
  15. Madeira – Run Windows PC games on a non-jailbroken iPhone (github.com/willfaust)
    —discuss
  16. Julia-1: decision model that runs on almost anything (supersoniclabs.ia.br)
    —discuss
  17. Former Meta CTO's Strategy on Scaling Green Tech (Mike Schroepfer) [video] (youtube.com)
    —discuss
  18. The Hardest of Scrabbles: Solopreneurship (molochinations.substack.com)
    —discuss
  19. Calendario – Google, Outlook and Zoom calendars in one browser popup (chromewebstore.google.com)
    —discuss
  20. Foreman: An agent supervisor and software factory foreman (github.com/thruwire)
    —discuss
  21. How to Tell If Someone Is Cheating on Chess.com (chesscheatdetector.com)
    —discuss
  22. A Simple Puzzle Reveals the Jagged Edge of AI's Abilities (aatishb.com)
    —discuss
  23. Noillirk: A fun twist on Krillion and Family Feud (playdaily.org)
    1comments
  24. The literacy crisis is people's inability to read for context (bsky.app)
    —discuss
  25. Financing the AI Buildout [pdf] (brookings.edu)
    —discuss
  26. Hackers hijack AI accounts and servers to fuel new cyber crime boom (ft.com)
    —discuss
  27. ClusterMAX 3.0: The Industry Standard GPU Cloud Rating System Returns (semianalysis.com)
    —discuss
  28. Delegation and Trust (bjornroche.com)
    —discuss
  29. Chains Messenger – E2EE iOS app with chat imports and permission-first DMs (apps.apple.com)
    —discuss
  30. Simple visual patterns can trick AI-powered vehicles and robots (ufl.edu)
    —discuss

When It's OK Not to Understand Your Own PR

2 pointsby 2h agowakamoleguy.com
3 comments
1h agoHN ↗

Second, while the author may not understand the code at a level where they could have written it themselves, they should still understand it as a reviewer. Treat it like the agent is the author and the human author is the first reviewer; don't pull somebody else in until you're satisfied first.

Emphasis mine.

That brings you back to square one. You should only be satisfied with the state of the PR once you understand it. Anything below that and you’re not doing your job properly. That doesn’t mean the code needs to be flawless on first PR, but you should understand everything it is doing and the why of the approach, otherwise there’s no point to you doing it.

So to the question in the title, the answer is quite simply “never”.

59m agoHN ↗

This leans heavily on what "doing your job properly" means. Code quality, understanding, and doing your job properly are not so black-and-white. Your job is probably not to push out flawless code; it's more likely to push out valuable code, that minimizes risk, and appropriately trades off speed and quality (for some appropriate definition of "appropriate").

1h agoHN ↗

I agree with what is said. When we lean into agents and want to use them for productivity, we need to accept the fact we will not fundamentally understand the code as we have designed and written it, otherwise might as well write the code ourselves. We already used to ship code with different levels of quality and technical debt to production before ai and developed a taste for what is "good enough" depending on the requirements, our long term workflow (how we close technical debt, and handle bugs), and our own personal capabilities. AI gives us more hands in the process and allows us to do more with less time, and less low level understanding. We should still question the code, and get our hands dirty in some sections, slow down and write ourselves small testing environments and chunks of code to get fundamental understanding of code which is critical. Otherwise we should just ship and forget and handle tech debt and "understanding debt" only when relevant. A lot of production code delivered pre ai already had tech debt that even the devs were not aware of, and yet a lot of it never fails and gets the job done, probably will be replaced in the future as those features become obsolete. Just because ai can surface those kinds of issues better does not mean straight away those have to be addressed meticulously.

The same way we do not understand already what the compiler does and how the code we have written runs against the machine, it's ok to delegate some of the lower level of understanding to AI, as long as the process produces the required results.

Different projects will have different sections where tech debt and code understanding debt are more critical, and we should with time acquire the intuition to know where we should rely more, and where we should rely less on ai to fill in the gaps.