Categories
android

Fixing the HTC Hero Sync installer for non-english versions of Windows

I recently aquired a HTC Hero phone. More on that later. First I just wanted to help out other poor souls out there, who are forced to use Windows to upgrade the software on the phone. There is a bug in the installer for the HTC Sync program which leads to the drivers not being installed, in turn resulting in the inability for the computer to find the android device. Very frustrating to the say the least. The installer writes the driver to the localized program files directory (on a Danish version of Windows this is C:\Programmer), but looks for it at the hard-coded path C:\Program Files, resulting in the drivers not being installed. Fixing the problem is pretty easy:

  1. Copy the HTC directory from C:\Programmer to C:\Program Files (you might need to create this first)
  2. uninstall the HTC Sync application and the HTC drivers
  3. Reinstall the HTC Sync application

After that you should be able to upgrade the phone to the much improved new firmware.

Happy phoning 🙂

Categories
Blog

+1 Ubuntu

I was flaming Ubuntu in an earlier post for their lack of quality in their releases, so I thought it would be fair to give them credit when it is due. They have a project called One Hundred Paper Cuts where they try to fix low hanging fruit, easy bugs but annoying bugs. Bugs that when stacked together really can make you go from loving a piece of software to hating it. When I look through the blog post for their round 6, I really like what they are fixing.

We need more of this in software. It’s so easy, and has become so accepted, to ship a half-baked product and just slap a beta sign on it nowadays. Release early, release often is great, but there is also a time for making fixing all the small annoying bugs. If they plan on fixing this bug, then this is a step in the right direction.

Categories
funny

Gmail please fix your spam filter

Lately Gmail has been become increasingly frustrating to use. When I check mail in the morning I have about 5 spam mails in my inbox. Even some from Viagra. Even worse, the number of false positives (ham classified as spam) has also been increasing so that I now at least once a day have to resort to looking for legitimate mail in my spam folder. For a spam filter this is the worst case scenario. Actually it seems like Gmail has trouble categorizing spam as seen below. I hope it’s only a UI bug, but something deeper down is definately rotten.

Categories
On the web

The OpenBSD Releases Process

Theo de Raadt talks about the OpenBSD Releases Process.  It’s short but sweet little interesting talk that touches a lot of different aspects about releasing software and doing development. I hightly recommended to anyone who cares about this field, that ought to mean any people doing software. They have a different way about thinking about a lot of things, of course their focus on security is special which also shows off in their release management. What I really liked was that they import stuff into their tree and then they take ownership of it. That way, I think, they avoid a lot of the problem that plague e.g. Ubuntu, like crappy intel drivers in latest Jaunty, the thrashing hell failure, unstable tracker in Jaunty. Of course all that comes at a certain cost, they are running ancient version of some pieces of the tree,  but at least they know that it works.

Categories
Blog

Running Chrome in Ubuntu

Getting Chrome running in Ubuntu is now pretty easy, simple add the following line to /etc/apt/sources.list:

deb http://dl.google.com/linux/deb/ stable main

Then you can install Chrome using the package manager and it will keep itself updated. Sadly the browser is quite alpha (no flash, random errors, no tabs saving on exit) but they update it every week and it runs insanely fast compared to firefox.

Categories
Blog

Making hibernate work after harddrive upgrade

I recently upgraded the harddrive in my trusty old IBM T60. I mirrored the hd using a little dd magic and everything worked fine, including the IBM rescue partition. The only thing that wasn’t working anymore was hibernation in Ubuntu. This was because it relied on wierd UUIDs instead of actual device names. Fixing it was pretty easy, once you know what the problem is. First step is to fix up /etc/fstab so that the swap partition has the right UUID. You can get the UUID of a device using something like:

sudo vol_id -u /dev/sda4

Next step is to fix up the location of the resume partition. Open /etc/initramfs-tools/conf.d/resume and change the UUID to the same as you just put into fstab. Then run:

sudo update-initramfs -u

And you should be running again 🙂

Categories
On the web

Random Ubuntu notes

There’s an annoying problem in Ubuntu 9.04 that if you have set your machine to automatically login, but have a password on gnome keyring manager, then it will prompt you for the password before wireless is enabled. There is a bug about it here on launchpad. And as usual the Ubuntu guys doesn’t seem to want to take responsibility for the software they are providing. Reminds me of this thrashing bug reported over 3 years ago and it’s still open. It’s actiually the first result on google (out of 544.000) if you search for thrashing hell 🙂

Another thing I noticed was that I was looking through the system messages and found the following wierd message.

Jul 17 16:46:35 arj-laptop pulseaudio[3290]: main.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges:

Jul 17 16:46:35 arj-laptop pulseaudio[3290]: main.c: We are not in group ‘pulse-rt’, PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.

Jul 17 16:46:35 arj-laptop pulseaudio[3290]: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of ‘pulse-rt’, or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.

Which was easy enough for me to fix (sudo addgroup arj pulse-rt), though it still would have been nice if this was done properly. This might help some people who has been getting skipping music.

Categories
Books

How to Win Friends and Influence People book review

What a title for a book. The book was recommended by Joel Spolsky, he calls the book mandatory for what managers in his Fog Creek Software should read. That was what peaked my curiosity at first, then I read that the book is from 1936 and I was really intrigued. So I thought I’d order the book and see what all the fuss was about. And glad I did! The book is full of interesting anecdotes and advice that still rings as true today as the day they were written. It’s funny to read examples from the 1899, but that really doesn’t make them less true, on the contrary, it just shows that he was onto something fundamental in the human nature. The book touches many aspects of life, from business, to family to friends.  On wikipedia all the advices are summed up, but I really recommned that you read it for yourself. It’s worth it.

Categories
nemo

Nemo 0.2.4 released

Nemo is not quite dead yet. It’s been a long time since the last release, as I’ve been super busy with external contracting work at IOLA so I havn’t really had time to work that much on Nemo. There are some interesting things coming up in the Nemo space in the future, so far I can’t say much about what they are since they are still quite a bit up in the air, but be sure that Nemo is not dead yet 🙂

Categories
On the web

The right medium

Just finished reading Jeff Jarvis book What Would Google Do. It’s an interesting study of applying google thinking to a wide range of other businesses. In the book he mentioned the Is google making us stupid article, which mulls over what happens if we can just search for everything, do we even need to remember anything anymore? And what happens if we shift our reading from books, to blog posts, to 160 letter twitter posts. Does that make us more stupid? Of course not! The only thing that twitter, blogs and facebook is making us better at, is choosing the right medium to convey our message. That is to say, in a more effecient way.  Some ideas are best presented in a book, some in a blog post and some in twitter. Too often books could be cut in half (anyone else noticed that the sweet spot for books seems about 200 pages?) and sometimes a blog post might as well have been a twitter status update. It’s all of matter of choosing the right medium.

Luckily ideas can start out as a simple twitter post or idle chat in the hallway and then turn into something bigger. We often play around with ideas at the IOLA office. Sometimes they end at the drawing board, either discarded or put into the ever growing stack of fun ideas to try out when we got time, and sometimes they turn into sometimes bigger, like Nemo or YayArt. The interesting part of course is always what happens when you show your ideas to the world. That is often the litmus test, will people take the idea and run with it, or was it dead before it even started.