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.

1 in 4 people in Japan believes AI could replace friends and family: poll

https://www.japantimes.co.jp/news/2026/08/02/japan/poll-ai-replace-friends-family/
1•01-_-•1m ago•0 comments

GLP-1s and their unknown impacts on human creativity

https://hereisyourbrain.substack.com/p/should-we-all-take-glp1
1•prdgl_daughter•1m ago•0 comments

Faster floating point math with Rust's new API

https://pythonspeed.com/articles/faster-float-math-rust/
1•birdculture•1m ago•0 comments

Don't Take the Black Pill (Text Adaptation)

https://andrewkelley.me/post/dont-take-black-pill.html
1•gabrielgio•2m ago•0 comments

Octane – React's programming model, compiled

https://octanejs.dev
2•nnx•5m ago•0 comments

Can Animals Be Right- or Left-Pawed?

https://www.discovermagazine.com/the-animal-kingdom-is-full-of-righties-and-lefties-42164
1•thunderbong•6m ago•0 comments

Travel

https://www.google.com/
1•BrentLakin•6m ago•0 comments

How to Switch from Windows to Linux

https://sprune.com/blog/how-to-switch-from-windows-to-linux/
1•nreece•9m ago•0 comments

Show HN: Daily Math Puzzle

https://dozenal.game
1•sarreph•11m ago•0 comments

Police Surveillance Technology: Last Week Tonight with John Oliver (HBO) [video]

https://www.youtube.com/watch?v=lnBPhelCdWE
2•jhonovich•18m ago•0 comments

Pipe – A runtime where AI operations are language primitives

https://pipe-lang.com
1•harrymachura•18m ago•0 comments

A C++ toolchain from 357 bytes, in Bazel

https://fzakaria.com/2026/08/01/a-c++-toolchain-from-357-bytes-in-bazel
1•ingve•21m ago•0 comments

Napoleon (1926)

https://gutenberg.org/cache/epub/79253/pg79253-images.html
1•petethomas•23m ago•0 comments

Show HN: Eight: a symbolic, indentation-based programming language

https://git.disroot.org/EightLang/Eight/src/branch/alpha
1•Vextoly•24m ago•1 comments

How rogue officers turned a nationwide camera network into a tool for stalking

https://www.washingtonpost.com/technology/2026/08/02/how-police-officers-used-vast-network-camera...
1•baranul•29m ago•0 comments

Sony BMG copy protection rootkit scandal from 2005

https://en.wikipedia.org/wiki/Sony_BMG_copy_protection_rootkit_scandal
2•thinkingemote•33m ago•0 comments

Fastmail offers EU data region

https://www.fastmail.com/blog/fastmail-offers-eu-data-region/
2•jamesog•37m ago•1 comments

Show HN: ssh paint.dn.ht

1•dhotson•45m ago•0 comments

The Shape of Things to Come

https://yegge.ai/essays/the-shape-of-things-to-come/
3•tosh•47m ago•0 comments

What the Bliss Taught Us

https://daniel.haxx.se/blog/2026/08/03/what-the-bliss-taught-us/
2•robin_reala•50m ago•0 comments

I stopped trusting USB-C cable labels and started testing them

https://www.makeuseof.com/i-stopped-trusting-usb-c-cable-labels-started-testing-with-meter-instead/
2•baranul•56m ago•0 comments

Giggity – Conference Schedule Viewer

https://wilmer.gaa.st/main.php/giggity.html
1•n_plus_1_acc•56m ago•0 comments

The AI Productivity Gap

https://bjorg.bjornroche.com/management/ai-productivity-gap/
2•kiyanwang•1h ago•0 comments

Language Models Agree with Each Other, Not with Readers

https://arxiv.org/abs/2607.29274
1•sbulaev•1h ago•0 comments

Practical Memory Safety

https://ohadravid.github.io/posts/2026-08-unsafe-water/
1•jandeboevrie•1h ago•0 comments

Trust Is Gone: AI Safety Needs Individuals

https://www.lesswrong.com/posts/cm3Ea9tBHpjj9zjji/trust-is-gone-ai-safety-needs-individuals
2•joozio•1h ago•0 comments

The silent handoff of the new MCP release [video]

https://www.youtube.com/watch?v=3uOoG6rholU
3•sam_3•1h ago•0 comments

Ask HN: Do you ever think about the environmental impacts of the AI datacenters?

1•roschdal•1h ago•1 comments

Adding Go's Defer to the TypeScript Compiler

https://healeycodes.com/adding-defer-to-the-typescript-compiler
1•ingve•1h ago•0 comments

Spain's plan for the first octopus farm has been abandoned

https://www.bbc.com/future/article/20260731-spains-attempt-to-farm-octopuses-has-failed
2•geox•1h ago•0 comments