I have been running this site on top of Drupal, because I felt that platform would be awesome to build something on top of. That feeling hasn’t changed, but what has changed is that I’m not that much actively building anything here. I might occasionally write a blog post or so, but all the grand plans I had for the site are on hold since I have other things to do in my life at the moment.

The issue with drupal is that I’m forced to update the underlying CMS quite often since it’s a quite popular platform, also among hackers, which gets security patches. So my options at this point was to either upgrade my Drupal 6 installation to 7 or upcoming 8 or then find something else. I chose the last option.

So I’ve decided to use Jekyll as the basis for the new site. Jekyll uses a specific folder structure where the content relies and generates a static web page from there. Hooray! This means that I have no dynamic CMS under the hood which needs to be updated and thus be more relaxed about stuff here. The only really dynamic part I had in the Drupal-site was the comments. Now I’m moving to Disqus like all the hip guys, so the old comments are lost. Not that there were too many of them anyway.s

A couple of technical notes.

  • Installing Jekyll using some Ruby-things was a breeze. It involves gems and bundles and other such things I don’t quite grasp yet.
  • Importing my existing blog posts straight from the MySQL database was also a no-brainer
  • To up my hipster score I ended up using a theme called HPSTR. It required me to install this bundles thing and manually copy some stuff from the template to make pages fancy, but this also was quite trivial in the end. It also included Google Analytics stuff, Disqus and responsive layout out of the box, so it was perfect for me.

So here it is, the new page. If you notice some weirdness or things not working or if you, good heavens, should be missing some of the old content, please comment below. The commenting might even work.

Now only if I’d manage to somehow get this published…

When using Vaadin plug-in with Eclipse and having Vaadin 7 application, you might stumble upon the somewhat cryptic error

[code]Error instantiating servlet class com.vaadin.server.VaadinServlet[/code]

when trying to debug or run an application on a server (which was Tomcat in my case). Or the error is quite clear, that the servlet class cannot be found, but at least the reason is a bit harder.

The solution to this is to make sure the Ivy libraries are also included in the assembly that is deployed to the server. This you can do by right clicking your project and selecting

  1. Preferences
  2. Deployment assembly
  3. Add..
  4. Java Build Path entries
  5. Selecting "ivy.xml"
  6. Finish
  7. Redeploy/restart server

Hopefully this helps you move forwards with your project.

My phone gave up and the circuit board of it had to be replaced by Nokia service. This resulted in loosing all unbackuped data from phone. (Needless to say, it was quite long since I’d made a backup.)

I’ve been syncing my Google Calendar to my Nokia E55 S60v3 phone for a while with Mail for Exchange and that works smoothly as long as you have on one Google Calendar to sync to. I thought I’d give it a try to sync my contacts to Gmail also, since I’ve already set up MfE.

First step was to backup everything both on the phone and exporting Gmail contacts.

Then setup the MfE as kind Googlers have described here.

Then I just choose to fetch contacts and erase phone info in case of conflicts.

Result? It wasn’t a first sync, it was more erase and fetch. That is all my phone contacts were lost. Great.

Restore contacts from backup to phone. Gmail imports CSV files with contacts, but Nokia Ovi Suite 2 does not provide CSV export of contacts (!!). Luckily I had Nokia PC Suite installed also, so exporting my contacts as CSV file and importing to Gmail. After some merging I had a nice list of contacts that felt right.

Redoing the “erase and fetch” first sync with Gmail did get me a nice list of contacts indeed. Some weird things happening with multiple phone number contacts and company only contacts, but otherwise ok.

After some manual debugging and re-syncs, I figured out the following caveats:

  • work fax numbers sync ok
  • if you have both home and work numbers, home must come before work for both to show up
  • numbers of type "other" will not show up in Nokia. All those that were of type "work mobile", "home mobile", etc belongs to this category
  • if you have numbers of type mobile alone they work, but if added home or work numbers to same contact, they work not so well
  • if you have two of the same type of number (mobile, work, home) only one shows up
  • two untyped email addresses sync to one "email" and one "work email"
  • one "other" email and two "home emails" become email + email home + email work in sync

