Building notes, projects, and ocasional rants


last update:

Reading RSS

I’ve been using NetNewsWire to read RSS feeds since I started doing it, little over two years ago. So far it has been good enough and the features in the to-be-released version 2.0 seem great. Yet, I don’t see some features that I would like to see, like aggregating several items into a single one if they mention the same URL. So I need to implement some sort of filter between the feeds I subscribe to and the feeds I read, that transforms the content into something more manageable.

Mirroring CPAN in your laptop

For some years now, I always have a full CPAN mirror on my laptop. I work a lot offline and I like to have it around. Until today I did a full rsync from a public mirror from my ISP, but Nuno sent me a script to mirror only the latest versions of each module but I never got around to use it. But I noticed that the script he sent me is now (well, I noticed it today…) on CPAN itself, so I just did:

All your money are belong to us

I love a gadget as any other tech-oriented person, so I’m a regular customer of Expansys. Well, bad news: it’s now much easier to spend money on them if you happen to live in this corner of Europe called Portugal - Expansys Portugal is now up and running. I think that I’m going to give my credit card to my wife so that I don’t spend too much money… Wait… That was not very smart… Give credit card to wife… does not compute… bzz… EOT

Simplicidade is now mod_deflated

I just turned on mod_defalte on this site. If you notice any problems, just drop me a comment. The setup I’m using right now is this: # Insert filter SetOutputFilter DEFLATE # Netscape 4.x has some problems... BrowserMatch ^Mozilla/4 gzip-only-text/html # Netscape 4.06-4.08 have some more problems BrowserMatch ^Mozilla/4\.0[678] no-gzip # MSIE masquerades as Netscape, but it is fine # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # NOTE: Due to a bug in mod_setenvif up to Apache 2.

Is your Linux server too slow?

Have no phear, hdparm is here… Check out the article of USA Lug about hdparm, it’s really cool and it helped me to tune my Linux server. I knew hdparm for some time now, but its one of those things that I didn’t feel quite comfortable to do until I read about it some place else.

Coral your RSS

Now that Coral is in public beta, what about telling your RSS subscribers to use it? It will reduce your bandwidth bill. If you subscribe to this blog, change your subscription to (notice the You should start to get this feed from your nearest cache of Coral. Seems to work. If Coral is here to stay, you can even add to your config: RedirectPermanent /notes/42.xml Update: Rui popped up on IM and told me that this does not work, and of course he’s right.

... and everything

Ladies, and Germs, we have a new feed for those 3 who subscribe to this waste of time: RSS 2.0 full posts with comments and trackbacks. Just use 42.xml instead of the current file. Nuno provided the template, thanks.

Why I like nslu2

Pedro has a small rant about NSLU2 device from Linksys. His point is that any self-respecting geek already has a full linux box in his home network, that is able to do much more than the NSLU2. Well, yes, you are right, but that’s the wrong point. My point is that I hate that Linux box in my home network, and I would prefer to have a silent, the least moving parts possible box, and I don’t have nothing against having several boxes, each one doing some specialized function.

Just finish writing a hint to MacOS X Hints, about publishing virtual hosts via rendezvous. Here is a copy, in case it's not accepted. I'm using this as we speak. In a previous hint it was described how to use the RegisterResource of mod_apple_rendezvous to publish additional paths of your local server via Rendezvous. Virtual hosts are more complicated because you cannot send the hostname via rendezvous, apparently. But that's easy to solve with mod_rewrite.

iTunes in Motorola phones

Some phones from Motorola will be able to sync with iTunes. The phones should have removable media, so you might have a 1Gbyte storage space in there :). I really could care less, I have an iPod. The point I that made me write this is: you will not be able to use the music as ring tones. Why? The ring tone is a $3.2Bn/year industry, the iTMS is a paltry $100M/year industry.