frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Pitfalls of premature closure with LLM assisted coding

https://www.shayon.dev/post/2025/164/pitfalls-of-premature-closure-with-llm-assisted-coding/
36•shayonj•2d ago

Comments

danielbln•4h ago
I put the examples he gave into Claude 4(Sonnet) purely asking to eval the code, it pointed out every single issue about the code snippets (N+1 Query, race condition, memory leak). The article doesn;t mention which model was used, or how exactly it was used, or in which environment/IDE it was used.

The rest of the advice in there is sound, but without more specifics I don't know how actionable the section "The spectrum of AI-appropriate tasks" really is.

shayonj•3h ago
My experience hasn't changed between models, given the core issue mentioned in the article. Primarily I have used Gemini and Claude 3.x and 4. Some GPT 4.1 here and there.

All via Cursor, some internal tools and Tines Workbench

metalrain•37m ago
It's not about "model quality". Most models can improve code their output when asked, but problem is the lack of introspection by the user.

Basically same problem as copy paste coding, but LLM can (sometimes) know your exact variable names, types so it's easier to forget that you need to understand and check the code.

suddenlybananas•4h ago
I initially thought that layout of the sections was an odd and terrible poem.
shayonj•3h ago
haha! I didn't see it that way originally. Shall take it as a compliment and rework that ToC UI a bit :D.
tempodox•15m ago
Now that you mention it, me too.
mock-possum•11m ago
Oh wow me too - I kinda like it that way.

But if it’s meant to be a table of contents, it really should be styled like a list, rather than a block quote.

jbellis•56m ago
I think this is correct, and I also think it holds for reviewing human-authored code: it's hard to do the job well without first having your own idea in your head of what the correct solution looks like [even if that idea is itself flawed].
MontagFTB•5m ago
This isn’t new. Have we not already seen this everywhere already? The example at the top of the article (in a completely different field, no less) just goes to show humans had this particular sin nailed well before AI came along.

Bloated software and unstable code bases abound. This is especially prevalent in legacy code whose maintenance is handed down from one developer to the next, where their understanding of the code base differs from their predecessor’s. Combine that with pressures to ship now vs. getting it right, and you have the perfect recipe for an insipid form of technical debt.

The Hamburger-Menu Icon Today: Is It Recognizable?

https://www.nngroup.com/articles/hamburger-menu-icon-recognizability/
7•thm•25m ago•2 comments

Should we design for iffy internet?

https://bytes.zone/posts/should-we-design-for-iffy-internet/
11•surprisetalk•1h ago•0 comments

AMD's Pre-Zen Interconnect: Testing Trinity's Northbridge

https://chipsandcheese.com/p/amds-pre-zen-interconnect-testing
46•zdw•2d ago•1 comments

US Streetlights Are Turning Purple

https://www.scientificamerican.com/article/streetlights-are-mysteriously-turning-purple-heres-why/
34•surprisetalk•3d ago•36 comments

The magic of through running

https://www.worksinprogress.news/p/the-magic-of-through-running
113•ortegaygasset•5h ago•62 comments

What happens when clergy take psilocybin

https://nautil.us/clergy-blown-away-by-psilocybin-1217112/
251•bookofjoe•16h ago•343 comments

Fossify – A suite of open-source, ad-free apps

https://github.com/FossifyOrg
229•jalict•6h ago•68 comments

Show HN: Chawan TUI web browser

https://chawan.net/news/chawan-0-2-0.html
318•shiomiru•17h ago•61 comments

Pitfalls of premature closure with LLM assisted coding

https://www.shayon.dev/post/2025/164/pitfalls-of-premature-closure-with-llm-assisted-coding/
36•shayonj•2d ago•9 comments

Show HN: Canine – A Heroku alternative built on Kubernetes

https://github.com/czhu12/canine
265•czhu12•19h ago•101 comments

Selfish reasons for building accessible UIs

https://nolanlawson.com/2025/06/16/selfish-reasons-for-building-accessible-uis/
155•feross•13h ago•91 comments

The Humble Programmer (1972)

https://www.cs.utexas.edu/~EWD/transcriptions/EWD03xx/EWD340.html
77•squircle•13h ago•10 comments