This leads to some confusions. To be (quite) sure about syncing working properly, use only work and home type numbers and mobile type only if no other numbers present for contact. What to do if there are 2+ numbers for a contact, I have no idea at the moment.

Hopefully this will help someone who’s struggling with Gmail and Nokia contact syncing.

Short note how to setup your own Trac (0.11) on kapsi.fi (where I run my services): - cd ~ - mkdir trac - trac-admin trac initenv – Fill in name – SQLite probably is enough – No VCS – No repo - trac-admin trac deploy sites/mysite.example.com/www/trac - cd sites/mysite.example.com/www/trac/cgi-bin - rm trac.cgi trac.wsgi - chmod 755 trac.fcgi - Browse to http://mysite.example.com/trac/cgi-bin/trac.fcgi/

Clean up URL - cd sites/mysite.example.com/www/trac - vim .htaccess - Put this in the file: RewriteEngine On RewriteBase /trac RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /cgi-bin/trac.fcgi/$1 [L,QSA] RewriteRule ^$ cgi-bin/trac.fcgi [L] - Browser to http://mysite.example.com/trac/

I might later on describe how to setup with MySQL and connect to some VCS (Git or Hg). This if I find time and interest.

So,

Just recently I got time and some extra cash to upgrade my home desktop computer. My old one was bought back in 2003, so it was time to move along.

I had a budget around 1000€ and this did not include a screen, keyboard or mouse, but a color inkjet printer to our network was a must.

I bought half the stuff from Jimm’s PC-Store and the rest from Multitronic. Got wrong CPU from Jimm’s first and the graphics card delayed the Multitronic delivery for some time, but otherwise it went smoothly. Got a HDMI-cable as compensation for the trouble from Jimm’s, so I have no issues with them.

This is what I ended up with:

  • Case: Antec Three Hundred Ultimate Gamer Case
  • Case fan: Noctua NF-S12B-ULN
  • PSU: Corsair CMPSU-650TXEU
  • Motherboard: Asus M4A78T-E
  • CPU: AMD Phenom II X4 965BE 3.4Ghz
  • CPU cooler: Noctua NH-U12P SE2
  • Memory: Kingston 2x2GB 1333MHZ DDR3 NON-ECC CL9 DIMM KIT
  • Hard disc: Seagate Barracuda 7200.12 1TB SATA2 32MB
  • Optical drive: LG DVD+/-RW DL 22x, SATA, Black
  • OS (primary): Windows 7 Home Premium 64-bit EN
  • OS (secondary): Kubuntu 9.10 64-bit
  • Graphics: Asus Radeon HD 5770 (EAH5770/2DIS/1GD5/V2)
  • Bluetooth: A-Link BLUEUSB21 Bluetooth 2.1 USB-adapter
  • Printer: Hp DeskJet 5560, WLAN/USB printer
  • The final price tag for this was 1070€ and a number of hours to set all up. All in all, it works really nice. I count on being able to surf, code and do casual gaming for some years to come. Kubuntu and the graphics card did not play well together first. Mainly because I've never really taken the time or interest to configure X.org manually, so I have no idea why the Ati Catalyst 10.1 and 10.2 drivers failed to install setup X.org properly. Last week, however, the Catalyst 10.3 package showed up for downloading and saved my Kubuntu graphics. Now it's prettier to watch. For those of you who've never setup a HP WLAN network printer, it goes like this: - Install huge software package on computer (OS X and Win 7). - First time connect printer to computer and fetch WLAN settings and stuff from network (WPA2 protected). - Make huge HP software find the printer from the network. To my great surprise the printer works even after I screwed up my DHCP leasing list and gave it another IP address, so thumbs up from my part. EDIT: Here's some benchmark results. Geekbench: http://browse.geekbench.ca/geekbench2/view/219700 Futuremark 3DMark Vantage: P9961 3DMarks (CPU 11623, Graphics 9508) Futuremark PCMark Vantage: 7919 PCMarks