Name: Paulo Andre'
Member since: 2002-10-01 23:55:07
Last Login: N/A



My main field of interest when it comes to computers are Operating Systems. I'm especially fond of Linux and have used it almost exclusively for a good while now. These days, I'm taking a degree in Computer Engineering and in the long run I'd like to go work abroad, London would be nice, please. On a more personal point of view, I'm a movie/music fanatic, I like movies like The Shawshank Redemption, Fight Club, Trainspotting, etc... and bands like Tool, A Perfect Circle, any decent brit-pop band (Idlewild comes to mind) and of course Nirvana.

If for some odd reason you wish to tell me about something you can find me as fscked @


Recent blog entries by fscked

I f*cked up the ADA test. Oh yes I did. Whatever. Let's talk about happier things.

Kept adding error checking and fixing bugs on the networking assignement. I was mistaking a buffer size and that took me ages to spot and fix, but now the mini-protocol I've created for the client and server to talk to each other seems to be reliable and efficient. I'm hoping it is ready for 'prime time' now. Only thing left to do is writing a little README file as the code is already extensively documented.

Slow but steady progress on the Operating Systems assignment. Most of it is done, left to do is basically interprocess communication and a few calculation-oriented functions. Matrix handling code is written (and well written thanks to vortex) and processing of entered values is working flawlessly as far as we can see. We hope to (and we better) have it done by tomorrow as it is due... yes, tomorrow, you guessed it. Oh and talking about Operating Systems, our first assignment grade came out today. A rather nice 19 out of 20. Hooray.

Spent some time getting eye candy in KDE3.1. Downloaded a few icon themes and decided to stick with the original Noia for KDE. Also fixed an annoying bug in my setup which was pretty much crippling my routing table here. Mandrake was detecting my wireless card and setting it up as eth1. Not only that, it was assuming any request to 192.168.x.x would go through it. Not good. To add insult to injury, I was not-so-wisely telling it to ifdown eth1, resulting in no routing whatsoever to that address space. *grumble* Fixed it for now by not setting up eth1 on boot and thus letting it assume eth0 for this kind of routing.

A few days ago, I was pointed to a rather nice article about a certain functional programming language called K. Here's an excerpt from it which clearly shows how powerful this kind of programming languages can be, K in this particular example:

>   isprime:{&/x!/:2_!x}  / min over x mod right-each 2 drop enumerate x
>   isprime 14
> 0
>   isprime 7
> 1
Analyzing from right to left. We create a list of all integers from 0 to x (exclusive), then we remove the first two elements (2_), so we are left with a list from 2 to x (exclusive). Next we determine the residue of x and each of the numers in the list. Finally, we calculate the minimum of the residues. If the number is prime, then the lowest residue will be 1 and be considered true. If the number was composite there will be a 0 residue for some value.
>   !14
> 0 1 2 3 4 5 6 7 8 9 10 11 12 13
>   2_!14
> 2 3 4 5 6 7 8 9 10 11 12 13
>   14!/:2_!14
> 0 2 2 4 2 0 6 5 4 3 2 1
>   &/14!/:2_!14
> 0

Funky. I've also been reading a bit on Lisp, Common Lisp in particular, and finding beauty in it. Will try to get some time to read a bit more in the next week or so.

It's late again.


April 24th -> April 28th

So I was kind of offline during the past few days, supposedly taking a rest up north.

Back yesterday to face yet again the joys of university and the great load of assignments/tests to do. So the third Computer Networks assignment isn't exactly finished yet. Some error checking as for the file sizes of the transferred files needs to be done and also take care of dispatching possible zombie process (that's implemented already). Unfortunately, I thought I had this one behind my back but it seems to be not quite like that. It's due on Friday anyway but I expect to finish by Wednesday the latest. In the meantime got yet another assignment for this course, the fourth one. Basically it's writing yet another client which connects to a server and runs arbitrary commands there. Deadline: May 17th.

Tomorrow is the Algorithm Analysis and Design test. Unfortunately revising yet again came all down to the day before. This sucks, I'll never learn. Hopefully things are actually under (some) control and I'm not overly concerned as I sometimes were. We'll see what gives. Test is tomorrow at 2pm. I'll let you know how it went afterall. Oh yes, the subjects covered are data structures: Red Black Trees, Tries and B-Trees.

Argh and it's again already too late. Going to quickly tuck into bed, read the (shamefully) regular 10 minutes of Dune and zzzZZZZ



Not having slept too well during the past few nights is taking its toll now. Felt overly tired and sleepy during the day. So I think I'll just make an early retirement to bed in a couple of a minutes and keep on reading Dune (well, yes, even for just five minutes, I'm sure that's just as long as I can keep my eyes open once I tuck into bed).

Anyway, early afternoon finished the codebase for the third Computers Networks assignment and commented it all. I might change a detail or two but I'll see about tomorrow or doing the weekend. Only thing left to do is writing a small report on the design decisions taken. Again, something for the weekend or so, even if I'll be away for the time being.

