
Quick software engineering explainers for things you should've googled by now
Join the newsletter →
Joined December 2025
- Tweets2.9K
- Following351
- Followers4.2K
- Likes3.8K
Pinned Tweet
Classic pagination bug: a product search feels instant on the first few pages, then gets slower the deeper it goes. A few hundred pages in, response times stretch into seconds and CPU usage goes up. OFFSET is the culprit, and the fix is a one-line change to the query.
Data structures and their costs:
An array reads by index in O(1), a hash map looks up a key in O(1) on average, and a balanced BST keeps keys sorted at O(log n) per lookup. A binary heap reads its minimum in O(1), and stacks and queues push and pop in O(1).
2
41
Security quiz.
A backend stores SHA-256(password) for every user, without a salt. Alice and Bob both choose the password hunter2.
Are their two stored hashes the same?
4
6
527
Search optimization through debouncing:
Typing "shoes" into a search box fires 5 input events. Sending a request on each one would create 5 requests, and 4 of them are for partial queries.
Debouncing waits for a pause in typing, then sends a single request for "shoes".
2
9
381
JavaScript Quiz: what's the output of this code?
A) true true
B) false true
C) false false
D) true false
CI/CD tools side by side:
GitHub Actions, GitLab CI/CD and Bitbucket Pipelines are built into the Git host, Jenkins is self-hosted, and CircleCI is a separate hosted service. Argo CD only handles deployment: it keeps a Kubernetes cluster in sync with manifests stored in Git.
1
15
579
SQL quiz.
Table orders has a column customer with the values Ana, Ben, Ana, NULL, NULL.
How many rows does this query return?
SELECT customer, COUNT(*)
FROM orders
GROUP BY customer;
The API responses behind x .com include three rate-limit headers: X-Rate-Limit-Limit, X-Rate-Limit-Remaining and X-Rate-Limit-Reset.
All three describe one limit: how many requests a window allows, how many are left, and when the count goes back to full.
4
269
D. Parallel tasks are executed at the same instant, which needs more than one core.
A is concurrency on one core, B is async I/O, C is sequential execution.
Concurrency quiz.
Parallelism, concurrency, async I/O and sequential execution often get mixed up. Which one describes parallelism?
A) tasks taking turns on one core
B) tasks that don't block on I/O
C) tasks executed one by one
D) tasks executed at the same time
1
278
Browser storage options:
Cookies are sent with every request and are limited to about 4 KB each. localStorage keeps about 5 MB per origin until it is deleted, sessionStorage is cleared when the tab closes, and IndexedDB and the Cache API store larger data for offline use.
4
327
Concurrency quiz.
Parallelism, concurrency, async I/O and sequential execution often get mixed up. Which one describes parallelism?
A) tasks taking turns on one core
B) tasks that don't block on I/O
C) tasks executed one by one
D) tasks executed at the same time
Rolling vs blue-green deployment:
Rolling updates the existing servers one at a time. Old and new versions serve traffic together until the last server is updated.
Blue-green deploys to a full second environment, then the load balancer switches all traffic at once.
1
26
758
Go Quiz: what's the output of this code?
A) [1 2 3]
B) [2 4 6]
C) compile error: declared and not used
D) [1, 2, 3]
Redis Streams: deleted.
XACK only removes the message from the consumer group's pending list. The entry stays in the stream until it is trimmed or deleted.
Message brokers quiz.
What happens to a message after a consumer acknowledges it:
- Kafka: kept
- Redis Streams: deleted
- RabbitMQ: deleted
- SQS: deleted
Which pairing is wrong?
1
4
244
API styles compared:
REST, GraphQL and gRPC are request and response styles: GraphQL lets the client pick the fields, gRPC sends Protobuf over HTTP/2. WebSockets keep a two-way connection open, Server-Sent Events only push from the server, and webhooks call a URL on each event.
9
262
Message brokers quiz.
What happens to a message after a consumer acknowledges it:
- Kafka: kept
- Redis Streams: deleted
- RabbitMQ: deleted
- SQS: deleted
Which pairing is wrong?
This is a good example of a hash commitment.
The hash doesn't show the title. Once the paper is out, anyone can hash the title and compare it to the posted hash. A match would prove the title was known by Nov 30.
Replying to @QualiaQuanta
Feel free not to believe me! I've seen the entire result, and know it's real. You'll find out soon enough!
Here's a SHA3 hash of the paper's title: 560296b35da4dc4add8104d573b5c479eb3c97c66b677a3513b5aaa6432aa387
5
342
createOrder(user, true, false, true, false, true) is a boolean trap.
From the call alone, it's unclear what each true or false means. If two are swapped by mistake, there's no error, just an order created with the wrong settings.
An options object gives each flag a name.
1
10
299






















