frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Applying Brevity and Language Efficiency in Prompt Engineering

https://prahladyeri.github.io/guides/applying-brevity-and-language-efficiency-to-prompt-engineering.html
35•pyeri•2h ago

Comments

willXare•2h ago
Prompt engineering keeps rediscovering "say what you mean" with extra steps.
bushido•2h ago
Very interesting read.

What jumps out at me is a lot of this is still very task oriented. And each to their own, but anecdotally, I haven't seen great results from task oriented behavior.

I don't mean that it does not produce what was asked for. I'm saying that tasks even when created by engineering and product teams are often wrong.

I lean very heavily towards outcome based prompting. Say exactly what do you want achieved and then maybe give some constraints, ie. what definitely not to do.

In my experiments, this has always produced much, much better results.

Interestingly, it's less engineering and more customer focus.

giancarlostoro•1h ago
Say what you want, followed by how you want it done, which includes unit testing, research (Claude can do research for you) on best practices, etc. I usually also follow up with "Why would I NOT want to do this this way, be critical of this." Usually outlines sensible issues, you give guidance, then the plan is ready to go. Then you test, test, and when you're done testing, you test some more, and review all code. I find that despite how busy that all sounds, I save myself weeks of effort.
Swizec•1h ago
> I lean very heavily towards outcome based prompting. Say exactly what do you want achieved and then maybe give some constraints, ie. what definitely not to do.

I do this when writing stories/projects/issues/epics for humans. Works great.

If you read any management book published in the last ~70 or so years, you’ll find that “Make sure people understand the goal” is the ultimate hack. They even use this in militaries!

“go take that hill” works a lot better than “walk 50ft to the right and shoot at those bushes”. You always get what you ask for :)

wg0•1h ago
Snake oil. Tell me something that has hard irrefutable and reproducible evidence.
Seb-C•1h ago
A little bit more time and people might finally understand why we have formal deterministic languages, and we'll be back full circle to proper programming.
AydenGen•1h ago
LMAO
sdenton4•47m ago
LLMAO, surely.
gdulli•1h ago
Exactly. If LLM coding had come first we'd build statues of whoever invented deterministic programming.
cocodill•1h ago
Well a model is not your buddy, there is no need to chat with it.
willXare•1h ago
Prompt engineering: talking to autocomplete like it owes you money.
mdrzn•1h ago
"Premium models: GPT-4o, Claude Sonnet, Gemini 1.5 Pro"

TFA was written by an AI without even search access, or it would know that all those are OLD deprecated models. AI Slop.

If the author doesn't even bother checking what his AI spit out, why would I read it? Useless article. I'm baffled that this reached the front page.

jdiff•25m ago
Not to mention the very first example.

Before:

> “I want to know why my React app’s state is not updating when I click a button.”

After:

> “React 18. useState. Button click handler sets state but component does not re-render. No error in console. Explain top 3 causes and fix for each. Show code.”

> Notice the transformation: 22 words down from a long conversational sentence, yet more information is packed in because every word carries signal.

It's 27 words up from 17, and would produce poor results on the local models this claims to be targeting. Without some way to iterate and close the loop, models are pretty bad at producing good prompts.

kusokurae•1h ago
It still makes me laugh when i see "prompt engineering". I open articles posted on here that contain many diagrams and novel jargon, all for it to amount to using a fucking markdown file with some text in it.
hmokiguess•39m ago
So, me think. Why waste time say lot word when few word do trick?
khalic•30m ago
This is counterproductive, you can't reduce eloquence to a list of examples. Read good literature is still the best advise we can give here.
DarkNova6•24m ago
Ironic. This article violates all rules that it intends to set out.

It is easy to spot AI generated garbage.

Iroh 1.0

https://www.iroh.computer/blog/v1
144•chadfowler•50m ago•35 comments

CrankGPT

https://crankgpt.com
306•rishikeshs•2h ago•131 comments

Copper transport drug restores memory and clears toxic Alzheimer's proteins

https://www.monash.edu/news/articles/copper-drug-restores-memory-and-clears-toxic-alzheimers-prot...
27•bookofjoe•1h ago•7 comments

Hetzner increased dedicated server prices 3-4x

169•enescakir•1h ago•114 comments

