Thursday, March 3, 2011

Got tired of the Mac-look

I got a bit tired of the Mac look.

So I completely changed the look of my desktop.

  • I switched to Cairo dock
  • I started using Emerald theme manager. This enables you to modify the window borders exactly how you want them to be. In my case partly transparent for the active window, fully transparent for inactive windows.
  • Icons are Faenza.



Sunday, February 27, 2011

A lot of Windows users

By the way: I was just checking the visitor stats.
Many Windows and IE users. Did I convince any of you ti try Ubuntu or XBMC?

Pageviews by Browsers

Internet Explorer
(65%)
Firefox
(26%)
Safari
(3%)
Chrome
(2%)
Opera
(1%)
(FlipboardProxy
(<1%)
Mobile
(<1%)
PicMorphSearchToolbar
(<1%)
Ubuntu
(<1%)

Pageviews by Operating Systems

Windows
(79%)
Other Unix
(15%)
Linux
(2%)
Macintosh
(1%)
BlackBerry
(<1%)
Nokia
(<1%)
iPhone
(<1%)

Choppy playback XBMC solved

A couple of weeks ago I switched from an internal HDD in my HTPC to a NAS.

Some time ago the HDD in my HTPC broke down (it was a WD 2TB EcoGreen disk). I replaced it with a Seagate 2TB drive. But even though I backed up all of my photos and music and most of my movies it was still a lot of work (and time) to copy everything from the USB drive to the (new) internal HDD.

So I decided to get a NAS with two 2TB HDD's in RAID1 configuration. I chose the Synology ds211.
I read some positive reviews on the dutch site tweakers.net (these reviews are for the DS211J). I chose the DS211 because of the slightly faster processor and more RAM.

Especially the many possibilities that the included software offers is a big PRO (among other things: newsgroup downloads, torrent downloads). Another big improvement is the low power usage: 22W when both discs are spinning, 10W when both discs are idle.

But that isn't what this post is about: after reinstalling XBMC to a small SSD I used to replace the internal HDD I experienced choppiness while playing some video files. It was especially visible during panning. (by the way: the SSD reduced the boottime to about 25s!)

It turns out that this is caused by a mismatch in refresh rate of the TV and framerate of the video file. Many video files have a framerate of 24fps, the refreshrate of the TV is 50Hz. Luckily the XBMC crew has solved this problem: you just have to know what options to turn on. Well here it comes:

  • Go to "Settings"
  • Go to "Video Settings"
  • Go to "Playback"
  • Turn ON both "Adjust display refresh rate to match video" and "Sync playback to display"
Especially the first one is important: It sets your TV refresh rate to 24Hz. What happens otherwise is that the video frame rate of 24fps does not "fit" on the TV refresh rate of 50Hz which leads to a jitter in the video about 2 times per second.

Now playback is as smooth as silk. Enjoy!

Monday, February 14, 2011

My videogames history

Don't know what got me thinking about this. But here's a list of the most memorable video games I played the last 25 years. I added the systems on which I played 'm.

And by clicking on the image below, screenshots of all belowmentioned games can be found (well that's a work-in-progress).
2011 - Game_images

Commodore 64

  • Snoopy (1984, C. Kramer)
  • Pole Position (1983, Atari)
  • H.E.R.O. (1984, Activision)
  • Donald Duck's Playground (1984, Sierra)
  • Donkey Kong (1981, Nintendo)
  • International Soccer (1983, Commodore)
  • Pac-Man (1983, …)
  • Pitfall (1982, Activision)
  • Pistop (1983, Epyx)
  • Wonderboy (1987, Sega)
  • Dr. J vs Larry Bird (1983, EA)
  • Decathlon (1983, Activision)


First PC (Tulip x86, monochrome screen, NO HDD, NO extended RAM, only 640KB base memory)

  • Test Drive (1987, Accolade)
  • Blues Brothers (1991, Titus Software)
  • Prince of Persia (1990, Broderbund)

Nintendo Entertainment System

  • Super Mario Bros 1,2 & 3 (1985-, Nintendo)
  • Super Off Road (1989, Virgin Games)
  • Gremlins 2 (1990, SunSoft)
  • Nintendo World Cup Soccer (1990, Nintendo)

PC (486DX 33MHz, 4MB ram, 40MB HDD). Around 1990.

added a 512MB HD, Soundblaster and CD-ROM later on.

  • Space Quest 3 (1989)
  • Stunts (1990, Broderbund)
  • Mortal Kombat 1-2 (1992-1993)
  • Grand Prix Unlimited (1992, Accolade)
  • Grand Prix (Microprose, 1992)
  • Dune II (1992, Virgin Interactive)
  • Wolfenstein 3D (1992, id software)
  • Doom (1993, id software)
  • Beneath a Steel Sky (1994, Virgin Interactive)
  • Under a Killing Moon (1994, Access Software)
  • The Need for Speed (1994, EA)
  • FIFA Soccer 95 (1994, EA)
  • Raptor: Call of the Shadows (1994, Apogee)
  • FIFA 96 (1995, EA)
  • Discworld (1995, Psygnosis)
  • Discworld II (1996, Psygnosis)
  • Syndicate (1993, EA)
  • Micro Machines II (1996, Codemasters)
  • Simcity (
  • Railroad Tycoon (
  • Worms (

PC (Pentium II, 266 MHz, ?? RAM, ?? HDD). Around 1998.

  • Command & Conquer (1995, EA)
  • Duke Nukem 3D (1996, 3D Realms)
  • Grand Prix 2 (1996, Microprose)
  • Need for Speed II (1997, EA)
  • Colin McRae Rally

Playstation 1

  • Crash Bandicoot (1996, SCEA)
  • Several FIFA games (1999- , EA)
  • Formula 1 97 (1998, Psygnosis)
  • Gran turismo (1998, Sony)
  • International Superstar Soccer (1998, Konami)
  • ISS Pro Evolution (1999, Konami)
  • Metal Gear Solid ( , Konami)
  • Syphon Filter (1999,
  • Tekken
  • Tomb Raider (1996, Eidos)
  • V-Rally (1997, Infogrames)

PC (Pentium IV HT, 2.4GHz, 1GB RAM, 40GB HDD). Around 2003(?)

Not really used to play games.

Wii

  • Mario Galaxy
  • Call of duty ??
  • more to add later on

PC (AMD Athlon II X4 620, 4GB RAM, 60GB SSD, 500GB HDD)

Only Torpia (www.torpia.com)

Wednesday, December 29, 2010

Airflow in my HTPC

Today I added a fan to my HTPC. When I removed the original PSU and put in a PicoPSU the only fan that was providing airflow through the case was also removed.

This was kind of the point of placing the PicoPSU as the fan was making way too much noise. However it also meant that all the hot air generated by the CPU keeps hovering around in the case.

That just doesn't feel right so I ordered this fan.
I made a small bracket to mount it on and fill the hole that the old PSU left behind.

Result after slowing down the CPU fan to the lowest possible speed: CPU temperature 35C and GPU temperature 45C.

Tuesday, December 28, 2010

Installing an SSD

Recently I made another fine addition to my Ubuntu powered desktop system: an SSD drive (more specific the 60GB version of this). Installing it took some tweaking and I'm not gonna take all the credit for this. This post describes exactly what I did, the posts above that one show the help I got.

I have to add that I changed the swap space back to the HDD. For some reason mounting the swap space on the SSD takes about 10s. I don't know why, so if someone has a bright idea: tell me, I'm all ears.

But now for the results (I used bootchart to visualize):
This is the bootchart with the HDD.

And this is the bootchart with the SSD.

Installing the SSD shaved about 10s off the boottime. Looking a bit closer reveals that this is almost completely realized by a much faster completion of ureadahead. The much higher throughput of the SSD is clearly taken advantage of.

Some stopwatch results:
With the HDD:
  • 25s from grub to login
  • 20s from login to Firefox ready to use
With the SSD:
  • 10s from grub to login
  • 12s from login to Firefox ready to use.
So again it makes quite a difference, although it's kind of a bummer that getting to grub also takes 10-15s. But this is the BIOS booting, so there's little I can do about that.

Besides a reduced boottime the overall user experience is better: every program starts faster, I have no way of measuring this though...

Friday, October 29, 2010

Some tweaks to XBMC

Okay so I re-installed XBMC live on my HTPC (my hard drive gave out).
Still some stuff just wouldn't work. Took me quite some time to figure it out. So I thought I'd post it here, maybe it's of some use for someone. I installed a LiveCD from XBMCfreak.nl.

First of all I had no sound whatsoever. I've now got sound over the optical cable (SP/dif). The settings I used:

- In System - settings - audio output:
- Optical/coax
- speaker 5.0
- all three buttons ON
- audio output device: iec958
- Passthrough output device: iec958

Before my hard drive crashed I had audio over HDMI (just to the TV) and over the optical cable. I'll have to look into that again... I'll post it when I've fixed it. For now at least I've got sound.

Secondly I had no internet connection. Turned out that some settings in the "interfaces" file were wrong. This is how I solved it:

- Check what connection is set in "interfaces" in /etc/network (eth0 or eth1)
- Enter "ifconfig -a" in the terminal on the XBMC machine. Does this match the settings in "interfaces" (both eth0 or eth1?)
- If not. Change the setting in "interfaces" to match the output of ifconfig and save. (If it is the same I guess you've got a different problem)
- Then enter "sudo /etc/init.d/networking restart" and it should be working.

Finally I wanted to change the keymapping for my remote. That wasn't too difficult:
Create a file named "keyboard.xml" in ~/.xbmc/userdata/keymaps

In this file you can add/change the default settings by using this layout:

< .keymap>
< .global>
< .keyboard>
< .t mod="ctrl,shift">FullScreen< ./t>
< ./keyboard>
< ./global>
< ./keymap>

- Remove the space and period after each "<" I had to do this to prevent the browser of thinking it's html...

You only need to put the keys you want to change in this file. For the other keys the XBMC default will be used. For more info see here. The default XBMC keymap can be found here.

Hope it helps! Any questions: let me know. And also, if you've got a solution how to get sound over HDMI, let me know.

Sunday, October 17, 2010

Customizing the looks of your Ubuntu desktop

After using the standard Ubuntu desktop layout for a while I found myself wanting a different look. And contrary to Windows or OSX the look of your desktop can be customized completely.

Every icon, bar, panel or window can be changed. Of course it's kind of a hassle if you'd have to do all this by yourself.

Although I don't like Apple's closed source business strategy, I do like it's design. So I made my Ubuntu Maverick look like OSX.

There's a very easy way to do this: MacBuntu.
Download, run the install.sh script and your Ubuntu desktop looks just like a Mac desktop, including the dock at the bottom of the screen. I have to mention I tweaked this install script a bit because I wanted to use Avant window navigator (available in the Ubuntu Software center) instead of docky. (I deleted all lines that were are related to Docky). Furthermore I did not want my top panel to change. Apple uses "global panel" a top panel that changes according to the application that is active. I've tried that on Ubuntu in the past and it wasn't a great success. I blocked the lines that are responsible for changing the panel set-up.

This is what my desktop looks like now:

You even get the sweet animations when minimizing a window:

Let me know what you think of it!

Saturday, October 16, 2010

Annoying DRM

Sometimes using UBuntu can be quite frustrating.
Not because of Ubuntu itself, but because 3rd parties are not willing to support Linux in the same way as they are supporting OS X or Windows.

Take for example the Dutch TH channel RTL. They have a site where you can wathc episodes of shows that have already aired: rtlgemist.nl. The site uses MS Silverlight - for which a reasonable open-source version is available in Moonlight. So far so good, BUT ...

For some reason some shows are protected by DRM, which makes it impossible to view these shows using Ubuntu.

It seems quite hypocritical...

Because what OS is RTL running on it's server? Right, Linux...

Thursday, October 14, 2010

VirtualBox

Tried Ubuntu yet? Annoyed by that one application that just isn't available for Linux and won't run under Wine? You probably got an old Windoze XP version lying around.

If so try Virtual Box. It allows you to define a virtaul PC on which you can install Windows XP.
This way you can run Windows in an Ubuntu Window and Windows won't even notice!

CD-rom USB everything works just as you'd expect.

Give it a try!

Sunday, October 10, 2010

Spyder

Well, just upgraded to Ubuntun 10.10: works liek a charm and I quite like the (slightly) different look. But that's not what this - short - blog is about. It's about Spyder.

At work I often use Matlab, nice software but too expensive to - legally - use at home. But now I've found an open source alternative that might be able to replace it for a large part. At least for home use:

Spyder : "a Python development environment with advanced editing, interactive testing, debugging and introspection features. It is especially recommended for scientific computing thanks to NumPy (linear algebra), SciPy (signal and image processing), matplotlib (interactive 2D/3D plotting) and MayaVi’s mlab (interactive 3D visualization) support."

I've only been playing with it for a couple of days now, but I'm still enthusiatic about it.

As mentioned Spyder is IDE for the python programming language. The great thing about Spyder is - just like Matlab - that you don't have to compile your code to run it. I've got little to no programming experience outside of Matlab, but I found is rather easy to use Spyder.

So if you're looking for something like a home version of Matlab, give it a try!

Saturday, October 9, 2010

Build your own HTPC

Okay, I get it, it's been a while. But Ubuntu has been performing excellent! Last week I had the first crash since installing Ubuntu Lucid Lynx (10.04). That's one crash in 6 MONTHS! Try that with Windoze! And tomorrow Maverick Meerkat (10.10) will be released: http://www.ubuntu.com/

But now I've got a new project: a DIY HTPC.

The components:
The software: XBMC. XBMC was originally developed for the XBOX, however with the arrival of HD content is was ported to other platform amongst which: Linux!
To install XBMC I used the ready-made XBMC LiveCD from xbmcfreak.nl (Ubuntu is used as OS). It can't get any easier...

So what can it do?
  • Clearly play almost all media content (photos, video (up to 1080p with surround sound!) and music)
  • Automatically download artists biographies, movie plots, TV serie episode summaries,...
  • Download from newsgroups or using torrents
  • Watch "uitzendinggemist.nl" (the Dutch site to watch TV shows that have already aired) on your TV
Check the XBMC site to get a better idea of how slick it looks!

Monday, February 2, 2009

My first six months with Linux

It's been six months now that I've been using Linux instead of MS Windows. A colleague at work mentioned a Linux distribution that anyone could install and use: Ubuntu. Curious as I am I downloaded the latest version (Hardy Heron) from http://www.ubuntu.com. Installation turned out to be very easy as the site has a very good documentation in a wiki format.

And for all those critics that think Linux is just for nerds, buggy and difficult to use: think again!
This youtube movie gives a good impression of what the interface of Ubuntu can look http://www.youtube.com/watch?v=7QyyC4LRoYI

So what are the advantages, I hear you think. Well how about:
  • Free software (incl. a complete office suit called OpenOffice)
  • No (or very little) viruses. Also the possible damage they can do is way less.
  • Simply no Microsoft ;-)
  • A very friendly community that is willing to help you if you've got a problem (try that @microsoft)
So please, if you got an (old) spare computer: try it! I bet you'll be positively surprised.

In next posts I will describe some other features of Ubuntu and some other open source projects.


Monday, January 26, 2009

My First Post

My first post! Like the title of my blog already says: i'm just gonna write about what's on my mind. Plain and simple. 

And today I was struck by a quote in the book "The world is flat" by Thomas L. Friedman. In a chapter about insourcing Friedman quotes the former CEO of Wal-Mart, David Glass: "One of my concerns is that with the manufacturing out of the country, one day we'll all be selling hamburgers to each other." And although I'm not living in the US, I share his concern. All western societies are moving more and more towards a service oriented society. We hardly make anything. All of that is moved to the Far East or other low-wage countries. 

"It's only the simple stuff that is moved to those countries." Is a phrase that is heard often. And for the moment that may be true. But will it be like that in 20 years? I don't think so. Thousands of ambitious students are graduating from technical universities in China and India every year. They will not want to work at an assembly line and they won't need to. Why would international companies want to keep their development centra in expensive western countries if they can get the same or more for less in China or India? More qualified people are available which are probably more ambitiuos and oh yeah the products are manufactured there anyway, so that makes it even simpler.

Our government on the other hand does not seem to share this concern. They think having an "innovation platform" will solve it all. "We need to invest in the "information economy"", they say (in fact I don't know a better translation for the dutch "Kenniseconomie"). I agree, but we also need to make things, making things is adding value, and adding value is making money. Not all 16 or 17 million dutch people can work for banks (especially now ;-) ). For the moment producing in the Far East may be a good choice, for the multinational company it may be a good choice anyway, but to keep our society the way it is we will have to start making things ourselves again. 

Is there nothing we can do? Of course there is. In fact it's nothing else than normal competition: just try to do better than your oppononents. And just like in sports, there are 3 things you need to defeat your opponent:

First of all: good players. Therefore I hope we can make young students more enthousiastic for technical studies. Economy is fine, but if there is no industry, we won't need any accountants. 
Secondly: good tactics and good equipment. Sportsmen are always looking for the competitive advantage (no not dope). Examples I'm talking about are the fosbury flop (http://en.wikipedia.org/wiki/Fosbury_Flop) and the clap skate (http://en.wikipedia.org/wiki/Klapschaats). Companies are the same they have to keep innovating or others will do it for them. The moment a company stops innovating it's essentially signing it's own death sentence. I can't think of a better example than the American automotive industry. (Watching the documentary "Who killed the electric car" on Google Video makes it even more painful.)
And last, but definitely not least: motivated players that are prepared to go the extra mile. In sports, the most motivated team will often win even if the opponent has better players or equipment. I'm convinced, economy is just like that. And thrust me our competitors are motivated.