Live data from Hacker News

What happens when you type Google.com into your browser's address box

github.com

11–20 of 44 posts

Re: What happens when you type Google.com into your browser's address box

#12
Pretty cool.

Since everyone is going to mention what it misses, here's this pet peeve of mine: when I type Google.com it redirects the URL to google.[countrycode] and then I have to jump through hoops to get the .com, the English version and the global results.

Re: What happens when you type Google.com into your browser's address box

#15

Despite how long this is, it leaves out very many details. I'd like to see a description that goes in detail into protocols, code and circuitry signals at every step.

This is still very much a work in progress, there are 12 open pull requests and lots of issue reports. When I first saw this project a few weeks ago it was much smaller and less complete, so I'm looking forward to how it will look like in a couple more weeks.

Re: What happens when you type Google.com into your browser's address box

#17

Pretty cool. Since everyone is going to mention what it misses, here's this pet peeve of mine: when I type Google.com it redirects the URL to google.[countrycode] and then I have to jump through hoops to get the .com, the English version and the global results.

go to www.google.com/ncr (no country redirect) and it won't redirect you any more.

Re: What happens when you type Google.com into your browser's address box

#19

Question: Where is text rendered? on the gpu or cpu?

That depends on a lot of factors but regardless even if it's ultimately rendered on the GPU it's first generated on the CPU as in glyphs are rendered and put in a glyph cache. Those might be cached in textures and then used to render text with the GPU as appropriate.

Re: What happens when you type Google.com into your browser's address box

#20
Now I want to be asked this question at an interview, so I can describe what happens from the start of the process: not the Enter key bottoming out, but from the thought and prefrontal cortex activity; to the motor cortex; describing the action potentials in nerves and how they work, neurotransmitters, charge-hopping via nodes of Ranvier and so forth; all the way down to actuating the muscles and the molecular biology in that; actuating the bones, then onto bottoming out the Enter key...

... then finishing up with the eyes receiving the data; edge-detection in the retina [1]; transfer to the visual cortex and the several layers in the build-up there; eventually finishing up with the sense of disappointment you get when you realise you typed in a misspelling that google couldn't correct for.

[1] Pandemonium (http://en.wikipedia.org/wiki/Pandemonium_architecture) is my favourite theory of anything anywhere. Basically it sees the nerves as a bunch of simple-minded demons yelling out, and the bigger demons hear the loudest below them and yell out, so forth up the chain :)

Post reply on HN