Hacker GitHub

← All repos

alex/what-happens-when

View on GitHub ↗ ★ 43,425

An attempt to answer the age old interview question "What happens when you type google.com into your browser and press enter?"

62 mentions on Hacker News by 58 people: 23 stories, 39 comments · first 2013-11-08 · latest 2026-08-03

Mentions per year 62 mentions · busiest year 2016 (10)
20082026
  1. Also see this classic: https://github.com/alex/what-happens-when "What happens when you type google.com into your browser's address box and press enter?"
    comment by gregsadetsky · 2026-08-03 · in 200 Milliseconds
  2. …they had better candidates. When I interviewed at Google (back in 2014), I was asked the classic https://github.com/alex/what-happens-when question. I didn't know it was a common question, and hadn't specifically prepared for it.…
  3. …have the paint drips or you don’t. And if you don’t, maybe this question sparks your first one. https://github.com/alex/what-happens-when This question is well known and people do indeed prepare for it.
  4. For a relatively in-depth take on this question: https://github.com/alex/what-happens-when
  5. he hasn't merged a PR in 3 years but https://github.com/alex/what-happens-when
    comment by etc-hosts · 2025-02-20 · in How browsers really load web pages [video]
  6. Agreed! It reminds me of: https://github.com/alex/what-happens-when and how many of today’s CS-degree holders would barely understand any of it. As someone who has also “grown up with all the technology”, I’ve learned and experienced all…
  7. This is a popular question, turns out. https://github.com/alex/what-happens-when
  8. …about API services and DBs to differentiate it from the usual answer. It is indeed a fun question! https://github.com/alex/what-happens-when
    comment by fancyfish · 2023-04-13 · in On a great interview question
  9. https://github.com/alex/what-happens-when
    comment by jwilk · 2023-04-10 · in Getting the ^D
  10. Related: Also look at https://github.com/alex/what-happens-when
  11. Haha! The post was actually motivated by a common (interview) question: https://github.com/alex/what-happens-when . We thought it would make for a fun adaptation for the terminal world
  12. …important? Entropy? Hashing? Buffer overflow? SQL Injection? How much of this do you understand? https://github.com/alex/what-happens-when > I love my own original interpretation of CS foundations and concepts. You take this as a point of…
  13. "What happens when you type google.com into your browser's address box and press enter?" https://github.com/alex/what-happens-when
  14. Not quite what you asked, but you may find this interesting: https://github.com/alex/what-happens-when
  15. …into a browser and hit enter?” Wow, I had no idea who came up with that question first. (see, e.g., https://github.com/alex/what-happens-when ). When was the first time it was asked? Where?
  16. Another similar context: https://github.com/alex/what-happens-when https://news.ycombinator.com/item?id=8902105 https://news.ycombinator.com/item?id=9189096
  17. …question of what happens when you type google.com into a webbrowser and press enter [1] [1] https://github.com/alex/what-happens-when
  18. …when you type google.com in your browser and hit enter?"[0] Well, a lot... where do you start? [0] https://github.com/alex/what-happens-when
    comment by 0x0000000 · 2019-04-09 · in B Before A
  19. See https://github.com/alex/what-happens-when
  20. …you type google.com into your browser and press enter?" (Answer in as much depth as you like.)" https://github.com/alex/what-happens-when
    comment by meddlin · 2019-01-16 · in The Antisocial Laptop
  21. there's at least one collaboratively edited doc about this standard interview Q; see https://github.com/alex/what-happens-when
  22. …index.html is retrieved (/while it is being retrieved). This is my favourite intro to the subject: https://github.com/alex/what-happens-when/blob/master/README...
  23. …would play a composition on the white board. I always thought that this is a good question to ask https://github.com/alex/what-happens-when but then again probably not for all roles. It's good because even if the interviewee has seen the…
  24. …most candidates who have done a few minutes of googling can give you the "right" answer. See here: https://github.com/alex/what-happens-when/blob/master/README... I'd probably start here to lighten up the mood due to how cliche the…
    comment by autotune · 2017-04-09 · in The Utter Uselessness of Job Interviews
  25. a link in this thread https://github.com/alex/what-happens-when
    comment by redindian75 · 2017-03-04 · in What happens when you swipe a credit card
  26. kinda like https://github.com/alex/what-happens-when
  27. …ipad for all the computing you do, and expect things to just work. See: a typical everyday usecase: https://github.com/alex/what-happens-when Did the user write "oogle.com" instead of google, and got malware? ....Inexcusable, as you said?…
    comment by ominous · 2016-10-29 · in Total Nightmare: USB-C and Thunderbolt 3
  28. …HN almost two years ago: “What happens when you type Google.com into your browser and press enter?” https://github.com/alex/what-happens-when Would love to see Knuth's Challenge setup in a repo for collaboration. HN Discussion on the above…
  29. https://github.com/alex/what-happens-when also great
  30. …to have a click initiate another click or two more clicks? Where do you draw the line? [1]: https://github.com/alex/what-happens-when
  31. Open issue for NSA deep packet inspection. No skipping! https://github.com/alex/what-happens-when/issues/34
  32. https://github.com/alex/what-happens-when
  33. …google.com into my browser". I asked them where they had gotten idea from and showed them this: https://github.com/alex/what-happens-when . They decided ask me another question soon after. Sometimes the questions aren't even related to…
  34. https://github.com/alex/what-happens-when#the-g-key-is-press...
  35. I like this version: https://github.com/alex/what-happens-when It doesn't address the 'progressive layers' issue, but it _does_ include a TOC. I have been asked this question before, and my answer was definitely biased towards the…
    comment by rahimnathwani · 2015-10-12 · in How the Internet works
  36. …question ""What happens when you type google.com into your browser's address box and press enter?"" https://github.com/alex/what-happens-when
  37. also relevant (found here on HN last month) what happens when you... https://github.com/alex/what-happens-when
    comment by BorisMelnik · 2015-04-26 · in What happens when you hit Ctrl-C?
  38. …I'm well aware I couldn't reproduce or accurately describe the whole system/process on my own. [1] https://github.com/alex/what-happens-when
  39. …excuse to try to remember how Windows actually handled keyboard input. I submitted a pull request: https://github.com/alex/what-happens-when/pull/21