I Made It!

After a cruelling 81 kilometers and 4 hours and 47 minutes, I finally reached Halden from Strömstad! Magne finished at 4 hours and 4 minutes, 43 minutes ahead of me. Every possible muscle feels sore at the moment, but it was a great experience. Wouldn’t do it again tomorrow, but there’s a good possibility that we’ll do the race next year too. It rained all morning, but just before we were about to start, the rain magically stopped. The gravel roads where however very wet and soggy, which meant that you had to pedal all the time, all the way. The bike just wouldn’t roll, as the tires got loads of traction and stayed down on the ground. Anyways, weeee’re done!

.. and now I’m doing Birkebeinerrittet in the last weekend of August. Not really looking forward to it at the moment, but that’ll change in a few days.

Photo by Aleksander Toppe!

Mouse Stuck in Lower Right Corner in Ubuntu Intrepid under VMWare?

If your mouse pointer is stuck in the lower right corner after upgrading to the current alpha version of Ubuntu, Intrepid, the reason is that the vmmouse driver got borked somewhere between Hardy and the current version of Intrepid. This means that you’ll only see “Moving to desktop 2” (or whatever desktop you have in the lower right corner). The fix is to change the reference to ‘vmmouse‘ in /etc/X11/xorg.conf to ‘mouse‘. This is not as good (you’ll not be able to move your mouse pointer from your host to your vmware machine seamless any longer), but at least it works.

You can track the current progress over at trackpad: Ubuntu Bug #248521.

Going Cross Countries – Grenserittet 2008

Well, the day TOMORROW is approaching fast (just an hour left..) – the day when Magne and I are participating in Grenserittet 2008. Grenserittet (or “Cross Countries” as it’s called in english) is an annual bike race from Strömstad in Sweden to Halden in Norway. It’s a total of 81 kilometers in length, with a few downhills and uphills along the way. Nothing major, but it’s still going to be a good challenge after I picked up biking again in May. Our goal is to finish in under 4 1/2 hour, so we’ll see how that goes. You can search for my name at grenserittet.com and follow our (or at least my) progress along the route.

I’m going to let my Garmin Edge 705 record the run, so hopefully I’ll be able to provide a few graphs and paths after I’ve finished. Here’s to good weather and a not too warm day!

Rounding Up The Remaining Database Posts

To finally be able to close my now-ready-to-be-archived Firefox-window, I’m rounding up the three other posts I were going to post about in one single batch here:

Ulf Wendel has a post up about PDO_MYSQLND: The new features of PDO_MYSQL in PHP 5.3. Besides being yet another introduction to how MYSQLND differs from the regular libmysqlclient, Ulf writes in detail about how mysqlnd brings other speedups to PDO in general, by allowing the drivers to return zvals directly. This allows the driver to return data without requiring an explicit copy by the overlying architecture. Interesting stuff and well worth a read for anyone, regardless if you actually know what a zval is.

Nicklas Westerlund has a post about MySQL Back to Basics: Analyze, Check, Optimize, and Repair on the pythian blog, featuring a overview of the useful – and abused – methods of rescuing and keeping your data intact. Do regular and good backups. It’s as easy as that. This might however help when you’re in a hurry or needs to fix a corruption that has occured. Read it.

The last item on today’s list is Sphinx – a free open-source full-text search engine. Sphinx uses it’s own indexing and retrieval system, while Solr is built on top of Lucene. Haven’t had much time to play with it yet, but it’s worth checking out. A native PHP module has also popped up (and that’s where I read about it just now), so if you need a fast and native PHP interface to a full search engine without blowing the big bucks, this may be what you’re looking for.

The Day of Four Letter Abbreviations: BASE vs ACID

Any person that has spent some time with databases will have heard the acronym ACID some time or the other. ACID is what transactions are aimed to achieve, so that you’re able to define a set of operations that are connected to each other. ACID is a definition of what these transactions should be able to provide to the user of the RDBMS.

Via xarpb I got hold of an article from ACM Queue, titled BASE: An ACID Alternative:

If ACID provides the consistency choice for partitioned databases, then how do you achieve availability instead? One answer is BASE (basically available, soft state, eventually consistent).

BASE is diametrically opposed to ACID. Where ACID is pessimistic and forces consistency at the end of every operation, BASE is optimistic and accepts that the database consistency will be in a state of flux. Although this sounds impossible to cope with, in reality it is quite manageable and leads to levels of scalability that cannot be obtained with ACID.

Proves to be a very interesting read, and something that’s very in time with how we’re already doing large partitioning of large databases, where the application tier is responsible for a lot of the distributed “transactions”.

Complaining About “Having To Be Commercial” in the Time of Digital Democracy

Norway’s largest newspaper had an article yesterday featuring Christer Falck where he complains that indie music (in the form of music that has a more narrow public appeal) is not getting the attention it should from the major music television networks. Here in Norway that means The Voice and MTV (and a few shows at NRK), which mainly is considered with RnB (The Voice) and a bit more general commercial appealing music (MTV).

The reason why Christer is in the news now is that he’s launching a new artist on his label, Hilde Marie Kjersem. VG provides him with amble news space where he’s able to provide a link to her fresh music video. This is of course a shameless promotion stunt from Christer to be able to get his newly released artist out on the front page of Norway’s largest newspaper, but his complaint is still interesting.

