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

Voxtral Transcribe 2

https://mistral.ai/news/voxtral-transcribe-2
378•meetpateltech•4h ago•105 comments

Building a 24-bit arcade CRT display adapter from scratch

https://www.scd31.com/posts/building-an-arcade-display-adapter
43•evakhoury•2h ago•8 comments

Yawning has an unexpected influence on the fluid inside your brain

https://www.newscientist.com/article/2513692-yawning-has-an-unexpected-influence-on-the-fluid-ins...
26•MDWolinski•5d ago•8 comments

Attention at Constant Cost per Token via Symmetry-Aware Taylor Approximation

https://arxiv.org/abs/2602.00294
117•fheinsen•5h ago•62 comments

Tractor

https://incoherency.co.uk/blog/stories/tractor.html
84•surprisetalk•22h ago•25 comments

Claude Is a Space to Think

https://www.anthropic.com/news/claude-is-a-space-to-think
184•meetpateltech•7h ago•84 comments

RS-SDK: Drive RuneScape with Claude Code

https://github.com/MaxBittker/rs-sdk
47•evakhoury•2h ago•15 comments

Arcan-A12: Weaving a Different Web

https://www.divergent-desktop.org/blog/2026/01/26/a12web/
18•ingenieroariel•3h ago•3 comments

Study: emotional support from social media found to reduce anxiety

https://news.uark.edu/articles/80669/emotional-support-from-social-media-found-to-reduce-anxiety
47•giuliomagnifico•2h ago•47 comments

A sane but bull case on Clawdbot / OpenClaw

https://brandon.wang/2026/clawdbot
186•brdd•1d ago•309 comments

Converge (YC S23) Is Hiring Product Engineers (NYC, In-Person)

https://www.runconverge.com/careers/product-engineer
1•thomashlvt•2h ago

Claude Code for Infrastructure

https://www.fluid.sh/
8•aspectrr•1h ago•1 comments

Procedures for Repair of Potholes in Asphalt-Surfaced Pavements

https://highways.dot.gov/media/7941
42•treebrained•3d ago•31 comments

Coding Agent VMs on NixOS with Microvm.nix

https://michael.stapelberg.ch/posts/2026-02-01-coding-agent-microvm-nix/
58•secure•3d ago•30 comments

A case study in PDF forensics: The Epstein PDFs

https://pdfa.org/a-case-study-in-pdf-forensics-the-epstein-pdfs/
177•DuffJohnson•4h ago•84 comments

The Great Unwind

https://occupywallst.com/yen
148•jart•1h ago•96 comments

Old Insurance Maps – Georeferencing Sanborn Fire Insurance Maps on Modern Maps

https://oldinsurancemaps.net/
64•lapetitejort•1w ago•16 comments

Show HN: Ghidra MCP Server – 110 tools for AI-assisted reverse engineering

https://github.com/bethington/ghidra-mcp
235•xerzes•12h ago•60 comments

Guinea worm on track to be 2nd eradicated human disease; only 10 cases in 2025

https://arstechnica.com/health/2026/02/guinea-worm-on-track-to-be-2nd-eradicated-human-disease-on...
162•bookofjoe•5h ago•74 comments

The Voxel Is a Cutting-Edge Theater Experiment

https://bmoreart.com/2024/09/the-voxel-is-a-cutting-edge-theater-experiment.html
22•simonw•5d ago•4 comments

Show HN: SymDerive – A functional, stateless symbolic math library

15•dinunnob•3d ago•1 comments

FBI couldn't get into WaPo reporter's iPhone because Lockdown Mode enabled

https://www.404media.co/fbi-couldnt-get-into-wapo-reporters-iphone-because-it-had-lockdown-mode-e...
451•robin_reala•5h ago•377 comments

I miss thinking hard

https://www.jernesto.com/articles/thinking_hard
1136•jernestomg•15h ago•616 comments

Brazilian Micro-SaaS Map

https://saas-map.ssr.trapiche.cloud/
79•acfilho•3d ago•3 comments

AI needs to augment rather than replace humans or the workplace is doomed

https://www.theguardian.com/technology/2026/jan/25/ai-augment-rather-than-replace-workplace-doomed
24•PaulHoule•1h ago•1 comments

Data centers in space makes no sense

https://civai.org/blog/space-data-centers
987•ajyoon•1d ago•1144 comments

High-Altitude Adventure with a DIY Pico Balloon

https://spectrum.ieee.org/explore-stratosphere-diy-pico-balloon
98•jnord•3d ago•47 comments

Goblins: Distributed, Transactional Programming with Racket and Guile

https://spritely.institute/goblins/
108•alhazrod•4d ago•16 comments

French streamer unbanked by Qonto after criticizing Palantir and Peter Thiel

https://twitter.com/Ced_haurus/status/2018716889191498172
136•hocuspocus•2h ago•37 comments

Stanford's Fake Disability Crisis Is America's Future

https://garryslist.org/posts/stanford-cheating
26•gmays•6h ago•22 comments