Object Abuse

One of the Javascript libraries we use at work includes a method called getLayersByName(). It has a parameter, name, [described as follows][]:: > {String |...

Read More…

Javascript — Some Thoughts

For most of the last 9 months, I've been working on a project called InterRisk; specifically, developing a web portal for viewing scientific data overlaid...

Read More…

Twitter Notifier

Wrote a script to display Twitter updates via notification-daemon (used quite heavily in Gnome, I believe, but I'm not sure about KDE). It's written in...

Read More…

On Portable Software

Software portability isn't much of an issue nowadays; standard APIs (like Win32 and POSIX), virtual machines (Java, .NET/Mono), and interpreted languages (like Ruby, Python, Perl,...

Read More…

Bug-tracking coming soon

[Dan][1], Bugger! has been delayed due to my laziness. However, as of yesterday I'm working on it again. Keep an eye on [[this page|code/Bugger]] for...

Read More…

smartypants script

I wrote a script for [irssi][], that uses [SmartyPants][] to turn normal quote marks into fancy ones in messages you send. [irssi]: http://irssi.org/ [SmartyPants]: http://daringfireball.net/projects/smartypants/...

Read More…

planet update

A few tweaks to the template used by [Planet TermiSoc][1], and now the Atom feed include's the poster's name in the title. This means I...

Read More…

missing ruby

After using [Python][] a lot recently, I'm starting to miss [Ruby][]; it has some nice features that Python lacks (object.each iterators, for a start, and...

Read More…

bugger!

Bugger! is the bug-tracking software that I'm writing (and yes, the exclamation mark is part of the name). It's written in Ruby, and designed to...

Read More…

broken booleans

C/C++/Perl: while(foo) { bar(foo); } Python: while foo: bar(foo) Ruby: while foo bar foo end Java: while(foo != null) { bar(foo); } Notice a pattern?...

Read More…

PyTerm

I couldn’t find a terminal emulator that suited me - gnome-terminal is too bloated, it depends on a stack on Gnome libraries; xterm appears to...

Read More…

Lazy Programmers

Anybody who has to tell the user to make sure a path ends with a slash shouldn't be writing software. If you can't be bothered...

Read More…