The problem is that it’s an invalid complaint. Yes. The major music tv networks is prioritizing music with a broad commercial appeal more than niche music, but after all, they’re commercial entries. If twice as many people see the commercials they run between the music if they play certain songs, they’re going to play certain songs. That’s probably no surprise. But what Christer seems to forget, is that it’s NEVER been easier to actually make a buzz by yourself and to get your own music out to millions of people without having an enormous budget. Just a couple of years ago we’d never be able to just upload our video to a site which would host the video for FREE, which works with almost all available file formats and which allows you to embed the video on your OWN PAGE. We have myspace where thousands of unsigned and signed artists share their music, where you can listen to huge amounts of good — and even more — bad music. If you decide to create music that you want to share with the world, the possibilities are there! You don’t NEED the music networks to play your music to make it known to people.

I’d certainly download and listen to an album distributed online, and I’d happily pay a couple of dollars to get the 192kbps MP3s upgraded to lossless FLACs. Make the MP3s available for free, set up a playlist with your album hosted on youtube, on myspace or make your own service. Just make it available. If I can send a link to a friend and ask him or her to check out a new album I just found, I’d be more than happy to share good music.

So here’s where we’re going to say something that never will happen:

Make the entire album available online for free. Host the download through a bittorrent network, most people are more than happy to contribute bandwidth to legitimate issues. Make it possible to pay for a simple lossless download for those of us who treasure music quality (and while I’m probably not going to hear any difference between 320kbps mp3 and FLAC, the size difference isn’t worth a degraded copy any longer), and let us pay a REASONABLE amount. The $20 that an album costs in Norway today isn’t reasonable. I’ve never bought more music than when allofmp3 was still available and you could buy whole albums in FLAC for $2-3. I spent more money then than I’ve done ever since.

There are ways of getting huge amounts of publicity when you’re doing things the reasonable way.

I’m actually thinking about the concept of setting up a site where people can make full album downloads available in good quality. Imagine if you could get your music into the vast amounts of media centers available in the world, without a single distribution cost. Together with a simple “buy this in lossless quality” link that charges a few dollars for the service and a specific hosted version of the file. Bandwidth is a commodity that’s getting cheaper and cheaper.

So Christer, while it’s a good tactic for getting some attention for a release, I dare you to instead take on the fight to the complete established music industry. And if you’re going to make it without the help of the networks, you’ve got to get a better website for C+C Records than what you currently have.

Auto Slalom with Gudbrandsdalen Gatebilklubb

After a very, very, very, very hot day in the sun out at the old airfield at Gardermoen Raceway, we’ve returned back home. I’ve even got the daily batch of images uploaded to flickr, so make sure to check out my GGK – Bilslalom – 2008-07-27 set for all the images. Here are a few of my own favourites:

Gone Sideways

Losing the Merc and Taking the Cone

Taking Last

Eirik Out of Last

GT2 Getting Up to Speed

Arne Sideways Action

MX5 Heading Home

See the rest of the images from the auto slalom!

TinyMCE and {#advanced_dlg.link_url}

If you ever get {#advanced_dlg.link_url} (and similar values, such as {#advanced_dlg.link_list}, {#advanced_dlg.link_target} or {#advanced_dlg.link_titlefield}) in your advanced theme link window in TinyMCE, the language file has not been loaded properly. The two simplest reasons for this is that the language file may be missing completely, or that you’ve provided a language key that does not exist. To check for the first issue, check that you have en_dlg.js in your themes/advanced/langs/ directory. To check for the other issue, try to set the language parameter (when creatinging the TinyMCE object) to ‘en‘ just to test it with the default value. If it works with ‘en’, you’re probably missing the local translation file for the advanced theme. Get it from the TinyMCE site and live happily ever after!

Trackday with NSK at Rudskogen (26th of July 2008)

While I was working today, Marius and Eirik spent some time at Norsk Sportsvogn Klubb’s trackday at Rudskogen. I joined them after finishing up the usual saturday routine, and got the opportunity to snap a few shots before calling it the day. We even managed to get a small spin captured on the cam after a car spun the previous round and left some fluids in a corner. Video included!

A few pictures:

Getting Ready for the Final Run
(by Eirik while Marius and I were waiting to get out on the track)

GT2 Heading Up the Short Straight

Porsche Carrera Heading Into Pit Corner

Lotus Exige at the Short Straight

And the vid of the day:

Tomorrow we’re heading out for auto slalom again, so I’ll try to get a few shots online tomorrow night too.

Drizzle – Making MySQL Leaner and Meaner

As noted I recently went for a total of five days of vacation. In the meantime, the intarwebs of blogospheres and the seas of web 2.0 exploded with posts and discussion over Drizzle. Drizzle is a fork of MySQL with the intention of making things more suitable for cloud computing and the regular web use cases. I’m actually quite intrigued by this, and I really look forward to getting some more time to read up on the issues at hand. It will be interesting to see how things compare to CouchDB, Amazon S3, Solr and other service that take a different road than regular relationial databases. Interesting. Anyways, here’s the posts I’d suggest checking out to get better and more usable information about Drizzle:

I’ll take it for a testdrive as soon as the first public version becomes available, and I’m looking forward to it. Might be fun!