Sun's Black Box

I've decided what I'd like for my birthday, it's just a black box, a big black box with a computer in it, the size of a shipping container in fact.

That crazy Cringely got it right for once, he just picked the wrong company.

Sun are becoming quite interesting recently, I was very interested in Simon Phipps' talk at LugRadio Live and they're doing interesting things.

In other news…

I got a package in the post today (courtesy of Twisted Lemon) containing some X10 kit to play with and I bought a Nokia 770 the other day, things are finally starting to happen.

Wiki Farm

I've just set up a wiki farm with MediaWiki for the new hippygeek.co.uk. This means running multiple instances of MediaWiki from a single installation, to reduce the amount of work needed to perform upgrades on multiple wikis.

Basically it involves symlinking the entire contents of the mediawiki directory for each instance, with a few exceptions. I'm not sure how well this will scale if I automate creating wikis in this way and I'm yet to attempt an actual upgrade, I'll write about my experiences here.

If you're looking to do this, I basically followed these instructions with a few modifications, like having a separate database and images directory per wiki.

I also set up cleaner URIs for MediaWiki and disabled anonymous editing for now as spam prevention.

Motherboard Massacre

To have one motherboard die is unlucky. To have another die in the same week is downright infuriating.

Dirty power? Faulty power cable? Phase of the moon?

Miffed.

Update: Good news! I just brought one of the motherboards back from the dead. I stripped it down completely and very thoroughly checked it over. Somehow the BIOS had become ever so slightly dislodged.

Happier.

Spotting shapes in information clouds

A creatively written article from Wired describes the “Internet cloud, where massive facilities across the globe will store all the data you'll ever use.”

The article describes Google's search for cheap power for their giant data centres and touches on others like Sun and Ask.com. It raises some interesting new paradigms in computing, such as electrical power being more scarce than processing power and time being more precious than money.

It's perhaps interesting to include a mention of Amazon's own EC2 or “Elastic Compute Cloud” and S3 or “Simple Storage Service” which allow you to pay for remote storage and bandwidth. It's also interesting to note Microsoft's shift towards the new “Live” brand and their move into Software as a Service, all before Vista is even out of the door.

This could all be passed off as just another spin on “the network is the computer”, but things certainly seem to be speeding up around here. You have to wonder whether the concept was just before its time, and now the infrastructure is catching up, the real fun is starting.

An aside…

With all these clouds around, I've created an experimental “tag cloud” of my own. It sits on the right hand side of my homepage and represents the topics I'm currently writing about.

End of an era: New home page, blog, email address

Homepage

I have a new homepage, it’s http://tola.me.uk

Blog

Thanks LiveJournal for years of faithful service but it’s time for me to fly the nest, if Drupal is good enough for Tim Berners-Lee then it’s good enough for me.

You can add my new Drupal powered blog to your LiveJournal friends list by going here and clicking “Add this feed to your friends list” (thanks mchicago). For all other RSS readers, there is a feed here. If you don’t want to syndicate all of it you can choose one of Personal, Technology, Art & Culture and Travel (they’ll work better when there’s something in them).

If anyone has successfully imported a LiveJournal blog into Drupal, please get in touch with me and tell me how!

Email Address

My new email address (for personal mail only) is ben at tola.me.uk (substitute the @ sign). Please don’t enter it into any spammy social networking sites 🙂

The future of hippygeek.co.uk

http://hippygeek.co.uk has being going for five years now and it isn’t going to disappear. The site will shortly be undergoing a transformation into hosting and a software repository for projects I’m working on.

mChicago: Content Negotiation

As Advogato’s trust metric does not appear to trust me enough to allow me to post a reply, this is in reply to mchicago’s post about .Net and Browsercaps:

As someone who is currently in academia and will not qualify as an engineer for quite a while, I feel qualified to give you an unhelpful answer which has no practical application to your current real world problem.

Trying to keep up to date lists of every mobile device is like chasing the wind.

This is what Content Negotiation in the HTTP specification is for, in this case Server-driven negotiation would probably be preferable. A user agent should send an Accept header as part of the HTTP request which specifies which formats the user agent can render and the server should respond accordingly.

Unfortunately a lot of browsers send a wildcard instead of a real argument in Accept headers and claim to be able to render all formats, which of course they can’t. Apache has partial support for Content Negotiation and if you’re using IIS you’d probably have to write it yourself.

