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

Notes

last update:

SAPO Messenger for Mac

One of my favorite projects in the last years is finally public. The first public version of SAPO Messenger for Mac, a Jabber client tied to the SAPO Messenger community. The client has both English and Portuguese and given that most Portuguese Mac users have English as their default language, we choose to ignore the settings of the International preferences pane for now and force the Portuguese locale. To switch back to English, do this:

Please....

It can't be that easy... I have to try this later in my wife laptoy.

pfig++

Hey, kudos to pfig for getting his photo published. I like his Tube set. He can fall a sleep before sex like no other, but he takes good pics.

Module of the day: encoding::warnings

Today I was tracing a double-encoding error in a web app. The Fun never ends! Anyway, with encoding::warnings the problem was easily spotted. So, if you are getting "garbage" output on some of your Perl scripts. do yourself a favor and try it. A good tip from an excellent write up about UTF8 and Perl. And remember, boys, girls, and mix-ins, $1 after m/(.)/ is a character, no matter how fat he is.

Pixels! Pixels! Pixels!

For me, the thing that most improves my productivity is pixels available for work. I would love to be able to connect a second external monitor to my Macbook Pro. For now, I've settled on using my old TiBook with a external monitor, and synergy, to expand my workspace to 4 screens. I already searched for DVI or VGA ExpressCards, but so far found none. It's a recurring query I have on Google Alerts.

OpenID

I like the concept of OpenID. I remember when Brad announced it, when it was still called Yadis. I remember because at the time I was cleaning up the code that Clix used for global authentication across all their properties, and that one shares a lot of ideas with Yadis/OpenID. In recent weeks we've seen AOL, Microsoft (63 Million OpenID potential users just there, plus all the Yahoo! logins), Verisign, BitFrost (of the OLPC project), any XMPP account, and even Mozzila Foundation is thinking about OpenID inside Firefox3, and this makes me believe that OpenID is now in his teen years.

Lighttpd, file uploads and Safari

On one of the web applications I have, the setup is more or less like this: a lighttpd 1.4.x front-end to serve static files, both public and protected (using mod_secdownload);a fat Apache2 with mod_perl2 running a Catalyst application.In this case, lighttpd is used as a reverse HTTP proxy to Apache, using mod_proxy. I was trying to get file uploads to work on this setup. Uploading directly to Apache works flawlessly, but via mod_proxy, Safari would hang at the end, never terminating the request.

Module of the day: File::Inplace

The task was simple enough: edit a already existing file, to change something, keeping the name intact, and if possible doing a backup of the original version. We could start dealing with all sorts of errors in open, rename and friends, dealing with temporary files and all that stuff. Or we could just jump to CPAN: cpan File::Inplace perldoc File::Inplace In my case, I wanted to remove a line from a file.

Unrelated fun

Two written pieces of pure fun: Linus and Gnome;Gruber and Mocrovision.

Best $30 you'll ever spend :)

Gruber rocks: My guess is that a very simple explanation suffices, which is that Thurrott is starting with a significant but utterly broken assumption: That Microsoft matters in this debate. Excellent article, as always.