Syslog-ng and a final flag

Posted in Geeky Tech Stuff on December 13th, 2005 by Coffee

Finally worked out how to stop lircd messages from filling up all logs except the one I want. Simple really if you know how (or RTFM)….

Putting flags(final);at the end of the log line like log { source(src); filter(f_lircd); destination(lircd); flags(final); }; stops that filtered line from passing to any other destination logs, regardless of their filters.

Voila. One more annoyance down….

StumbleUpon – Firefox Extension

Posted in Computers and the Web on December 11th, 2005 by Coffee

Stumble Upon is a great extension for the Firefox Web browser.

It lets you “channel surf” the net by throwing up random web sites that others have liked. Great for when I can’t think of what to look up. You set a number of categories of things that you’re interested in like multimedia, cats etc, and whenever you push the button, you get a random site of interest. You can also vote for the sites you like or don’t to help others.

Penguin Webcam – Antarctica

Posted in Computers and the Web on December 8th, 2005 by Coffee

This has to be one of my favourite little places on the web. Penguin Web cams in Antarctica with a lot of gentoo penguins wandering around. Often they’re just basically sitting there, but they do seem to waddle around now and then.

Some of the 24 hour time lapse movies are really amazing to watch. The size and speed of some of the icebergs in the background is unbelievable!

Another web cam is here. This one is excellent to watch penguins waddle around in real time.

London lights up!

Posted in London on December 5th, 2005 by Coffee

Well, you can really tell Christmas is coming now. Just about every third house has some form of Christmas lighting up in windows, or hanging from the house or bushes.

Not all that surprising when it’s getting dark at 4pm and any way to light up the gloom is appreciated by all. Some do go just a bit overboard though!

Not as overboard as this guy though! Check it out!

Makes me think that I should get more lights for our tree. 2 Sets just doesn’t seem enough when faced with the multitude outside. But at least one set does all sorts of fancy flashing things.

Rewriting slashes

Posted in Geeky Tech Stuff on December 1st, 2005 by Coffee

Well, I finally managed to crack a small but annoying problem on the webserver.

When anyone was requesting a web site directory URL like without the trailing /, then there would be an error,and not a redirection to the index page of that directory like it should.

Setting UseCanonicalName off in the Apache server settings seems to have fixed this without having to worry about any strange rewrite rules using regular expressions. Which I find still just a bit tricky to even sit down and try to learn, though I really should do.

Still, one more small problem dealt with…. Should have got around to that one a long time ago.