In-depth technical writing on AI, ML, distributed systems, and modern engineering.
Why json_encode() output in onclick breaks HTML (and creates XSS), how JSON_HEX_TAG + htmlspecialchars(ENT_QUOTES) fixes it, and why data at…
Strict types and TypeError in production webhooks — the single missing argument that crashes a request after all work is done. Static analys…
Correlation IDs per request, the production allowlist that keeps PII out of logs, LOCK_EX on every write, JSON_UNESCAPED_UNICODE, and the di…
INSERT IGNORE as the atomic deduplication primitive — why SELECT+INSERT is wrong, TTL cleanup for the dedup table, and extending the pattern…
TTS → conversion → upload → send: per-step logging, text fallback at every failure point, and the circuit breaker pattern to stop retrying a…
File-naming with zero-padded sequences, the migrations tracking table with checksum verification, ALGORITHM=INSTANT for live ALTER operation…
The two-step upload → send flow, MIME type requirements (audio/ogg; codecs=opus), delivery status callbacks, and the silent success trap: AP…
WAV → OGG/OPUS: the full annotated command. Bitrate choices for voice (48k VBR Opus). Detecting actual format with the file command vs trust…
Test each step independently: TTS, conversion, upload, send. Meta delivery status as ground truth. Decoding common error codes (131053 and o…
Create in /tmp with random names, always unlink in finally blocks, PHP register_shutdown_function for emergency cleanup, and monitoring /tmp…
Stripping WhatsApp markdown (/u flag required), expanding legal abbreviations for natural pronunciation, converting bullet lists to spoken c…
Page 6 of 6 · 71 total
Weekly digest of the best new articles, videos, and tutorials. No spam, unsubscribe anytime.
✓ Check your inbox to confirm!