frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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.

Americans Are Keeping Their Cars Longer Than Ever–and Remaking the Auto Industry

https://www.wsj.com/business/autos/americans-are-keeping-their-cars-longer-than-ever-and-remaking...
1•JumpCrisscross•30s ago•0 comments

Heaven knows I'm perplexed now

https://idlemachines.co.uk/essays/perplexed
1•smaddrellmander•1m ago•0 comments

The Honest Case for the Humanities

https://substack.com/@napinillos/p-199545151
1•dsubburam•2m ago•0 comments

A USB-connected speaker can infect a PC without ever being touched

https://arstechnica.com/security/2026/06/highly-reviewed-speaker-can-be-hacked-over-the-air-to-in...
2•leecoursey•3m ago•0 comments

Universal Memory Protocol – a shared format for agent memory

https://universalmemoryprotocol.io/
1•edihasaj•3m ago•0 comments

WindowSwap: Someone else's window view from anywhere in the world

https://www.window-swap.com/
1•davidbarker•6m ago•0 comments

New U.S. college grads now have higher unemployment than the average worker

https://www.randalolson.com/2026/06/04/recent-grad-unemployment-flip/
1•davidbarker•7m ago•0 comments

China has approved the first invasive brain-computer chip

https://www.technologyreview.com/2026/06/01/1138133/china-world-first-brain-chip/
2•davidbarker•8m ago•0 comments

OpenAI Unveils Lockdown Mode to Protect Sensitive Data from Prompt Injection

https://techcrunch.com/2026/06/06/openai-unveils-lockdown-mode-to-protect-sensitive-data-from-pro...
2•odig•10m ago•0 comments

Shadow Blister Effect

https://en.wikipedia.org/wiki/Shadow_blister_effect
2•thunderbong•10m ago•0 comments

Show HN: Typedframes – Pandas/polars column name checking at lint time

https://github.com/w-martin/typedframes
1•w-martin•10m ago•2 comments

I am giving up on VM Gaming

https://deployonfri.day/posts/i-am-giving-up-on-vm-gaming
1•BoKKeR11•11m ago•0 comments

The Case for Space Datacenters

https://newsletter.semianalysis.com/p/to-boldly-go-the-case-for-space-datacenters
2•davedx•11m ago•0 comments

Eating Out

https://www.futilitycloset.com/2026/06/06/eating-out/
1•speckx•12m ago•0 comments

Madagascar Hissing Cockroach

https://en.wikipedia.org/wiki/Madagascar_hissing_cockroach
2•davedx•12m ago•1 comments

Thermometry at the MK Scale, Revisited

http://nanoscale.blogspot.com/2026/06/thermometry-at-mk-scale-revisited.html
1•EvgeniyZh•16m ago•0 comments

Milky Way black hole's missing wind found after a half-century-long search

https://phys.org/news/2026-06-milky-black-hole-century.html
3•davedx•17m ago•0 comments

For Whom the Boys Troll

https://www.cnn.com/2026/06/06/us/groypers-young-men-trolls-nick-fuentes-cec
3•1659447091•17m ago•0 comments

Elfeed 4.0 (Emacs)

https://github.com/emacs-elfeed/elfeed/blob/main/NEWS.org
2•DASD•18m ago•1 comments

Computex 2026: Are We Heading for the Agentic PC Era Yet? – EE Times

https://www.eetimes.com/computex-2026-are-we-heading-for-the-agentic-pc-era-yet/
1•rbanffy•18m ago•0 comments

Some ancient microbes frozen with Ötzi the Iceman are still growing

https://arstechnica.com/science/2026/06/otzis-mummified-body-is-home-to-ancient-strains-of-yeast-...
1•speckx•22m ago•0 comments

Creative Sound Blaster Katana V2X hijackable over Bluetooth; vendor denies flaw

https://www.tomshardware.com/tech-industry/cyber-security/creatives-sound-blaster-katana-v2x-can-...
1•sbulaev•23m ago•0 comments

Australian cockroach kingpin caught with 100k illegal bugs in record bust

https://apnews.com/article/illegal-cockroaches-seized-australia-madagascar-hissing-dubia-e35889bf...
3•randycupertino•25m ago•0 comments

Learn from Your Mistakes: Tree-Like Self-Play for Secure Code LLMs

https://arxiv.org/abs/2606.03489
1•Extropy_•29m ago•0 comments

Made my first plugin – How I orchestrated 3 LLMs to ship a plugin in 2 hours

https://byacommonthread.com/blog/what-should-i-eat
1•kaydub•31m ago•1 comments

Huawei post-trained DeepSeek's 1.6T model on 1k Ascend 910C chips

https://www.tomshardware.com/tech-industry/artificial-intelligence/huawei-led-team-claims-it-post...
3•sbulaev•32m ago•0 comments

Zooming Fractal – WebGL Mandelbrot with music sync, PNG export and video render

https://zoomingfractal.com
1•Dr_Jonah•34m ago•0 comments

Sem: New primitive for code understanding – not LSPs, but entities on top of Git

https://ataraxy-labs.github.io/sem/
1•rohanucla•39m ago•0 comments

Phonicorn: A self-hosted phonics flashcard app for kids practice word sounds

https://github.com/onatm/phonicorn
1•onatm•40m ago•1 comments

China proposes nuclear-powered floating island to reshape global shipping

https://www.scmp.com/news/china/science/article/3355989/china-proposes-nuclear-powered-floating-i...
3•ksec•41m ago•0 comments