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.

A Field Study of Institutional Control in an AI-Staffed Prediction-Market Desk

https://github.com/wes-zheng/ai_institutions/blob/main/technical_report/paper.md
2•bbcf•9m ago•0 comments

When life gives you lemons, write better error messages

https://wix-ux.com/when-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f
2•dnw•17m ago•0 comments

Zeta2.1: 3x Fewer Tokens, 50ms Faster

https://zed.dev/blog/zeta2-1
2•ms7892•26m ago•0 comments

Scouting's Real Crisis Is Not Marketing. It Is Decades of Neglect.

https://www.untendedfire.org/2026/05/09/scoutings-real-crisis-is-not-marketing-it-is-decades-of-n...
1•AuthorizedCust•26m ago•0 comments

Giant Virginia Data Center Project Upended by Clerical Error

https://www.bloomberg.com/news/articles/2026-05-08/giant-data-center-project-in-virginia-upended-...
1•1vuio0pswjnm7•32m ago•0 comments

NYC School District Hit by Malware Attack as Well as Canvas Hack

https://www.bloomberg.com/news/articles/2026-05-08/canvas-hack-on-nyc-schools-comes-amid-separate...
2•1vuio0pswjnm7•33m ago•0 comments

Student hackers revenge on final exams 'ShinyHunters' attacks nearly 9k schools

https://fortune.com/2026/05/08/student-hackers-get-revenge-on-final-exams-as-shinyhunters-takes-d...
1•1vuio0pswjnm7•39m ago•0 comments

Aurora: A Leverage-Aware Optimizer for Rectangular Matrices

https://blog.tilderesearch.com/blog/aurora
1•matt_d•50m ago•0 comments

What is Elon Musk's formula

https://www.economist.com/culture/2026/05/07/what-is-elon-musks-formula
1•andsoitis•55m ago•0 comments

Hantavirus tracker with Pandemic 2's UI

https://hantavirus.xetera.dev/
1•xetera•55m ago•0 comments

Atlas Mehs

https://darthcoder.github.io/2026/05/10/atlas-mehs/
1•basyt•1h ago•1 comments

The Title on Your Badge Is Becoming a Guess

https://priorcontext.substack.com/p/the-title-on-your-badge-is-becoming
2•contextwindow•1h ago•1 comments

Arrow Flight vs. JSON in Next.js: Benchmarking Python and Go

https://kayhan.dev/posts/012-arrow-flight-vs-json-nextjs-snowflake-benchmark/
1•keynha•1h ago•0 comments

The Hidden Reason Screwdriver Handles Look Like This [video]

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

Global AI Diffusion Q1 2026 Trends and Insights

https://www.microsoft.com/en-us/corporate-responsibility/dmc/topics/ai-economy-institute/reports/...
2•igor_mart•1h ago•2 comments

Grinder12: 0.96-Bit Lossless Streaming KV-Cache (16.55x VRAM Savings

https://github.com/ggml-org/llama.cpp/discussions/22891
3•AMICLLC•1h ago•0 comments

Xs of Y – roguelike that names itself every run. Written in 4kLoC

https://github.com/nooga/xsofy
4•andsoitis•1h ago•0 comments

Gemini API File Search is now multimodal

https://blog.google/innovation-and-ai/technology/developers-tools/expanded-gemini-api-file-search...
34•gmays•1h ago•2 comments

Snyk and Claude Code: real-time security scanning of AI-generated code

https://codebrainery.com/articles/snyk-claude-code-real-time-security-scanning-for-ai-code
4•yogeshbansal•1h ago•0 comments

Dissolving atherosclerotic plaque without surgery

https://www.cureus.com/articles/488870-closed-loop-extracorporeal-vascular-cleaning-by-staged-che...
3•iliatoli•1h ago•0 comments

Show HN: Modafinil - Let agents continue running while MacBook lid is closed

https://github.com/narcotic-sh/modafinil
3•hamza_q_•1h ago•2 comments

"genesis mission (US Government)" (Angela Collier on AI and research) [video]

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

MCP for sandboxed, reproducible envs for agentic-first coding workflows

https://github.com/aniongithub/devcontainer-mcp
3•anionyt•1h ago•0 comments

Flipping the bozo bit on flips the learning off

https://surfingcomplexity.blog/2026/05/09/flipping-the-bozo-bit-on-flips-the-learning-off/
4•eatonphil•1h ago•0 comments

Powering the Inference Era: Inside the DigitalOcean AI-Native Cloud

https://www.digitalocean.com/blog/powering-the-inference-era
2•gmays•2h ago•0 comments

The Laboratory and the Artist

https://clereviewofbooks.com/the-laboratory-and-the-artist/
4•skogstokig•2h ago•0 comments

Memory device breaks high-temperature performance record

https://physicsworld.com/a/memory-device-breaks-high-temperature-performance-record/
5•EA-3167•2h ago•1 comments

How Israel's creation mirrors Greek independence – and why it's overlooked

https://www.jpost.com/opinion/article-895285
6•dima1830•2h ago•2 comments

DOS, Floppies, NetBSD and Nostalgia

https://exquisite.tube/w/dkV6kWiT9sp2y6xVwkH1iF
2•jaypatelani•2h ago•0 comments

Show HN: A Satellite Visualizer

https://github.com/aabiji/kepler
2•aabiji•2h ago•0 comments