-->

Kubuntu vs Debian

Wednesday, May 5, 2010

For the last couple of years, I’ve been using Kubuntu on the desktop and Debian on the server. Initially, I used Debian both places, but after feeling that Debian on the desktop didn’t give me an unified look ‘n feel, I decided to try out Kubuntu.

I recently decided to visit that decision again. After trying out both Kubuntu and the Kubuntu remix (and Ubuntu remix), I decided to try Debian on the desktop again. The experience has been pretty good, although I think most of it is how far KDE has come since I used Debian on the desktop.

Kubuntu pro
1. Unified look’n feel (still)
2. Most things just work (keybinding etc)
3. Out-of-the-box home encryption

Kubuntu con
1. Too many applications installed that I don’t use. Uninstalling them breaks upgrade path
2. Upgrade is not smooth (compared to Debian)
3. Too much control given up in name of user-friendliness

Debian pro
1. Pick ‘n choose exactly what I want installed
2. Same system as I use on servers
3. Easy upgrade path

Debian con
1. Still not unified (Iceweasel on KDE looks horrible)
2. Difficulties implementing fileencryption with ecryptfs

Still haven’t really decided. Right now I’m running Debian/KDE Plasma Netbook on my EeePC, Kubuntu Lucid Lynx on my workstation and Debian on my servers.

Filed: 22:24 UTC in linux

Intel Rock Star commercial

Sunday, October 11, 2009

Filed: 19:20 UTC in technology

Nokia N97 review

Sunday, September 6, 2009

Recently upgraded my phone to the Nokia N97. It was a huge upgrade to the N70, since it came with wireless connection and a proper browser.

  1. Touch screen. Not as responsive as Apple’s iPhone. Somewhat inconsistent interface (sometimes you can use the whole screen to scroll, other times you need to use the scrollbar at the side).
  2. Navigation/GPS. Works great, includes voice navigation. Drove from Drammen to Lillestrøm and back (about 55 km) without much problems. Navigation controls is somewhat confusing. And direction sometimes gets confused (you’re on a highway and it ask you take continue pass the intersection when you drive over an overpass etc)
  3. Browser. Works OK. Opera Mini does better caching. That is, the included browser is good, but when you navigate back to a previous page, instead of loading it from the cache, it will try to download the page again.
  4. Ovi Store. OK. Not sure how to compare with Apple’s AppStore since I’ve never used the latter. Ovi store is somewhat redundant in Europe since there are so many other places you can download and install S60 software
  5. Email. Still crap. Can’t move email from one folder to another in IMAP

Overall, I must say I’m happy with the phone and would probably recommend it with some caveat.

Filed: 18:02 UTC in email,gadgets

Journal

Sunday, November 16, 2008

I’ve been looking for a good software to help with writing a journal/diary. Although I didn’t know exactly what i had in mind, there was a couple of features I thought I needed (and which I has discovered I needed as I tried out the different software packages that exists).

1. Ease of start writing. I don’t want to jump through hoops to just start the writing process.
2. Browsable/searchable. I need to be able to easily go back to previous entry, or at least be able to search for them.
3. Preferably text file format. In case the program stop working or I want to upgrade/change program, I rather the files that are created are in a common format. Making it hard to move away from a program means that developer don’t have faith that people will stay program voluntarily (yes, I know there are some efficiency reasons for going binary).
4. Simple. KISS principle

Wikis
Wikis are interesting. They pretty much cover 1,2 and 3. The problem is, I don’t want to install a webserver on my home system just to be able to write to my journal. Also, the browser isn’t the best editor in the world. I do have WordPress installed on my public webserver, so I could in theory create a private section. But again, I don’t think a browser is the best editor.

Kontact’s Journal
Journal that comes with Kontact is pretty basic. Since I already use Kontact as my primary mail client, it wasn’t that much that difficult to use Journal.
The problem is that Journal is too basic. Once you write an entry, there is no way to find it again. There are no indication in the Calendar whether a given day has a journal attached to it. So you have to pretty much go to each day and check whether the journal entry you want is there or not. There is a very rudimentary search, but sometimes you want to just browse.

Emacs
Now, Emacs being the all-in-one editor probably had something I could use.

journal-mode had everything I really needed. Problem was that it wasn’t maintained anymore. No support for Emacs 22 and beyond, which is a problem.
planner-mode forced too much structure. Programs should conform to me, not the other way around.
muse-mode made it easy to start writing. But it has the problem of structure. I wanted to be able to browse my journal by period and tags. I could set it up manually, but really… the program should take care of it.

org-mode. The perfect module, so far. It fills all four of my needs. It took my less than an hour to wrap my head around it to use. Org-mode also seems to be extendible enough for me to use in other parts of my life (like a day planner), which means that I can become more productive the more time I spend on it. So far, after 24 hours of use, I consider it a keeper.

Note: Sasha Chua has an blog entry about the topic. She also has lots of articles about using Emacs to its fullest potential.

Filed: 11:34 UTC in software

Coding – home vs work

Sunday, November 9, 2008

One thing many of my non-developer friends ask me is why I would code at home when I do the same for work. For me, there is a world of difference between coding at home and coding at work.

Coding at work means that you are basically stuck with the technology and project that management decided. If you are lucky, you might be part of a project from the beginning and can influence some of the decisions. Still, once decided, there are probably not enough time to make changes later (as much as the agile paradigm promises otherwise).

Working at home means you set the speed. If you do something you are unhappy with, whether it works or not, you can always change it. Since you are basically the management team, you can choose the technology and tools. I also feel like I learn more coding at home, since there is more time for experimentation.

