News for hackers. Stuff that matters.
Re:Google finally has a 404 page that isn't ugly by andrewingram on Wednesday March 02, 2011 @11:51AM (#2280167)
Given the size of Google, I wonder if there was a whole team tasked with this development. A 404 page for a company as big as Google is an awfully big responsibility for just one person :)

To be honest, I prefer the idea of a more intelligent 404 page. You'd think Google would have sufficient horsepower to make a good guess at what you might have been trying to find.

Re:Google finally has a 404 page that isn't ugly by leif on Wednesday March 02, 2011 @12:55PM (#2280436)
Google's most frequently accessed pages (most prominently, the homepage itself) are designed by a team of pretty high-level engineers, to reduce latency and bandwidth requirements, by stripping bytes. Every change is reviewed with extreme scrutiny. I'm sure the 404 page was designed with similar care.

If you view source, for example, the image is base64 encoded, and they don't even bother closing their tags on the page, because that's more bytes and the browsers don't notice. This was very carefully engineered.

Re:Google finally has a 404 page that isn't ugly by TorbjornLunde on Wednesday March 02, 2011 @03:09PM (#2281061)
Seems weird to have Arial in the font-stack, as Arial is the default font for sans-serif on Windows. (And Helvetica on OS X which has the same metrics.)
Re:Google finally has a 404 page that isn't ugly by leif on Wednesday March 02, 2011 @10:16PM (#2282624)
Google uses Arial in the font stack across all of their pages, for consistency. I assume the following rationale is at least mostly correct.

In case a computer doesn't have that as the default for some reason, they don't want their page to look any different, if it is possible for the computer to display it correctly, because if it doesn't, it affects their brand image.

Imagine if you did a google search and everything looked just a little bit off (and you weren't a developer so you didn't know why): you might think someone was hacking google and stealing your information or changing your results. Consistency builds trust, and this is important to them.

Re:Google finally has a 404 page that isn't ugly by switch007 on Wednesday March 02, 2011 @01:56PM (#2280682)
Why did they not remove whitespace too?
Re:Google finally has a 404 page that isn't ugly by beaumartinez on Wednesday March 02, 2011 @03:42PM (#2281206)
I'm guessing it's not much of an issue when it's sent compressed over the wire.
Re:Google finally has a 404 page that isn't ugly by colanderman on Wednesday March 02, 2011 @09:11PM (#2282394)
Neither are closing tags...
Re:Google finally has a 404 page that isn't ugly by colanderman on Wednesday March 02, 2011 @11:45PM (#2282857)
Who in the world downvoted this, please own up? Can you show that gzip does not, in fact, perform well at compressing repeated strings of text such as the likes of closing tags?
Re:Google finally has a 404 page that isn't ugly by leif on Thursday March 03, 2011 @12:54AM (#2283004)
Wasn't me, but why make gzip do the work when you can do it once, easily, yourself? Sure it can do it, but their servers can serve the closing tags, and google strips those. The discrepancy is weird is all.
Re:Google finally has a 404 page that isn't ugly by leif on Wednesday March 02, 2011 @01:57PM (#2280683)
No idea, I saw that too and was puzzled.
Re:Google finally has a 404 page that isn't ugly by asymmetric on Wednesday March 02, 2011 @02:34PM (#2280869)
don't knkow if it's firefox inserting them, but i do see closing tags, apart from <p> elements, but that's allowed.
Re:Google finally has a 404 page that isn't ugly by jedsmith on Wednesday March 02, 2011 @03:31PM (#2281158)
There is no <head>, </head>, <body>, </body>, or </html>.
Re:Google finally has a 404 page that isn't ugly by citricsquid on Wednesday March 02, 2011 @11:57AM (#2280195)
This was something I was thinking too. I watched a video from Matt Cutts yesterday where he mentioned they have a "team" (I guess it could just be 2 people, but it sounds like more) who are entirely dedicated to parsing 404 pages that return 200 response codes. I too wonder if they had a team just for this, or maybe they have a "usability" team who were tasked with this?
Re:Google finally has a 404 page that isn't ugly by elliottcarlson on Wednesday March 02, 2011 @10:22PM (#2282643)
This would be a completely different thing though - parsing 404 error pages that incorrectly return a status 200 OK could cause broken links to appear as duplicate content when crawled. Didn't think about this before but I am sure this does require q dedicated team to be able to distinguish this kind of content.
Re:Google finally has a 404 page that isn't ugly by joelhaus on Wednesday March 02, 2011 @04:14PM (#2281351)
>> I prefer the idea of a more intelligent 404 page

There's a script for that: http://googlewebmastercentral.blogspot.com/2008/08/make-your...

Example:

  <script type="text/javascript">
    var GOOG_FIXURL_LANG = 'en';
    var GOOG_FIXURL_SITE = 'http://www.example.com
  </script>
  <script type="text/javascript"
    src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js>
  </script>
Re:Google finally has a 404 page that isn't ugly by yror10 on Wednesday March 02, 2011 @12:39PM (#2280343)
This is already shown by the rareness of a google 404. You hardly ever get it these days. Except if a server crashes for about 1 second, (where my preference would be "you are the lucky winner to click your mouse at the same second as our server crash!"
Re:Google finally has a 404 page that isn't ugly by cakeforcerberus on Wednesday March 02, 2011 @12:45PM (#2280378)
Making the new 404 HTML page was probably someone's "20% project" for a year.
Re:Google finally has a 404 page that isn't ugly by yror10 on Wednesday March 02, 2011 @12:51PM (#2280412)
I've heard about the 20% things but look a the page and ask yourself. Anyone could have made that in 5 minutes + maybe a week for discussion.
Re:Google finally has a 404 page that isn't ugly by cakeforcerberus on Wednesday March 02, 2011 @01:00PM (#2280459)
Of course. I was being sarcastic.
Re:Google finally has a 404 page that isn't ugly by yror10 on Wednesday March 02, 2011 @01:14PM (#2280512)
O, ok haha