Learn Python - Free Tutorials & AI Guides

Free Python Tutorials, AI Guides & Coding Projects

Frontend
Vue Source Code Deep Dive: Reactivity, Compiler, and Runtime Patching Explained

Vue Source Code Deep Dive: Reactivity, Compiler, and Runtime Patching Explained

If you have shipped a Vue component, you know the exact moment the abstraction stops helping: a computed value goes stale because you mutated a nested array, or a watcher fires twice for one change. The stack trace points into...

Frontend
Svelte 5 Internals: How the Compiler Compiles Runes into Signals

Svelte 5 Internals: How the Compiler Compiles Runes into Signals

let count = $state(0) looks like ordinary JavaScript, yet changing count updates exactly the right piece of DOM and nothing else. Every frontend developer has met the shadow of that convenience: a derived value gone stale, an effect looping forever,...

Frontend
SolidJS Internals: How Signals, Lanes and a Rust Compiler Kill the Virtual DOM

SolidJS Internals: How Signals, Lanes and a Rust Compiler Kill the Virtual DOM

Every frontend developer has met the same wall. The profiler shows a component re-rendering for the tenth time in a keystroke, and you stop asking why — you just wrap things in useMemo until the frame is green again. That...

Frontend
React Source Walkthrough: Inside the Fiber Reconciler and the react-dom Client Entry

React Source Walkthrough: Inside the Fiber Reconciler and the react-dom Clien...

Every React app starts with a call that looks deceptively small: root.render(). One line, one paint — or so it feels. Then the tree grows, a transition stalls a scroll event, and you are profiling 40-millisecond frames wondering where React...

Frontend
Qwik Source Tour: The Serialization Engine That Makes Web Apps Resumable

Qwik Source Tour: The Serialization Engine That Makes Web Apps Resumable

Every frontend team has lived the same morning: the Lighthouse report blames a bundle you barely shipped, “Total Blocking Time” is red, and the profiler shows the browser spending its first two seconds re-executing framework code for a page that...

Frontend
How Preact Works: A Source Tour of the 4 kB Diff Engine

How Preact Works: A Source Tour of the 4 kB Diff Engine

Every frontend team eventually runs the bundle audit that ruins the week: 140 kB of framework runtime before a single line of your own code executes. Preact attacks that floor itself. Its README opens with one sentence — “Fast 4kB...

Frontend
Nuxt Architecture Explained: Nitro Server Engine, Build Templates and the Vue SSR Renderer

Nuxt Architecture Explained: Nitro Server Engine, Build Templates and the Vue...

Every Nuxt app ships two artifacts: the client bundle your browser hydrates, and a server bundle that renders pages before the browser ever loads. When the second artifact misbehaves - an edge deployment 500s, a route rule quietly stops applying,...

Frontend
How Next.js Works Under the Hood: App Router, Server Components and Turbopack

How Next.js Works Under the Hood: App Router, Server Components and Turbopack

Every Next.js developer has met the same three walls. You add "use cache" to a function and the error message points at a file you have never heard of. Your dev server takes thirty seconds to boot and you cannot...

Frontend
Astro Source Tour: Island Architecture and the Vite Integration Under the Hood

Astro Source Tour: Island Architecture and the Vite Integration Under the Hood

Every frontend team eventually pays the hydration tax. You start with a simple marketing site, someone drops in a React component for the pricing toggle, and before you can blink the browser is downloading 300 KB of JavaScript to render...

Frontend
Angular Source Architecture: Ivy Compiler, DI Graphs and Zoneless Change Detection

Angular Source Architecture: Ivy Compiler, DI Graphs and Zoneless Change Dete...

Every Angular developer eventually hits one of three walls. The first is NullInjectorError pointing at a provider that you are sure you registered, with a stack trace that never touches your own files. The second is a view that refuses...

DevOps
Terraform Source Code Explained: How HashiCorp Turns HCL Into an Execution Plan

Terraform Source Code Explained: How HashiCorp Turns HCL Into an Execution Plan

Every Terraform user eventually hits the same wall. You run terraform plan, it hangs for ninety seconds, prints a diff you did not fully expect, and if a provider binary crashes mid-run the error mentions protocol versions instead of your...

Open Source
How Synapse Delivers a Matrix Message: A Source Tour of Element's Homeserver

How Synapse Delivers a Matrix Message: A Source Tour of Element's Homeserver

You tap send in Element, the bubble flips from “sending” to “sent”, and within a second everyone in the room sees it. What actually happened in that second is the most under-appreciated chunk of distributed-systems engineering in the open-source chat...

Open Source
Nextcloud Source Walkthrough: How a WebDAV Sync Request Really Works

Nextcloud Source Walkthrough: How a WebDAV Sync Request Really Works

