All articles, newest first

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