Category Archives: Linux

Servers, blogs and freedom

Notice anything different? Yes, my blog has a new theme and a slightly concatenated address, but you probably wouldn’t even realize that since I blog about once per year… No, the real changes are under ze hood!

A couple of weeks ago my little Mini-ITX based computer in my closet that acts as my file and web server decided that it didn’t want to start anymore. I panicked at first because I had not performed a full data backup in ages, but thankfully it turned out that the hard drive — the Mother modem if you will — was still working perfectly, so I was able to plug it into another old computer I had lying around.

Young FrankensteinOne really cool thing about Ubuntu Server (and indeed Linux in general) is that it happily continues to run almost regardless of what hardware change around it. Taking out the Mother modem and plugging it into another computer is a bit like taking out the brain of a human and planting it into another body. My new temporary server continued to tick without even the slightest hiccup (albeit way slower on this charmingly clunky 256 MB RAM monster).

With the data backup taken care of, I decided that I’m done tinkering with my own server for now. It’s too much hassle and the risks are too high that if something breaks, you have to spend a considerable amount of time trying to get things back up again. For my modest purposes (a file server for music and movies, and a web server for my blog) it simply wasn’t worth paying for new hardware and going through the trouble of restoring it. Instead, I decided to tackle my two small needs separately:

  1. The blog — I needed a place to host my blog.
  2. The files — I needed a way to access my movies and music on my network to use in XBMC hooked up to my home cinema.

1. The blog