Also, late afternoon gathered with a couple of colleagues for some brainstorming on the second Operating Systems assignment. Basically it's for us to exercise the use of IPC through the regular fork() and pipe() system calls. Anyway, the underlying subject is basically receving a signal and a filter and computing the resulting convolution function between them. As you probably know, the convolution induces a lot of elementary calculations, namely sums and multiplications so distributing work among child processes makes sense for this. We came up with some cool ideas, usually with performance in mind and you can actually see the result of that brainstorming here. The deadline is within a week, next wednesday, so there's not much time to devote to it considering I'll only be back online by next monday...


Again, long time no see, no write.

Makes me wonder why I can't keep a diary going properly. I know of some distinct cases of people who can actually keep a weblog for quite some time (say, Alan Cox, Dave Jones, or Rik Van Riel) but I, for one, surely can't do it. Still to find out why. Anyway, just felt like writing tonight. And while we're at it, what a shame Alan decided to start writing his diary in welsh.. Hopefully he'll come back to his senses and start writing plain english again. Or not.

So, since last entry (which I can see was by end of January), I guess I'm better off updating on the major changes that happened both in me and in my working/studying environment. In terms of tools, I've decided to make a Linux distribution switch and instead of using my (forever) faithful Slackware, I turned to Mandrake Linux. This is not too important of course, but it was interesting as it happened out of the blue. Basically, Mandrake 9.1 ISOs were out a couple of weeks ago IIRC and I decided to leech them from Uni and give it a try in a spare partition on my laptop. To my surprise (or not) I got it up and running on no more than 10 minutes, not counting some partition tweaking that was in order before I could proceed with the instalation. And buy, was I stunned with the looks of it. I know, looks matter next to nothing, but honestly I've always been AA fonts fan and Mandrake has it nearly perfectly with KDE 3.1. I once tried to get AA with gtk, a good few months ago but gave up waiting for the day when AA fonts ceased to be a simple hack. That day has finally come.

Well, not only that, I also started coding more seriously so I felt the need for a good text editor. And that editor, while FAR from perfect, is KDE's Kate. I hear some of you shouting 'use emacs, you loonie' while others blab about Vi, but honestly I have nor the time nor the patience, at this very moment, to learn how to use any of them. And I confess that if I did so, I'd go for Vi. I've been using it ever since I got into Linux since 97 or so but never got past the basics. Maybe one day. I have no doubts it's as powerful as editors gets. (I said editors, not OSes *hint*).

On a different front, the Championship Manager work is at long last finished and wrapped up. I think we did a good job on localizing it and quite honestly, CM is probably the last thing I want to hear about for a couple of months. Now if I could only get my well deserved $$$..

On the Uni side of things, been pretty much happy coding away on sockets programming. I honestly didn't think at first that it'd be this interesting. Fortunately we're past the _very_ basics, while still at the basics I guess, but the third assignment, which I've nearly finished now, is quite interesting. It's basically a mini-inetd which regulates the date, echo, put and get services. I also wrote clients for those and it turned out to be more challenging that it seemed at first. Anyhow, jolly good fun and I hope I have a good mark on it.

Well, it's getting late (01:48am here) and I better get up early tomorrow. Tucking into bed reading a bit of a book, reminds me to tell anyone who's interested and reading this that I'm finally taking some time (not as much as I'd liked to...) to read Dune, the Frank Herbert classic. Honestly, I'm really enjoying it, it's just a shame I get lost in a multitude of programming tasks, thus not leaving time to read more. I have an enormous pile of books waiting for me to read them, you see. I'm actually taking a few days away, going up north, from Thursday to Sunday but unfortunately I have a test on Tuesday so I'll have to focus on that too instead of releasing myself completely from Uni/technical duties. Tough is the life of a graduate student.

Oh yes, some musical recommendations for anyone who happens to same roughly the same tastes as I do. My bands of the moment right now are: Tool, Evanescence, Opeth, Masterplan, Gotan Project and Cold. Check them out. Well worth it!



Right, the data structures schedule wasn't exactly followed but by the end of last night I finally finished the codebase, everything works now and what's left to do is to write the report and document the code, as usual. I'm expecting this to be a somewhat gruesome task considering my code is arguably overly complex, not to mention a few intricate corner cases. That'll have to do as the deadline is rapidly approaching (tuesday). As for the Algebra test, I'm a bit concerned in that it's next thursday, it comprehends the entire semester and I haven't started studying yet. I think this one is a no-go.

On the CM front, another whooping 2k frases were added. Yay. Deadline is Feb 12th. Yummy.

Not much else is happening really, so I'll go quiet now.

17 older entries...


fscked certified others as follows:

  • fscked certified movement as Master
  • fscked certified akpm as Master

Others have certified fscked as follows:

  • movement certified fscked as Apprentice
  • madhatter certified fscked as Apprentice
  • salmoni certified fscked as Journeyer

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

Share this page