27 Apr 25

Summary:

  • Debugging is a mechanical process. You don’t need any great insight to debug your code, just patience and persistence.
  • Although it’s mechanical, the challenge of debugging is at least partially emotional. You need to be comfortable with staying in a place where your code is broken and you’re not sure why, rather than just rushing to the quickest solution available.
  • Debugging doesn’t just involve stepping through your code. It’s a process of stepping through your mental models.
  • A bug almost always represents a place where your mental model diverges from the state of the real world.
  • There are multiple kinds of mental model that you should maintain: at the level of lines of code, at the level of framework APIs, and at the (most difficult) level of the real-world problem your app is solving.
by agnieszka 8 months ago

28 Feb 25

Even Emacs, the best app of all time, can have bugs.

So if you have trepidation for starting an art project or programming project, just know that even the best can have flaws.♥︎

by 2097 10 months ago
Tags:

22 Jan 24

An old version of ChatGPT will crash if you include certain words in the input.

by mcherm 1 year ago

09 Jan 24

OK, now this probably isn’t malicious, but I can’t help thinking that it is EXTREMELY BAD. Google search is broken for Firefox on Android, apparently because Google is doing strange things with browser identification. (Confirmed: it affects me.)

by mcherm 1 year ago

The government run website for estimating financial aid need for US colleges was released 3 months late, didn’t have a smooth release, and apparently they forgot to correct for inflation.

by mcherm 1 year ago
Tags:

03 Jan 24

Of course, I shared this with Ben. 34 years after Tetris was released, and a few scant years after new button pressing techniques were discovered, someone has played Tetris to a high enough level that the game crashed with an error.

by mcherm 2 years ago

11 Jan 23

WARN Failed to start remote builder heartbeat: Couldn’t allocate volume, no disks available (region: vin, size_gb: 50) Error failed to fetch an image or build from source: error connecting to docker: Couldn’t allocate v

by chrisSt 2 years ago
Tags:

16 Dec 21

A PNG image that renders differently in Apple vs non-Apple decoders.

by mlb 4 years ago

17 Jun 21

A recent study title Usage and Attribution of Stack Overflow Code Snippets in GitHub Projects found that the most copied code snippet ever happens to be buggy.

by mlb 4 years ago