Author Archives: João Morais

Fur TV

Do you remember The Muppets?

Well.. Fur TV is composed by some seriously bad ass puppets! I saw the commercials last weekend and got a bit curious of what this show was all about.

Yesterday I had the chance to see it’s first episode at MTV Portugal, and it was really cool, these are puppets for adults.

It’s story is based on three characters that live in the human world and are up to anything.

You can watch the episode that I’ve seen yesterday in here.

MySQL bug related with natural number order fix

It seems that this is a known bug but I only noticed it yesterday.

Imagine you have a field named price and it’s type is VARCHAR (it doesn’t matter why it’s not INT or FLOAT) and you want to use ORDER BY clause so you can list table rows ordered by price value.

It won’t work, since the prices will be listed alphabetically, you may read here how to fix this issue.

Continue reading

How to add new levels to Pingus?

Last week I was looking for games developed with ClanLib and I found this one. For those of you who don’t know what Pingus is all about check it’s entry at Wikipedia, it reminds me of Lemmings.

Actually I’m not a games guy, but from time to time I like to play some classic games (they’re my favorites), and this one fits in this category, it is a very simple game with good story and good graphics.

At this time I finished the “Tutorial Island” (you’ll know what that is after you play the game) and unfortunately that is the end of the game.

Suddenly I got the feeling “Only this? No more levels? I want more…”, and I did a couple of searches and found some how to add new levels to the game.

Continue reading

Gnome took the weekend off…

Last week I’ve been installing and uninstalling stuff from my laptop trying to enable my webcam on Linux, unfortunately with no success.

If anyone has some informations on it tell me something, it’s a Lifetech FlexCam 760MP.

In the meanwhile last Friday I went to Évora and turned my laptop off.

Yesterday I got back, turned my laptop on, and for my surprise Gnome was gone too.. maybe he decided to take the weekend off.

It seems that something got screwed up while I was trying to enable my webcam and I didn’t noticed it till then.

Test your web design in different browsers

How many times have you thought: “Wouldn’t it be nice if there was a tool where I could test my website layout, and see how it appears in different browsers..” ?

Well I’ve got news for you!

The tool you’ve been waiting for already exists, or at least something similar to what you (I) have expected.

It’s name is Browsershots and it’s main goal is to take screenshots of your website in different browsers running on different operating systems.

Fedora 9 (Sulphur)

That’s right new version of Fedora is out, this time it’s codename is Sulphur.

Yesterday I’ve downloaded it and burned it into a DVD. A couple of minutes ago I tried to install it with no success, since it kept giving me kernel panic when booting:

VFS: Cannot open root device “<NULL>” or unknown-block(253,0)
Please append a correct “root=” boot option.

Since I haven’t much time to spend on this at the moment, I decided to re-install Fedora 8. For my surprise it kept crashing on /sbin/loader while booting from DVD.

Continue reading

emesene

Till a couple of minutes ago I was using aMSN, now I changed to emesene.

One thing that made me change was the annoying “titles”. If you are listing your contacts by group it will slow down your client, this only happends in 0.97 version, in older versions I didn’t noticed this reaction.

About emesene I’m happy with it, it has the regular features that an MSN client should have and a couple of new ones. I can say that it is a Windows MSN clone without the crappy features.

It’s also written in Python, and that means it is portable.

SRP160 – Review

In the past Saturday around 06:00 I went to Serpa, I got there around 07:45 and that was time to take a few pictures to the people that was going to participate in SRP160.

There I met some nice friendly faces, everyone wanted to be photographed, so I took as many photos
as possible.

Unfortunately I could only take photos at the startup line, finish line and at the supply zone #1 of the half marathon, maybe next year I will be able to take some more in different places.

You can view the photo album here.

The event in general was very good and everyone was happy.

Doxygen

Doxygen is the tool we are using to build our Multimedia Contents Production (MCP) project documentation.

In the past I have already tried PHPDoc, that has the same goal as Doxygen which is: to build documentation based on the comments you have written in your project code files.

I have never used a documentation generator tool before in a serious/big project, so this is the first time. The adaption process it’s kind of easy, since the comments style that I use in all my projects is very similar to the one we have chosen in Doxygen. It also has a tool named doxywizard that helps you to write Doxygen configuration files easily trough a nice and clean GUI.

Doxygen supports a lot of programming languages, including my favorite (PHP) maybe I’ll use it in my future PHP projects too.

You may take a look at Doxygen at it’s official website.

SRP160 – Skip to the next level!

If you want to skip to the next level… you should be present at the 1st Ultra Marathon of Mountain Bikes made in Portugal, that is SRP160.

The event will take it’s place one week from now at the beautiful city of Serpa. The main goal for the participants is to run 160 kilometers on their bikes for the period of 12 hours, or 80 kilometers if they choose to participate in the half marathon.

If you love this sport you can’t loose this event! Take a look at the photo gallery and you will be marveled with the landscapes presented there.

All the informations you may need are at the official website, located here. You can also find me in the event day since I will be part of the staff, so if you have any questions feel free to get in touch.