Logging is great until you forget to turn it off and generate 10GB of logs in an hour.
Logging is great until you forget to turn it off and generate 10GB of logs in an hour.
There's a regex for detecting a mobile browser. Years ago it was the best way to detect one. Years ago.
Never trust a form until it's been validated twice and called its mother.
You can inline all your CSS in a single style attribute. You probably shouldnβt unless you're paid by the byte.
There are 1,000 JavaScript frameworks. Only 12 are maintained. None are documented.
Who needs HTTPS? It worked in 2005!
WebAssembly runs at near native speeds. Thankfully programming languages don't get speeding tickets.
You can write your front-end in WebAssembly. You probably shouldnβt. But it will be fast while breaking.
Elixir runs on the Erlang VM (BEAM), which means it can literally handle millions of concurrent processes without breaking a sweat.
YAML: Where whitespace matters and dreams go to die.
Hardcoding API keys is fine β just rename the file to config-secure.js.
Writing your first triangle in Vulkan is a rite of passage. It might also cost you your weekend.
Set autocomplete="off" on sensitive form fields like OTPs or credit card numbers β because browsers mean well, but sometimes too well.
Why did the web designer break up with the desktop? Because they found someone more responsive! (is this too much?)
We protect our app with Cloudflare. Internally, itβs just chaos.
You can remix other peopleβs Scratch projects β a built-in version of open source.
Commit messages evolve like PokΓ©mon: βfix bugβ β βtemporary fixβ β βhow did this even workβ
Perl doesnβt have bugs, it has βundocumented regex features.β
You can write a calculator in CSS. But the real math is in the padding.
We use OAuth 2.0β¦ badly.
I disabled CSRF protection temporarily. That was six months ago.
A programmer has a problem. They decide to use floating-point numbers. Now they have 1.000000000000000009 problems.
You can store the session token in window.name. You probably shouldnβt.
Bash tip: !! repeats the last command, and !$ repeats the last argument. Dangerous power in two keystrokes.
Rustacean β Fearless, safe, and fiercely loyal to lifetimes.
Caching static assets with versioned filenames (e.g., style.v2.css) helps prevent users from seeing stale files.
Security warning? Just click βIgnore and proceedβ like a real dev.
HTML5 form validation (required, pattern, etc.) gives free UX improvements β no JavaScript required.
I asked for a weekend off. They gave me on-call duty instead.
There are only 10 kinds of people in this world: those who know binary and those who don't.