frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: How are you using LLMs for coding?

2•mraza007•1y ago
What have been your tips and tricks when coding with LLMs

Comments

benoau•1y ago
Whenever it gets in a cycle of fucking up, I ask it to break the code down into smaller functions and write a test suite for each individually.

Tell it what language or packages to use or it might make selections that add dependencies or require installing stuff on your computer.

Tell it how you want your code written or it will be an extra chore to accommodate linting requirements.

Basically just being very explicit.

GianFabien•1y ago
I mostly write low-level code in Python and JS. When working with a new API, I would sometimes find it difficult to locate information to fix problems. With ChatGPT I simply rubber duck my problem. It usually only takes a couple of iterations to zoom into the core solution.
Flundstrom2•1y ago
Copilot in visual studio to fix compiler errors and let it type all the boilerplate code by TAB-ing. Sometimes it even manages to spit out an entire - and correct - function.

Mistral Le Chat for more advanced questions and figuring out things that copilot can't.

The Calculator Discipline – AI-Assisted Disclosure Hallucinations

https://zenodo.org/records/20393083
1•ethical•6m ago•0 comments

Researchers have developed pixels that can emit and analyse light together

https://ethz.ch/en/news-and-events/eth-news/news/2026/06/a-new-type-of-pixel.html
2•tspng•7m ago•1 comments

Decline in IQ linked to frequent or dependent use of cannabis use in youth

https://www.cambridge.org/core/journals/psychological-medicine/article/intelligence-quotient-decl...
2•vixen99•9m ago•0 comments

Om interviews Brunello Cucinelli (2015)

https://om.co/2015/04/27/brunello-cucinelli-2/
2•tosh•14m ago•0 comments

US Military conducts strikes on Iran after attack on ship in Strait of Hormuz

https://twitter.com/BBCBreaking/status/2070610019578511419
3•aurenvale•14m ago•0 comments

NLNet Labs LLM Policy

https://nlnetlabs.nl/llm-policy/
1•birdculture•17m ago•1 comments

Clockwork, a browser engine of intermeshing gears and impossible motion

https://sand-morph.up.railway.app/clockwork
1•echohive42•18m ago•0 comments

Germany urges EU to suspend methane rules after US pressure

https://www.ft.com/content/c5c97c40-6afe-4a22-a9b8-aea456b85326
3•littlexsparkee•22m ago•1 comments

How to Write an Effective Software Design Document · Refactoring English

https://refactoringenglish.com/excerpts/write-an-effective-design-doc/
1•mpweiher•26m ago•0 comments

Gstack

https://github.com/garrytan/gstack
1•grajmanu•28m ago•0 comments

Russian hackers were behind $2.5B hack of Jaguar Land Rover

https://techcrunch.com/2026/06/26/russian-hackers-were-behind-2-5-billion-hack-of-jaguar-land-rov...
3•01-_-•29m ago•0 comments

Free-For.dev

https://github.com/ripienaar/free-for-dev
1•grajmanu•29m ago•0 comments

Git Push No-Mistakes

https://github.com/kunchenguid/no-mistakes
1•grajmanu•30m ago•0 comments

Digital Donkeys: An Allegory for the Algorithmic Feed

https://om.co/2026/05/25/we-are-living-in-pinocchios-world/
2•merqurio•32m ago•0 comments

Om Malik, Whose Blog Shaped How Silicon Valley Saw Itself, Dies at 59

https://www.nytimes.com/2026/06/26/technology/om-malik-dead.html
10•philip1209•37m ago•0 comments

Selfhost.directory – a directory of self-hostable projects with live updates

https://selfhost.directory/
1•internetak•38m ago•1 comments

The Copy and the Guru

https://om.co/2026/05/26/the-copy-and-the-guru/
3•tosh•45m ago•0 comments

The text/Markdown Media Type

https://datatracker.ietf.org/doc/html/rfc7763
1•foxfired•46m ago•0 comments

They quit the West for Russia's traditional values, but it wasn't as expected

https://www.bbc.co.uk/news/articles/cn075j04pnyo
7•mellosouls•49m ago•1 comments

The Cost Yagni Was Never About

https://newsletter.kentbeck.com/p/the-cost-yagni-was-never-about
2•mpweiher•49m ago•0 comments

RelayMatch | Get your idea in front of the right people in 5 minutes.

https://relaymatch.pro
1•nikitafaesch•50m ago•0 comments

Apple's Vision Pro and Smart Glasses Chief to Join OpenAI

https://www.bloomberg.com/news/articles/2026-06-26/apple-s-vision-pro-and-smart-glasses-chief-pau...
5•aurenvale•51m ago•0 comments

IBM has unveiled chip technology that could help extend Moore's Law another dec

https://www.technologyreview.com/2026/06/25/1139696/ibm-unveils-sub1nm-chip/
2•joozio•57m ago•0 comments

Corgi makes things worse, claims Postmark is overcharging (despite being Free)

https://twitter.com/SergioGarc20223/status/2070629753506476376
2•mmunj•1h ago•0 comments

Reversing Ukraine's Population Loss After Four Years of War

https://www.thinkglobalhealth.org/article/reversing-ukraines-population-loss-after-four-years-of-war
1•littlexsparkee•1h ago•0 comments

Show HN: Hikaru Labs – image tools that run directly on your device

https://hikarulabs.xyz
2•CFBL•1h ago•0 comments

Show HN: Statemently – Bank statement PDFs to Excel/CSV, totals verified

https://statemently.io
1•pro_methe5•1h ago•0 comments

A small plane crashed into Beijing's tallest building

https://www.bbc.com/news/videos/c8j2rjrzjero
4•linzhangrun•1h ago•0 comments

Ask HN: How do founders get early beta testers?

2•KNihalani•1h ago•3 comments

Searching for a [72,36,16] extremal code

https://valbert4.github.io/selfdual_site/
2•EvgeniyZh•1h ago•0 comments