Tag Archives: Tech

Eventum Extension for MediaWiki

I couldn’t find a MediaWiki extension for Eventum when I needed one, so this evening I knocked one up.

It’s fairly basic, very unoptimised, and probably far from perfect, but it works for me, and someone might use it as the basis for something better. It uses PHPs MySQL library to open a connection to a database and execute a query, the results are then avilable to MediaWiki (but perhaps sadly don’t become part of the version controlled content).

To use it in a page add <eventum bug="123"/> where 123 is the number of the bug you’d like to query.

Output is formatted through an eventum template which you’ll have to create, the parameters of that template from 1-5 are, in this basic example, summary, created date, closed date, status title, and status color. e.g. {{eventum|An example summary|1st Nov 2008|2nd Nov 2009|Closed|#00FF00}}

Continue reading

Towards the Perfect Gadget

Imagine a scene in the not-too distant future… after a frenzied period of leaks, rumours, claims and counter-claims, interspersed with no-comments, denials, and increasingly reliable and suggestive evidence emerging from component and sub-assembly manufacturers, Apple Inc announce the imminent release of The Perfect Gadget.

The mainstream press attend press conferences and briefings where Apple proclaim that their Perfect Gadget does everything up to, and maybe even including, ordering sliced bread from the online grocer at the precise thickness that it knows you will prefer (a fact derived from a semantic analyses of how you use said gadget).

Socially driven news sites will go utterly berserk.

So how long must we wait until Apple actually makes this announcement? Perhaps we’re only five or ten years away from The Perfect Gadget 1.0. Continue reading

Worst Offenders for WordPress 2.5 – Pre-Alpha

I’m in the process of rewriting the Worst Offenders plugin for the soon-to-be-released WordPress 2.5. Before I make a tested and polished version of the code globally available, I’d be interested to hear from anyone who’d like to alpha test it.

As before Worst Offenders works cooperatively with other anti-spam plugins: its primary purpose is identifying and deleting the comments that are 100% definitely spam (sent by the very worst offenders) so that any “false positives” (sent by real genuine humans) can be rescued from the spam bin! Continue reading

RFID Café

I couldn’t help but marvel at the efficiency of our local station café recently, as I watched the staff pipeline their customer orders. The busy morning rush was so great that they’d streamlined the operations; one person greeted customers, took orders from several of us at once, and processed the payments. This freed the second member of staff to focus on juggling the coffee and tea machines: getting the maximum throughput from the two staff, and the machines. Continue reading

Commuter Alarm Clock

On a recent train journey I overheard a conversation about someone who’d enjoyed the first class wine so much on a recent intercity journey that they had difficulty staying awake so as not to miss their destination. Staying awake is a problem for many commuters and for those whose destination is not the terminating station, it can be both costly and time consuming. An alarm clock is the obvious tool of choice, to solve the problem, but they’re not convenient to carry. Helpfully some phones include alarm clock applications, but aside from the fact that they can ring a bell at a predefined time, they’re not very useful because what’s important is getting off at the right station, not at a specific time. Continue reading