Beginner 2Intermediate 1Advanced 7
Start here ⚡ Make a slow aggregation fast, by measuring first
See the order for this field →A course is for reading in order and taking in; a project is for building one thing all the way through. Rather than handing you the requirements and walking off, each one carries the steps, a worked answer and the places people get stuck.
Beginner 2Intermediate 1Advanced 7
Start here ⚡ Make a slow aggregation fast, by measuring first
See the order for this field →Beginner 2Intermediate 3Advanced 10
Start here 🔎 Pull just the lines you need out of an access log
See the order for this field →Beginner 3Intermediate 6
Start here 🧾 Build a pricing table that holds up at any width
See the order for this field →Intermediate 2Advanced 2
Start here 🧰 Make a CLI that does not fall over on a broken CSV
See the order for this field →Beginner 2Intermediate 3
Start here 📊 Find what pulled sales down, and put it in a one-page report
See the order for this field →Intermediate 3
Start here 💽 Rescue a server whose disk "won't free up"
See the order for this field →Beginner 12Intermediate 70
Start here 🧭 Inventory in-scope assets and document evidence
See the order for this field →Beginner 1Intermediate 2
Start here 🧪 Fix a broken shipping-fee calculation by writing the tests first
See the order for this field →131 in total
Starting from a single orders CSV, you narrow down where sales are falling, working from the whole to the breakdown to one candidate. Using nothing but pandas aggregation, you finish with a one-page report holding a conclusion, its evidence, what the data cannot tell you, and one next step.
You build a pricing table of three plans that holds its shape from a 360px phone up to a wide screen. The aim is to let it wrap because the content is cramped, without writing a single @media rule.
You take a function that does not match its spec and fix it by writing a failing test first rather than diving in. You learn how to pick the boundaries, and what to leave behind once it is fixed.
Writing types protects you at compile time, but a type annotation cannot protect a value that came from outside. You build a type guard that narrows from unknown, rejecting the rows that do not fit while counting them.
An old response overwrites a newer one, a double click sends the order twice, and a failure vanishes without a word. You stop bugs that never raise an error and only ever show up as a screen that is out of step.
Your instinct about what is slow is usually wrong. You print the times before touching anything, and check afterward that the answer has not changed. You also find one rewrite that turns out to do nothing.
You reproduce, with your own hands, a search box that hands over every member's email address, and a file name that reaches outside the public folder. Then you close both.
Labels, how errors are conveyed, where focus goes. Make it something you can finish with the keyboard alone and it becomes a faster form for sighted people too.
Split on whitespace and take a field by number, and a small change in the shape of a line breaks it. You take fields by their shape instead, and count the lines you could not read.
Releasing blocked tasks does not compile: E0502. Rather than reaching for clone() or Rc, you separate reading from writing. You also find out what Rc<RefCell<T>> actually moves to runtime.
Why can Rust not even express code that another language would happily run with numbers that do not add up? You read what Send is saying, get it compiling, and measure three ways of writing it.
You write split_at_mut yourself. You find out why safe Rust cannot express it, cut the unsafe down to six lines, and leave behind a written account of why it is sound.
Writing async does not help if there is no await to yield at. You watch a heartbeat skip, then fix the difference between gather and TaskGroup and the way cancellation is handled.
You print the peak with tracemalloc and cut it in two directions: making one item smaller (__slots__) and holding fewer at once (generators). The second one is what pays.
Are your rules only enforced inside __init__? Then nothing stops anyone afterward. You check on every assignment with a descriptor, and work out derived values rather than holding them.
With Box<dyn Error> all you learn is that it failed. You write the possible failures out as an enum, so that adding one makes the compiler stop every caller. Up to where thiserror ends and anyhow begins.
Before the screens, decide which value lives where. Money is a Decimal, the database guards the stock, and the cart holds ids only and looks the price up every time. N+1 is watched by query count.
One item in stock and two customers at the same moment: code written the ordinary way lets both through. You reproduce it on PostgreSQL, fix it, and make the payment notification safe to receive twice.
You fix a search screen that stutters on every keystroke. Before adding any memo, you count how many times each component redraws. Once you count, the first thing you find is not a re-render at all.
You fix a bug where the display simply freezes, with no error and no warning. By counting redraws and watch triggers, you check one place at a time to find where the link between ref/reactive and the screen broke.
You look up a key you know you put in, and get null back. There are four causes, and all of them compile. You measure how entries become unreachable, sort out what a record fixes and what it doesn't, and finish by making the keys immutable.
A goroutine you start with go doesn't end until someone stops it. You count 100 of them lingering after a timeout gives up, find the line where they're stuck, stop them with channels and context, and pin down "no leaks" with a test.
You take a server that stopped because its disk was full, recreate it yourself on a throwaway disk, and bring it back. You trigger, on the spot, all three reasons df and du can disagree.
reset --hard, a deleted branch, a rebase you didn't mean, a dropped stash. You cause all four accidents on purpose and recover from every one, then check with your own hands where the line lies for what truly can't come back.
Turn fictional scan results into an asset note separating scope, observations, unknowns, and next steps. No real network is contacted.
Use fictional HTTP traces to document authentication, authorization, session checks, and remediation.
Correlate fictional authentication and web logs; document evidence, impact, preservation, and containment options requiring approval.
Review validation, output handling, and failure responses in a fictional profile API, then document regression tests.
Analyze fictional user, group, and file-permission inventories; distinguish excessive access from unknowns and propose improvements.
Use fictional flow summaries to identify deviations from a baseline and document detection leads and evidence still needed.
Build explainable detection logic and test cases from fictional authentication events. Document false positives and evasion limits; a rule match is not proof of compromise.
Classify fictional DNS records into confirmed assets, aliases, and unknowns. Work only from supplied data; perform no lookups or scans.
Review fictional HTTP response headers, document browser-side protections, and plan compatibility checks.
Use a local fictional database to review unsafe string construction and replace it with parameterized queries and tests.
Use a fictional file inventory and SHA-256 values to classify changes, additions, and missing files, while documenting hash limitations.
Review fictional Windows and Active Directory users and groups to identify access-review leads and verification steps.
Statically review fictional IAM policy documents for broad permissions and missing context. No cloud APIs are called.
Prioritize fictional findings using exposure, impact, evidence of exploitability, and business importance; do not rely on a score alone.
Review fictional training email headers and metadata, separating authentication results, route, suspicious indicators, and unknowns. Do not open links or attachments.
Statically review fictional Compose configuration for privilege, secrets, exposed ports, writable paths, and release checks.
Match fictional indicators against proxy logs and document evidence, freshness, and false-positive risk. An IOC match alone does not confirm compromise.
Use a fictional API and user roles to design tests that separate authentication from object-level authorization.
Statically review fictional sudoers rules and identify missing command, argument, user, and business-purpose constraints.
Use fictional training events to sequence failures, successes, and lockouts, then plan additional log checks.
Review fictional certificate metadata and configuration inventories; document expiry, owner, service, and renewal plans. Do not probe endpoints.
Statically review fictional pipeline configuration for secret storage, log exposure, least privilege, and rotation.
Use fictional service requirements to plan RPO/RTO, recovery order, validation, approval, and records. No real data is deleted or restored.
Use fictional cloud audit events to identify actor, resource, time, and result, then plan comparison with approved changes.
Model assets, trust boundaries, threats, and controls for a fictional file-sharing service and create a design-review artifact.
Use fictional vulnerability exceptions to build a register with compensating controls, risk owner, expiry, and review triggers.
Analyze fictional DNS metadata and flag long or frequent queries for review. Do not label activity malicious based on name or size alone.
Review a fictional upload feature and document checks for size, type, name, storage, authorization, and regression tests. No real files or sites are used.
Statically review a fictional systemd unit and propose improvements for runtime identity, writable paths, privilege separation, and operational impact. Do not start or change services.
Use prebuilt simulated events, without performing attacks, to validate detection, logging, and analyst response as a purple-team exercise.
Review fictional dependencies for provenance, pinning, maintenance, and updates. No installation or external requests.
Review session rotation, cookie attributes, expiry, logout invalidation, and reauthentication in a fictional login design.
Create an evidence register for a fictional incident, recording source, time, hash, storage, and transfer history.
Analyze fictional usage and design per-operation limits, 429 responses, monitoring, and exceptions.
Use a fictional topology and requirements to create a minimal flow matrix and change plan.
Review fictional storage settings for exposure, principals, encryption, and retention. No APIs are called.
Map key lifecycle responsibilities for a fictional app. No real key material is used.
Review fictional file hashes, sizes, and provenance. Do not execute or download files.
Review allowed origins, credentials, preflight, and public-data requirements in fictional API settings.
Classify fictional log fields and preserve investigative value while minimizing secrets and personal data.
Map fictional service dependencies and plan priority, rollout, monitoring, and rollback criteria.
Statically review fictional Kubernetes RBAC for broad permissions, principals, and namespaces. No cluster is accessed.
Design safe token, expiry, response, rate-limit, and notification requirements for a fictional reset flow.
Build tests for signature, algorithm, issuer, audience, expiry, and key rotation from a fictional JWT design. No forgery.
Build operational metrics from fictional data and document denominators, periods, coverage, and false positives.
Organize fictional scan output, separate observations from hypotheses, and plan follow-up. No scans are run.
Compare fictional sshd configuration with operational needs and plan authentication and change-impact checks. No connections or edits are made.
Define requirements for dedicated password-hashing functions, migration, and review without inventing custom encryption.
Classify fictional API errors and design tests that separate user-facing responses from internal diagnostic logs.
Review a fictional URL-fetching data flow for destination controls, DNS resolution, redirects, and network isolation. No connection tests are run.
Review fictional image inventories and build metadata for tag pinning, digests, signatures, owners, and base images. No images are pulled or run.
Map fictional browser actions and build tests for state changes, cookie policy, token validation, and same-site requirements.
Review fictional Windows policy state and recommend improvements for coverage, sensitive data, forwarding, retention, and access. No endpoints are accessed.
Correlate fictional authentication and proxy events; define detection logic, suppression, and analyst checks.
Use fictional incident scenarios to define severity, rationale, recipients, update cadence, and uncertainty communication.
Review a static training process list by parent, path, and signature; plan evidence collection. Do not execute or stop processes.
Design enrollment verification, recovery codes, lost-device handling, and helpdesk identity checks for fictional MFA flows.
Review fictional CDN handling of authenticated responses, cache keys, and cookies.
Design rejection requirements and tests for traversal, links, and duplicate names in fictional archive extraction. No files are extracted.
Review concurrency, retries, idempotency keys, and transactions in a fictional order workflow.
Compare fictional sysctl settings with service needs and plan deviation, compatibility, exception approval, and validation.
Review fictional service identities, binary permissions, and update paths. No endpoint is accessed.
Define redirect URI, state, nonce, PKCE, and token-storage requirements for a fictional authorization flow.
Plan sender inventory and gradual policy enforcement using fictional domain and aggregate data.
Define signature, timestamp, duplicate-event, key-rotation, and response requirements for a fictional webhook receiver.
Review a fictional API inventory for unknown owners, old versions, and unnecessary exposure; plan safe deprecation.
Design intake, reproduction scope, severity, communications, and information protection for fictional reports.
Use a fictional software inventory to define approval criteria, owners, update sources, and exception expiry. No endpoint controls are applied.
Classify fictional logs, evidence, and backups; design retention, deletion, and legal-hold processes balancing investigations and privacy.
Use a fictional web page to define safe handling and tests for HTML, attributes, URLs, and JavaScript contexts.
Review a fictional import feature for untrusted formats, type constraints, size limits, and schema validation. No executable serialization is used.
Use a fictional domain/trust and admin-group map to plan boundary, ownership, and audit checks. No real domain is queried.
Use fictional namespaces and requirements to design minimal ingress/egress policies and validation. No cluster is accessed.
Use fictional WAF events and app requirements to design rules, exclusions, and alert validation. No attack requests are sent.
Use fictional data classifications and endpoint needs to define USB approval, encryption, scanning, and loss response. No endpoint controls are changed.
Reconcile fictional personnel events and account records; define ownership and checks for provisioning, changes, deprovisioning, and exceptions.
Use a fictional CI/CD release flow to review build provenance, signatures, approvers, and post-deployment verification. No real artifacts are handled.
Use a fictional DNS zone to plan checks for validation, key rotation, delegation, and failure monitoring. No DNS queries are made.
Design tests for page numbers, cursors, filters, and ownership authorization in a fictional multi-tenant API.
Use fictional findings to produce an audience-aware report with impact, evidence, reproduction conditions, remediation, and retest.
Use a fictional organization scenario to define a testable hypothesis, required logs, search scope, falsification criteria, and results.
Join the order items and payments, add it up, and sales go from 9,200 yen to 37,200. You count the rows after the join to find where they multiplied, then rewrite it to aggregate first and join after. Finally you read the query plan to see whether the index is used.
A small CLI that just totals a sales CSV was printing NaN even for a normal file. You check each line so it can say which line is wrong and why, settle the exit codes and what goes to stdout and stderr, and end up with a tool you can trust at the end of a pipe.
A meeting-room booking API answered 200 when bookings overlapped and 500 for a room that does not exist. You write the spec as tests first, reject bad input with Pydantic, and return 201, 204, 404, 409 and 422 where they belong. Edge cases like "from exactly 11:00" get pinned down by tests too.
A price with tax comes out one yen too high; a split bill doesn't add up to the bill. You check float error, round()'s round-half-to-even, rounding rules and leftover yen one at a time with real numbers, then write a largest-remainder function whose shares always add up, and pin it down with tests.
A CSV from Excel comes out garbled, refuses to load, or won't let you look up a column by name. You rebuild each case as bytes — Shift_JIS versus cp932, the UTF-8 BOM, line breaks inside cells, characters like 髙 and ① — then write read and write functions and a round-trip test.
A booking shows a day early, a month-end billing date skips a month, and a day lasts 25 hours when summer time ends. You reproduce date bugs that appear for some readers and not others, using UTC and named time zones, then fix them with functions that keep dates as strings and pin them with tests.
One family emoji counts as 8 characters, a pasted "が" counts as 2, and cutting a long name leaves a "�" at the end. You count four ways (length, code points, graphemes, bytes) to see the difference, then fix it with functions that normalize first and count and cut by grapheme, pinned by tests.
One long URL and the card breaks out of its box, and the phone gets a sideways scroll. Measuring the overflow as you go, you fix wrapping, min-width: 0 in flex, minmax(0, 1fr) in grid, images and the "…" truncation, and keep a check that lists the elements that stick out.
Someone added "if it fails, try again at once" to a flaky API. The outage ended after 3 seconds, yet 60 seconds later nobody was getting through. With a fake clock and a fake server you count the requests, then fix it with backoff and jitter, retry rules, timeouts and an idempotency key.
A month with no sales went missing, so April was being compared with February. You show which month each figure compares with, build a calendar to bring back the zero month, see why a running total jumps on a shared date, decide how ties rank, and pin it all down with check columns.
State held as isLoading, isError and data can be built 8 ways, and only 4 of them mean anything. You reproduce how you drift into an impossible state, shut it out with a discriminated union and never, gather every change into a reducer, and pin it down with a transition-table test.
You recreate, in a throwaway sandbox, a backup that drops filenames with spaces, copies the wrong files after a typo in the directory, and still exits 0 saying "done". You check where set -euo pipefail doesn't reach, fix it, and pin it down with a test and ShellCheck.
A Python web app's image is 1.24GB, and every one-line code change reruns pip install. You count which layers are fat with docker history, apply COPY order, .dockerignore, multi-stage, slim and non-root one at a time, then pin size and USER in CI.
Pass a long name to the function that builds display names, and the is_admin field next to it gets overwritten. You pin down which byte spilled over with ASan, see why strncpy does not fix it, rebuild the API so it takes the buffer size, and lock the edges down with tests.
You fix tests that pass locally but fail now and then in CI. You reproduce the three usual causes (the clock, randomness, state left over between tests), put a number on how often each fails, then rework the code to take the outside world as arguments, and confirm it survives 200 shuffled runs.
The first of eight projects that build a terminal in Rust. Record vim, top and less with script, read the output byte by byte with cat -v and od, check the meaning in xterm ctlseqs, and write the observation notes that drive the design.
Build a small script(1) of your own with Rust and libc: start a child with forkpty, always restore raw mode, forward SIGWINCH, and relay with select. Tests drive real PTYs, and the output is compared byte for byte with macOS script.
Build the heart of a terminal without a GUI: your own implementation of the Williams state machine and a screen model with scroll regions, the alternate screen, wide characters, emoji and snapshots. Then run real vim and check it against tmux cell by cell.
Draw last part's screen state on the GPU, with a glyph atlas, Japanese font fallback, 256 colors and truecolor, wide cursors and redrawing only changed rows. The PTY hides behind a Backend trait, and offscreen PNGs and pixel comparisons verify the result.
Turn a terminal that can only draw into one you can use: modifier keys and DECCKM encoding, mouse reporting, selection, the clipboard, bracketed paste and scrollback viewing. Input is written as pure functions and verified by driving real vim, nvim, zsh and less.
Move the part that owns the PTY into a daemon. Build a length-prefixed protocol, a snapshot on attach, raw byte relay and resync for slow clients, then make the GUI a socket client. Confirm that the screen survives closing and reopening.
Turn the single-PTY server into a multiplexer with a tree of sessions, windows and blocks. Add splits, several clients at once, per-client scrolling, and a CLI with --json and meaningful exit codes, enough to replace basic tmux use.
The final part. Embed Lua configuration and custom actions in the server, and add a command palette. Connect from another machine through an SSH tunnel, measure with a delay relay, and hide typing lag with Mosh-style local echo prediction, and check that a typed password stays off the screen.
Two order searches have indexes, yet read thousands of rows only to throw them away. You find the extra reads and sorts in the query plan, rebuild the indexes with a new column order and as a partial index, and confirm with PostgreSQL's EXPLAIN ANALYZE that fewer pages are read.
A duplicate check on a member list is instant at 1,000 people and never finishes at 100,000. You count the comparisons, see how they grow when the list doubles, and estimate before running. Then you rewrite it around a dict and check that the rows to remove have not changed.
A survey's average satisfaction came out at 5.15 on a 5-point scale. You count out-of-range scores, double answers, blanks and inconsistent department names, decide how to treat each, wrap the cleaning in a function, and report the average with how many rows were set aside.