Clueless comment on the worldwide financial crisis…

DISCLAIMER: I’m not a US Citizen, and I have no rights whatsoever to talk about anything related to that country, since I don’t belong to its reality. However, this is a personal weblog, and during these days anybody can say anything over the internet, right? So feel free to not take ANY of this into consideration. Thank you!

So Obama was elected, and the people are all the rage about ‘change’. However, democrats are not very well known for making great administrations for the US. It’s a fact that Bush made things hard for republicans by taking up a number of very very bad decisions. So the US people will have to live with the democrats for at least 4 years.

As someone not deeply informed, I haven’t made any research of the roots of the current US financial crisis. However, I’ve stumbled across this, it’s an article showing up how the current crisis was predicted, and how it could be avoided, but it wasn’t. Very good read, makes us think about the sorts of practices adopted by the future administration.

So, I wish the future president the best of luck and good intentions ruling the country. The country will fully need them anyway…


We should be as the linux kernel…

And persevere, no matter what: From

arch/x86/kernel/traps_32.c, L 690:

printk(KERN_EMERG “Dazed and confused, but trying to continue\n”);

Brings us a lesson about how we should live our lives – even on moments where everything seems to be confusing and dazzling, we *must* continue.


Handy joystick udev rules

To make a long story short, I haven’t blogged for ages, and the best way to resume any activity is, well… actually doing it.

Lately, I’ve been doing some experiments on my personal laptop, aiming to make it a good entertainment center, running on free software only. At an appropriate time, I will discuss how I’m proceeding in more depth.

For now, it’s enough to know that I’ve bought some cheap USB joysticks to play some games on this ‘entertainment center’ and, as allways, ended up doing some manual tweaks on the default settings on my GNU/Linux system.

Several games have the bad habit of assuming device paths under the filesystem hierarchy /dev/js*, while on any recent Ubuntu Linux version the udev rules will create the joystick device under /dev/input/js*. While I totally agree with that it’s better to have the joystick devices under /dev/input folder, it was not really good (for my own mental health) having to setup symbolic links manually. So I’ve done the usual udev man page reading and that was enough to solve the problem.

udev is the linux kernel device manager, it allows people to define persistant device names, as well as symbolic link names, triggering programs when a given device is loaded and a number of other interesting features. It’s not really the purpose of this post to give an in depth explanation of udev and unix device files. The bottom line is that udev allows you to define rules about what we are going to do with a given device when the correct module is loaded. Those rules are organized under the /etc/udev/rules.d/ directory. Those rules are applied orderly according with the 2 first numbers of the correspondent rules file.

The rules for persistent input on an ubuntu linux system are under /etc/udev/rules.d/60-persistent-input.rules, then I planned on adding a new rule that should be applied after this set of rules to create symbolic links. I just had to create an /etc/udev/rules.d/61-joystick-symlinks.rules (or any other name that pleases you except that the 1st 2 numbers should be > 60), with the following contents:

# Old emulators have this habit to hardcode references to /dev/js* instead of
# /dev/input/js*. This sucks, hence this rule was put in here.
KERNEL==”js*”, SYMLINK+=”js%n”

This solved the problem, and now my emulator activities are much more plug and play than before 🙂