Archive for Normal

Firefox developers hate me.

Ubuntu has an irritating habit of turning off Firefox’s middlemouse.contentLoadURL setting. Recently, it’s got even worse – whenever I turned it back on, Ubuntu would immediately turn it back off for me. So, today I finally worked out that the problem was Ubuntu’s “firefox extensions” – turned that off, and finally my contentLoadURL setting sticks…

Except, now I realise that the Firefox devs have crippled the behaviour anyway. The clipboard now has to contain a full URL, complete with the http://, or the middle click is ignored. Humph. What use it THAT??

OK, so I then found these instructions for hacking FF’s internals, to recreate the old behaviour. Amazingly it works, but I’m starting to feel that they’ve got it in for me.

Comments

Interactive Timeline of Ancient Egypt

I did this ages ago. I don’t know why I never posted it. Anyway, here’s an interactive timeline of Ancient Egyptian history.

Comments

Republic of Rome: Cheat Sheet

Republic of Rome is a great boardgame. Or at least I think it is — I’ve never really been able to play a proper game. The rules are so complicated, and so badly written, that I’ve never really felt I understood them. So, I decided to write a cheat sheet. One that would be useful for someone who is trying to learn the rules while playing their first game.

Republic of Rome: Cheat Sheet (PDF)
Republic of Rome: Cheat Sheet (Open Office)

Read the rest of this entry »

Comments (2)

An interesting day for Copyright.

The UK’s Digital Economy Bill will introduce the concept of orphan works which may effectively abolish copyright on most photographs. Is this a foretaste of the future copyright in general? Read the rest of this entry »

Comments (2)

confused.com, hmm…

confused.com is a price comparison web-site. They gather lots of information about you, and offer no way to cancel your account. They also take the opportunity to spam your e-mail address with lots of unrelated offers.

Avoid.

Comments (2)

Powers of Arrest

Comments

Double-Glazing Film

I’ve just added double-glazing film to the windows in our hall, landing and living-room. It’s fantastic!

The windows in our house are the original single-glazed wood frames. We’ve kept them for three reasons – we like them, they’re in good condition, and all the advice suggests that new double glazed windows are bad for the environment, and not cost-effective.

The glazing film is really cheap though. It looks virtually invisible and it has made a huge difference to how warm our house feels. It’s fun to put up too – you stick the film around the window and then stretch it flat by heating it with a hair-dryer.

So, double-glazing film for the win!

Comments (4)

Wordpress Multi-Widget

I’ve decided that I hate Wordpress’ multi-widget “API”, so I’ve written a cleaner interface for it: class MultiWidget

Read the rest of this entry »

Comments (12)

Monkeysphere

The Monkeysphere project looks interesting. It basically integrates ssh authentication with the OpenPGP web-of-trust. So a server admin can create an account for a new user with only his OpenPGP identity – basically just an e-mail address. There’s no need to have a separate ssh public-key – the PGP public-key is used instead.

Why is this interesting? Well, it sounds like it might become a single-sign-on arrangement that’s actually useful. Microsoft’s Active Directory is widely used in business, and offers administrators an easy life that’s hard to reproduce in the Unix world. That’s partly for technical reasons (open source LDAP servers are hard to set-up) but also partly due to a different focus: AD requires a central authentication server, an idea that doesn’t fit well with the distributed nature of many open-source projects. While AD is top-down hierarchical, Monkeysphere seems to be much more freewheeling and democratic.

Secondly, it’ll encourage people to actually start using the OpenPGP web-of-trust infrastructure. It’s been possible to send and receive encrypted e-mails for well over a decade, yet encryption remains a backwater. I’d love to be able to discard all unsigned mail – that would eliminate my Spam problem overnight.

I can dream, can’t I…

Comments

libhex v0.2.0

I’ve just uploaded a new version of libhex, my library for manipulating and drawing hexagonal grids. It’s available in C++, Python and JavaScript.

[docs, source, examples: C++, Python, SVG]

I’ve redesigned the SVG output interface. The crazy templates are gone. It’s now just a set of simple functions. SVG output is no longer flipped either, so it’s easier to add text.

I’ve also added routing algorithms: find best path, find movement horizon given a movement budget. Using the library for a game, you need to know where a piece can move. The hex::move namespace defines a “Topography” class which enables you to model movement costs within the grid. Then it will calculate the best path from one hex to another, or tell you how far a piece can get with a given movement budget.

As always, please, please try out libhex. Let me know how you get on.

Comments (4)

Sponsors