Building simplicidade.org: notes, projects, and ocasional rants

Notes

last update:

Why Intel?

Let’s say that I buy into all this stuff about Apple switching to x86 chips. I don’t, but let’s assume I do. Why Intel? Why? Why not Opteron? It’s a superior architecture, and the PowerMacs already use HyperTransport… Well, will soon find out what this is all about. The only sure thing I know, is that Jobs does not announce the switch to x86 chips next week, CNet and other will have a lot of explaining to do to it’s readers :).

Ruby on Rails, and Catalyst

So, after having learned a bit about Ruby, the next logical step for me was to try Ruby-On-Rails. A bit of background: before going to work at Sapo in the XMPP Messenger product, I was a lead-developer at Novis. My main task there, was to build websites and provisioning systems, and the glue that ties billing systems with technical databases. We used a framework that was developed internally since ‘99, and in it’s latest generation was called Apache::WAF.

Ruby and Perl

I’ve been learning Ruby for the last couple of weeks. I bought the book some time ago, and I’ve been reading and rereading it several sections. Ruby is a very very good language. Blocks are one of the most productive features I ever used in a programming language. Yet, I use Perl everyday. I’m a Perl user since 4.something patch level 35 or 36, and I really like perl5. Also, at work, I need Perl and POE to build XMPP components.

Quick startup to Apache bliss

So you need a Apache setup with PHP or mod_perl, and you need it fast. Head on over to ApacheFriends website, and download XAMPP. It’s a pre-compiled version of Apache with all the best and most useful modules already compiled and configured. They have four distributions: Linux, Mac OS X, Windows and Solaris. All the versions are stable except the Mac OS X. They are still ironing out the last details on that one.

Got my ticket to Reboot7

Got my ticket to Reboot7 today. I’m going with André and Pedro next week. I’m assuming that we’ll have some network connectivity, so you can expect some notes about each conference I attend.

Iconize me!

After waiting almost 5 months for my order, I finally received my Iconize me! order this week. It was worth the wait! You can see the result on my blog homepage, also on each archive page. I choose the premium package, and I got a small .GIF useful to be used in webpages, a monstrous JPEG (2000x3000 something 300DPI), and a PDF version, vector version of it. Sweet!

New backpack

After carrying the same backpack for 3 or 4 years now, I was given a new one yesterday, as a birthday present. Anyway, I decided to switch to the new one today, I can use the new one, it has more pockets. And I have a lot of stuff. A lot of stuff. Those that know me personally know what I’m talking about. I carry with me around 10Kg of stuff always.

CPU usage of Skype

My Skype is idle right now, sitting there on the second monitor. But top tells me that Skype is using 10% of my CPU. 10%!?!?!? WTF? It’s just sitting there! Doing a ktrace on the process, gives: 484 Skype CALL getrusage(0,0xf03b6c20) 484 Skype RET getrusage 0 484 Skype CALL getrusage(0xffffffff,0xf03b6c20) 484 Skype RET getrusage 0 484 Skype CALL getrusage(0,0xf03b6c00) 484 Skype RET getrusage 0 484 Skype CALL getrusage(0xffffffff,0xf03b6c00) 484 Skype RET getrusage 0 484 Skype CALL getrusage(0,0xf03b6ca0) 484 Skype RET getrusage 0 484 Skype CALL getrusage(0xffffffff,0xf03b6ca0) 484 Skype RET getrusage 0 484 Skype CALL getrusage(0,0xf03b6bb0) 484 Skype RET getrusage 0 484 Skype CALL getrusage(0xffffffff,0xf03b6bb0) 484 Skype RET getrusage 0 484 Skype CALL select(0x1b,0xf03b6ad0,0xf03b6b50,0xf03b6bd0,0xf03b6c50) 484 Skype CALL getrusage(0,0xf01b2c00) 484 Skype RET getrusage 0 484 Skype CALL getrusage(0xffffffff,0xf01b2c00) 484 Skype RET getrusage 0 Pages and pages of this…

Perl6 example

Perl6 JAPH: say ~); Something tells me that learning Perl6 is going to be an adventure. And totally different from my perl4 to perl5 conversion. Either that, or I’ll be sticking with perl5/ponie for a looong time.

I was using version 1.0.0.18 and decided to upgrade to the latest 1.0.0.24 (and skip the beta .30). After restarting Skype, I got a famous “password corrupted, inform skype” message. Anyway, my fix was going into Keychain Access, and deleting both Skype and Skype.credentials entries.