News for hackers. Stuff that matters.
Re:Secret message in source code of Digg by alex_c on Sunday November 02, 2008 @12:09PM (#351467)
OK, I'll bite.

The message itself is 106 bytes.

Digg gets ~70 million US visits per month (Compete), with 50% traffic from the US (Alexa), and average ~5 page views per user (Compete & Alexa). So let's say 700 million page views a month.

700,000,000 * 106 = 74,200,000,000 bytes/month ~= 70 gigabytes/month.

Slicehost charges $20 for 100 gigabytes/month. I'm assuming Digg pays for unmetered bandwidth, which should come out to a lot less.

So, I guess the answer is - not much.

Re:Secret message in source code of Digg by mattmaroon on Sunday November 02, 2008 @12:50PM (#351511)
Obviously Digg didn't read the Sequoia presentation. Cutting that out would extend their runway by at least 2 seconds.
Re:Secret message in source code of Digg by ojbyrne on Sunday November 02, 2008 @12:16PM (#351475)
You left out the fact that use gzip to compress their pages. So the real answer is - even less.
Re:Secret message in source code of Digg by maximilian on Sunday November 02, 2008 @01:16PM (#351531)
How does that work? Is the page sent gzipped and my computer un-gzips it? (and what specifically does that..do browsers do that?)
Re:Secret message in source code of Digg by ojbyrne on Sunday November 02, 2008 @01:19PM (#351532)
Yep. The browser sends an "Accept-Encoding" header as part of its request (with a list of what it supports). And the server can respond back with one of the encodings listed. Most modern browser support compression I believe.
Re:Secret message in source code of Digg by maximilian on Sunday November 02, 2008 @01:26PM (#351538)
Thats pretty kickin. If I made websites for a living I would look into that further.
Re:Secret message in source code of Digg by kirubakaran on Sunday November 02, 2008 @07:49PM (#351781)
gzipping saves bandwidth at the cost of cpu cycles. So it may or may not be a good idea, depending on what you are trying to save.
Re:Secret message in source code of Digg by bkbleikamp on Sunday November 02, 2008 @03:14PM (#351613)
Most people who work on large scale websites know about it :)
Re:Secret message in source code of Digg by mseebach on Monday November 03, 2008 @06:41AM (#352047)

  58667 digg-orig.html
  14585 digg-orig.html.gz
  58560 digg-noegg.html
  14524 digg-noegg.html.gz
61 bytes.
Re:Secret message in source code of Digg by alex_c on Sunday November 02, 2008 @12:23PM (#351484)
Yep, I remembered about compression after I posted.

So did you have anything to do with this hidden message? :p

Re:Secret message in source code of Digg by ojbyrne on Sunday November 02, 2008 @12:30PM (#351491)
I knew about it, not much more than that. Timeless, our dba, put it in (digg user philovivero).