frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

When life gives you lemons, write better error messages

https://wix-ux.com/when-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f
37•luispa•3d ago

Comments

magicalhippo•52m ago
Error: File not found

Which file?!?!?!

Anyway, I disagree strongly on the technical jargon. Ok, if it's not really an error and the user can retry or similar sure.

But if it's bad times, an exceptionor similar, don't care about the user. Instead include as much detail as you need. A non-technical user won't be able to do anything anyway, and a sanitized error message means support or a technical uaer has a much harder time figuring out what the real issue might be, in order to work around it.

Failed to load a shared library? State the filename and exact error code and message, and anything else that might be useful. And so on.

mandevil•31m ago
Depends on exactly the situation- when I worked on a very expensive desktop application years ago I was warned about giving too much information in error messages as it might help crackers.

With how powerful Ghidra is now, I'm not sure that it matters much any more.

landr0id•22m ago
Static analysis tools + MCP server + a debugger with an MCP server makes reverse engineering incredibly easy and low-cost.

I wrote a blog post about this recently: https://landaire.net/reverse-engineering-with-ai/

Just yesterday I completely reverse engineered several proprietary audio codecs from a game without even having to touch the static analysis tool myself.

vector_spaces•19m ago
This is security through obscurity -- can complement other methods but won't do much for you against competent adversaries.
arjie•9m ago
I've done this to myself because I was too lazy to write the `fmt!()` instead of the raw string while I was iterating and then just forgot to fix it later. I think the Go logger's default of accepting chained parameters that it logs by default to JSONL worked well to avoid that. Convenient ergonomics just in time (in the cosmic sense of programming) for it all to be irrelevant because an LLM always puts it in the error string.
harperlee•42m ago
Hopefully this becomes a reversal in the trend of giving less and less context to the user.

I'm not against the considerations of the article regarding the user and its state of mind, but please do add as much technical detail as possible!

Even if an error message is a cryptic error code, that's better than a "Something went wrong" message. This is not better, or even friendlier, UX. An error code can be referenced, can be searched on the internet, can be passed around on a ticket or on a call... add parameters to your error template, reference the name of the file, the item name that does not respond, the HTTP error code... just give the user some transparency, some agency. Help the client build up a mental model of the error: when / how / why might it be happening.

Groxx•3m ago
[delayed]
vector_spaces•27m ago
You can certainly learn a bit about how a company thinks about UX, accessibility, and its users more broadly by looking at its error messages. Although I didn't care for much of the specifics proposed, I am glad about this post as I think it is important to think through error messages with intention and treat them as products in their own right.

Regarding the proposed "good" alternative, it has less actionable information than the original "bad" message, depending on what the product is and who its users are. In particular, you can't determine whether "fetch data" is impenetrable jargon without looking at the product itself and its users.

I also frequently see people use the designation of a user as non-technical as an excuse to dismiss their intelligence. It's true that tech folks generally underestimate how confusing computers and software are to the average person, but erring too heavily in the other direction also has negative impacts for accessibility. Either way, you can at least hide away that extra detail, with jargon and all, using that link tip she mentioned.

Finally, this writer seems to overestimate the extent to which most users view "contact Customer Care" as "giving them a way out" and not an invitation for further aggravation.

