on-internet

Why I moved my file tools to the browser (and what broke along the way)

Every "convert HEIC to PNG" or "compare two files" site I used had the same quiet problem: my file went to someone's server. For a holiday photo, fine. For a client contract or a production config dump, not fine. So when I started building deviTools, I set one rule: if the browser can do the work, the file never leaves the tab. Here's what that actually takes, and where the rule had to bend. 1. Image conversion: Canvas gets you most of the way The naive version is almost embarrassingly short: async function convert(file, type = 'image/png', quality = 0.92) { const bitmap = await createImageBit

I benchmarked 5 ways to auto-tune a robot arm's PID gains. Random search broke the safety limits in 73.8% of trials. Safe BO: 1.8%.

Hand-tuning PID gains is slow, and every payload change means starting over. Letting an optimiser explore on the real machine is tempting — but a "trial" there isn't a wasted data point, it's a torque spike into a joint limit. So I built a small testbed to ask a simple question: how much does safety-aware optimisation actually buy you? Setup: a simulated two-link arm (friction, torque limits, noisy 16-bit encoder, control delay), an industrial-style 500 Hz PID with anti-windup, and six gains to tune. Five methods, same budget, 20 independent runs each: Random search — 73.8% of trials unsafe St

A release checklist for mobile apps built with AI coding agents

Coding agents can now test their own code changes. They build the app, open it on a simulator, tap through the new screen and attach screenshots to the pull request. This is already happening. On 19 November 2026, Expo shared Agentic Workflows with Expo Simulators. In it, an agent runs your app on a cloud iOS simulator or Android emulator and posts what it saw on the PR. Callstack built a sample QA agent that reads the PR, decides what to test and comments the results on GitHub. Flutter's AI setup guide connects Claude Code, Codex, Cursor and others to the Dart analyzer, the test runner and th

How to Generate Official Saudi ZATCA Phase-1 TLV QR Codes in Pure TypeScript (Fixing the Arabic UTF-8 Bug)

If you have ever built an e-invoicing app for Saudi Arabia (KSA), you know ZATCA Phase-1 (Fatoora) requires every simplified tax invoice to carry a Base64-encoded TLV (Tag-Length-Value) QR code with 5 fields: Tag 1: Seller Name Tag 2: Seller VAT Registration Number (15 digits) Tag 3: Invoice Timestamp (ISO 8601) Tag 4: Invoice Grand Total (including VAT) Tag 5: VAT Total Amount The #1 Bug That Breaks Arabic Seller Names Many quick JS snippets use string.length as the TLV Length byte: // BROKEN FOR ARABIC TEXT: "شركة" has length 4, but is 8 UTF-8 bytes! const badLength = sellerName.length; ZATC

Stop Data Leaks in Multi-Tenant Apps with PostgreSQL Row-Level Security

Most multi-tenant SaaS bugs are not complex logic failures. They are simple, silent data leaks. They happen when a query is missing a single WHERE tenant_id = $1 clause. That one missing condition is all it takes for Tenant A to see Tenant B’s data. When you rely solely on application code to filter every database query, you are placing 100% trust in every developer who touches the codebase—forever. One tired developer, one rushed hotfix, or an edge case in an ORM query can expose private tenant records. The solution is to push isolation down to the database layer. By using database-native sec

Explained Simply #57

Interview Questions — The Basics Continue reading on Medium »

My forest got destroyed.

Something or someone constantly cutting the trees, crushing the little wild mushrooms. Is it me? is it someone else? I… Continue reading on Medium »

How to Plan Retries for Multi-Agent Workflows Before You Write Code

A Mermaid blueprint, Python dataclasses, and a retryable flag decide when a failed agent tries again and when the task goes to a person. The post How to Plan Retries for Multi-Agent Workflows Before You Write Code appeared first on Towards Data Science.

Tuan Pemilik Sinyal Lembut

Di tengah sejuknya suasana rembulan, kembali kutuliskan kesanku yang kurajut dengan puluhan kata yang kupunya untuk tuan pemilik sinyal… Continue reading on Medium »

10 New AI Tools You Need to Try in 2026

From AI coding agents and smarter creative tools to video generators and collaborative workspaces, these are 10 recent AI releases worth… Continue reading on The Ai Studio »

Darah Malam Itu, Sebuah Lambang Keputusasaan

Malam yang ramai. Bentak berkumandang menusuk gendang telingaku, mereka melabeliku tiada guna, seolah aku hadir dalam rasa paksa dan penuh… Continue reading on Medium »

How to test password reset end to end

Password reset is one of the most important flows in an app and one of the least tested. When it breaks, users get locked out and only find out when they need it. It usually goes untested for one reason: the middle step happens in an inbox. With a real inbox your test can read, the whole flow becomes an ordinary test. This guide uses Playwright and the saci.cc npm package, but the ideas apply to any tool. What's worth testing Seeing the email arrive isn't enough. A password reset test that catches real problems checks that: The link arrives and opens the right page, on the right domain, over H

Hello again, Sorong!

Dear Papa, I’m almost the age you were when you left, Pa. It’s strange realizing that I’m getting old now. Semakin tua aku sadar kalau… Continue reading on Medium »

Older stories