The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Email Subscription

    Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 717 other subscribers

Archive for the ‘Debugging’ Category

b0rk: Behind a Python “Hello World” on Linux

Posted by jpluimers on 2026/11/10

B0rk always has interesting blog posts. This time a Python based one: [Wayback/Archive] Behind “Hello World” on Linux.

It teaches a whole lot of process loading and execution on Linux.

Via [Wayback/Archive] 🔎Julia Evans🔍 on Twitter: “behind “hello world” on Linux”

–jeroen

Posted in *nix, *nix-tools, Debugging, Development, Linux, Power User, Python, Scripting, Software Development | Leave a Comment »

The hardest debugging task: reliably reproducing the issue

Posted by jpluimers on 2026/08/10

This happens so often:  [Wayback/Archive] Jen Gentleman 🌺 on Twitter: “@XenoPanther This happens to me way too often”

Or on public repositories: [Wayback/Archive] Xeno 🐈‍⬛ on Twitter: “… Seriously? I was able to repro an issue but as soon as I began filing feedback. Fixed”

A reliable CI/CD environment helps on the former: that way you can produce a breaking build both locally and on the CI/CD in one go.

Step 1: finally repro the bug Step 2: Tell your teammate Step 3: The repro goes away Wait, what? Gru, who has been presenting the steps on a whiteboard, looks back at that one, wondering if there's a flaw in the plan

–jeroen

Posted in Conference Topics, Conferences, Debugging, Development, Event, Software Development | Leave a Comment »

floating point representation

Posted by jpluimers on 2026/07/15

Like many programmers, in my early days I was totally unaware how floating point values were stored. Even seemingly simple data structures are worth explaining, especially when debugging.

So I was glad getting referenced to [Wayback/Archive] Float Exposed and to [Wayback/Archive] Floating Point Visually Explained which I will quote a few bits below.

About bits: did you notice you can flick on the float.exposed bits to flip them? Try it!

The references came from replies to [Wayback/Archive] Julia Evans on Twitter: “floating point representation”

Read the rest of this entry »

Posted in 8087, Algorithms, Conference Topics, Conferences, Debugging, Development, Event, Floating point handling, Software Development | Leave a Comment »

Bookmarklet for Archive.is to navigate to the canonical link with the “redirected from” instead of “saved from”

Posted by jpluimers on 2026/01/27

This is a follow-up on Bookmarklet for Archive.is to navigate to the canonical link which can be accessed from multiple URLs, some through redirection:

You can see the difference in these archived links (the navivate was a typo that I only spotted after the original blog post got published):

I wanted a Bookmarklet to find the last link; the one in the referenced blog post didn’t.

Read the rest of this entry »

Posted in Bookmarklet, Debugging, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »

b0rk (Julia Evans) on Twitter: “integer overflow”

Posted by jpluimers on 2025/10/16

Even seemingly simple data structures are worth explaining, especially when debugging. So I was glad with the explanation of [Wayback/Archive] Julia Evans on Twitter: “integer overflow”:

Read the rest of this entry »

Posted in Conference Topics, Conferences, Debugging, Development, Event, Software Development | Leave a Comment »

“The Pocket Guide to Debugging” zine and Debugging Puzzels by b0rk (Julia Evans)

Posted by jpluimers on 2025/09/10

I forgot scheduling this post, but it is still very relevant: about the debugging related materials by b0rk (Julia Evans) as they are not limited to just “The Pocket Guide to Debugging”.

It is excellent material to learn at home, work or be used during education.

Before the Elmo* takeover, she mainly used Twitter to post beta material and later the final versions. Easiest queries to find back the Tweets are:

Here are some of links found via the above lists of tweets:

Read the rest of this entry »

Posted in Debugging, Development, Software Development | Leave a Comment »

Important debugging strategy from b0rk: “after the bug is fixed: write a postmortem”

Posted by jpluimers on 2025/07/24

[Wayback/Archive] Julia Evans on Twitter: “after the bug is fixed: write a postmortem”

title: write a postmortem For very tricky bugs, writing up an explanation of what went wrong and how it was fixed is an amazing way to share knowledge and make sure I really understand it. Ways I've done this in the past: * complain about it in the internal chat! (so people can search for it!) * write a quick explanation in the pull request description * write a fun blog post telling my tale of woe! * for really important work bugs, write a 5-page document with graphs explaining all the weird stuff I learned along the way

–jeroen

Posted in Conference Topics, Conferences, Debugging, Development, Event, Software Development | Leave a Comment »

🔎Julia Evans🔍 on Twitter: “debugging strategy: use sounds or pictures I’m still not satisfied with the examples in this one, I’d love to hear examples of how you use visualizations or sounds to debug https://t.co/5DOxshi8QN” / Twitter

Posted by jpluimers on 2025/06/17

[Wayback/Archive] Julia Evans on Twitter: “debugging strategy: use sounds or pictures I’m still not satisfied with the examples in this one, I’d love to hear examples of how you use visualizations or sounds to debug”

title: use sounds or pictures When you're dealing with a lot of data (like in a game for example), sometimes text isn't the best way for your brain to process it! computer: "<thousands of lines of log messages>" person: "ugh I can't read all this!" computer: boop boop beep beep boop person: "wait, that pattern is super irregular..." Some things you could try: * play a sound every time an event happens! * add red outlines around every HTML element! * display an image representing some data!

Posted in Debugging, Development, Software Development | Leave a Comment »

b0rk on Twitter about getting unstuck: “debugging strategy: do the annoying thing”

Posted by jpluimers on 2025/06/04

Not just about getting unstuck during debugging: making progress is often about doing “the annoying thing”.

[Wayback/Archive] Julia Evans on Twitter: “debugging strategy: do the annoying thing”:

Read the rest of this entry »

Posted in Debugging, Development, Software Development | Leave a Comment »

b0rk: “debugging strategy: jump into a REPL” / Twitter

Posted by jpluimers on 2025/05/28

[Wayback/Archive] 🔎Julia Evans🔍 on Twitter: “debugging strategy: jump into a REPL” (more platforms in the replies to the Tweet)

title: jump into a REPL In dynamic languages (like Python / Ruby / JS), you can jump into an interactive console at any point in your code. Here's how to do it in a frontend Javascript program: 1. edit your code code: ``` my_var = call_some_function() debugger; ``` 2. refresh the page 3. play around in the developer tools console! you can call any function you want / try out fixes! How to do it in other languages: Ruby: `binding.pry` Python: `import pdb; pdb.set_trace()`

Read the rest of this entry »

Posted in Debugging, Development, Software Development | Leave a Comment »