HelloUsername•16m ago
(I can't read the first part of the title without hearing Cave Johnson)

Googlebook

https://googlebook.google/
124•tambourine_man•1h ago•137 comments

Rendering the Sky, Sunsets, and Planets

https://blog.maximeheckel.com/posts/on-rendering-the-sky-sunsets-and-planets/
301•ibobev•5h ago•24 comments

Why senior developers fail to communicate their expertise

https://www.nair.sh/guides-and-opinions/communicating-your-expertise/why-senior-developers-fail-t...
100•nilirl•3h ago•37 comments

Instructure pays ransom to Canvas hackers

https://www.insidehighered.com/news/tech-innovation/administrative-tech/2026/05/11/instructure-pa...
131•Cider9986•15h ago•97 comments

Bambu Lab is abusing the open source social contract

https://www.jeffgeerling.com/blog/2026/bambu-lab-abusing-open-source-social-contract/
735•rubenbe•3h ago•251 comments

Dead.Letter (CVE-2026-45185) – How XBOW found an unauthenticated RCE on Exim

https://xbow.com/blog/dead-letter-cve-2026-45185-xbow-found-rce-exim
18•fedek_•52m ago•5 comments

When life gives you lemons, write better error messages

https://wix-ux.com/when-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f
37•luispa•3d ago•9 comments

Learning Software Architecture

https://matklad.github.io/2026/05/12/software-architecture.html
437•surprisetalk•9h ago•81 comments

Reimagining the mouse pointer for the AI era

https://deepmind.google/blog/ai-pointer/
28•devhouse•1h ago•10 comments

The Future of Obsidian Plugins

https://obsidian.md/blog/future-of-plugins/
126•xz18r•2h ago•61 comments

Launch HN: Voker (YC S24) – Analytics for AI Agents

https://voker.ai
28•ttpost•2h ago•13 comments

Show HN: Agentic interface for mainframes and COBOL

https://www.hypercubic.ai/hopper
21•sai18•1h ago•4 comments

Screenshots of Old Desktop OSes

http://www.typewritten.org/Media/
570•adunk•13h ago•292 comments

CERT is releasing six CVEs for serious security vulnerabilities in dnsmasq

https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
6•chizhik-pyzhik•32m ago•0 comments

Show HN: Statewright – Visual state machines that make AI agents reliable

https://github.com/statewright/statewright
13•azurewraith•4h ago•1 comments

Postmortem: TanStack NPM supply-chain compromise

https://tanstack.com/blog/npm-supply-chain-compromise-postmortem
1025•varunsharma07•21h ago•433 comments

The Real Story of Troy

https://storica.club/blog/troy-was-real/
23•cemsakarya•2d ago•11 comments

The Moth Story Map

https://themoth.org/dispatches/story-map
4•jxmorris12•3d ago•0 comments

Text Blaze (YC W21) Is Hiring for a No-AI Summer Internship

https://www.ycombinator.com/companies/text-blaze/jobs/P4CCN62-the-blaze-no-ai-summer-internship
1•scottfr•6h ago

Canada's Bill C-22 Is a Repackaged Version of Last Year's Surveillance Nightmare

https://www.eff.org/deeplinks/2026/05/canadas-bill-c-22-repackaged-version-last-years-surveillanc...
45•Brajeshwar•1h ago•12 comments

The Surprisingly Long Life of the Vacuum Tube

https://www.construction-physics.com/p/the-surprisingly-long-life-of-the
45•surprisetalk•1d ago•25 comments

Profiling.sampling – Statistical Profiler

https://docs.python.org/3.15/library/profiling.sampling.html#module-profiling.sampling
73•djoldman•2d ago•20 comments

eBay Rejects GameStop's $56B Takeover as Not Credible

https://www.bloomberg.com/news/articles/2026-05-12/ebay-rejects-gamestop-s-56-billion-takeover-as...
166•voisin•2h ago•149 comments

Testing UPS Output Waveforms

https://www.lttlabs.com/articles/2026/05/12/ups-exploration
13•LabsLucas•1h ago•4 comments

They Live (1988) inspired Adblocker

https://github.com/davmlaw/they_live_adblocker
495•tokenburner•18h ago•159 comments

If AI writes your code, why use Python?

https://medium.com/@NMitchem/if-ai-writes-your-code-why-use-python-bf8c4ba1a055
801•indigodaddy•21h ago•840 comments

Show HN: Gigacatalyst – Extend your SaaS with an embedded AI builder

19•namanyayg•2h ago•7 comments

Amazon employees are "tokenmaxxing" due to pressure to use AI tools

https://arstechnica.com/ai/2026/05/amazon-employees-are-tokenmaxxing-due-to-pressure-to-use-ai-to...
155•Bender•2h ago•140 comments

EU to crack down on TikTok, Instagram's 'addictive design' targeting kids

https://www.cnbc.com/2026/05/12/tiktok-instagram-social-media-addictive-eu-crack-down.html
419•thm•7h ago•372 comments

UCLA discovers first stroke rehabilitation drug to repair brain damage (2025)

https://stemcell.ucla.edu/news/ucla-discovers-first-stroke-rehabilitation-drug-repair-brain-damage
421•bookofjoe•1d ago•85 comments