Niath

Weblog by Tiago Boldt Sousa


Porto Linux && Xmas C++

Today, the Porto Linux team joined in a nice Christmas dinner. The event started in the beginning of the afternoon, with some Apache talks. I’ve only joined them later in the evening. The conversation was, indeed, interesting, passing through lots of different subjects, from open-source, education and many, many other!

It was a nice dinner, and it is always good to get to know better the ones behind the emails or posts out there.

Before leaving, we’ve had an open-gift exchange. Everyone was supposed to bring something, like some code, a picture, an image, anything. Since I’ve forgot to print it, I’ll share here the little ncurses based application I’ve wrote to share. Download, compile it with g++ -lncurses xmas2007.cpp and run it with ./a.out. Merry Xmas.

Coding Night

This has been my first coding night. I’ve got a work to deliver tomorrow for my programming class, and, due to the tests, I’ve never got the chance to finish it before.

The work is a simulation problem, coded in C++. We’ve had to simulate a gymnasium, calculating the load of the equipments during the day, with a random number of clients using each one differently. Not that hard, but the lack of practice took me 3 hours around debugging, in order to find this head aching bug inside an if statement.

It is know close to finished, I’ll work on it a bit more now, and, after some good hours of sleep, I’ll try to end it.