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.

Space Force awards up to $3.2B for Golden Dome interceptor prototypes

https://spacenews.com/space-force-awards-up-to-3-2-billion-for-golden-dome-interceptor-prototypes/
1•rbanffy•52s ago•0 comments

Colorado Adds Open-Source Exemption to Age-Verification Bill

https://fosstodon.org/@carlrichell/116460505717380644
2•terminalbraid•3m ago•0 comments

How to Say No (2023)

https://psyche.co/guides/how-to-stop-people-pleasing-by-learning-to-say-no
1•herbertl•3m ago•0 comments

Trump fires all 24 members of the U.S. National Science Foundation

https://www.science.org/content/article/trump-fires-nsf-s-oversight-board
3•skullone•4m ago•0 comments

Show HN: A privacy first companion AI

https://www.friendai.pro
1•krunkworx•7m ago•0 comments

George Washington as entrepreneur (2021)

https://lawliberty.org/george-washington-as-entrepreneur/
2•hhs•11m ago•0 comments

Show HN: LLM-wiki – One command Karpathy's wiki with QMD search for Claude/Codex

https://github.com/ivankuznetsov/llm-wiki
2•ivankuznetsov11•14m ago•1 comments

Objects of Categories as Complex Numbers (2002)

https://arxiv.org/abs/math/0212377
2•pizza•15m ago•0 comments

How I leared what a decoupling capacitor is for, the hard way

https://nbelakovski.substack.com/p/how-i-learned-what-a-decoupling-capacitor
2•actinium226•16m ago•0 comments

Got Bugs? U of G Collecting Samples to Catalogue Canada's Biodiversity

https://news.uoguelph.ca/2026/04/got-bugs-u-of-g-collecting-samples-to-catalogue-canadas-biodiver...
2•gnabgib•19m ago•0 comments

The Self-Defeating Condescension of an Anti-Racist Education

https://www.theatlantic.com/ideas/2026/04/anti-racism-schools-achievement-gap/686912/
3•apparent•22m ago•1 comments

Bitwarden CLI Backdoored on NPM for 93 Minutes

https://hackingpassion.com/bitwarden-cli-supply-chain-attack/
2•milkglass•23m ago•1 comments

Hair Dryer Used to Manipulate Polymarket

https://www.engadget.com/big-tech/someone-allegedly-used-a-hairdryer-to-rig-polymarket-weather-be...
2•simpleintheory•24m ago•1 comments

The Eurail Breach and the Digital ID Problem

https://reclaimthenet.org/the-eurail-breach-and-the-digital-id-problem
2•Cider9986•24m ago•0 comments

Astronomy and Mathematics in the Indian Classical Age

https://zenodo.org/records/15715590
1•suyashdeep•25m ago•1 comments

opinion: Professors Are Too Old

https://www.chronicle.com/article/professors-are-too-old
2•paulpauper•25m ago•1 comments

How Short-Form Clips Took over the Internet

https://www.theatlantic.com/podcasts/2026/04/how-short-form-clips-took-over-the-internet/686922/
2•paulpauper•26m ago•1 comments

Hedd Wyn

https://en.wikipedia.org/wiki/Hedd_Wyn
1•thedrexster•26m ago•0 comments

Action Potentials for April

https://neurobiology.substack.com/p/action-potentials-for-april-ab6
1•paulpauper•27m ago•0 comments

Steve Reich reshaped the boundaries of musical time (2025)

https://kolapse.com/en/contenido/90817-how-steve-reich-reshaped-the-boundaries-of-musical-time
2•thomassmith65•30m ago•1 comments

Yam – Local AST-based plagiarism detector (MOSS alternative)

https://gitlab.com/sylvan.wood.carving-group/yam.git
2•jmresler•32m ago•0 comments

Single-binary dotfiles manager to replace dotbot

https://github.com/fisenkodv/dfm
2•fisenkodv•34m ago•0 comments

Europe–not US–first to authorize Moderna's combo mRNA flu-Covid vaccine

https://arstechnica.com/health/2026/04/europe-not-us-first-to-authorize-modernas-combo-mrna-flu-c...
4•Brajeshwar•35m ago•0 comments

Protovac Retro Terminal (2025)

https://tanner.vc/protovac-retro-terminal/
4•wonger_•42m ago•0 comments

Text-wrap:balance; CSS rule to avoid typographic orphans

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/text-wrap
2•hypertexthero•43m ago•0 comments

USB Cheat Sheet

https://fabiensanglard.net/usbcheat/index.html
3•gwerbret•52m ago•0 comments

Two Compilers, One Moment

https://intertwingly.net/blog/2026/04/25/Two-Compilers-One-Moment.html
2•ingve•56m ago•0 comments

Kevin Graaf: Computerising Hyerogliphic Scripts

https://www.youtube.com/watch?v=Vhx-hRyh6BM
1•aeontech•57m ago•0 comments

The 3D Controller That Should Have Existed 20 Years Ago [video]

https://www.youtube.com/watch?v=u1v7TXViRi8
2•smusamashah•1h ago•0 comments

The avionics suite designed to let anyone fly a plane

https://newatlas.com/aircraft/interview-airhart-aeronautics-cockpit-avionics-suite/
1•breve•1h ago•0 comments