frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Is there a name for the type of comments agents add where they leak the prompt?

4•xdennis•1h ago
This is a stupid example to illustrate what I mean. Say you have this code:

   def create_background(width: int, height: int) -> Image:
       ...
You tell the agent to use default values for create_background, the same as in create_screen. It changes the code to:

   # Now create_background params have default values, the same as create_screen in screen.py
   def create_background(width: int = DEFAULT_WIDTH, height: int = DEFAULT_HEIGHT) -> Image:
       ...
The unnecessary comment is a staple of vibed code, but the tone also annoys me because it leaves behind the prompt. It words comments based on what it was asked to do, not in a timeless manner.

I keep telling people in code reviews to remove unnecessary comments, and I feel I lack the vocabulary to express why this is bad.

Comments

king_zee•29m ago
I'm not sure if you're worried that the comment leaks what you prompted, or that the comment is redundant and evident, and makes it obvious that it wasn't written by a human, and for both these issues the solution is just to proof-read your damn code

Vincent's parents 'never say he's good enough' so he turned to a couple online

https://www.bbc.com/news/articles/cpq3dnr5vlzo
1•breve•1m ago•0 comments

The whirlwind 24 hours that led to export controls on Anthropic

https://www.politico.com/news/2026/06/13/inside-the-whirlwind-24-hours-that-led-the-white-house-t...
1•ls612•4m ago•0 comments

Surface Data vs. Deep Data [video]

https://www.youtube.com/watch?v=vk6lgHjjGp8
1•zetamax•7m ago•0 comments

The Siren Song of Illness

https://www.nybooks.com/articles/2026/06/25/the-siren-song-of-illness-master-of-contradictions-je...
1•t0lo•10m ago•0 comments

The Missing Infrastructure Between AI Agents and the EVM

https://blog.bridgexapi.io/the-missing-infrastructure-between-ai-agents-and-the-evm
1•Bridgexapi•10m ago•0 comments

Fable: Two edges of one opinion, on a model switched off

https://rebraining.org/fable
1•Jakko-KAAMOS•12m ago•0 comments

'Tell Him He's a Piece of Shit': Meta's New AI Unit Is a Total Mess

https://www.wired.com/story/mark-zuckerberg-meta-employee-meeting-interrupt-ai/
4•momentmaker•17m ago•0 comments

Let's Destroy American Science

https://nasawatch.com/policy/lets-destroy-american-science/
4•voxadam•21m ago•0 comments

Russian families use AI to 'resurrect' loved ones killed in Ukraine

https://www.bbc.com/news/articles/cwy24v72n19o
3•breve•22m ago•0 comments

Monero Inflation Checker

https://www.moneroinflation.com/
1•Cider9986•25m ago•0 comments

Switzerland to vote on plan to cap population at 10 million

https://www.bbc.com/news/articles/cx23kz7e76po
2•breve•27m ago•0 comments

4 things to know about the new sunscreen ingredient the FDA approved

https://www.npr.org/2026/06/13/nx-s1-5856385/sunscreen-skin-protection-bemotrizinol
11•mikhael•30m ago•0 comments

The "Best" HN Comments

https://news.ycombinator.com/bestcomments
2•embedding-shape•31m ago•0 comments

There is no such thing as an AI 'artist'

https://www.spiked-online.com/2026/06/07/there-is-no-such-thing-as-an-ai-artist/
3•mikelgan•34m ago•1 comments

The AI supply chain is a software supply chain with new failure modes

https://blog.r-lopes.com/newsletter/2026-06-03
2•dovelome•34m ago•0 comments

Fable 5: They switched off my AI mid-build. The timeline is the story

https://medium.com/@alirezarezvani/fable-5-anthropic-and-us-gorvernment-how-ai-export-controls-ju...
2•jungard•34m ago•0 comments

FDA OKs first new sunscreen ingredient in more than 25 years

https://apnews.com/article/sunscreen-fda-bemotrizinol-ingredient-uva-protection-9b9c7e04b418b3c9c...
7•marc__1•36m ago•1 comments

The Future of Software Engineering Is Here; It's Just Not Evenly Distributed

https://twitter.com/jmugan/status/2065962078322438524
2•jmugan•39m ago•0 comments

Goldman and Morgan Stanley to Pocket $100M Each in SpaceX IPO Fees

https://www.wsj.com/livecoverage/spacex-ipo-stock-market-06-12-2026/card/goldman-and-morgan-stanl...
3•vismit2000•40m ago•0 comments

Color Photos of Stalin-Era Soviet Union Taken by a US Diplomat

https://rarehistoricalphotos.com/stalin-era-soviet-union-pictures-martin-manhoff/
3•Cider9986•42m ago•0 comments

Anthropic's Economic Policy Framework [pdf]

https://www-cdn.anthropic.com/files/4zrzovbb/website/9ea607a5dd67c168093829b701f3a0a6d21156d5.pdf
2•jonbaer•42m ago•0 comments

Policy on the AI Exponential

https://www.anthropic.com/policy-on-the-ai-exponential/epf
2•jonbaer•43m ago•0 comments

10th Gen Honda Civic Updates Are Signed with AOSP Test Keys

https://juniperspring.org/posts/honda-evil-valet/
3•librick•51m ago•1 comments

The Difference Between Rest and Idleness

https://idle.news/blog/on-the-difference-between-rest-and-idleness/
3•vinhnx•56m ago•0 comments

We're combatting AI scams with security, legislation and more

https://blog.google/innovation-and-ai/technology/safety-security/combatting-ai-scams/
3•gnabgib•57m ago•0 comments

XP-era Windows spotted haunting London's driverless railway

https://www.theregister.com/offbeat/2026/06/13/xp-era-windows-spotted-haunting-londons-driverless...
3•Bender•59m ago•0 comments

UK digital ID gets brain trust to 'challenge' ministers on policy

https://www.theregister.com/public-sector/2026/06/12/uk-digital-id-gets-brain-trust-to-challenge-...
3•Bender•59m ago•0 comments

Google fires sueball at alleged Chinese phishers over AI-powered fraud ops

https://www.theregister.com/security/2026/06/12/google-fires-sueball-at-alleged-chinese-phishers-...
3•Bender•1h ago•0 comments

Tracking Wind Patterns Using 3D Mercator Map

https://github.com/jamalrfordii-arch/Vanguard-Map
2•Lawyer24•1h ago•0 comments

Image Compression

https://www.makingsoftware.com/chapters/image-compression
3•vinhnx•1h ago•1 comments