Live data from Hacker News

Secret message in source code of Digg

hyperevo.com

11–20 of 37 posts

Re: Secret message in source code of Digg

#11
post #3
post #2

Nice easter egg! Title is a bit misleading as I clicked on the article thinking Digg had open-sourced the site (which would be pretty rad). The source code in question is the HTML source, not the code that outputs said HTML. Perhaps it would better read "Secret message in Digg's HTML markup".

You mean HTML. Saying HTML markup is rather redundant.

No, I don't think it is. The noun "L" in HTML is "Language", so "HTML markup" means that the markup is written in the HyperText Markup Language. Now, "HTML Language" would be redundant.

Re: Secret message in source code of Digg

#12
post #3

Earlier quoted context omitted.

You mean HTML. Saying HTML markup is rather redundant.

No, I don't think it is. The noun "L" in HTML is "Language", so "HTML markup" means that the markup is written in the HyperText Markup Language. Now, "HTML Language" would be redundant.

Uh?... Isn't HyperText Markup Language markup redundant?

Re: Secret message in source code of Digg

#13
post #10
post #9

Earlier quoted context omitted.

You left out the fact that use gzip to compress their pages. So the real answer is - even less.

Yep, I remembered about compression after I posted. So did you have anything to do with this hidden message? :p

I knew about it, not much more than that. Timeless, our dba, put it in (digg user philovivero).

Re: Secret message in source code of Digg

#14

Earlier quoted context omitted.

No, I don't think it is. The noun "L" in HTML is "Language", so "HTML markup" means that the markup is written in the HyperText Markup Language. Now, "HTML Language" would be redundant.

Uh?... Isn't HyperText Markup Language markup redundant?

No, you can have markup in plenty of other languages. Thus, the modifier "HTML" adds information to its subject, the "markup". The subject of the modifier is also important, as it makes clear that you are talking about some specific markup written in HTML and not HTML in general.

Re: Secret message in source code of Digg

#16
post #8
post #7

how much does it cost digg in bandwith dollar?

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…

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

#17
post #9
post #8

Earlier quoted context omitted.

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…

You left out the fact that use gzip to compress their pages. So the real answer is - even less.

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

#18
post #9

Earlier quoted context omitted.

You left out the fact that use gzip to compress their pages. So the real answer is - even less.

How does that work? Is the page sent gzipped and my computer un-gzips it? (and what specifically does that..do browsers do that?)

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

#19
post #18

Earlier quoted context omitted.

How does that work? Is the page sent gzipped and my computer un-gzips it? (and what specifically does that..do browsers do that?)

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.

Thats pretty kickin. If I made websites for a living I would look into that further.

Re: Secret message in source code of Digg

#20
post #18

Earlier quoted context omitted.

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.

Thats pretty kickin. If I made websites for a living I would look into that further.

Most people who work on large scale websites know about it :)
Post reply on HN