Type something to search...

Blog

CSS clip-path: Creating Custom Shapes and Reveals

CSS clip-path: Creating Custom Shapes and Reveals

The web is built out of rectangles. Every element, whether it's a heading, an image, or a button, is laid out as a box. But the way an element _looks

Continue Reading
How to Draw Shapes with Pure CSS

How to Draw Shapes with Pure CSS

Drawing shapes with CSS is part party trick, part genuinely useful skill. Tooltips need arrows, badges need circles, ribbons need notches, and loadin

Continue Reading
Python Decorators Explained: From Basics to Decorators with Arguments

Python Decorators Explained: From Basics to Decorators with Arguments

Decorators are everywhere in Python. @property, @dataclass, @app.get("/"), @pytest.fixture, @functools.cache: one line above a function or

Continue Reading
Capped Collections in MongoDB: Use Cases and Limitations

Capped Collections in MongoDB: Use Cases and Limitations

Some data only matters while it's recent. The last few thousand log lines from a service, the latest status messages from a job runner, a stream of e

Continue Reading
Building a Pure CSS Accordion with details and summary

Building a Pure CSS Accordion with details and summary

Accordions are everywhere: FAQ pages, product specs, settings panels, mobile navigation. For a long time, building one meant writing a click handler,

Continue Reading
Backup and Restore Strategies for MongoDB: mongodump, Snapshots, and Atlas Backups

Backup and Restore Strategies for MongoDB: mongodump, Snapshots, and Atlas Backups

Replica sets protect you from a server dying. They don't protect you from a developer running deleteMany({}) against the wrong database, a migratio

Continue Reading