OddThinking

A blog for odd things and odd thoughts.

Python Consumer Thread Shutdown Design Notes

In which Julian fails to persuade Python to perform a simple task: stopping.

Read more...

Categories: S/W Dev

Python Message-Buffering Logging Handler Design Notes

In which Julian rubber-ducks a design for a Python Logging Handler, to overcome earlier email jams.

Read more...

Categories: S/W Dev

How Python’s urllib2 Bit Me

In which Julian proposes a hypothetical – how could the default parameters on urllib2 bring down an application 29 minutes past midnight on a Saturday morning?

Read more...

How Python Logging Bit Me, Part 1.

In which Julian stumbles over a serious gotcha in Python’s SMTPHandler for logging messages.

Read more...

Categories: Heroic Failures,Insufficiently Advanced Technology,S/W Dev
Tags: logging. gotcha, Python, SMTPHandler, software

Achieving Achievements

The idea of the computer popping up each morning and saying “Well done! You just hit your highest week’s turnover ever.” or “Oh dear! You had your worst continuous run of profit-less transactions in a row!” might make my job more interesting…

Read more...

Categories: S/W Dev
Tags: achievements, software, software architecture

Is the Compiler a Distraction?

Is the real problem with compilers (and web-development and unit-tests) that they force a context-switch in the middle of the development process?

Read more...

Categories: Observation,S/W Dev,Thoughts from the Shower
Tags: brain, distractions, productivity, software, unit tests

There’s only one thing worse than having unit tests…

Wherein Julian bitches pointlessly about unit tests because it is late at night and he is bored of running them.

Read more...

Categories: Cathartic Rant,S/W Dev

Framework Work-out

Wherein Julian finds he can re-use hobby code to solve a real-life problem.

Read more...

Self-Scaling Log Files

I want an option to scale back logging into log-files over time.

Read more...

Python’s doctest considered harmful.

Doctest is a interesting and clever testing harness built right in to Python. Try not to use it.

Read more...