Show HN: Exploiting Slack's video embeds to achieve E2EE communication

https://v1c.rocks/log/exploiting-slack-video/
5•victorio•20m ago•0 comments

Apple Foundation Models

https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models
358•MehrdadKhnzd•11h ago•162 comments

Your ePub Is fine

https://andreklein.net/your-epub-is-fine-kobo-disagrees-blame-adobe/
797•sohkamyung•17h ago•268 comments

Salesforce to Acquire Fin (formerly Intercom) for $3.6BN

https://www.salesforce.com/news/press-releases/2026/06/15/salesforce-signs-definitive-agreement-t...
193•colesantiago•3h ago•149 comments

Show HN: Can Europe train a frontier AI model on the compute it owns?

https://github.com/sammysltd/euromesh
35•smashini•2h ago•24 comments

Making glass-to-metal seals for home­made vacuum tubes

https://maurycyz.com/projects/glass/1/
11•zdw•1d ago•1 comments

Fox Is Buying Roku

https://www.fastcompany.com/91559558/fox-corp-buying-roku-stock-prices-fall-on-tv-streaming-merger
46•simonebrunozzi•1h ago•2 comments

Show HN: I wrote a C++ ray tracer from scratch without AI

https://github.com/themartiano/luz
107•martiano•6h ago•45 comments

Openrouter Fusion API

https://openrouter.ai/openrouter/fusion
146•tdchaitanya•8h ago•56 comments

Even more batteries included with Emacs

https://karthinks.com/software/even-more-batteries-included-with-emacs/
296•signa11•13h ago•94 comments

Teenagers Stayed Overnight at Their School and Found Hidden Ancient Roman Ruins

https://www.smithsonianmag.com/smart-news/these-italian-teenagers-stayed-overnight-at-their-schoo...
89•thunderbong•4d ago•35 comments

My Homelab AI Dev Platform

https://rsgm.dev/post/ai-dev-platform/
4•rsgm•53m ago•0 comments

Stdx, Rust's extended standard library

https://kerkour.com/stdx
20•manyatoms•3d ago•9 comments

Google Flight Simulator

https://developers.google.com/maps/documentation/earth/flight-simulator
77•bookofjoe•2h ago•28 comments

Ported my C game to WASM, here's everybug that I hit

http://ernesernesto.github.io/writes/portingmatchmorphosistowasm/
72•birdculture•2d ago•55 comments

Show HN: Kage – Shadow any website to a single binary for offline viewing

https://github.com/tamnd/kage
635•tamnd•22h ago•122 comments

Successful Psilocybin Treatment of Alzheimer

https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2026.1813281/full
104•cl3misch•9h ago•75 comments

Firewood Splitting Simulator

https://screen.toys/firewood/
930•memalign•5d ago•267 comments

Asciline – real-time ASCII video rendering engine

https://github.com/YusufB5/ASCILINE
37•godot•3d ago•13 comments

Dalus (YC W25) Is Hiring a Senior Software Engineer in Germany

https://www.ycombinator.com/companies/dalus/jobs/5IDmKJt-senior-software-frontend-engineer-german...
1•sebastianvoelkl•9h ago

There Is(Ǝ) – Such That (∋)

https://www.fractalkitty.com/there-is-3-such-that/
84•evakhoury•4d ago•24 comments

Applying Brevity and Language Efficiency in Prompt Engineering

https://prahladyeri.github.io/guides/applying-brevity-and-language-efficiency-to-prompt-engineeri...
35•pyeri•2h ago•17 comments

Curl will not accept vulnerability reports during July 2026

https://daniel.haxx.se/blog/2026/06/15/curl-summer-of-bliss/
643•secret-noun•10h ago•262 comments

Bitsy

https://bitsy.org/
255•tosh•3d ago•7 comments

21 years and counting of 'eight fallacies of distributed computing' (2025)

https://blog.apnic.net/2025/12/08/21-years-and-counting-of-eight-fallacies-of-distributed-computing/
124•teleforce•15h ago•40 comments

Exploring building a tiny FUSE filesystem

https://www.shayon.dev/post/2026/161/building-a-tiny-fuse-filesystem/
60•shayonj•2d ago•8 comments