One thing that you need to be conscious of when coding without deadline is limiting the scope. It’s much easier to never be happy with the work, and therefore never finish. One of my favourite windows managers, Enlightenment, seems to be a example of this (DR17 has been in development since 2000).

Still, tinkering at home keeps me interested in coding, so that’s why I do it…

Filed: 9:30 UTC in Uncategorized,developement

Password

Sunday, September 21, 2008

I forgot my password.

I had this brilliant idea of protecting the documents on my laptop with encryption some time ago in-case it ever gets stolen. And of course, encryption is useless without a good password. And now I forgot the password. And the backup doesn’t cover the latest stuff…

At least I decided to cut down on the number of unique password I have to remember. If only I could figure out what the password was for this particular set…

Filed: 20:48 UTC in life,technology

Amending the checkin

Sunday, June 1, 2008

After finishing a particular software feature, I like to check in my work. The problem is, I get into a dilemma. Do I check in now, or wait until I’m sure the feature works as advertised. If I check in now, then I might discover that forgot to add something else to the checkin. If I don’t check in now, I might start on another feature, and then it gets messed up.

git has a wonderful feature that fixes this. git commit –amend. Basically, you commit your changes. Later on, you realize there were some other files that should have been committed alongside the first commit. So you just amend the previous commit with your new files. Really nice feature, and should make the history logs much nicer to look at.

Filed: 9:42 UTC in developement

KDE4

Thursday, May 1, 2008

I’ve been playing with KDE4 for awhile now since Kubuntu released 8.04. Although it’s a little more polished and useable than when I tested the 4.0 release, it’s still not quite there yet. That is, it doesn’t give compelling reason to switch from KDE 3. That said, KDE4 is beautiful.

One of the complains against KDE that it wasn’t very beautiful. It was very functional, but beauty… To me, it was like most enterprise level software. Functional, does what you need it to do, but it’s not a thing of beauty (if you want beauty, check out what Apple is doing with their stuff). KDE4 is beautiful. The artwork team in KDE has done a really good job. And with the addition of 3D accelerated graphics, it actually feel smoother too.

I really look forward to what the KDE team has in store for v4.1 and beyond. It’s going to be an exciting year.

Filed: 12:37 UTC in linux

cross-platform development

Saturday, April 5, 2008

One of the problems of doing cross-platform development, is that you don’t necessary know what the environment will be at the person who is compiling your software. So, you need to be able to check this and maybe notify the user what additional software needs to be installed. You also want your build system to be flexible enough to maybe work around issues and options.

I used to write the build system for the unix development at my previous work. Since the target was limited to HP-UX and Solaris, it was somewhat easy to just create a script which figured out which platform we were at, and then copy the platform specific Makefile to the right location. When I started working on my own private projects, I wanted to make it more robust. Initially I was looking at the automake/autoconf systems. I found it a little too complicated for my needs, although autoconf by itself might have been useful. I still find it somewhat troubling to have to learn another language (M4) to write the configuration files. To me, configuration files that generate the Makefiles should be as simple as possible.

While I was investigating and trying out build systems, I heard that KDE had started using cmake. This made me at least a little curious about it.

The initial impression was that cmake makes it really easy to get started. I was up and running faster with cmake than I did with the autotools chaintools, and almost as fast as writing my own Makefiles. Now, my projects aren’t as big as the KDE project, but if it works for them, it should work for me.

One of the problem I found is the some problem I have found with most cross-platform tools: it has to target the least common denominator. Some of the features seem to indicate that cmake was first developed on Windows, or that developers were primary Windows developers. For instance, there wasn’t a good way to clean up custom generated files using cmake, as in you could make clean target in Make have a dependency on something else, so that that something else also got removed when clean was called. Reading the faq, this seems to have been fixed in 2.4.

Although I haven’t done anything complicated with cmake yet, so far I have been pretty happy with it. It isn’t much more complicated than handwritten Makefiles, and it should save me tons of work on porting.

Filed: 10:13 UTC in developement

Kubuntu 8.04 (Hardy Heron)

Monday, March 31, 2008

I’ve decided to reinstall my Linux system, and in the process upgrade to the next Kubuntu version, 8.04, also known as Hardy Heron. I usually don’t like to reinstall my OS when I upgrade to a new version. One of the reason I decided to move to a Debian distribution was that I didn’t have to reinstall during upgrade. Unfortunately, when I initially installed Kubuntu 6.06 (Dapper), I made the / partition too small. Although it was big enough for normal usage, during upgrades, with multiple versions of the kernel, firmwares and kernel modules, it got too tight. Hopefully, the current size of 1 Gb should be enough.

In general, I hate reinstalling an OS. Mostly because I spend some time customizing it, writing scripts to help me in the day-to-day work. Most of the time, I forget to backup these scripts, so I have to recreate them once I notice they are missing. Mostly finding everything to make the desktop look and feel exactly as I had it before I made the upgrade do take time. Of course, I’m also finding functionality that I’ve never noticed because they have been hidden because of customization, or I just hadn’t looked.

Although I stopped installing beta software (unless force to it), I’ve been pleasantly surprised by the stability of Hardy. Stuff like hibernation and suspension that I previously had problems with, works now. I never got the kernel in Gutsy to boot, so I had to be content with the kernel from Edgy, but 2.6.24 works perfectly now. And Kontact seem more stable than previous versions. The addressbook has gotten a much needed speedboost (when using LDAP), although it still doesn’t expose all the fields. This version seems to be a keeper.

Filed: 19:56 UTC in linux,software
Next Page »