Category Archives: Programming

🥩 Red Meat Friday: Is C Useful For Understanding How Computers Work

This post didn’t start as a Red Meat Friday item but as I worked on it, I got so exercised I decided it really should be one. For me, the question of whether C helps with understanding how computers work … Continue reading

Posted in General, Programming | Tagged , | Leave a comment

Gotos Considered Maybe Not Harmful

Way back in 1968, Edgar Dijkstra published a famous letter to the Communications of the ACM that explained why he felt the go to statement was being abused. Ever since then, lots of uninformed folks who haven’t bothered reading it … Continue reading

Posted in General, Programming | Leave a comment

Debugging With Print

Álvaro Ramírez has a guilty secret: he sometimes debugs code by inserting print statements into it. I was really happy to see his post because it’s a guilty secret that we share. Debuggers and similar tools are great and really … Continue reading

Posted in Programming | Tagged | Leave a comment

Generating Documents Directly From Elisp

I’ve had this in my blog queue since April but it’s too good to let it fall into the bit bucket. Álvaro Ramírez has a problem with his chatgpt-shell package. He has some documentation in the form of tables, which … Continue reading

Posted in Programming | Tagged , | Leave a comment

Checking A Word List

Daniel Lemire has a post that poses an interesting challenge. Suppose you have a list of words—Lemire uses “ftp”, “file”, “http”, “https”, “ws”, “wss”—and want to check if some other word is in the list. Unless you believe in Zawinski’s … Continue reading

Posted in Programming | Tagged | Leave a comment

IDEs

Renato Athaydes has an interesting post about his use of IDEs and how they are resource hogs and have a hard time operating on any but the most high powered machines. Most of you know by now that I’m not … Continue reading

Posted in Programming | Tagged | Leave a comment

Use Closed/Open Intervals For Programming

In Mathematics, especially Real Analysis and Topology, the use of open and closed intervals is endemic. The open interval \((a,b)\) is the interval \(a < x < b\) while the closed interval \([a,b]\) includes the endpoints: \(a \le x \le … Continue reading

Posted in Programming | Leave a comment

A Conversation with Mickey

Syntopikon has an interesting interview with Mickey Petersen, the proprietor of Mastering Emacs and all around Emacs expert and expositor. He’s no stranger to Irreal readers so it’s always nice to see him discuss matters. The last time I remember … Continue reading

Posted in Programming | Tagged | Leave a comment

Modulo Bias

A common operation in software is to reduce a larger number to a smaller one by the modulo operation. As a toy example, suppose we have random numbers in the range 0–7 but need to reduce those values to the … Continue reading

Posted in Programming | Tagged | Leave a comment

Additional Emphasis Markers in Org Mode

I really love the Org-mode markup language. It allows me to compose just about any document that I would actually want to write. That means that I can typeset bold, italics, underline, monofont, and even strikethrough. But some people have … Continue reading

Posted in Programming | Tagged , | Leave a comment