Best of Networking2025

  1. 1
    Article
    Avatar of communityCommunity Picks·1y

    Become a Better Programmer: 7 Habits to Grow

    Adopting good habits is key to becoming a better programmer and professional. Focus on mastering the basics, think before you code, learn from official documentation, and write clean code. Develop strong debugging skills, network with other programmers, and build projects that solve real-life problems to gain practical experience.

  2. 2
    Article
    Avatar of systemdesigncodexSystem Design Codex·1y

    15 Must-Know Elements of System Design

    A well-designed system leverages various architectural elements to manage distributed systems, enhance scalability, service management, networking efficiency, and data storage. Key components include distributed message queues, caching, task schedulers, content delivery networks, consistent hashing, service discovery, DNS, load balancers, API gateways, databases, object storage, sharding, replication, and monitoring tools. These elements help improve performance, manage traffic, and ensure system resilience and fault tolerance.

  3. 3
    Article
    Avatar of bytebytegoByteByteGo·1y

    EP158: How to Learn API Development

    Key tips for learning API development including fundamentals, request/response handling, authentication and security, and deployment. A focus on AI coding aids like Augment Agent, and significant coding tools for 2025. Also covers network protocol dependencies and essential design patterns. ByteByteGo is hiring for a sales and partnerships lead.

  4. 4
    Article
    Avatar of bytebytegoByteByteGo·1y

    EP156: Software Architect Knowledge Map

    Becoming a Software Architect involves mastering programming languages, gaining proficiency in essential tools, understanding key design and architectural principles, and acquiring knowledge in platforms, data analytics, networking, and security. Supporting skills such as decision-making, communication, and leadership are also crucial for a well-rounded skill set.

  5. 5
    Article
    Avatar of communityCommunity Picks·1y

    Tips to become 10x better in Tech Interviews

    Gourav Khanijoe, a Staff Engineer at HubSpot, shares five insightful tips to enhance your performance in tech interviews. Key points include building a reliable professional network, viewing each interview as a learning opportunity, crafting adaptable stories for behavioral questions, smart approaches to Leetcode challenges, and using storytelling in system design interviews. These strategies focus on making the best use of your skills and experiences to stand out from the crowd.

  6. 6
    Article
    Avatar of collectionsCollections·36w

    Transforming a Disposable Vape into a Functional Web Server

    A creative hardware project successfully repurposed a disposable vape's PY32F002B microcontroller (24MHz ARM Cortex-M0+, 24KB flash, 3KB RAM) into a functional web server. Using semihosting communication, SLIP protocol for networking, and the uIP TCP/IP stack, the project achieved 20ms ping times and 160ms page load times through careful optimization including ring buffers. This demonstrates the potential of transforming resource-constrained everyday electronics into versatile computing devices.

  7. 7
    Article
    Avatar of last9Last9·1y

    Your Go-To Linux Commands Cheat Sheet

    A comprehensive cheat sheet covering essential Linux commands for directory navigation, file management, user and permission management, system monitoring, networking, disk usage, software handling, system performance, log management, task automation, and firewall security. It's an invaluable resource for both new users and seasoned admins to enhance productivity and streamline system administration tasks.

  8. 8
    Video
    Avatar of codinggopherThe Coding Gopher·1y

    99% of Developers Don't Get Sockets

    Sockets are critical abstractions provided by operating systems that facilitate communication between processes either on the same machine or over a network. They are predominantly used at the transport layer of the OSI model and can leverage TCP for reliable communication or UDP for faster, less reliable transmission. Understanding sockets is essential for building scalable systems and managing secure network interactions. Complex real-world projects can help deepen this knowledge.

  9. 9
    Article
    Avatar of christianheilmannChristian Heilmann·1y

    Nothing makes me want to hire someone less than them showing an open to work badge

    The article discusses the perception of LinkedIn's 'open to work' badge, arguing against the notion that it signals desperation. Instead, it is seen as a tool for clear communication, facilitating professional connections and indicating availability. The piece highlights the benefits of using LinkedIn for professional networking and dismisses stereotypes associated with the badge.

  10. 10
    Article
    Avatar of hnHacker News·1y

    .localhost domains

    Set up private, custom domains for local web-apps using 'appname.localhost' instead of 'localhost:4333'. Steps involve configuring apps as launchd daemons, redirecting traffic in /etc/hosts, and using Caddy for port redirection. A more streamlined process for easy installation or removal of these domains is desired. An update highlights a command using dnsmasq for further simplification.

  11. 11
    Article
    Avatar of javarevisitedJavarevisited·1y

    Docker Networking Explained: Theory and Network Drivers Simplified

    Docker networking simplifies the configuration of network connections, enabling containers to connect with each other, the host, and external networks. It follows core networking principles using bridges and NAT for communication. Docker network drivers, including built-in options like bridge, host, overlay, and none, help in different scenarios by abstracting the underlying complexities. These drivers are crucial for the efficient deployment and operation of containerized applications, allowing developers to focus on functionality rather than infrastructure.

  12. 12
    Article
    Avatar of jeffgeerlingJeff Geerling·1y

    NUT on my Pi, so my servers don't die

    Setting up Network UPS Tools (NUT) on a Raspberry Pi can help safely manage server shutdowns during power outages. By installing and configuring NUT on the Pi, it can monitor UPS devices and ensure servers shut down properly before battery depletion. The detailed steps include installing NUT, configuring the UPS, and setting up NUT server and clients. Additionally, integration with platforms like Home Assistant is shown to monitor UPS vitals and stats.

  13. 13
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How DNS Works: A Guide to Understanding the Internet's Address Book

    The Domain Name System (DNS) translates domain names into IP addresses, enabling easy access to websites. It involves DNS resolution, which efficiently processes queries through caching and servers like root, TLD, and authoritative name servers. Users can configure their DNS settings manually or rely on defaults and DHCP. The internet relies on a hierarchical DNS system, which has evolved for scalability and reliability. Domain registrars play a crucial role in managing domain registration and DNS setup.

  14. 14
    Article
    Avatar of infosecwriteupsInfoSec Write-ups·48w

    DNS Records

    DNS records serve different purposes in domain name resolution and security. A and AAAA records map domains to IPv4 and IPv6 addresses respectively. CNAME records create domain aliases, while MX records direct email routing. TXT records store security information like SPF, DKIM, and DMARC for email authentication. NS records identify authoritative name servers, SOA records contain zone management data, SRV records specify service locations and ports, and PTR records enable reverse DNS lookups for security validation.

  15. 15
    Article
    Avatar of systemdesignnewsSystem Design Newsletter·1y

    What Is a DNS Server and How Does It Work

    The post explains the Domain Name System (DNS), comparing it to a phone book that translates site names into IP addresses. It describes the process of how browsers, operating systems, and resolver servers interact to locate a site's IP address. The DNS hierarchy involves root servers, top-level domain (TLD) servers, and authoritative name servers, each playing a specific role. DNS uses caches to improve efficiency and reduce latency.

  16. 16
    Article
    Avatar of systemdesignnewsSystem Design Newsletter·45w

    Forward Proxy vs Reverse Proxy ✨

    Forward proxies sit between clients and the internet, filtering requests and providing anonymity, while reverse proxies sit between the internet and servers, handling load balancing, security, and caching. Forward proxies require client configuration and are commonly used in corporate networks for access control, whereas reverse proxies are transparent to clients and provide server-side benefits like TLS termination, DDoS protection, and traffic distribution across multiple servers.

  17. 17
    Article
    Avatar of nickjanetakisNick Janetakis·51w

    Networking Basics with Docker Compose — Nick Janetakis

    Docker Compose automatically creates networks and DNS entries for services, enabling containers to communicate using service names like 'web:8000' or 'db:5432'. Each service gets assigned an IP address on a bridge network with automatic DNS resolution. The post demonstrates how to inspect network configurations, understand IP addressing, use custom aliases, and leverage the gateway IP for host communication through practical examples with curl requests between containers.

  18. 18
    Article
    Avatar of hnHacker News·1y

    How Network Address Translator (NAT) works

    The post explains how NAT (Network Address Translator) and stateful firewalls affect peer-to-peer connections and how to traverse these obstacles. Techniques like using UDP protocols, direct socket control, and tools like STUN (Session Traversal Utilities for NAT) and TURN (Traversal Using Relays around NAT) can help establish connections. Advanced strategies including simultaneous packet transmission, birthday paradox probe, and port mapping protocols are discussed to handle different types of NAT behaviors. For robust connectivity, fallback relays and Interactive Connectivity Establishment (ICE) protocols are recommended.

  19. 19
    Article
    Avatar of systemdesigncodexSystem Design Codex·1y

    From Typing URL To Showing the Webpage

    Discover the complex process involved when you type a URL into a browser and press Enter. This action initiates a journey through networking protocols, DNS resolution, TCP connections, and browser rendering, culminating in a fully loaded webpage. Understand each stage, from determining if text is a URL to caching, DNS lookups, and finally rendering the page for viewing.

  20. 20
    Article
    Avatar of hnHacker News·39w

    A German ISP tampered with their DNS - specifically to sabotage my website

    A German developer created a website to expose blocked domains by the CUII (Copyright Clearinghouse for the Internet), a private organization that decides what websites German ISPs should block. After publishing an article about CUII's mistakes, Telefonica (o2's parent company) modified their DNS blocking mechanism, making it harder to detect blocked domains. The timing suggests this was done specifically to sabotage the transparency tool, as Telefonica first tested their own domain on the website, then changed their blocking method two hours later.

  21. 21
    Article
    Avatar of jeffgeerlingJeff Geerling·1y

    Project Mini Rack - compact and portable homelabs

    Project MINI RACK is an open-source initiative aimed at helping users build compact and portable homelabs, RF/wireless rigs, and other electronics projects into mini 10" racks. The project provides resources, compatibility testing, and showcases different mini rack builds. It highlights the cost and space efficiency of mini racks compared to full-size rackmount equipment and offers detailed guides for various setups. Enthusiasts can explore different configurations and even participate in giveaways.

  22. 22
    Article
    Avatar of tailscaleTailscale·46w

    Tailscale and RustDesk: Secure Remote Access to All Your Desktops

    RustDesk is an open-source remote desktop tool that can be enhanced with Tailscale for secure, direct connections between devices. By enabling direct IP access in RustDesk and using Tailscale's encrypted network, users can skip complex server setups and connect remotely using Tailnet IP addresses. This combination provides a free alternative to paid services like TeamViewer, offering features like file transfers, remote restarts, and screen sharing across Windows, Mac, Linux, and mobile platforms.

  23. 23
    Video
    Avatar of primeagenThePrimeTime·42w

    Why your website should be under 14kB in size

    TCP slow start algorithm begins by sending only 10 packets (approximately 14KB) before waiting for acknowledgment, then doubles the packet count with each successful round trip. This means websites under 14KB can load significantly faster than those requiring multiple round trips, with potential savings of 600+ milliseconds on high-latency connections like satellite internet. The rule applies even to HTTP/2 and HTTP/3/QUIC protocols, making it crucial for optimizing critical above-the-fold content and initial page loads.

  24. 24
    Article
    Avatar of baeldungBaeldung·1y

    Thread per Connection vs Thread per Request

    This post compares two server threading models: thread-per-connection and thread-per-request. It defines the terms 'connection' and 'request', discusses their implementation in Java web servers, and highlights the advantages and disadvantages of each model. Thread-per-connection involves a dedicated thread for each client connection, while thread-per-request uses a new thread for each request, regardless of connection status. The choice between these models depends on factors like scalability, context switching, and expected traffic patterns.

  25. 25
    Article
    Avatar of hnHacker News·1y

    Turning My ESP32 into a DNS Sinkhole to Fight Doomscrolling

    The post discusses transforming an ESP32 microcontroller into a DNS sinkhole to block social media sites and combat doomscrolling. The author details the process of configuring the ESP32 as a custom DNS server that reroutes traffic to non-routable IPs, effectively blocking access to specified domains. The project uses the Arduino IDE for programming and focuses on low-level networking and DNS protocols.