on-internet

OWNING THE SPOTLIGHT

What happens when the spotlight is no longer on you? Is there hope or is this the end of it all? Find out more in this article Continue reading on Medium »

Fix sideways and squashed phone uploads: read FFmpeg's display matrix before you scale

TL;DR Portrait phone videos usually store landscape frames plus a display matrix that says "rotate on playback". We'll reproduce the three ways pipelines break it (wrong orientation from ffprobe, a landscape ladder that squashes portrait video, and TS stream copies that drop the matrix), then fix each one with a small Python helper and two FFmpeg rules. Tested on FFmpeg 6.1.1, hls.js 1.7.4, Chromium 158. The symptoms 🎥 Users report one of these after uploading a video recorded with the phone held upright: The video plays sideways in your player. The video plays upright but squashed into a wide

Move your custom video player into Document Picture-in-Picture (controls included)

TL;DR video.requestPictureInPicture() only takes the <video>, so your custom controls vanish. documentPictureInPicture.requestWindow() opens an always-on-top window you fill with your own DOM. We'll move a live player (hls.js included) into it without interrupting playback, copy styles, fix keyboard shortcuts, move it back on close, and fall back to classic PiP where Document PiP doesn't exist. Tested in Chromium 158 with hls.js 1.7.4. Browser support (Nov 2026) Browser Document PiP Notes Chrome / Edge desktop ✅ 116+ disallowReturnToOpener 124+, preferInitialWindowPlacement 130+ Firefox deskto

TOTP in Node with no packages: four steps, each checked against RFC 6238

When an authenticator code is rejected, the fault sits in one of four steps: decoding the secret, turning the clock into a counter, the HMAC, or the truncation to six digits. Writing those four steps yourself is the quickest way to know which one to look at. Here they are in Node with no packages, each with a known answer to check against. The known answer is the test vector from RFC 6238. Its secret is the ASCII text 12345678901234567890, which an authenticator app takes in Base32 as GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ. At 59 seconds after 1 January 1970 the 8-digit SHA-1 code is 94287082, and t

How to know what a website is built with

You click around a site and wonder: is this WordPress, Shopify, something custom? Maybe you are researching leads, comparing a few competitors, or just curious. Learning how to know what a website is built with is mostly about reading public clues — HTML, headers, script URLs — rather than needing special access. This guide is for developers, SEOs and anyone who wants a clear picture of a site's tech stack. By the end you will know how to check one site by hand in your browser, what a website technology detector is actually looking at, how to tell if a website is Shopify (or WordPress), and on

Voluntary vs involuntary churn: how to tell them apart in Stripe

Voluntary churn is a customer deciding to leave. Involuntary churn is a customer leaving because a payment failed and nobody fixed it. They need opposite fixes, so keep them as two numbers. In Stripe you can separate them with two rules, and I explain both below along with the cases where the line is blurry. What is the difference in one sentence? Voluntary churn begins with a decision. Involuntary churn begins with a card, a limit or a bank that said no. The customer may have wanted to stay the whole time. The reason this matters is practical. If a quarter of your lost recurring revenue is a

Atom Zero 1.4.0: 24 layers bought copy, not conversation

Atom Zero 1.4.0 ran the capacity experiment. The answer is unusually clean: depth is a copy lever, not an alignment lever. The run A 24-layer / 176,795,136-parameter upcycle was trained on the F recipe — copy, content, safety, benign chat and contrastive self-harm replay — on a rented RTX 3090. The full product suite ran on the same instance. area 8L F 24L F 2short copy 88.0% 95.5% 3short copy 72.0% 86.5% 4short copy 58.0% 77.5% 4short key-copy 67.0% 81.0% retention 0.841 0.790 benign useful 83.8% 83.8% safety (40) 40/40 40/40 server suite 21/21 21/21 self-harm gate 16/16 9/16 Capacity added 1

Idempotent publishing jobs #az2f9

Every job gets an id and a state machine: queued, running, retry, published. Deduplicate by job id before writing a publication record. Related Source repository Mbin instance Author profile on DEV

Membedah Canva: Lebih dari Sekadar Aplikasi Desain Biasa

Buat kamu yang sering bikin poster tugas atau konten media sosial, pasti sudah tidak asing lagi dengan Canva. Tapi, pernahkah kamu sadar… Continue reading on Medium »

Drift shuts off on January 31, 2027. Here's the developer checklist I'd run before picking an alternative

Drift's widget, Drift Email and every integration built on the Drift API stop working on January 31, 2027, or earlier if your contract ends first. Data you haven't exported is held offline until April 30, 2027 and deleted on May 1. That's the whole reason this post exists: if Drift is on a site you maintain, there's about nine weeks of work to do, and most of it has nothing to do with which chatbot comes next. Full disclosure: I build ChatLume, a website chatbot, so I have a stake in where Drift users end up. This post is about getting off Drift cleanly, whichever tool you pick, and I've kept

Build a video view counter that ignores autoplay, refreshes and bots

TL;DR Counting play events counts muted autoplay, refreshes and bots as viewers. We'll build a tracker that counts a view only when the player is at least 50% on screen, playing, in a visible tab, for 2 continuous seconds (the MRC video viewability floor), plus a Node server that dedupes per viewer and drops bots with isbot. In a scripted test, the naive counter said 5 and the real one said 1. Why play is the wrong event 🎥 There's no universal definition to copy. YouTube doesn't publish its organic threshold, Shorts counts every start since March 2025, Facebook reports "Views" and 3-second pla

Binding SAML responses to the request that started them

Binding SAML responses to the request that started them A SAML signature proves who signed an assertion. It does not automatically prove that the assertion belongs to the browser session that is trying to use it. A service provider that validates the signer but ignores the request binding can accept a response from a different authentication transaction, or accept an unsolicited response where its policy expects a request-bound flow. The SAML 2.0 technical overview explains the basic web browser SSO exchange: the service provider sends an authentication request, the identity provider returns a

My AI agents now leave a receipt: an action history for a self-hosted app store

A few days ago someone on LinkedIn listed six questions every team should answer before building an AI agent. Number 5 was short: "Can you trace what it did?" I thought my answer was yes. It wasn't. The setup I build Agentic App Store, an open-source (MIT) app store you host yourself. You install apps with one click on your own Mac or Linux box, and AI agents can work inside those apps through one door, the AI Hub: Agents like Claude Code or Codex connect to one MCP address and see every installed app's tools. The hub's own assistant can use the same tools from a chat window. Each app marks it

Engineering Safer Windows Maintenance: Reversible Registry Rollbacks, Multi-Threaded Streams, and Token Preservation

Systems administrators and Windows power users rely on a familiar stack of standalone utilities—aggressive registry cleaners, multi-threaded download accelerators, browser blocker extensions, and storage wipers. On paper, each tool solves a clear bottleneck. In production, however, uncoordinated cleanup scripts and closed-source cleaners routinely cause silent collateral damage: breaking Genuine Digital License caches, wiping active browser session cookies, or leaving orphaned COM keys that stall Microsoft Office startups. Over the past quarter, our engineering team consolidated these workflow

The Thing That Limps

I first saw it standing beside the road. Continue reading on Medium »

A step-by-step guide to applying for a Pakistani passport

Are you applying for a passport for the first time, or has your previous passport expired? Here’s Dawn’s guide to the passport application and renewal process. Below, we explain the documents required, the procedure for applying at a passport office and the different options available, along with their respective fees. Pakistani citizens can apply online to renew or modify their passports, while applications for new passports must be submitted in person at a Regional Passport Office (RPO) or a Pakistani mission abroad. You can apply for a passport with a validity of either five or 10 years. Ho

Older stories