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.

Zig's issue tracker got 3k spam issues in 20 minutes

https://codeberg.org/ziglang/zig/issues
1•qilme•21s ago•0 comments

B.C. researcher taps magic of Dungeons and Dragons to help kids

https://www.cbc.ca/news/canada/british-columbia/dungeons-and-dragons-kids-therapy-neurodivergence...
1•empressplay•1m ago•0 comments

Tim Cook, the interview: Running Apple 'is sort of a lonely job' (2016)

https://www.washingtonpost.com/sf/business/2016/08/13/tim-cook-the-interview-running-apple-is-sor...
1•downbad_•1m ago•1 comments

Here's Looking at Euclid: 3D Paper Models of Oliver Byrne's Euclid's Elements

https://www.helenfriel.com/heres-looking-at-euclid
1•the-mitr•2m ago•0 comments

Judgment Cannot Be Prompted

https://www.tsoon.com/posts/judgment-cannot-be-prompted/
1•mooreds•4m ago•0 comments

Field vs. Google, Inc

https://en.wikipedia.org/wiki/Field_v._Google,_Inc.
1•altilunium•4m ago•0 comments

Grok 4.3 is way cheaper and better than before

https://felloai.com/grok-4-3-review/
1•LV14•4m ago•0 comments

OWASP Agent Security Regression Harness

https://github.com/OWASP/Agent-Security-Regression-Harness
1•mertsatilmaz•4m ago•0 comments

Screw You Realtek

https://www.growse.com/2026/05/02/screw-you-realtek.html
1•fanf2•5m ago•0 comments

Data theft: Teen arrested over hacking of French government website

https://www.france24.com/en/data-thieft-a-15-year-old-minor-arrested
1•RockstarSprain•5m ago•0 comments

Things I Think I Think About Data Privacy

https://blogs.newardassociates.com/blog/2026/titit-data-privacy.html
1•mooreds•6m ago•0 comments

Claude Code, Copilot and Codex got hacked. Attackers went for the credentials

https://venturebeat.com/security/six-exploits-broke-ai-coding-agents-iam-never-saw-them
1•mooreds•6m ago•0 comments

24 Years Ago Today, Bethesda Changed Open World RPG Video Games Forever

https://www.mensjournal.com/entertainment/24-years-ago-today-bethesda-changed-open-world-rpg-vide...
1•Alupis•7m ago•0 comments

sRGB profile comparison

https://ninedegreesbelow.com/photography/srgb-profile-comparison.html
1•Retr0id•11m ago•0 comments

Roll your own local AI coding agents to save money

https://www.theregister.com/2026/05/02/local_ai_coding_agents/
1•samizdis•12m ago•0 comments

How a dose of MDMA transformed a white supremacist

https://www.bbc.com/future/article/20230614-how-a-dose-of-mdma-transformed-a-white-supremacist
2•hochmartinez•14m ago•0 comments

Show HN: Vdiff – CLI to help you review AI-generated code

1•fforbeck•16m ago•0 comments

The cruelty of teaching computing science (EWD 1036)

https://www.cs.utexas.edu/~EWD/transcriptions/EWD10xx/EWD1036.html
1•tosh•19m ago•0 comments

Internet of Agents

1•niketmk2000•21m ago•0 comments

Interoperability for LLM Applications

1•niketmk2000•22m ago•0 comments

The longest railway tunnel is being built under the Alps

https://www.euronews.com/my-europe/2026/05/01/world-record-made-in-europe-the-worlds-longest-rail...
1•akyuu•24m ago•0 comments

Next Dog May Live Longer

https://www.theatlantic.com/science/2026/05/celine-halioua-loyal-pet-longevity/687005/
1•Brajeshwar•27m ago•0 comments

The only schema language AI speaks is JSON Schema

https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/
1•BerislavLopac•35m ago•0 comments

Why Andromeda Is Both 2.5M Years Away and Just Around the Corner

https://joshpearlson.com/articles/posts/closest-galaxy-time-dilation/closest-galaxy-time-dilation...
1•jcpearlson•36m ago•0 comments

Mini PC for local LLMs in 2026

https://terminalbytes.com/best-mini-pc-for-local-llm-2026/
23•charlieirish•37m ago•12 comments

World AI Agents–35 AI Models (Claude, GPT, Llama)via One OpenAIcompatible API

https://world-ai-agents.com
2•fazyyy•42m ago•1 comments

Microsoft brings a Linux-style window trick to Windows 11 via PowerToys

https://www.windowslatest.com/2026/05/01/i-tested-powertoys-new-linux-style-window-controls-on-wi...
3•thunderbong•42m ago•0 comments

Touch Typing Number Keys

https://susam.net/touch-typing-number-keys.html
1•susam•42m ago•0 comments

See what 4D shapes look like (interactive grapher)

https://github.com/kpwdv0/4d-grapher
1•kpwd•47m ago•0 comments

Tripwire: An experiment in zip bombing bad actors

https://func.lol/x/tripwire
2•zdw•47m ago•1 comments