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.

Surprising Economics of Load-Balanced Systems

https://brooker.co.za/blog/2020/08/06/erlang.html
1•KraftyOne•45s ago•0 comments

Chinese AI models have overtaken US rivals in token consumption

https://www.ft.com/content/2567877b-9acc-4cf3-a9e5-5f46c1abd13e
1•jameslk•2m ago•0 comments

Understanding data sovereignty and jurisdictional risk

https://www.hyperact.co.uk/blog/understanding-data-sovereignty
1•imjacobclark•4m ago•0 comments

From a 7 KB file to a 13-year backdoor operation

https://anchor.host/from-a-7-kb-file-to-a-13-year-backdoor-operation/
1•ValentineC•6m ago•0 comments

Using AI to help physicians diagnose rare genetic diseases affecting children

https://openai.com/index/diagnose-rare-childhood-diseases/
2•dmckinno•6m ago•0 comments

The next generation of speculative decoding: DFlash and Spec V2

https://www.lmsys.org/blog/2026-06-15-next-generation-speculative-decoding-dflash-v2/
2•gmays•6m ago•0 comments

Hide Secrets from AI Agents and NPM install using Airgap

https://sauleau.com/notes/airgap-security-for-the-modern-ai-age.html
2•netgusto•6m ago•0 comments

RFC 10008 on the HTTP Query Method

https://mailarchive.ietf.org/arch/msg/ietf-announce/uNaYyRDGKjyOn_KDT2JaGLlm9fE/
1•conductor•7m ago•0 comments

Think of the Children: How to Force Real ID for All Internet Traffic (2023)

https://nochan.net/b/Internet-Crap/20230829-Think-Of-The-Children/
2•Bender•11m ago•0 comments

'Light in a bottle' liquid can harvest and store energy from multiple sources

https://www.science.org/content/article/light-bottle-liquid-can-harvest-and-store-energy-multiple...
2•Brajeshwar•12m ago•0 comments

Enshittification Isn't Limited to the Digital World

https://thenoosphere.substack.com/p/enshittification-isnt-limited-to
4•spking•12m ago•1 comments

Show HN: Control a 3D avatar with English instead of buttons

https://programasweights.com/avatar
3•cloudyclouds•17m ago•0 comments

Everyone Has Something

https://seangeiger.substack.com/p/everyone-has-something
1•benjaminmaccini•18m ago•0 comments

The Pain of Caring for a Parent Who Abused You

https://www.nytimes.com/2026/06/15/magazine/elder-care-parent-abuse.html
2•gmays•19m ago•0 comments

Show HN: https://bill.today –> use a local folder to do your billing

https://bill.today
1•PhilKunz•20m ago•0 comments

How LLMs Work

https://arpitbhayani.me/blogs/how-llms-work/
1•devx711_123•21m ago•0 comments

AI Warfare Is at the Point of No Return. What Now?

https://www.wsj.com/world/ai-warfare-ukraine-russia-anthropic-29945df9
3•JumpCrisscross•22m ago•0 comments

One AI, two AI, red AI, blue AI

https://soniafpearson.substack.com/p/one-ai-two-ai-red-ai-blue-ai
1•paulpauper•23m ago•0 comments

New Air Force One

https://www.af.mil/News/Article-Display/Article/4522274/vc-25b-bridge-aircraft-arrives-at-joint-b...
1•bear_with_me•23m ago•1 comments

Liberalism in the Age of Weaponized Interdependence

https://www.liberalism.org/p/liberalism-in-the-age-of-weaponized-interdependence
3•paulpauper•23m ago•0 comments

Show HN: slash-agent – Native LLM copilot for your terminal

https://github.com/akatzmann/slash-agent
1•akatzmann•23m ago•0 comments

Colorado's Funeral Mistake

https://marginalrevolution.com/marginalrevolution/2026/06/colorados-funeral-mistake.html
1•paulpauper•24m ago•0 comments

Introducing ChatGPT (2022)

https://openai.com/index/chatgpt/
2•pr337h4m•24m ago•0 comments

Coding a Brick Tower [video]

https://www.youtube.com/watch?v=DAMiS2PGTEE
1•tobr•24m ago•0 comments

Stem cells banish autoimmune disease for 15 years

https://www.nature.com/articles/d41586-026-01925-7
3•Brajeshwar•26m ago•0 comments

What Happens to Platform Teams?

https://curlewis.co.nz/posts/what-happens-to-platform-teams/
1•gpi•27m ago•0 comments

I Ditched Traditional Linux for NixOS

https://chrisdell.info/why-i-ditched-traditional-linux-for-nixos/
1•speckx•28m ago•0 comments

Amazon drops Sam Altman movie after announcing OpenAI partnership

https://www.the-independent.com/arts-entertainment/films/news/sam-altman-biopic-amazon-openai-dea...
18•theanonymousone•28m ago•2 comments

PreFlight – Not Another AI code review agent

https://medium.com/@jaspreetsingh_35555/code-review-used-to-work-then-the-agents-arrived-34b1572d...
1•jsingh2525•28m ago•0 comments

Show HN: Terminal UI for WG and OVPN with real time telemetry and leak guarding

https://github.com/Harry-kp/vortix
1•harrykp•29m ago•0 comments