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

Gaussian Splatting – A$AP Rocky "Helicopter" music video

https://radiancefields.com/a-ap-rocky-releases-helicopter-music-video-featuring-gaussian-splatting
388•ChrisArchitect•6h ago•134 comments

Flux 2 Klein pure C inference

https://github.com/antirez/flux2.c
199•antirez•6h ago•87 comments

A Social Filesystem

https://overreacted.io/a-social-filesystem/
247•icy•16h ago•116 comments

Wine 11.0

https://gitlab.winehq.org/wine/wine/-/releases/wine-11.0
154•zdw•4d ago•26 comments

Police Invested Millions in Shadowy Phone-Tracking Software Won't Say How Used

https://www.texasobserver.org/texas-police-invest-tangles-sheriff-surveillance/
172•nobody9999•3h ago•40 comments

Simple GIS on Potato

https://github.com/blue-monads/potato-apps/tree/master/cimple-gis
12•born-jre•2h ago•3 comments

Show HN: Dock – Slack minus the bloat, tax, and 90-day memory loss

https://getdock.io/
34•yadavrh•3h ago•30 comments

Breaking the Zimmermann Telegram (2018)

https://medium.com/lapsed-historian/breaking-the-zimmermann-telegram-b34ed1d73614
56•tony-allan•5h ago•4 comments

jQuery 4

https://blog.jquery.com/2026/01/17/jquery-4-0-0/
706•OuterVale•20h ago•227 comments

The Cathedral, the Megachurch, and the Bazaar

https://opensourcesecurity.io/2026/01-cathedral-megachurch-bazaar/
114•todsacerdoti•5d ago•103 comments

Show HN: Lume 0.2 – Build and Run macOS VMs with unattended setup

https://cua.ai/docs/lume/guide/getting-started/introduction
81•frabonacci•6h ago•19 comments

Command-line Tools can be 235x Faster than your Hadoop Cluster (2014)

https://adamdrake.com/command-line-tools-can-be-235x-faster-than-your-hadoop-cluster.html
286•tosh•15h ago•202 comments

Stirling Cycle Machine Analysis

https://ohioopen.library.ohio.edu/opentextbooks/9/
17•akshatjiwan•3h ago•6 comments

Gas Town Decoded

https://www.alilleybrinker.com/mini/gas-town-decoded/
13•alilleybrinker•4d ago•5 comments

Predicting OpenAI's ad strategy

https://ossa-ma.github.io/blog/openads
466•calcifer•10h ago•398 comments

Show HN: Xenia – A monospaced font built with a custom Python engine

https://github.com/Loretta1982/xenia
53•xeniafont•13h ago•16 comments

A free and open-source rootkit for Linux

https://lwn.net/SubscriberLink/1053099/19c2e8180aeb0438/
155•jwilk•14h ago•33 comments

Prediction markets are ushering in a world in which news becomes about gambling

https://www.msn.com/en-us/money/markets/america-is-slow-walking-into-a-polymarket-disaster/ar-AA1...
137•krustyburger•6h ago•142 comments

Sins of the Children (Adrian Tchaikovsky)

https://asteriskmag.com/issues/07/sins-of-the-children
98•maxall4•7h ago•49 comments

Overlapping Markup

https://en.wikipedia.org/wiki/Overlapping_markup
52•ripe•13h ago•10 comments

Show HN: Beats, a web-based drum machine

https://beats.lasagna.pizza
27•kinduff•3h ago•8 comments

Cardputer uLisp Machine (2024)

http://www.ulisp.com/show?52G4
23•tosh•3d ago•2 comments

Starting from scratch: Training a 30M Topological Transformer

https://www.tuned.org.uk/posts/013_the_topological_transformer_training_tauformer
120•tuned•12h ago•32 comments

More sustainable epoxy thanks to phosphorus

https://www.empa.ch/web/s604/flamm-hemmendes-epoxidharz-nachhaltiger-machen
71•JeanKage•4d ago•33 comments

ASCII characters are not pixels: a deep dive into ASCII rendering

https://alexharri.com/blog/ascii-rendering
1165•alexharri•1d ago•128 comments

ThinkNext Design

https://thinknextdesign.com/home.html
227•__patchbit__•18h ago•111 comments

Software engineers can no longer neglect their soft skills

https://www.qu8n.com/posts/most-important-software-engineering-skill-2026
150•quanwinn•11h ago•192 comments

Show HN: HTTP:COLON – A quick HTTP header/directive inspector and reference

https://httpcolon.dev/
19•ultimoo•6h ago•3 comments

Iconify: Library of Open Source Icons

https://icon-sets.iconify.design/
495•sea-gold•17h ago•55 comments

Keystone (YC S25) Is Hiring

1•pablo24602•12h ago