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. ▲ 2
    What happens when you type a url in the browser's address box and press enter?
    story by buchanae · 2026-02-18 · 0 comments
  3. …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.…
  4. …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.
  5. For a relatively in-depth take on this question: https://github.com/alex/what-happens-when
  6. 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]
  7. ▲ 2
    What Happens When
    story by Kerrick · 2025-01-02 · 0 comments
  8. ▲ 1
    What Happens When
    story by chynkm · 2024-12-20 · 0 comments
  9. ▲ 1
    What-Happens-When: An attempt to answer an age-old interview question
    story by redbell · 2024-03-02 · 1 comment
  10. ▲ 2
    What happens when you type google.com into the browser and press enter?
    story by pcaversaccio · 2024-02-10 · 1 comment
  11. 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…
  12. This is a popular question, turns out. https://github.com/alex/what-happens-when
  13. …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
  14. https://github.com/alex/what-happens-when
    comment by jwilk · 2023-04-10 · in Getting the ^D
  15. Related: Also look at https://github.com/alex/what-happens-when
  16. ▲ 3
    What would happen to the internet in a zombie apocalypse?
    story by tbecks · 2023-02-13 · 4 comments
  17. ▲ 2
    What happens when you type google.com into the browser and press enter?
    story by behnamoh · 2023-02-05 · 0 comments
  18. 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
  19. …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…
  20. ▲ 20
    What happens when you type google.com into the browser and press enter?
    story by hliyan · 2022-02-16 · 1 comment
  21. "What happens when you type google.com into your browser's address box and press enter?" https://github.com/alex/what-happens-when
  22. ▲ 2
    What happens when you enter google.com into a browser?
    story by ajeetdsouza · 2020-12-21 · 0 comments
  23. Not quite what you asked, but you may find this interesting: https://github.com/alex/what-happens-when
  24. ▲ 4
    What happens when you type google.com into the browser and press enter?
    story by vinnyglennon · 2020-09-17 · 0 comments
  25. ▲ 2
    What happens when you type google.com into the browser and press enter?
    story by pcr910303 · 2020-08-26 · 0 comments
  26. ▲ 2
    What happens when you type google.com into the browser and press enter?
    story by dfxt8 · 2020-06-22 · 0 comments
  27. ▲ 2
    What happens when you type google.com into the browser and press enter
    story by sandes · 2020-05-18 · 1 comment
  28. …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?
  29. ▲ 2
    What happens when you type google.com into the browser and press enter?
    story by rspivak · 2019-09-08 · 0 comments
  30. ▲ 1
    What happens when you type google.com into the browser and press enter?
    story by rspivak · 2019-09-05 · 0 comments
  31. Another similar context: https://github.com/alex/what-happens-when https://news.ycombinator.com/item?id=8902105 https://news.ycombinator.com/item?id=9189096
  32. …question of what happens when you type google.com into a webbrowser and press enter [1] [1] https://github.com/alex/what-happens-when
  33. …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
  34. See https://github.com/alex/what-happens-when
  35. ▲ 4
    What happens when you type Google.com into the browser and press enter
    story by eindiran · 2019-01-16 · 1 comment
  36. …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
  37. there's at least one collaboratively edited doc about this standard interview Q; see https://github.com/alex/what-happens-when
  38. …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...
  39. …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…
  40. ▲ 172
    What happens when you type Google.com into the address box and press enter
    story by PleaseHelpMe · 2017-07-30 · 26 comments
  41. …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
  42. 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
  43. kinda like https://github.com/alex/what-happens-when
  44. …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
  45. …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…
  46. https://github.com/alex/what-happens-when also great
  47. …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
  48. Open issue for NSA deep packet inspection. No skipping! https://github.com/alex/what-happens-when/issues/34
  49. ▲ 132
    What happens when you type Google.com into your browser and press enter?
    story by sourabhkt · 2016-05-20 · 38 comments
  50. ▲ 3
    What Happens When – an extended answer to the age-old interview question
    story by Arubis · 2016-05-10 · 0 comments