frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A Taxonomy of Bugs

https://ruby0x1.github.io/machinery_blog_archive/post/a-taxonomy-of-bugs/index.html
52•lissine•8mo ago

Comments

mannykannot•8mo ago
Here's a step 0 for your debugging strategy: spend a few minutes thinking about what could account for the bug. Prior to its occurrence, you are thinking about what could go wrong, but now you are thinking about what did go wrong, which is a much less open-ended question.
marginalia_nu•8mo ago
I've had large success by treating the bug as a binary search problem as soon as I identify an initial state that's correct and a terminal state that's incorrect. It seems like a lot of work, but that's underestimating just how fast binary searches are.

Depends of course on the nature of the bug whether it's a good strategy.

readthenotes1•8mo ago
I was such a bad developer that I realized I had to automate the re-running of parts of the system to find the bugs.

Of course, the code I wrote to exercise the code I wrote had bugs, but usually I wouldn't make offsetting errors.

It didn't fix all the problems I made, but it helped. And it helped to have the humility when trying to fix code to realize I wouldn't get it the first time, so should automate replication

bheadmaster•8mo ago
> I had to automate the re-running of parts of the system to find the bugs

Congratz, you've independently invented integration tests.

tough•8mo ago
I don't always test but adding a lil test after finding and fixing a bug so you don't end up there again a second time is a great practice
bheadmaster•8mo ago
Congratz, you've invented regression tests.
quantadev•8mo ago
Congrats, you've found someone who failed to invoke a buzzword that you know.

EDIT: But Acktshally `the code I wrote to exercise the code I wrote` is a description of "Unit Testing", not integration testing.

bheadmaster•8mo ago
Unit/integration tests are anything but a buzzword. And my intentions were not to belittle, but to praise.

Some actions simply make so much sense to do, that any sensible person (unaware of the concept) will start doing them given enough practice, and in process they "reinvent" a common method.

keybored•8mo ago
> And my intentions were not to belittle, but to praise.

With the stock eyeroll dismissal phrase.

quantadev•8mo ago
As far as you knew that guy was aware what Unit Testing was since well before you were born. lol. I'm sure he appreciates all your nice compliments.
bheadmaster•8mo ago
Good thing he has knights in shining armor like you to defend him from my nasty insults.
quantadev•8mo ago
Good thing you can admit what you were doing.
bheadmaster•8mo ago
Good thing you can understand sarcasm.
quantadev•8mo ago
but your sarcasm was truthful.
bheadmaster•8mo ago
but it wasn't.
quantadev•8mo ago
Well in that case...Congratz, you've invented sarcasm.
bheadmaster•8mo ago
Congratz, you've invented obnoxiousness.
quantadev•8mo ago
Not "independently reinvented" ?
readthenotes1•8mo ago
I was aware of unit testing before it had a name ... Desperation is the mother of intervention
quantadev•8mo ago
Yep, I "independently reinvent" the wheel every day I guess, because I, ya know...use wheels.
alilleybrinker•8mo ago
There's also the Common Weakness Enumeration (CWE), a long-running taxonomy of software weaknesses (meaning types of bugs).

https://cwe.mitre.org/

Animats•8mo ago
The Third-Party Bug

Is the party responsible for the bug bigger than you? If yes, it's your problem. If no, it's their problem.

marginalia_nu•8mo ago
A subcategory of the design flaw I find quite a lot is the case where the code works exactly as intended, it's just not having the desired effect because of some erroneous premise.
djmips•8mo ago
John Carmack uses a debugger

The struggle of resizing windows on macOS Tahoe

https://noheger.at/blog/2026/01/11/the-struggle-of-resizing-windows-on-macos-tahoe/
836•happosai•5h ago•379 comments

CLI agents like Claude Code make self-hosting on a home server easier and fun

https://fulghum.io/self-hosting
279•websku•4h ago•195 comments

This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

https://iczelia.net/posts/snake-polyglot/
83•snoofydude•3h ago•29 comments

iCloud Photos Downloader

https://github.com/icloud-photos-downloader/icloud_photos_downloader
307•reconnecting•6h ago•152 comments

FUSE is All You Need – Giving agents access to anything via filesystems

