All articles, newest first

  1. Word Aligned, hosted by Github
  2. Go for short variable names
  3. You wait all day for a bus…
  4. Reverse, Esrever
  5. Clown, Flee, Jump
  6. Angle brackets hurt my eyes
  7. “Solutions”
  8. ACCU 2013
  9. An Exploration of the Phenomenology of Software Development
  10. Patience Sorted
  11. Hosting for Life? TextDrive revived!
  12. More adventures in C++
  13. Singly Linked Lists in C++
  14. Folded files and rainbow code
  15. C++ Concurrency in Action. A glowing review of Anthony Williams' book on C++11's support for concurrency
  16. Python’s lesser known loop control
  17. Two star programming
  18. ACCU Bristol and Bath
  19. Life goes on
  20. Life on Canvas
  21. Desktop preferences
  22. Knuth visited, Brains Limited
  23. Set.insert or set.add?
  24. Define pedantic
  25. Hiding iterator boilerplate behind a Boost facade
  26. Equality and Equivalence
  27. Binary search revisited
  28. Man or man(1)?
  29. Binary search returns … ?
  30. Think, quote, escape
  31. Beware the March of IDEs!
  32. Pi seconds is a nanocentury
  33. Bike charts by Google. Using the google chart API for something ... different
  34. When you comment on a comment
  35. Power programming. What makes a language powerful? The programmer!
  36. Python, Surprise me!
  37. Next permutation: When C++ gets it right. An investigation into a classic algorithm for generating the distinct permutations of a sequence in lexicographical order.
  38. Python on Ice. A review of the Python 2, Python 3 language fork. Python 3 has met with some resistance. A moratorium on further changes to the language is being imposed, to smooth the transition.
  39. Steady on Subversion. Despite the increasing popularity of distributed version control systems, I'm sticking with Subversion. Here's why.
  40. Favicon. Why my favicon is a jigsaw piece.
  41. Code Rot. What happens when we stop tending to our code? It decays. This article investigates why.
  42. A useful octal escape sequence
  43. Converting integer literals in C++ and Python
  44. Inner, Outer, Shake it all abouter. Encapsulation is about allocating responsibility and easing utility rather than protecting data.
  45. Blackmail made easy using Python counters. A programming puzzle and a discussion of Python's evolution.
  46. Could OCR conquer the calligraphylion? A note on the challenge which Arabic script sets for optical character recognition engines.
  47. Undogfooding
  48. Tony Hoare’s vision, car crashes, and Alan Turing. The highs and lows of Europython 2009. A personal review.
  49. Partitioning with Python
  50. Oulipo and the Eodermdrome challenge. The word EODERMDROME is itself an eodermdrome. Can you find any others?
  51. Run-length encoding in Python
  52. DEFLATE: run-length encoding, but better. An investigation into the extended run-length encoder at the heart of the Zlib compression library.
  53. Copy, load, redirect and tee using C++ streambufs. The C++ iostream library separates formatting from lower level read/write operations. This article shows how to use C++ stream buffers to copy, load, redirect and tee streams.
  54. Generic documentation
  55. The Rings of Saturn
  56. Software development checklist += 3
  57. Review: Expert Python Programming
  58. Patience sort and the Longest increasing subsequence. How a simple card game provides an efficient algorithm for finding the longest increasing subsequence of a given sequence.
  59. OCR. Wrong characters, right meaning! (chuckles). When OCR gets the characters wrong but the meaning right.
  60. Good maths, bad computers
  61. Longest common subsequence. An investigation into the classic computer science problem of calculating the longest common subsequence of two sequences, and its relationship to the edit distance and longest increasing subsequence problems.
  62. Ordered sublists. A brute force approach. A brute force solution to the longest increasing subsequence problem.
  63. A race within a race
  64. Maximum of an empty sequence?
  65. Emoticrab invasion, CSS breakdown. CSS positioning doesn't always work in a Feed reader.
  66. Spolsky podcast causes exercise bike incident
  67. comp.lang.name? Python was named after a comedy troupe. This note discusses what makes a good name for a computer language.
  68. Could a Python eat an elephant?
  69. Seamless sequence output in Python 3.0
  70. Tell me about … Virtualization. An attempt to describe virtualization, why it's useful, and when to consider using it.
  71. Perl 6, Python 3
  72. Steganography made simple
  73. What’s in the box?
  74. A Little Teaser. Keen Eyes? You’ll See! Follow the clues to reveal the hidden message.
  75. Books, blogs, comments and code samples
  76. Your computer might be at risk. A hard drive failed this weekend. Guess what, it hadn't been backed up. Here's how I went about recovering the data, and some thoughts on the future of computing in general and operating systems in particular.
  77. Negative, Captain
  78. Driving down the road of innovation
  79. Sums and sums of squares in C++. Reduce is a higher order function which applies a another function repeatedly to a collection of values, accumulating the result. Well known to functional programmers, reduce is also a standard C++ algorithm.
  80. BIG G little g - What begins with G? Capitalisation: Google or google?
  81. Removing duplicates using itertools.groupby. An interpreted Python session showing itertools in action.
  82. Merging sorted streams in Python. Did you know that Python's for loops can have an else clause? Here's how it can be used in a stream-merging function.
  83. Launching missiles and other unhappy accidents. Launching a missile is an example of a dangerous programming side-effect. Bus accidents are used to motivate team-work.
  84. Life, user manuals, recursive pictures
  85. Looping forever and ever
  86. Syntactic Sugar
  87. Macros with halos
  88. Entertaining Documentation
  89. iBlame Exchange
  90. Distorted Software. What does software look like? This article suggests that architecture diagrams get the emphasis wrong.
  91. tag.wordaligned.org
  92. Rewriting String.Left()
  93. Me, Myself and OpenID. Setting up a personal OpenID server using phpMyID
  94. Nonce Sense. Cryptography
  95. Fixing header file dependencies. A simple script to check header files are self contained
  96. Running Sums in Python. A Python program to generate the running sum of a series.
  97. Eurovision 2008 charts
  98. Curling for web sites. A script using curl and bash to detect when a website status changes.
  99. Fixing Compiler Warnings the Hard Way. Listen when your compiler grumbles, but sometimes you should ignore its suggestions.
  100. Accidental Emacs. A list of Emacs modes and tricks I use all the time but discovered by accident.
  101. Scatter pictures with Google Charts
  102. Takewhile drops one
  103. Stop the clock, squash the bug. Which is better, a clock which loses a minute a day or one which is stopped? An investigation into how we find and fix software defects.
  104. Hunting down globals with nm
  105. Programming Nirvana, Plan B. Simon Peyton Jones discusses functional programming, Haskell, and promotes a radical route to programming Nirvana at ACCU 2008.
  106. Fun with Erlang, ACCU 2008
  107. White black knight then black white knight. Yet more on drawing chessboards
  108. Drawing Chess Positions. A follow-up article on scripting graphics.
  109. Ima Lumberjack, (s)he’s OK. Gender-neutral technical writing using fictional names.
  110. Drawing Chessboards. An article about creating graphics programmatically.
  111. Tracing function calls using Python decorators. Developing code to trace function calls using Python decorators.
  112. Sugar Pie. Approximating pi by scattering sugar.
  113. The Price of Coffee. Offering something for nothing and getting paid nothing for it. Leap day ramblings.
  114. Top Ten Percent. The most efficient way to sort the top 10% of a collection.
  115. Top Ten Tags. Choosing the right algorithm to select the N largest items from a collection.
  116. No www, yes comments, no categories
  117. Lexical Dispatch in Python. Dispatching to functions based on their names
  118. Essential Python Reading List. An essential Python reading list. I've ordered the items so you can pause or stop reading at any point: at every stage you'll have learned about as much possible about Python for the effort you've put in.
  119. Attack of the Alien Asterisks. Unusual font rendering on Windows
  120. From Hash Key to Haskell. A note on keys, characters, smileys, digraphs and Haskell.
  121. Erlang Erlang. A parallel processing problem.
  122. Animated pair streams. Another look at the functional programming problem of generating an infinite sequence of pairs. An example of using the Python Imaging Library to generate an animated GIF.
  123. ACCU Conference 2008. A preview of ACCU 2008.
  124. File shifting using lftp and rsync. Sometimes it's easier to shift files using the command line, rather than a GUI.
  125. Too big or too clever? Steve Yegge says that, for large applications, size is an enemy best controlled by dynamic languages. Alex Martelli says a language can be too dynamic for a large application. Who's right?
  126. Maybe we live in a scripting universe. Comments on Larry Wall's 11th State of the Onion address.
  127. The Maximum Sum contiguous subsequence problem. A stream-based solution to a classic computer science problem.
  128. So many feeds, so little news. So many feeds, so little news. A reflection on internet consumption.
  129. Elegance and Efficiency. Must elegant code be efficient? This article investigates.
  130. Not my links
  131. Ever wish you’d branched first? A short article describing how to branch a Subversion working copy based on the development trunk.
  132. Zippy triples served with Python. How do you generate previous, this, next, triples from a collection. A stream-based solution in Python.
  133. Paging through the Manual using Access Keys
  134. Anti-Social Build Orders. An article advocating zero-tolerance for anti-social build offences.
  135. Metablog. Reflections on 14 months of blogging, and why I'm no longer using Typo.
  136. RTM vs STW
  137. Seeing with a fresh pair of ears
  138. Reversing Hofstadter’s Law
  139. Lock but don’t but
  140. Mistargeted ads
  141. svn help patch
  142. Big City Skyline Puzzle. Comments on a novel computer science puzzle. When machine resources are scarce, a compiled language offers precise control.
  143. Ongoing Peer Review
  144. Paralipsis
  145. Fixed Wheels and Simple Designs
  146. A yen for more symbols
  147. PyCon UK: statistics, pictures and perennial problems
  148. Pitching Python in three syllables
  149. What apple gets right
  150. The Granny—Stroustrup Scale
  151. Koenig’s first rule of debugging. The problems caused by the C++ compilation model, dependencies and cryptic compile diagnostics. If an expert like Andrew Koenig can’t get it right, what hope for the rest of us?
  152. Shameful Names
  153. He Sells Shell Scripts to Intersect Sets. The Unix command shell contains a lot of what I like in a programming environment: it’s dynamic, high-level, interpreted, flexible, succinct. This article shows the Unix tools in action.
  154. Collaborative documentation tools
  155. Space sensitive programming
  156. How green you are
  157. When web search results get read out of context
  158. A world without version control
  159. In, on and out of boxes
  160. Pragmatic fashion
  161. Robot wars
  162. The Third Rule of Program Optimisation
  163. Why Python programmers should learn Python
  164. Source open, problem closed. An example of the open source advantage.
  165. How many restarts?
  166. Evolving Python in and for the real world
  167. Turing Tests and Train Trackers
  168. Feeding an internet addiction
  169. Oberon, Cromarty, Lisa, Waggledance, Ariel
  170. Introducing Java
  171. Perlish Wisdom
  172. Awesome presentations
  173. Google Reader
  174. PyCon UK
  175. The Heroic Programmer
  176. An ideal working environment
  177. The Trouble with Version Numbers
  178. High altitude programming
  179. Python keyword workaround
  180. Charming Python
  181. Why Software Development isn’t Like Construction. What’s the best metaphor for software development? Steve McConnell prefers “construction”. I disagree.
  182. Shells, Logs and Pipes
  183. Drawing Software Designs
  184. Test driven development in Python
  185. Mixing Python and C++
  186. Release then Test
  187. bin2hex.py
  188. Code completion for dynamic languages
  189. Casualties in the great computer shootout. An investigation into various dimensions of some speed benchmark programs.
  190. A tale of two upgrades
  191. One svnserve, multiple repositories
  192. Happy Mac
  193. Retro-fitting coding standards
  194. fold left, right
  195. Code Craft
  196. Narrow Python
  197. Trac — not just a pretty interface
  198. 1, 6, 21, 107, … ?
  199. Martin Fowler on Soft Documentation
  200. Printed C++ Journals
  201. Review of Pete Becker’s TR1 Book
  202. Synchronising Workspaces
  203. Hong Kong Supplementary Character Set
  204. Permission and Forgiveness
  205. Different Angles on Legacy Code
  206. Wiki Markup. Wikis often invent their own markup syntax. A note on why I favour Markdown.
  207. Functional Programming “Aha!” Moments
  208. Spam, Typo, Subversion Logs
  209. Internal Subversion Externals
  210. Lenient Browsers and Wobbly Tables
  211. My First Typo Sidebar
  212. Smart Pointers, Dumb Programmers. A note describing how a smart pointer tripped me up.
  213. The Etch-A-Sketch User Interface
  214. Joined Output and the Fencepost Problem. Items and the spaces between them: some notes on the fencepost problem and joining up strings.
  215. When computer applications reside on the web
  216. Computer Language Complexity
  217. Complacency in the computer industry
  218. The Lazy Builder’s Complexity Lesson. A discussion of algorithmic complexity, and a demonstration of how the C++ standard library allows programmers to write code which is both concise and efficient.
  219. Soft Documentation. A software developer's investigation into documentation tools.
  220. Personal overnight builds
  221. From CVS to Subversion
  222. Pcl-cvs and Psvn Incompatibilities
  223. Sounds of the Tokyo Metro
  224. Subversion 1.4
  225. Look and Say Numbers
  226. Polyominoes
  227. Browsing Python Documentation using the Python Sidebar
  228. From __future__ import braces
  229. Python 2.5
  230. Friday Puzzles
  231. Version Control for Third Party Software
  232. Overload Online
  233. Personal version control
  234. String literals and regular expressions. An article about string literals, escape sequences, regular expressions, and the problems encountered when mixing these together.
  235. There’s no escape??!
  236. Parsing C++
  237. Py2exe
  238. Ignoring .svn directories
  239. Are List Comprehensions the Wrong Way Round?
  240. How to Mirror a Subversion Repository
  241. Message to Self. What’s this?
  242. Octal Literals
  243. A Subversion Pre-Commit Hook. How to install and test a simple Subversion pre-commit hook script.
  244. Creating a Temporary Subversion Repository
  245. Binary Literals
  246. Readable Code
  247. Keyword Substitution - Just say No!
  248. map, filter, accumulate, lambda
  249. Saving changes to read-only files
  250. Google Mail holiday auto-responder
  251. A Python syntax highlighter
  252. Generating solutions to the 8 Queens Puzzle
  253. My (Test) First Ruby Program
  254. Getting started with Typo
  255. Posting from the command line using mtsend
  256. Built in Type Safety?
  257. The case against TODO. A neat label for work in progress or an easy way to disguise the flaws in a codebase?
  258. Metaprogramming is Your Friend. An investigation into metaprogramming techniques used by lazy C, C++, Lisp and Python programmers.
  259. A Mini-Project to Decode a Mini-Language
  260. Code in Comments. Don't comment out dead code, delete it!
  261. Brackets Off! Thoughts on operator precedence.