Networking and the Internet, from First Principles

(fazamhd.com)

180 points | by faza 4 hours ago ago

46 comments

  • sudb 3 hours ago

    I found this article very well written, as a comparison

    https://explained-from-first-principles.com/internet/

  • mlhpdx 2 hours ago

    I know the guidelines make this a faux pas but I’m just here to say that was a great read. Very informative, well structured and compelling story of how we have networks and how they work.

    To those saying it’s the work of an LLM: if it is I don’t care. It’s good.

    • itsamario 2 hours ago

      That first animation should include the servers hosting the messaging platform. Or use a peer to peer application for that example.

    • TacticalCoder an hour ago

      > To those saying it’s the work of an LLM: if it is I don’t care. It’s good.

      It hit me when I woke up and I made a (human) haiku (well, sorta) about it:

      "We already had Klingon and Elvish. Now we have LLMish."

  • Denzel 38 minutes ago

    Writing out my nod of appreciation to counterbalance some of the negativity. I do enjoy the effort and thought you into this essay. I didn’t read the whole thing, just a few sections from the beginning, and I think you do a great job explaining how these concepts evolved from simple beginnings.

    You’ve condensed down a lot of concepts I learned through research and trial-and-error over my career as a SWE.

    Thank you for sharing Faza. Please continue putting in the effort and sharing these essays!

  • leoc 3 hours ago

    The very first substantial order for the Digital PDP-1 was for use in ITT’s torn-tape messaging operation! https://www.eejournal.com/article/gordon-bell-1934-2024-gran...

  • rkoten 2 hours ago

    Very well written and presented, thank you! Reminds me of Bartosz Ciechanowski's works: https://ciechanow.ski

    If I may ask, what stack do you use for the inline interactive elements and would you choose anything different after having done it this way?

  • Fraterkes 3 hours ago

    There's 2 [dead] fairly anodyne comments here. Are they bots? And if so, how can people tell?

    • Douwekramer 3 hours ago

      I have a feeling that on HN in general most if not all of the blog posts are mostly AI, and quite a bunch of comments as well. But that has always been an element of anon internet usage :-)

  • matt_daemon an hour ago

    It’s become somewhat of a HN “flex” to call something out as AI slop, and it almost always comes across as preachy and just plain wrong

  • jdw64 3 hours ago

    I don't understand. Even if this post is long and has some repetitive parts, isn't it still written by a human? There are way too many comments acting like everything is bad just because one animation widget was made with AI.

    I actually like this post. It looks good, the explanations are clear, and the AI-generated animation widget actually helps me understand things. What's the problem exactly? Is using AI for visualization considered a bad practice?

    • orc00 2 hours ago

      I agree.

      As someone who spends their own time developing open-educational resources (OER), I was extremely limited in what I could do pre-AI. Now, AI has supercharged my ability to elevate my work in ways I could have never done before, particularly in visualizations, interactive widgets, and even images (often SVG for me), all of which are necessary components to the resources I've been developing online since 2020 (COVID-era).

      Given that my programming abilities are very limited as well as my time, AI has allowed me to develop the missing pieces to much of what I was creating. When used properly (as an expert in a field using AI as a tool), the end product can be completely transformed and elevated in ways that could never have been. I am so thankful that AI came along just at the right time for me to do the things I could have never accomplished before.

    • blooalien 3 hours ago

      > What's the problem exactly? Is using AI for visualization considered a bad practice?

      Some people just assume that anything "AI" has touched is automatically "slop" because ... AI! Probably at least partly due to how much actual "AI slop" is out there produced by people "holding the tool wrong". When used judiciously and properly, some of these language models can really be a useful tool and help create some quality stuff, but they're no substitute for a knowledgable human using the tool correctly to achieve the desired result (which is why so many people who misuse it to do all their thinking and work for them (without doing any of their part) inevitably produce the typical "slop" result).

      • gib444 37 minutes ago

        Yes, when someone takes advice from a tool with a proven reputation of outputting lies and embellishments, with zero fact checking of its training data, and encourages people to use it almost no matter what, the sane and rational thing is to assume it is slop.

        • jdw64 18 minutes ago

          Aren't you just treating people like they're too stupid? You can't catch every hallucination from AI, but there are still things you can spot. I'm a programmer too—I can tell the difference to some extent.

          Honestly, I think formalism is strange. People also exaggerate and spread false information. Even famous programmers on Hacker News sometimes give incorrect programming advice. In the end, there's always some amount of misinformation in any source. You read it while cross-checking with your own knowledge. Saying that all of it is useless is just an emotional response.

          Is 'rational' really about insulting others? Reason seems pretty cheap these days. Then I'll just be an emotional person

  • sarchertech 3 hours ago

    I started something similar in 2021 while on paternity leave with my first kid.

    I got about half way through, then I had 2 more kids. Then AI happened, and I started questioning the whether there was too much slop out there to bother writing a book.

    I’ll still probably finish it when the new baby is a little older.

    https://www.networksfromscratch.com/

  • mercutio2 3 hours ago

    Wow. The reactions here. So negative!

    I skimmed various sections. I found the animations pleasant, the text readable, and the content clearly not slop.

    The historical context of the telegraph was interesting, and the treatment of bandwidth vs. latency was thoughtful.

    I think it’s too long; I don’t think many people who don’t already know most of this material will read it, but I enjoyed the parts I read. Nice work!

    • faza 3 hours ago

      Thanks. I am glad you liked it. I just wanted to help everyone understand the concepts in detail. I felt the existing materials were either way too textbook like or very high level. This is just my attempt at explaining things in a more interesting way.

    • mekoka 3 hours ago

      Being dismissive is one way to think yourself "better" than others. But on HN hastier reactions tend to be outright negative or out of context with long articles, as eyeballs actually evaluating the content will take some time before providing constructive criticism.

  • WhrRTheBaboons 4 hours ago

    i hope this was vibe coded, because I'd hate to think that tiny dark-gray text on a black background was a conscious choice

    • faza 3 hours ago

      Hi, author here. I didn't vibe code this and have put considerable amount of effort in explaining the ideas. I have used Claude for review and help with visuals. My aim was just to help others understand these concepts easily. Thanks for your feedback, i'll improve the design and reading experience.

      • blooalien 3 hours ago

        My thoughts on reading it (and looking around your site) was that you were building these explanations to help cement your own understanding of the topics and that you were just sharing the results because you thought it might be helpful to others as well. Knowing that you actually built it with the intent to teach just makes me think that it's nice of you to try to be a teacher even if there's a few folks who want to be jerks about your efforts. The world needs more teachers (and learners, too). Gaining, improving, and sharing knowledge is one of humanity's true super-powers. Without it, we'd all still be living like animals in the wild. Thank you for your efforts to contribute in a positive way. At least you're actually making stuff, unlike many of them what gotta always just complain about the things other people make and never actually make anything themselves.

    • zerobees 4 hours ago

      The text is also pretty clearly AI-generated. I guess there's now a market for "I asked an LLM so that you don't have to", but the funny thing is that it's such a wall of text that no one upvoting it will have actually read it. So it's vibe-writing, vibe-coding, and vibe-reading. Full end-to-end synergy.

      • faza 3 hours ago

        Hi, author here. Sorry, you felt that way. I did put lot of effort in communicating my understanding, and used Claude only for review and visualizations.

        • kordlessagain 3 hours ago

          I'd suggest splitting the content out into clearly defined sections, lead by the visuals.

          Put the visualization and a short explainer, then have additional content show up if the reader drills in.

          I don't think there is anything wrong with the content being run through an LLM. Networking is crazy complicated.

          • faza 3 hours ago

            Thanks for your feedback. I'll try to do that.

        • zerobees 3 hours ago

          Oh come on. Just seven days before this 60-page essay, you apparently cranked out another 40-page one:

          https://fazamhd.com/mental-models/software/

          That's 100+ pages of in-depth technical writing in a matter of days. Amazing, really amazing. Also, not something that a human can do.

          And FWIW, Pangram classifies vast swathes of "your" article as entirely AI-generated. Yes, I know the tool is not perfect, but between your superhuman productivity, and all the subjective tells, and the output from that tool, it goes onto my mental "AI slop" pile.

          What I can't understand is why people can't just own it that they used a chatbot and that it was more than just "for review".

          • mekoka an hour ago

            Short publication intervals. That's the heuristic you're going with? I have dozens of such unpublished long form articles on fundamental topics, just waiting for me to carve some time to polish. I expect that on a sabbatical I could finish and post them in quick succession. It's an unreliable indicator to determine AI-writing.

          • f3408fh 2 hours ago

            Case closed.

      • rundef 2 hours ago

        I wonder whether mathematicians got the same reaction when calculators appeared: "You didn't compute every step by hand, so the result doesn't count."

      • mekoka 3 hours ago

        How were you able to pick this up? Not challenging your assertion. Just really curious. Can you point to some clues? I read it (with my own eyes). I can't see actual evidence the text itself is artificial or at least, that it is not human-curated.

    • sixtyj 4 hours ago

      It seems that author didn’t check vibe coded result. Mobile version has tiny text even even smaller… :)

      At HN, there should be some tag explaining the project is vibe coded.

      • faza 3 hours ago

        Hi, author here. Sorry for the bad experience. I'll put more effort on the design and reading experience

  • nicpottier 2 hours ago

    Weird comments on this. I found the writing to be excellent. The animations are a bit small and associated text even smaller on mobile but this doesn't read as AI slop to me at all. Anything that makes technology more accessible and understandable is a win in my book so kudos for doing it.

  • Vivek-KY 3 hours ago

    so well written ,appreciate it

    • faza 3 hours ago

      Thanks. Glad it was useful.

  • nikeshsundar 3 hours ago

    super

  • wojciii 4 hours ago

    I hate everything that uses ".. from first principles" with a passion. Almost as much as "technically true".

    • NoboruWataya 4 hours ago

      To me it just suggests that the blog is going to explore the topic at a low level, ie, discuss the transmission of bits of data via cables or radio waves, rather than discussing HTTP or TLS or whatever. Which in general is something I find quite interesting. (I haven't read this article yet so don't know if it's actually good, and the other comments don't give me much hope.)

      • faza 3 hours ago

        Hi, author here. I did explain all the fundamentals without leaving any gaps. Please do give it a read and I hope you like it.

    • 5701652400 4 hours ago

      +1 usually a sign of midwit and mediocrity. not once I seen "first principles" blogs have any value.

      • pennomi 4 hours ago

        Which is really sad, because actually working from first principles is a valid methodology to build efficient products that bypass layers of unnecessary abstraction.

        The term itself seems to have lost its real meaning however.

        • 5701652400 3 hours ago

          on the other hand, you start distinguishing the pipe from the image of a "the pipe".

      • wojciii 4 hours ago

        I skimmed the article after I realized that I was being negative. It has some nice explanations so my comment wasn't about the content but just about the wording of the title. :D

    • blooalien 4 hours ago

      My own personal "pet peeve" cliche phrase is anything that is "literally" (except it's really figurative) something. So many people for so very long have used "literally" to mean the literal opposite of it's actual meaning. Even when they don't use it to mean it's actual opposite meaning, they'll still often use "literal" to describe a thing that is in no way actually literal. It just "grinds my gears" to hear it.

  • vivzkestrel an hour ago

    - added to my list of stier blogs

    - for a blog to qualify as stier, it must animations and visualizations to explain the idea in a way that even a 5 yr old can understand

    - a tier is information heavy like authentic guides from betterstack

    - everything else goes below b tier

    - one day i ll share my list of 10000 blogs on hackernews, it ll blow the people s mind as i have been doing this for a while now