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.

Compliant Mechanisms Lecture Series [video]

https://www.youtube.com/watch?v=j1lT1RtKnms&list=PLWeErkRyxkhKL_pjYBCR2jYcvAh5PaXoP
1•o4c•1m ago•0 comments

FDA approves first mRNA flu shot, from Moderna

https://www.nbcnews.com/health/health-news/fda-approves-1st-mrna-flu-shot-moderna-rcna590599
2•OutOfHere•4m ago•0 comments

Google's Top AI Brains Are Leaving–and Launching Their Own AI Startup

https://www.wired.com/story/jeff-dean-google-discovery-loop-startup/
1•dnikitan97•6m ago•0 comments

SpaceX First Report Card

https://askmelon.com/beta/articles/2026-08-05T0100-eighteen-billion-in-ninety-days
1•alvations•6m ago•0 comments

Accelerating biomass loss from forest disturbances across Europe

https://www.nature.com/articles/s41561-026-02032-y
1•littlexsparkee•8m ago•0 comments

'Only one conclusion': study suggests life on Earth arose twice

https://www.sciencealert.com/radical-study-suggests-life-on-earth-arose-from-non-living-matter-twice
1•arto•9m ago•0 comments

Broadcaster Wins Broad US Blocking Injunction Covering Non-Existing Pirate Sites

https://torrentfreak.com/broadcaster-wins-broad-u-s-blocking-injunction-covering-pirate-sites-tha...
1•gslin•12m ago•0 comments

Microsoft is serious about fixing Windows, and it's doing things right this time

https://www.windowscentral.com/microsoft/windows-11/i-tested-5-major-changes-and-improvements-com...
1•thunderbong•25m ago•2 comments

LinuxViz – 3D Linux Kernel Architecture Explorer

https://tomasantunes.github.io/LinuxViz/
4•tomasantunes89•41m ago•1 comments

Black lung rates in Appalachia are high as the 1970s, thousands of miners sick

https://www.npr.org/2026/08/05/nx-s1-5894884/appalachia-black-lung-coal-miners-silica-dust
5•Jimmc414•42m ago•0 comments

Show HN: Is It an OS?

https://iiao.algor.ist
1•indydevs•44m ago•0 comments

QoD: Is Lucid in the early stages of failure?

https://www.thetruthaboutcars.com/cars/news-blog/question-of-the-day-is-lucid-in-the-early-stages...
1•RickJWagner•45m ago•0 comments

Libraries Are Leading the Fight for Physical Media Ownership

https://www.arl.org/blog/consumers-are-worried-about-the-loss-of-physical-media-ownership-librari...
2•donohoe•45m ago•0 comments

Show HN: MusicMonitor – Turn your extra monitor into a Spotify now-playing view

https://github.com/j-sofia/MusicMonitor
2•j-sofia•45m ago•1 comments

The Investors Whose SpaceX Shares Vanished Before They Could Cash In

https://www.wsj.com/finance/stocks/spacex-ipo-spv-investors-2698a174
4•JumpCrisscross•49m ago•0 comments

AI agents that inherit the user's permissions, not API keys

https://blog.cloudflare.com/how-we-use-ai-with-cloudflare-os/
1•thoughtpeddler•50m ago•0 comments

Industrial Revolution to AI tech upheavals: The Catholic principle guiding popes

https://theconversation.com/the-catholic-principle-guiding-popes-through-tech-upheavals-from-the-...
3•1659447091•54m ago•0 comments

A composer published a paper in physics. His lack of credentials drew criticism

https://retractionwatch.com/2026/08/05/a-composer-published-a-paper-on-theoretical-physics-his-la...
1•unprovable•56m ago•1 comments

China's EV Boom Is Quietly Undermining Oil's Biggest Chokepoint

https://oilprice.com/Energy/Energy-General/Chinas-EV-Boom-Is-Quietly-Undermining-Oils-Biggest-Cho...
1•toomuchtodo•57m ago•0 comments

Country and State Maps in LOTR Style

https://lordofmaps.com/
1•silver92bullet•1h ago•0 comments

The Once-Shameless President Is Deeply Embarrassed

https://www.theatlantic.com/politics/2026/08/trump-humiliated-iran-reflecting-pool/688184/
8•petethomas•1h ago•1 comments

How to Install Python3.14 from source on Ubuntu 26.04

https://jamesoclaire.com/2026/08/06/how-to-install-python3-14-from-source-on-ubuntu-26-04/
1•ddxv•1h ago•3 comments

Thomson Reuters Employees Demand That ICE "Leave Our Cities"

https://www.thenation.com/article/politics/thomson-reuters-ice-immigration-voting-data/
7•petethomas•1h ago•5 comments

OpenAI models shared hacking tips on a messaging board before HuggingFace breach

https://www.politico.com/news/2026/08/05/openai-models-shared-hacking-tips-secret-messaging-board...
2•0in•1h ago•0 comments

Unprecedented images may explain one of greatest mysteries of the sun

https://www.theguardian.com/science/2026/aug/05/unprecedented-images-may-explain-one-of-greatest-...
5•colinprince•1h ago•0 comments

Investors are having doubts about Elon Musk's grandiose ambitions

https://economist.com/business/2026/08/05/investors-are-having-doubts-about-elon-musks-grandiose-...
13•andsoitis•1h ago•6 comments

To Predict the Next Token

https://sanghoon.io/journal/2026-08-04-distillation
1•sanghoonio•1h ago•0 comments

Codex Users Are Losing Banked Rate Limit Resets to a Quiet 30 Day Clock

https://startupfortune.com/codex-users-are-losing-banked-rate-limit-resets-to-a-quiet-30-day-clock/
2•newsomix9xl•1h ago•1 comments

Esp32pin.com: a pinout reference for ESP32 series

https://esp32pin.com/
3•sohkamyung•1h ago•0 comments

Ask HN: Was preamble size a red herring? Cache churn vs. harness costs

1•Marvin_RunAI•1h ago•0 comments