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.

The Java 21 virtual threads and AI hype is half-true

https://old.reddit.com/r/java/comments/1t1fegr/the_java_21_virtual_threads_ai_hype_is_halftrue/
1•Tomte•24s ago•0 comments

Show HN: Agent with its own computer on the cloud

https://pulsarbot.cloud/
1•akshayballal95•4m ago•0 comments

NSA Warned Everyone to Reboot Their Routers

https://www.staysafeonline.org/articles/the-nsa-just-warned-everyone-to-reboot-their-routers-what...
1•saikatsg•11m ago•0 comments

Using Playwright to test my static sites

https://alexwlchan.net/2026/playwright/
1•ingve•15m ago•0 comments

It's a Weird Time to Be Named Claude

https://www.bloomberg.com/news/articles/2026-05-01/claude-ai-is-complicating-life-for-people-name...
2•helsinkiandrew•16m ago•0 comments

Cyber-Insecurity in the AI Era

https://www.technologyreview.com/2026/05/01/1136779/cyber-insecurity-in-the-ai-era/
1•joozio•17m ago•0 comments

Thrml - Probabilistic Compute Simulation on GPUs

https://docs.thrml.ai/en/latest/examples/01_all_of_thrml/
1•oldfuture•18m ago•0 comments

It's super weird, super odd, super rare: meet the twins who have different dads

https://www.theguardian.com/lifeandstyle/2026/may/02/rare-twins-different-dads-the-gift-bbc-radio-4
2•helsinkiandrew•20m ago•0 comments

Interstellar comet came from a much different solar system than ours

https://www.cnn.com/2026/05/01/science/interstellar-comet-3i-atlas-deuterated-water
2•reconnecting•22m ago•0 comments

You'll Subscribe to Your Router, Too – The First Router Bribes Are Here [video]

https://www.youtube.com/watch?v=qjesRkTFZqY
1•stop50•43m ago•0 comments

DojoZero – AI Agent Sport Betting Arena

https://dojozero.live
1•ekzhu•46m ago•0 comments

RYBitten: Configurable RGB-to-RYB Mapping

https://rybitten.space/
2•lioeters•47m ago•0 comments

I was wrong about vibe coding on greenfield projects.

2•dokdev•48m ago•0 comments

Spirit Airlines Is Winding Down All Operations

https://www.spiritrestructuring.com/
20•CaliforniaKarl•52m ago•15 comments

Apple Stops Selling Mac Mini with 256GB of Storage

https://www.macrumors.com/2026/05/01/mac-mini-now-starts-at-799/
3•tosh•58m ago•0 comments

Solar farm lets cattle roam under moving panels

https://electrek.co/2026/05/01/solar-farm-lets-cattle-roam-under-moving-panels/
2•breve•1h ago•0 comments

Yann LeCun's Billion Dollar Bet

https://www.youtube.com/watch?v=kYkIdXwW2AE
1•tux1968•1h ago•0 comments

Inside Italy's 'Cheese Bank,' Parmigiano Reggiano becomes financial gold

https://www.cnn.com/2026/05/02/food/italy-cheese-bank-parmigiano-reggiano-intl
3•1659447091•1h ago•0 comments

Trump says it's 'treasonous' to say US not winning war in Iran

https://www.independent.co.uk/tv/news/trump-iran-war-news-treason-video-b2969246.html
5•9dev•1h ago•0 comments

How to transfer money from PayPal to PayPal

https://sites.google.com/view/weptransfermoneypaypaltopaypal
1•lesanancyasd•1h ago•0 comments

QuickQWERTY Touch Typing Tutor

https://susam.net/quickqwerty.html
1•susam•1h ago•0 comments

Show HN: Free security scanning for OSS projects

2•eskibars•1h ago•0 comments

Ask HN: What Happened to the CS153 Videos

1•mapleleaf1921•1h ago•0 comments

PyPI Fixes High-Severity Access Control Issues Found in Security Audit

https://socket.dev/blog/pypi-fixes-high-severity-issues-found-in-security-audit
1•feross•1h ago•0 comments

Measuring Strategic Work

https://fullhoffman.com/2026/03/30/on-measuring-strategic-work/
1•adunk•1h ago•0 comments

UK firm pioneers data centres using lampposts

https://www.bbc.com/news/articles/c98r4e594p7o
1•1659447091•1h ago•0 comments

Farewell to a Giant of Botany

https://nautil.us/farewell-to-a-giant-of-botany-1280409
3•Tomte•1h ago•0 comments

Ask HN: What was your "why didn't I start doing this sooner" moment?

2•chistev•1h ago•1 comments

Show HN: Detecting running processes using AF_ALG

https://github.com/NHAS/detect-running-alg-socket
1•Nullence•1h ago•0 comments

gRPC service to MCP server with a single proto annotation, autogen for slackers

https://github.com/gdsoumya/protomcp
1•gdsoumya•1h ago•0 comments