Posts

Browse Python, learning, engineering & experiments.

2026-01-05

Don't Let Large Uploads Crash Your Server: The 10-Line Flask Fix

Large uploads aren’t “just a feature”—they’re an outage vector. Add a hard cap and a clean 413 response in ~10 lines to .....

Fields: Python, Flask, Security, Reliability
Dorian Sotpyrc
2026-01-04

Weaponized LLMs: Inside the Most Sophisticated AI Data Breaches (2026)

The most dangerous “AI breaches” don’t look like hacks — they look like normal work. 2025 showed the pattern: .....

Fields: AI, Security, Governance, Workplace
Dorian Sotpyrc
2026-01-02

Steal These: 5 'Drop-In' CSS Style Guides Dominating 2026 Web Design

Five paste-ready CSS “micro style guides” — each with a visual preview + a tight snippet (tokens + card + button + .....

Fields: Security
Dorian Sotpyrc
2026-01-01

The 10-Line Security Shield: Never Leak Your Flask API Keys Again

A fail-closed Flask pattern that loads secrets from environment variables, validates them at startup, and keeps API .....

Fields: Python, Flask, Security, Secrets Management, API Keys
Dorian Sotpyrc
2025-12-31

The AI Threat Matrix: Why 2026 is the Year of ‘Shadow AI’ (And How to Survive It)

Shadow AI isn’t rogue employees. It’s invisible workflows. Here’s a two-axis matrix to spot the risk, and a five-step .....

Fields: AI, Security, Governance, Operations
Dorian Sotpyrc
2025-12-29

The "Atomic" Hack: Scale Your Entire Website UI with 5 Lines of CSS

Stop retuning 40 components after one “global” tweak. Use a single --ui-scale variable and derive spacing, type, and .....

Fields: Web Dev, CSS, Design Systems
Dorian Sotpyrc
2025-12-28

Stop Overcomplicating Flask: Your Complete App in Exactly 10 Lines

A strict 10-line Flask baseline that still does HTML + JSON + POST, with defaults you can ship today—and a no-drama .....

Fields: Python, Flask, Web Dev
Dorian Sotpyrc
2025-12-21

Your Flask App Is Probably Leaking Something — Run These 7 Commands

Seven quick commands to spot secrets, debug flags, exposed ports, and risky file perms in a Flask deploy.

Fields: Python, Security, DevOps
Dorian Sotpyrc