All articles, newest first

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