validate the css validate the xhtml

HackerMoJo.com


Ceci n'est pas une blog
by Glenn Franxman, Django Developer / Stunt Programmer.

Am I too lazy?

posted: 2008-10-04 08:10:26 perma-link, RSS comments feed

My Slicehost machine ran out disk space yesterday, so I was looking for logs to rotate, files to delete, etc and I ran across a few large groups of files that I wanted to keep. I tried gzip -9 like always, but then found myself wondering if I could get these files any smaller. A quick google turned me on to rzip. But as it turns out, rzip is extremely memory intensive and was completely consuming everything I had on this poor slice.

I could go though all of the files trying to decide which ones I really wanted, but that seemed like it would take too long. In the end, I fired up an ec2 instance on Amazon's Web Services, moved the files over, rzipped them there, moved the results back and reclaimed about a gig of disk space. It only took a few minutes, and cost me $0.14 from amazon.

That's just crazy. I wonder how long we have before that just becomes common practice.


Comments

1#1

cliffe commented, on October 5, 2008 at 10:06 p.m.:

Brilliant! This made me think of the future :)

2#2

Brian commented, on October 20, 2008 at 9:41 p.m.:

I use bzip2 - usually better compression depending upon the type of file.

3#3

Khyati commented, on August 20, 2012 at 11:36 a.m.:

I've solved the pvoeirus problem... But now I have a new question. About the hack for :-What If I want the reverse of this, i.e I want a widget not to be shown when logged as administrator, but it is visible to readers. I would like the widgets with adsense code to be so...One more question, Can a widget be shown or hide based on a random no? It will make the blog dynamic. e.g. if random no is 0 it shows the widget with adsense code 120x600, if it is 1 it shows 728x90 leaderboard. Since adsense policy does not allow to modify its code.. it will be really helpful...I am writing all these here bcoz, commenting on that post is not allowed and I cannot find your email id...

Post a comment


error sifting isotopes local variable 'maxk' referenced before assignment error making suggestion 'NoneType' object has no attribute 'category_label'

Copyright © 2003,2004,2005,2006,2007,2008 GFranxman. All Rights Reserved


hosting: slicehost.com. powered by: django. written in: python. controlled by: bzr. monsters by: monsterID.