Archives June 24, 2004

Should check all these scripts into local CVS (Noticable amount of effort could be lost)


Being a python programmer, I tend to write Python scripts to solve little problems that arise, for instance:
  • Download my Sourceforge projects' CVS repositories into a directory for backup every week
  • process CVS logfiles to help with generating changelogs
  • add my python-coding sub-vocabulary to Dragon Naturally Speaking
  • backup mozilla profile and secondary mail directories as ...

Continue reading

Premature optimisation kills (Well, introduces errors...)


I think I've just discovered an anti-pattern in my code. Unfortunately, it's a really common idiom in the code base. Basically, I've been using dictionaries initialised with all records in a tracking table to make looking up a particular record very fast.

If you're going to be looking up individual records many times, and are ...

Continue reading

Previous day

June 23, 2004

Next day

June 25, 2004

Archives