So the answer is to get manufacturers of mobile devices to get their web browsers to send proper Accept headers and Microsoft to think about Device Independence for their server products. Good Luck.

In other news…

tola.me.uk is nearly ready to roll, despite accidentally looking uncannily like Elliot’s web site. That’s what happens when you use stock themes! Once I’ve moved over, then hopefully interesting things will happen with hippygeek.co.uk

I’ve ordered a Nokia 770, I have evil plans for it.

Me and Sam spent several hours today trying to fix the BurnFM web stream, the web part is fixed but we can’t get the sound engineering part right. I blame poor sound engineering kit. A poor worker always blames his tools. Sam’s planning to swap out the server with one running slackware and icecast, I’ve almost convinced the station manager it’s a good idea. ‘Cept I vote for Ubuntu Server.

University are making me use Access 🙁

Now of to Tom’s to see how many people we can fit in his house, I reckon about 130.

In between homes

I’ve half moved into my new house in Birmingham with samwwwblack, Debs and Frankie and my parents are in the process of moving to Colsterworth. The day I moved half my stuff into my new house, I opened the front door to let my parents out and Big Man Paul (from school) walked past, weird coincidence. He’s the first person I’ve met in Birmingham from school, though I’m sure there are others.

In other news…

I talked my way out of a £42 library fine today 🙂

BT Future Gazing: extremely smart yogurt, ultra simple computing

We did the calculations, and we reckon that it’s possible to make a yoghurt with roughly the same processing power as the entire European population.” —Ian Pearson, Futurologist: The ITWales Interview

The idea of “Ultra Simple Computing” appealed to me:

Computers can be redesigned from the ground up with tens of thousands of little chips to distribute the load. It will mean there will be no need for an operating system or even a hard disk, as everything can be saved on the chips“.

To me, a computer is just a network of networks of networks – right from a network of semiconductors on a chip up to a distributed supercomputer over a international stupid network like the Internet.

Drupal blogroll and blog import from LiveJournal

I need some help with Drupal…

Blogroll Friends list Block

This is the simpler of the two problems. I use the Drupal aggregator module to create a blogroll of blogs I read at http://tola.me.uk/friends. On the front page of my website I’d like a “friends” block on the right hand side which lists the names of all the feeds in my blogroll with a link to respective websites. So far I can only see how to make a block which displays recent blogroll posts.

Do I need to write my own PHP block to do this (I’ve found a function in the aggregator API which does something similar and I’ve nearly figured out how to tweak it) or can I do it more simply with a view which presents itself as a block? Surely this is a pretty standard thing to want to do, list feed sources.

Import Blog from LiveJournal

I’ve asked this on Drupal forums but had no reply yet, so I thought I’d throw it to a wider audience.
I’d like to import nearly three years worth (219 entries) of my LiveJournal to my new Drupal powered blog. LiveJournal allow you to export entries as either CSV or XML files, a month of entries per file (that’s 33 files for me).

There is a page entitled Migrating from LiveJournal on the Drupal web site, but I think it may be slightly out of date. It offers three methods of migration:

1) Use IFRAMEs – not really what I want
2) Using Node Import – by using an RSS feed it says that the actual content will still be hosted at LiveJournal, which isn’t what I want. I think it’s also now out of date because contrary to what it says, RSS feeds are now available to all LiveJournal users.
3) Use the Livejournal Module to import the raw data into Drupal – This sounds like the best method. Unfortunately, the module is no longer available or maintained.

I’m now thinking that my best option is to use the Node Import module to try and import the CSV or XML files, but I have no idea how to do it and the documentation for that module doesn’t mention supporting the blog post content type. Alternatively, the new Import/Export API module might do this?

If I can use the Node Import module, What XML format do the blog posts need to be in to be imported and what date format do they need to use?

I don’t think I will be able to preserve all LiveJournal features like “tags” because they don’t appear in the exported XML files, but I’d quite like to convert all instances of a custom [lj user=”joebloggs”] tag with an [a href=”http://joebloggs.livejournal.com”] tag. This makes me wonder if I should somehow utilize the RSS feed of the blog which already has this conversion done, as well as other useful things like a link to the original LiveJournal post and comments.

If I have to write my own module to do this in Drupal 4.7, might this be a good use of XSLT? I’ve been meaning to play with that for a while.