For the blog, I could either host it for free at e.g. wordpress.com, or I could pay a service provider to host my own custom install for me. The former would be free, but the latter would give me more flexibility. I decided on something in between: I’m using wordpress.com to host the blog for free, but I’m paying them to connect my old domain djst.org to it. This is why the address of this blog had to change from djst.org/blog to simply djst.org, because the domain hosts nothing but the blog now. Old permalinks from djst.org/blog/* magically continues to work though — except specifically djst.org/blog, which randomly shows an old blog post from 2006 about a new kitchen table (oh the memories!).

One thing that really impressed me with WordPress is its export and import feature. After getting my Frankenstein server up and running again, I was able to export all posts, pages, comments and categories into one single xml file and then I could just create a blog on wordpress.com and import that file on there. Within a minute, all of my posts and their related tags and comments were living in a new home.

But what about all the uploaded images that go along with the posts? Well, it turns out that the import script automatically fetches all references files in blog posts and uploads them to the new blog location too (though I had to make sure that the old blog was publicly accessible for it to work, which took me a couple of import attempts to get right).

Another thing that impressed me was wordpress.com’s forum support. I had a couple of questions there and one volunteer named tandava108 always provided answers within the hour. Getting a quick response when you’re having a problem or a question is such an important aspect of customer support, so wordpress.com should count themselves lucky to have someone like tandava108 in their forums (just like we are really lucky to have awesome superheroes like cor-el, madperson and jscher2000 in the SUMO forum).

My temporary Frankenstein server with its guts exposed.

2. The files

This one was easy — all I had to do was to plug in an external hard drive to the USB port of my router and voilà, I had wireless access to music and movies again. If you’re curious, I’m using a Netgear WNDR3700v2 router and the configuration process was very straightforward. I’m not too happy about that router for other reasons, btw, but that’s another story.

I must say that it’s a relief to not have a server to worry about anymore. My nerd/hack level has gradually decreased over the years, but it wasn’t until the server broke down that I realized just how little I needed one these days. It feels great to know that I don’t have to worry ever again about my blog getting lost due to a server meltdown.

Random UX change for the sake of… change?

If you’re making a highly visible change in the operating system UI that affects every running application, it seems fair to ask that it’s done for a good reason and that there is empirical data that supports it. Or, if no empirical data is available, that the change is made to make the transition to your OS smoother for users of competing OSes.

The new placement of window controls in Ubuntu 10.4 (beta)

This is why Ubuntu’s recent change to move the window control buttons to the left side of the window in the latest beta confuses me, because it appears that a chance has been made for no real purpose whatsoever other than a vague hint that it’s preparations for “some innovative options” on the now empty right side. But those experiments won’t start until version 10.10, due out in October 2010.

There are a couple of problems I see with this redesign:

  1. The Ubuntu layout is not just about switching from right to left — it’s introducing a completely unique layout never before seen in an OS. See how the Close button is still on the right side of the button group while the buttons were moved to the left side? This means that neither Windows nor Mac OS users will benefit from the change, as both user groups will have to relearn things here.
  2. The actual icons/symbols on the maximize and minimize buttons are also completely different from both Windows and Mac OS.  While Windows uses a horizontal line to represent minimize, and a square box to represent maximize, Mac OS uses colors instead (yellow to minimize, and green to maximize/zoom). Again, this means that neither Windows nor Mac OS users will benefit from the Ubuntu change, which uses some stylish arrows instead (pointing up to maximize and down to minimize). The icons make little sense (isn’t maximizing more about changing the size of the window, rather than the direction? does minimizing a window always move it down — what if your task bar is at the top like I have it?). To make it even more bizarre, once a window is in a maximized state, the icon for restoring the window looks like the actual maximize button in Windows 95/98/Me/2000/XP/Vista/7.

Ubuntu’s design lead Ivanka Majic tries to explain why the changes were made, but fails completely. She instead lists some questions they were asking themselves without providing any answers:

- Why do Mac OS and Windows have the buttons where they do?

- What was the functional reason behind the Mac OS choice (or the Windows position for that matter)?

- Why, when most application menus are top left should the window controls go top right?

- Why, when we read left to right is the most destructive action first?

So, what are the answers? Given that I haven’t seen any, allow me to guess:

  1. Mac OS and Windows have different conventions.
  2. I don’t think there were any serious usability studies behind either of the choices.
  3. Why not?
  4. Because it’s the most common action on a window?

It’s things like this that makes me skeptical of so-called usability experts when they think they can get away with changing things for the mere sake of change, without any evidence whatsoever that it’s a change for the better.  Majic ends her blog post about the window control button placement by indicating the true reason why they went for a completely unique arrangement:

Personally, I would have the max and min on the left and close on the right.

Update: My insanely sharp colleague Jennifer Boriss writes about this topic more elegantly from a user experience expert perspective.

Ubuntu is old, most of the time

One thing that I really don’t like about Ubuntu is that, by default, it doesn’t automatically upgrade popular software releases until a whole new version of the operating system is released. This means that right now Ubuntu 9.10 (the latest stable release) is still running Firefox 3.5.8 and OpenOffice.org 3.1.1, when the latest versions are 3.6 and 3.2, respectively.

I can definitely understand why such a policy simplifies maintenance on older releases, allowing the developers to focus on the upcoming release, but why can’t they just change this policy at least for the most popular desktop programs?

The way they do things today is annoying and makes Ubuntu feel old-fashioned. Is there another Linux distro that has a better software upgrade policy that I can switch to instead, or am I stuck having to upgrade software manually and store the programs in my home folder?

Nokia N900 impressions

I’ve been using the Nokia N900 for a couple of weeks now and I have both good and bad things to say about it. To give you an idea of what I’m comparing with, my previous phone was a Nokia N95. Here’s my list of impressions:

Pros

  • The screen is pretty good, and I rarely have a problem clicking on links and buttons using my thumbs. The fact that it’s resistive feels like an advantage in this incredibly cold Swedish winter. Next to a Nexus One, however, it’s obvious that the color reproduction could be better.
  • The Mozilla-based MicroB browser really is awesome. Scrolling and zooming is so smooth and quick that it feels like surfing on the iPhone, only this time you’re using the real web. By far the best web browsing experience I’ve had on a mobile device.
  • The fact that I can use it to call VoIP, Skype, Gtalk, and regular cellular networks is amazing.
  • The Conversations application seamlessly integrates IM and SMS in an intuitive manner.
  • The media player handles almost anything you throw at it after installing a few extra software packages.
  • Great synchronization with Exchange-based mail services (e.g. Zimbra, which Mozilla uses).
  • Nice multiple desktop solution (though lacks useful widgets).
  • Battery life is impressive in active use such as in a phone call. Though see the standby time below…
  • The “one-click” (actually a few clicks) publishing of both photos and videos to services like Facebook and Flickr is really neat. Though see below about the camera quality…
  • It really is fun to use it. And it’s open source! And it can run Firefox!

Cons

  • This thing is heavy! I thought my N95 was heavy, but this is significantly heavier. It definitely feels like a solid device, for better or worse.
  • The camera is actually worse than the 3-year-old N95 camera in a number of ways: terrible colors in low light, terrible metering, light leaks making the subject in focus appear washed out, and the field of view is narrower than the N95 camera. In comparison, here’s a photo taken by the N95. Both are 5-megapixel cameras.
  • The standby time is a joke. I don’t know what I’m doing wrong, but sometimes I can just keep the phone in my pocket during the whole day and it will discharge in less than 8 hours. I first kept all accounts logged in (Skype, VoIP, Jabber), but have since then compromised a bit and only keep Jabber online. Still, the battery isn’t impressive.
  • The horizontal layout is annoying most of the time. When I’m out and about, it feels awkward that I can’t use the phone with one hand. I understand the “handheld computer” legacy (I even owned an N810), but feel that my typical use is much more like a regular smartphone than a portable computer. Ideally, all applications should support both layouts.
  • The keyboard, while certainly better than the N810, is still not really good. It’s too easy to click on the wrong keys, and there’s no auto complete feature that can detect (and correct) common spelling mistakes.
  • The auto suggest feature only shows one suggestion, so 90% of the time it’s not suggesting the word you want and as a result you end up ignoring the suggestions altogether.
  • The physical unlock switch is only comfortable to use when in horizontal layout. It’s nearly impossible to reach with one hand if you just want to make a quick call.

Bye bye Mac, hello again PC!

If I appear to be slower to respond to e-mail lately, it’s because my two-year-old MacBook Pro broke down last week, leaving me without access to my local data. It started with some occasional graphical glitches (see video) but it only took a few days until the computer wouldn’t boot anymore. Interestingly, during this gradual fail, the rEFIt boot menu that normally allowed me to start Linux suddenly disappeared. The first time it disappeared, I could restore it by resetting the PROM memory, but now it’s just gone.

Tiger trying to fix my computerMacs are weird in so many ways. You can’t just install Linux and expect it to work — you have to install additional software like rEFIt just to boot into another OS than Mac OS X. Furthermore, you can’t just plug a USB stick in and boot from it. In short, Apple is the very definition of locked down proprietary technology and it annoys the hell out of me.

I’m sick and tired of Macs and I’ve decided to even out the remarkably unbalanced Mac/PC ratio at Mozilla by getting a PC as my next computer. I’ve also decided to give in to my passion for Linux and use it as my full-time OS from now on.

While I’m waiting for my new computer to arrive, I’m writing this from Sofie’s little 12″ PC running Ubuntu. It works like a charm, but I am definitely not as productive as I was with my own computer. I sometimes have to let go of the computer for a few minutes so Sofie can check her mail — after all, I’m the one borrowing her computer. However, the biggest reason why I’m not as productive as I was before my MacBook broke is that I don’t have access to my local data.

Two things I’m a lot more dependent on than I ever thought:

  • The local address book of Thunderbird
  • The local AwesomeBar data of Firefox

I’m working on getting a Linux Live CD (Sofie’s laptop doesn’t have a CD burner) to boot up my MacBook and transfer all my local data to this computer so I can resume full productivity speed again.