Benzene at 200

https://www.chemistryworld.com/opinion/benzene-at-200/4021504.article
216•Brajeshwar•23h ago•100 comments

Photon transport through the entire adult human head

https://www.spiedigitallibrary.org/journals/neurophotonics/volume-12/issue-02/025014/Photon-transport-through-the-entire-adult-human-head/10.1117/1.NPh.12.2.025014.full
41•gnabgib•3d ago•20 comments

The drawbridges come up: the dream of a interconnected context ecosystem is over

https://www.dbreunig.com/2025/06/16/drawbridges-go-up.html
65•dbreunig•14h ago•32 comments

Iron nitride permanent magnets made with DIY ball mill [video]

https://www.youtube.com/watch?v=M6XIgdS1rzs
70•xqcgrek2•1d ago•17 comments

Dull Men’s Club

https://www.theguardian.com/society/2025/jun/09/meet-the-members-of-the-dull-mens-club-some-of-them-would-bore-the-ears-off-you
178•herbertl•20h ago•106 comments

How you breathe is like a fingerprint that can identify you

https://www.nature.com/articles/d41586-025-01835-0
21•XzetaU8•2d ago•11 comments

Fun with Telnet

https://brandonrozek.com/blog/fun-with-telnet/
65•Apollo1010330•9h ago•25 comments

Show HN: Nexus.js - Fabric.js for 3D

https://punk.cam/lab/nexus
76•ges•17h ago•22 comments

OpenAI wins $200M U.S. defense contract

https://www.cnbc.com/2025/06/16/openai-wins-200-million-us-defense-contract.html
243•erikrit•15h ago•197 comments

WhatsApp introduces ads in its app

https://www.nytimes.com/2025/06/16/technology/whatsapp-ads.html
600•greenburger•1d ago•813 comments

Show HN: I recreated 90s Mode X demoscene effects in JavaScript and Canvas

https://jdfio.com/pages-output/demos/x-mode/
154•gneissguise•10h ago•52 comments

Natural rubber with high resistance to crack growth

https://www.nature.com/articles/s41893-025-01559-z.epdf?sharing_token=SST16F7yBaUkRDb702ZphtRgN0jAjWel9jnR3ZoTv0P9y52VPdTYScQoHBinE3JzdSvQ1aN3fhS4SSECYXRnvZ77nkrWJA2412S2E-26Il-ncine3ET1t1GzNaX2Oo2cK9GYzFNCrKSRycPCrQKJZ8QvfBeSTNR5d12_ZHLvyYkt26oAnSVTBuopgCE4tHIVPnWtjLZS3OhBz1H2OhtXQMmNFMhf-2lYu5vkTl596uaKjxxqTFBbSZj1phjSIDRELkwyRfUsM77Gu7S0VF_fPvJZAYxvV_2Hduld7MbfF1M4RO8vHe5OtCz383c2iHBjxkZ4gU59FErIjNBnLDPDT79Jaj04hbpqLWqUoVxoYCs%3D
26•cocoggu•4d ago•6 comments

Generative AI coding tools and agents do not work for me

https://blog.miguelgrinberg.com/post/why-generative-ai-coding-tools-and-agents-do-not-work-for-me
310•nomdep•13h ago•356 comments

Open-Source RISC-V: Energy Efficiency of Superscalar, Out-of-Order Execution

https://arxiv.org/abs/2505.24363
90•PaulHoule•21h ago•26 comments

ZX Spectrum graphics magic

https://zxonline.net/zx-spectrum-graphics-magic-the-basics-every-spectrum-fan-should-know/
103•ibobev•2d ago•33 comments

Blaze (YC S24) Is Hiring

https://www.ycombinator.com/companies/blaze-2/jobs/dzNmNuw-junior-software-engineer
1•faiyamrahman•17h ago

How Frogger 2’s source code was recovered from a destroyed tape [video]

https://www.youtube.com/watch?v=lvEO4IaEJlw
169•perching_aix•1d ago•48 comments

BMW ConnectedDrive lets me control my returned rental car (Sixt)

21•derturm666•7h ago•3 comments