Day in brief

  • I favorited a YouTube video — Panorama from Times Building, New York http://youtu.be/DOxZa7s4Dv4?a #
  • I favorited a YouTube video — Brittany Murphy , Oakenfold P – Faster Kill Pussycat http://youtu.be/uk3Z__7ItJY?a #
  • I miss Brittany Murphy. She was hot. And her smile was awesome. Sad. #
  • I favorited a YouTube video — House Bloopers http://youtu.be/4T0lT8gJFO0?a #
  • I want a new phone. And it should be Android. But with version 2.2 Froyo. Any devices for sale in Europe? Cyprus? Limassol? How much? #
  • Got a new dedicated server from Leaseweb for one year. Awesome #hosting Immediate setup and cheap (not horribly expensive at least). #

Day in brief

  • Joined http://foursquare.com . They have a website version for mobile devices that their apps don't support. Need to go somewhere now. :) #
  • Apparently,dedicated server #hosting comes as low as 30EUR/month these days. For 70+ EUR/month you can get a good server. #
  • I favorited a YouTube video — Fur TV – Do Condoms Reduce Sensitivity ? http://youtu.be/ny8U346oI6Y?a #

Day in brief

  • I favorited a YouTube video — Fedora 13 Goddard http://youtu.be/KbCO0jT6L3Q?a #
  • Somehow nobody realized that one of the vital company servers runs on 1GB of RAM. And it's an old 1.6 dual-core machine, staffed with disks. #
  • I need a #wordpress plugin to send newsletter using posts of specific category.Subscribe/unsubscribe feature too.Please advise plugin.Thanks #
  • I favorited a YouTube video — Football is for girls … try RUGBY http://youtu.be/3icksHJDjA8?a #
  • I favorited a YouTube video — This is Rugby http://youtu.be/cEzh2tKgdI4?a #

Zip vs. Bzip2

While investigating an unrelated issue on our backup server, I came across an interesting discussion about gzip vs. bzip2. I was surprised to read on how much slower bzip2 is.  I even tested it on our server.  And as expected, I saw the huge difference.

$ du -sh home
819M  home

$ time tar czf test.tar.gz home
real	3m29.741s
user	1m4.026s
sys	0m5.629s

$ time tar cjf test.tar.bz2 home
real	11m38.751s
user	6m19.259s
sys	0m7.237s

$ ll test.tar*
-rw-r--r-- 1 leonid users 365987716 2010-06-29 13:08 test.tar.bz2
-rw-r--r-- 1 leonid users 390655750 2010-06-29 12:56 test.tar.gz

For such a small difference in size, the compression time difference is huge! Of course, I should play with more parameters, repeat the tests several times, and test the decompression time too. But the above test is still a good indication. Way too many scripts out there use the default parameters and substitute gzip with gzip2 without any testing. That’s obviously asking for trouble.