https://jakobemmerling.de/posts/fuse-is-all-you-need/
71•jakobem•4h ago•24 comments

I Cannot SSH into My Server Anymore (and That's Fine)

https://soap.coffee/~lthms/posts/i-cannot-ssh-into-my-server-anymore.html
73•TheWiggles•4d ago•43 comments

Sampling at negative temperature

https://cavendishlabs.org/blog/negative-temperature/
113•ag8•6h ago•39 comments

I'm making a game engine based on dynamic signed distance fields (SDFs) [video]

https://www.youtube.com/watch?v=il-TXbn5iMA
186•imagiro•3d ago•22 comments

Don't fall into the anti-AI hype

https://antirez.com/news/158
601•todsacerdoti•15h ago•790 comments

Jerome Powell Responds

https://www.federalreserve.gov/newsevents/speech/powell20260111a.htm
113•0xedb•1h ago•15 comments

The Next Two Years of Software Engineering

https://addyosmani.com/blog/next-two-years/
58•napolux•4h ago•33 comments

Elo – A data expression language which compiles to JavaScript, Ruby, and SQL

https://elo-lang.org/
49•ravenical•4d ago•6 comments

Which programming languages are most token-efficient?

https://martinalderson.com/posts/which-programming-languages-are-most-token-efficient/
3•tehnub•33m ago•0 comments

Gentoo Linux 2025 Review

https://www.gentoo.org/news/2026/01/05/new-year.html
294•akhuettel•14h ago•150 comments

Insights into Claude Opus 4.5 from Pokémon

https://www.lesswrong.com/posts/u6Lacc7wx4yYkBQ3r/insights-into-claude-opus-4-5-from-pokemon
31•surprisetalk•5d ago•9 comments

A set of Idiomatic prod-grade katas for experienced devs transitioning to Go

https://github.com/MedUnes/go-kata
104•medunes•4d ago•14 comments

I'd tell you a UDP joke…

https://www.codepuns.com/post/805294580859879424/i-would-tell-you-a-udp-joke-but-you-might-not-get
91•redmattred•3h ago•28 comments

Show HN: What if AI agents had Zodiac personalities?

https://github.com/baturyilmaz/what-if-ai-agents-had-zodiac-personalities
15•arbayi•2h ago•6 comments

Perfectly Replicating Coca Cola [video]

https://www.youtube.com/watch?v=TDkH3EbWTYc
133•HansVanEijsden•3d ago•71 comments

Show HN: Engineering Schizophrenia: Trusting yourself through Byzantine faults

32•rescrv•4h ago•9 comments

Ask HN: What are you working on? (January 2026)

144•david927•9h ago•484 comments

Rare Iron Age war trumpet and boar standard found

https://www.bbc.com/news/articles/cr7jvj8d39eo
10•breve•4d ago•2 comments

Poison Fountain

https://rnsaffn.com/poison3/
165•atomic128•9h ago•106 comments

Moving Scratch generation to Python on browser

https://kushaldas.in/posts/introducing-ektupy.html
3•kushaldas•2d ago•0 comments

Statement by Federal Reserve Chair Jerome F. Powell [video]

https://www.youtube.com/watch?v=KckGHaBLSn4
272•sprawl_•1h ago•141 comments

BYD's cheapest electric cars to have Lidar self-driving tech

https://thedriven.io/2026/01/11/byds-cheapest-electric-cars-to-have-lidar-self-driving-tech/
123•senti_sentient•5h ago•141 comments

“Food JPEGs” in Super Smash Bros. and Kirby Air Riders

https://sethmlarson.dev/food-jpegs-in-super-smash-bros-and-kirby-air-riders
259•SethMLarson•5d ago•66 comments

Quake 1 Single-Player Map Design Theories (2001)

https://www.quaddicted.com/webarchive//teamshambler.planetquake.gamespy.com/theories1.html
47•Lammy•20h ago•8 comments

A Glimpse into DexProtector

https://www.romainthomas.fr/post/26-01-dexprotector/
3•shelfchair•4d ago•0 comments

Anthropic: Developing a Claude Code competitor using Claude Code is banned

https://twitter.com/SIGKITTEN/status/2009697031422652461
240•behnamoh•7h ago•139 comments