Category Archives: Programming

Advanced Hashing Techniques

One of the first advanced programming techniques I learned back when I was beginning was the use of hashing for fast table lookup. The use of the adjective “advanced” probably looks strange to younger engineers who are used to languages … Continue reading

Posted in Programming | Tagged | Leave a comment

Python for Lisp Programmers

Back in 2000, Peter Norvig was getting complaints that the code in his and Stuart Russell’s book, Artificial Intelligence: A Modern Approach was in Lisp, that many of the students using the book didn’t know Lisp, and that they didn’t … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Emacs 26, Threads, and Generators

One of the things that a lot of people are exited about in Emacs 26 is the introduction of basic threading. Another, less mentioned, feature is generators. The excellent Chris Wellons has a must-read post that talks about both of … Continue reading

Posted in Programming | Tagged | Leave a comment

Recursion

Mike Zamansky has an interesting post on recursion. The question at hand is whether it makes sense to teach recursion to beginning programming students. Zamansky was a high school CS teacher for many years and now he’s involved—at least in … Continue reading

Posted in Programming | Tagged | Leave a comment

Programs that Program

I’ve written before about Eric Raymond’s (esr) UPSide project that aims to build an open source UPS that has reasonable performance and sensible operation. Esr’s latest post is especially interesting to me because it uses one of my favorite techniques: … Continue reading

Posted in Programming | Tagged | Leave a comment

Comments

One of the perennial programmer arguments—not quite up there with Emacs v. Vim but enduring nonetheless—is whether or not we should comment our code and if so, how. some folks say that the need for comments is a code smell: … Continue reading

Posted in Programming | Tagged | 1 Comment

An Elisp Introduction

A couple of years ago, I wrote about Aaron Bieber’s talk to the Boston Vim Meetup on why and how he moved from Vim to Emacs. It was a great talk and worth watching if you haven’t already (especially if … Continue reading

Posted in Programming | Tagged , | 2 Comments

Get in the Flow!

Via Karl Voit, here’s something you can post on your office door or outside your cubical. Of course, as we all know, it won’t do any good but you’ll feel better. pic.twitter.com/XLeEYUJp78 — Carlos Gustavo Ruiz (@atmantree) June 8, 2017

Posted in Programming | Tagged | Leave a comment

35 Coding Habits to Avoid

Christian Maioli Mackeprang has an interesting post on 35 habits that can negatively affect your coding. I’ll let you read them and make your own judgments as to their value for your situation but I’d like to comment on two … Continue reading

Posted in Programming | Tagged , | 2 Comments

A Simple Programming Praxis Solution in Elisp

Programming Praxis has a simple problem that is meant to explore how easy your favorite programming language makes it to work with strings. The problem is to double every blank in a string. That’s pretty simple but some languages make … Continue reading

Posted in Programming | Tagged , | 6 Comments