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

Notes

last update:

Macbook Pro shuts down

Houston, we have a problem. This is happening to me to. After the 10.4.9 upgrade, when I'm using battery, the Macbook just shuts down without any warning whatsoever. Crap. Update: Today I got this behavior with a TiBook G4 at work, very weird. This could point to a problem with the 10.4.9 upgrade. Articles I'm following about this: http://discussions.apple.com/thread.jspa?threadID=892757&tstart=285;http://discussions.apple.com/thread.jspa?threadID=867275&tstart=240 (this is a good one, might have find my problem);http://discussions.apple.com/thread.jspa?threadID=863919.I think I have a swollen battery.

Quicksilver Proxy objects

Recently, Merlin Mann did a show about Quicksilver Proxy Objects. If you have problems getting that to work, follow the excellent mini-tutorial about enabling Quicksilver proxies and application menus by Robert Daeley. In fact, you should read the short tutorial before watching the show.

Quicksilver Proxy objects

Recently, Merlin Mann did a show about Quicksilver Proxy Objects. If you have problems getting that to work, follow the excellent mini-tutorial about enabling Quicksilver proxies and application menus by Robert Daeley. In fact, you should read the short tutorial before watching the show.

Countdown

April 6 is just around the corner... Fun!

Either you like it or STFU

Publico is one of the largest newspapers in Portugal and they also have an online version. I was reading a piece on solar energy and at the end I found this: (for the portuguese impaired, the text before the checkbox asks "Did you find this article interesting?". The checkbox label is 'Yes'.) Now, I can understand what the person that designed this was trying to do (at least I think I do), but how can I say "No, I did not like the article".

Local networking

In my new work setup, one of the things I did was to upgrade the switch between the two laptops to a D-Link Gigabit switch (less than €30 at a local discount shop if I remember correctly). I did some benchmarks to compare the speed of copying a 2.4 Gbyte Parallels XP image in several scenarios: On the old TiBook, local disk to local disk: $ time cp winxp.hdd winxp.hdd2 real 3m24.

450k

About Google server farm: Even today, Google is serious about exerting total control over the servers in their now-massive server farms. They build their own high-efficiency power supplies, and conduct fascinating, public research on disk failure. Current estimates put Google's server farm at around 450,000 machines - and they're still custom built, commodity-class x86 PCs, just like they were in 1999." Thats a lot of juice. (via Google Operating System)

In my workspace I use two laptops to increase the number of screens available (low quality picture of the setup I use). I have everything the way I want it right now: the mouse, keyboard and clipboard are in sync using Synergy, and all my backup apps are installed on the Tibook (SuperDuper! and Retrospect, the best backup application for your small network), including the big external disks. They are connected with Gigabit ethernet so transferring files is a breeze, even gigabyte sized files.

The problem with threads

A couple of years ago I came across an article on Dr Dobbs Journal about the future of programming in a world of multi-core machines. It was a refreshing read, that took me back the early 90's at college and to some of the distributed operating system classes I took there. Back then we had a 80 CPU box to play around, the size of a 4U rack more or less (compare to this for fun), so conventional threaded programming was already looked at as "odd".

Installing Ruby XMPP Simple

I'm no Ruby expert but a friend of mine was asking me how to write a simple XMPP bot using Ruby, and I had seen a couple of recent posts announcing a simple ruby library. So after installing RubyGems (I had a total virgin Mac OS X stock install of Ruby), I did the usual: sudo gem install xmpp4r-simple That did not work well. One of the dependencies, rcov, does not install in my system.