Phillip Pearson - web + electronics notes

tech notes and web hackery from a new zealander who was vaguely useful on the web back in 2002 (see: python community server, the blogging ecosystem, the new zealand coffee review, the internet topic exchange).

Structured procrastination

This is great. [[Structured Procrastination]], found on Adam Wendt, via postneo.

When you see me announcing new features in [[bzero]] or [[PyCS]], it’s probably because I’ve got something far more important that I’m meant to be doing. Unintentional ‘structured procrastination’.

The author has a few more “light essays”. Good reading.

So next time you hear a European start that old joke, “If you call someone who knows two languages “bilingual” … ,” hold your head up and say, “That’s aboot the stupidest bloody joke I’ve ever heard and [mutter mutter].” You will instantly establish that you are in fact at least tri-lingual, and get the respect you deserve.

UserLand global shortcuts

The UserLand [[Global Shortcuts]] are cool. There are some things in there that probably don’t belong in [[bzero]] though … ‘[[Buy Now]]’, for example ;-)

Now reading UserLand shortcuts

[[cheesecakeImg]]That was easier than I expected. It took [[DW]] one line of UserTalk code to convert his shortcuts into XML, and it took me five lines of Python to read them back in. Nice. I like [[XML-RPC]] — it makes it very easy to serialise scripting-language-friendly data structures to XML and get them back out.

import xmlrpclib p, u = xmlrpclib.getparser() p.feed(text) p.close() shortcuts = u._stack[0]

Shortcuts

[[bzero]] now does shortcuts. More details when 0.11 is all ready. Wondering whether to include [[UserLand]]‘s standard shortcut list. I seem to remember [[DW]] saying somewhere that they didn’t mind people doing that. Hmm.

← Previous - Next →