There’s a handy service called DynDNS that lets you give a static name to a dynamic IP. Handy for have-a-go heroes hosting websites from home.
Anyhow, to auto-update the IP stored by DynDNS regularly, the use of some client software is advised. Enter DDClient, which happens to run on Ubuntu.

Now, for anyone who’s having trouble getting ddclient to run on Ubuntu in that it’s not picking up their external IP properly, the fix is simple. All you have to do is replace the following line in your /etc/ddclient.conf file :

use=if , if=web

With the following:

use=web , web=dyndns

You can also obtain some information running ddclient -query from your console.

What this does it tell ddclient not to use a network interface (if) but to use the web, and then tells it which web service to use (dyndns). If you leave it to the defaults it’ll just pull the IP from whichever network interface it’s bound to, typically eth0 by default.

Passion, the lack thereof.

Wednesday 0305hrs

I sincerely wish I had enough passion or interest in anything that would motivate me to attain a greater-than-mediocre level in said subject. I also wish that I’d know how appalling mediocrity is when I was a kid, so I could have taken the approach of this fellow… I give you, Canon in D, Rock Style.

Why Me?

Sunday 1056hrs

I just suffered a hard-drive failure on my photo backup drive. Dead. No detecty. Stone cold. Fortunately I only move files to that drive after I’ve copied them to a DVD… usually. I think. As I’ve got no way to read the drive at all now I’ve similarly got no way of knowing what I’ve just lost. **Joy** .

It also means I’ll have lost every photo I’ve processed for the last 12 months or so, which is bad. See my backup strategy doesn’t really pan out for RAW files that I’ve extracted and played around with ready for printing, something that I have been meaning to sort out for a while now and this even has catalysed.

Dontations for a replacement SATA backup drive gratefully accepted.

Myopic Foresight

Sunday 1008hrs

Once again another startling and classic example of what’s wrong with modern policy governing things like fuel consumption, climate change and generally short-sighted, self-invested western 1st world behaviour. Never do you hear them say “Wait, we should look at ways of reducing our power consumption” or “We’re running out of oil, we should use it more cautiously.”

Nope. Never. That would require a lifestyle change, or some actual conscious effort and good-will which would be far too much to expect from a fat, spoilt population. Shortages will creep up on us, prices will rise and the poor will be unable to afford “basic” services, simply because people are too shortsighted and flat out too stupid to do little things like turning off lights when they’re not needed, or not running electric heaters and putting on a jumper instead.

When will the general public and the bloody government wake up to the reality that the rate of consumption is well past the rate of supply. Two factors present themselves here and the rate of supply cannot be extended indefinately, so why not take a little look at the rate of consumption. That one’s really easy to deal with, yet no-one seems ready to deal.

RIAA crying wolf all the way to the bank

They sum it up.

Now boycott all that DRM hardware like you mean it! :)

People Buy Bottled Water

Wednesday 0033hrs

Commercial open source went wrong when they went to war on price. Wow. Lot of W’s there.

It occurred to me today, amidst a possible mispelling, that the open source movement really has shot itself in the feet when it comes to commanding marketplace respectability. See, when you tell someone that the thing you’re working with was free they immediately assume that because you didn’t pay for it, they shouldn’t have to either. Afterall, couldn’t they just do it themselves? And hey, it’s free right, so that means it’s not as good as something you pay for? Like the gloves you find in the street, they’re soggy and you don’t know who wore them last. You could find yourself incriminated in a murder case, or at the very least glove theft. What if a tramp loses his hands to frostbite that night because you walked off with his gloves thinking “Hey, free gloves, may as well give them a try…” before discarding them, somewhere out the tramp’s line of sight?

Some open source gloves are soggy. Mambo, for instance, has dampened my hands on more than one occasion. Maybe its just that we didn’t get along, maybe my hands are too big or too dry, who knows. Others like WordPress and Typo3 are warm dry gloves, but lo, not found on a street but in a shop that gives them away free for the price of your patronage and nothing more. These are the gloves that are unfairly treated by the business world, their charity spurned and looked down upon in the marketplace where only dollars count. Or Rubles. Or shells.

Free languages too, hunted down by the businessmen like geese and shot dead. If the language is free then so too must be the programmers that kneel at their altars. Surely no-one of worth would find themself dirtied by the carnal knowledge of the free whore-languages we know as PHP and Ruby?

People who pay people to do things (Who probably go on to pay other people in UK/US opressed nations to do it for even less…) on computers live with the delusion that people who do things (Hey, lets give them a name… “Programmers” will do…) with things that cost money have some right to pass that cost on to them. They accept it graciuosly, they cherish it on the invoices and sleep curled up next to it at night. Somehow the fact that the “Programmer’s” tool cost lots meant that it does a better job. But consider for a moment that this programmer has done many jobs before yours and he’s passed the cost of his fabled tools on to each and every client before you too. All of a sudden the price of the tool becomes meaningless as it’s already been set off against previous work. The cost of the tools, therefore, becomes a moot point.

“Open Source” has been marketted by many forces as being a cheaper option without stopping to examine the psychological impact of that on the squidgy pink things that will be paying for an end product, one way or another. As humans we are simple predictable beings and we cherish the rare and pricey and dismiss the free, soggy gloves.

People buy bottled water.

So where am I going ? I think the greatest thing about open source, its major power and what should have been the selling point, is its transparency. No government secrets, no adware, no spyware, no insidious marketting bods trying desperately to get their hands on your browsing habits. You pay for it or you pick it up off the street, but either way you can look inside it. This might be a harder sell than “Hey, it’s free” but in this age of the politics of fear and the Owellian state that many of us now live within, it sure strikes a chord with me. When you pay money for something “Closed Source” you really have little idea of what’s going on in the background and if you want to change something then you have to wait for the vendor to act. Just look at Internet Explorer for example. Almost every spyware molested PC on the planet is in that state thanks to IE. Patches? Yeah, they come, but only after months of waiting while worms run wild. Whoever thought a worm could run? In the crazy world known as the internet these days they even DRIVE CARS. WITHOUT HANDS. It’s madness.

Using open source tools and solutions as a developer is a tough sell thanks to the Open Source Marketting People (OSMP) (Doesn’t really exist as an organised body, but it could…) because now all our clients think that it’s cheap to do. No. The code would take just as long in .Net as it would PHP. Ok, we didn’t have to buy PHP or Apache, but then your .Net programming house only had to buy MS Studio once anyway and would have recouped that cost long ago. Yes, the running costs are lower because you’re not haemmoraging licence fees out to a megalithic 3rd party company, but that doesn’t mean that mystically the whole thing was easier to put together or is somehow worth less.

If anything, the open source solution should cost you MORE, because you can actually see what your developer is doing and come down on them like a tonne of bricks when you find comments like /* must fix later cos the arsehole client doesn’t know what he’s doing */ littered around your source.

They should have put their premium on transparency. Not price.

Nobody likes a soggy glove. Everybody likes double glazing.

(It’s warm, and dry, and transparent. Geddit?)