If you have ever run a self-hosted Nextcloud, you know the specific pain: the desktop client sits at “syncing 99%” for twenty minutes, a multi-gigabyte upload dies at 3 a.m. with a cryptic LockedException, or quota enforcement silently rejects a...

Open Source
How Mastodon Works: A Toot's Journey from Rails Write to Fediverse Inbox

How Mastodon Works: A Toot's Journey from Rails Write to Fediverse Inbox

Every developer eventually hits the write-amplification wall. One user action — a post, a comment, a like — has to become hundreds or thousands of downstream effects: per-recipient writes, live-stream notifications, background fetches, outbound HTTP calls to machines you do...

Open Source
Keycloak Authentication Flow Explained: How a Login Works in the Source

Keycloak Authentication Flow Explained: How a Login Works in the Source

You are two hours from a release and the login page of your staging app is stuck in a redirect loop. The browser shows the same dance over and over: your app sends the user to /realms/myrealm/protocol/openid-connect/auth, Keycloak answers with...

DevOps
How Jenkins Runs a Build: Inside the Singleton, Queue and Executor Threads

How Jenkins Runs a Build: Inside the Singleton, Queue and Executor Threads

Every team has a Jenkins story that starts the same way: a build has been sitting in the queue for forty minutes, the web UI says nothing useful, and the only advice on screen is a small gray spinner. You...

Open Source
Immich Architecture: How a Self-Hosted Photo Server Ingests, Indexes, and Serves Every Photo

Immich Architecture: How a Self-Hosted Photo Server Ingests, Indexes, and Ser...

Every developer who has tried to escape Google Photos hits the same wall within a week: moving ten years of JPEGs and HEICs somewhere you control is trivial, but recreating the experience is not. The moment a photo lands on...

DevOps
GitLab Architecture From the Source: How gitlab-org/gitlab Serves a Git Request

GitLab Architecture From the Source: How gitlab-org/gitlab Serves a Git Request

You type git push, the remote counts objects, and ten seconds later the merge request exists, CI job graphs are scheduled, and three webhooks have fired. If you have ever maintained a Git server, you know how much machinery hides...

DevOps
Gitea Source Tour: How One Go Binary Serves Git Over HTTP and SSH

Gitea Source Tour: How One Go Binary Serves Git Over HTTP and SSH

Every developer running a small team on GitHub eventually meets the pain: the pricing page, the seat count, or a repo that must move behind the company firewall. Self-hosting a forge sounds heavy, which is exactly why Gitea’s pitch is...

Open Source
Discourse Source Tour: How the Rails Forum Engine Handles Topics, Posts, Jobs and Search

Discourse Source Tour: How the Rails Forum Engine Handles Topics, Posts, Jobs...

Every developer eventually gets asked to build “a little forum.” The scope looks tiny: topics, replies, a few moderators. Then reality lands. Unread counters must survive a hundred concurrent repliers hitting the same thread. Markdown arrives wrapped in hostile HTML....

DevOps
How Ansible Executes a Playbook: Inside ansible-playbook, the Strategy Layer, and AnsiballZ

How Ansible Executes a Playbook: Inside ansible-playbook, the Strategy Layer,...

You type ansible-playbook site.yml, watch a wall of colored task names scroll by, and thirty seconds later thirty servers are configured. It feels like magic: no agent was installed, no daemon is listening, and yet each remote host ran Python...

Data Visualization
How Vega-Lite Compiles a JSON Chart Spec into Vega: A Source Code Tour

How Vega-Lite Compiles a JSON Chart Spec into Vega: A Source Code Tour

Every developer who has written a Vega-Lite spec knows the bargain: you declare twelve lines of JSON — a mark, an x field, a y field, maybe a color — and the library hands back a hundred-line Vega specification with...

Data Visualization
How Seaborn Works Internally: Plotter, Stat Estimators, and Matplotlib Compilation

How Seaborn Works Internally: Plotter, Stat Estimators, and Matplotlib Compil...

Every seaborn user has been here: you call so.Plot(df, "x", "y").add(so.Bars()).plot() and a fully-formed matplotlib figure pops out — aggregated means, bootstrap confidence intervals, dodged positions, shared axes. Then a reviewer asks “which interval is that, exactly?” or the notebook...

Data Visualization
How Recharts Builds React Charts from D3 Primitives: Inside CartesianChart, Redux State and the Scale Engine

How Recharts Builds React Charts from D3 Primitives: Inside CartesianChart, R...

Every React developer has copied the <LineChart><Line dataKey="pv" /></LineChart> snippet from the Recharts docs and shipped a dashboard in an afternoon. The pain starts the first time something misbehaves: the tooltip flickers on every mousemove, stacked bars silently reorder after...

Watch PyShine on YouTube