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.

Acoustic-piezoelectric energy model of the Great Pyramid (Zenodo preprint)

https://zenodo.org/records/23644594
1•psssst•1m ago•0 comments

Nanotyrannus skeleton sells for $47.3M in New York auction

https://www.bbc.com/news/articles/cmx28de233r2o
1•jhy•1m ago•0 comments

New Dwarf Planet Candidate in Our Solar System

https://rubinobservatory.org/news/rubin-first-dwarf-planet-candidate
1•pppone•1m ago•0 comments

Hurricane Katrina

https://en.wikipedia.org/wiki/Hurricane_Katrina
1•chistev•1m ago•0 comments

"The panic hasn't turned into patching" The PHP2Shell response

https://thenewstack.io/php2shell-unpatched-php-servers/
1•CrankyBear•2m ago•0 comments

Roko's Basilisk

https://en.wikipedia.org/wiki/Roko%27s_basilisk
2•CGMthrowaway•4m ago•0 comments

One year of Dioxus fullstack in production: the good, the painful

https://oxidt.com/blog/one-year-of-dioxus-fullstack-in-production-the-good-the-painful
2•hauju•7m ago•0 comments

Orthofoto Map of Vienna

https://stp.wien.gv.at/basemap/#{%22center%22:[1515325.0116354537,6052376.146557523],%22zoom%22:7...
1•plurby•15m ago•0 comments

Summary of Tonight's Exit Polls – Netanyahu doesn't have a majority

https://twitter.com/israel_elects/status/2115178826909024568
2•spzx•15m ago•1 comments

Ossuary HolyC

https://yatovoid.itch.io/ossuary-holyc
1•andsoitis•16m ago•0 comments

Nathaniel Comfort's misguided take on The Selfish Gene at 50

https://whyevolutionistrue.com/2026/10/27/nathaniel-comforts-wonky-take-on-the-selish-gene-at-50/
2•myth_drannon•17m ago•0 comments

Meta launches plan for $95B stock offering to fund AI expansion

https://www.cnbc.com/2026/10/26/meta-stock-offering-ai.html
4•gmays•17m ago•0 comments

Show HN: Talkhawk, Wispr Flow-style dictation for Windows that runs on your PC

https://talkhawk.app/
1•yolovich•20m ago•0 comments

Show HN: Extending Axiom's PrimeGapsLib to prove parts 2 and 3 of Erdős #420

https://erdosproblems.ai/problems/420
1•NatalieTrono•27m ago•0 comments

Show HN: CleanCode – Claude Code and Codex collaborating on one canvas

https://github.com/chen-985211/cleancode
2•Tide-N•29m ago•2 comments

I used to be homeless. That experience shapes my science

https://www.science.org/content/article/i-used-be-homeless-experience-shapes-my-science
3•samizdis•29m ago•0 comments

DuckDB 2.0: Upgrade Now or Wait for 2.0.1?

https://query.farm/blog/duckdb-2-release-activity/
2•rustyconover•29m ago•0 comments

The AGI-pill is specialized robots

https://www.giacomoran.com/blog/agi-pill-specialized-robots/
2•ran3000•30m ago•0 comments

Secret-leak-scan-lite – scan repos for leaked credentials before you commit

https://github.com/NenadZivotic/secret-leak-scan-lite
1•Sone1994•34m ago•0 comments

I put an AI in the Garden of Eden. Then I introduced the serpent

https://www.reddit.com/r/ChatGPT/comments/1xh30mr/i_put_an_ai_in_the_garden_of_eden_then_i/
2•absurdwebsite•34m ago•0 comments

Early progress on accelerating drug development with Claude

https://www.anthropic.com/research/early-progress-drug-development
23•dataking•35m ago•2 comments

Raspberry Pi Zero 3W and Pi 4 Model A spotted in device trees

https://bret.dk/raspberry-pi-zero-3-w-pi-4-model-a/
6•sthlmb•37m ago•1 comments

Silo: Self-hosted media streaming, built on a modern stack

https://siloserver.org
1•mpgirro•39m ago•0 comments

In China, the AI bubble has burst

https://finance.yahoo.com/markets/stocks/articles/analysis-china-ai-bubble-already-120038616.html
10•smurda•42m ago•3 comments

Track all the layoffs happening around the world

https://layoffmap.com/
2•onmyway133•43m ago•2 comments

GM CEO: We're making leaps and bounds toward 'eyes-off, hands-off' driving

https://www.cnbc.com/2026/10/12/cramer-gm-eyes-off-driving-2028.html
3•RickJWagner•46m ago•1 comments

The US AI Labs, Part 2: The Suppliers Are Financing Their Own Customers

https://codingplans.dev/briefs/us-model-labs-part-2/
1•nedsma•49m ago•0 comments

Hex Raises $100M

https://hex.tech/blog/hex-new-era/
3•tomwphillips•49m ago•0 comments

Code-execution flaw in UEFI firmware threatens most servers on planet Earth

https://arstechnica.com/security/2026/10/code-execution-flaw-in-uefi-firmware-threatens-most-serv...
4•DamnInteresting•51m ago•1 comments

Ask HN: How will HN transition to allowing AI writing when society accepts it?

1•amichail•52m ago•6 comments