on-internet

Cost-Aware Routing for AI Video: Pick the Right Upstream per Request

Not all AI video generations need the most expensive model. A quick storyboard preview and a final 4K deliverable have very different requirements. Cost-aware routing lets you choose the right upstream per request, automatically. The pattern: Tag each route with a price tier and capability set. Let the caller express intent (draft vs final, resolution, duration). Resolve to the cheapest route that satisfies the requirement. If that route fails, fall back to the next-best — even if it costs more — to protect the user experience. Two rules of thumb: Never let a cost-saving route degrade into sil

Private Document Downloads with Signed URLs — A Practical Provider Comparison

Short answer: use short-lived signed URL grants for private document downloads, issued only after your application checks tenant ownership; pick the provider whose egress policy and operational controls match your traffic, not the one with the nicest SDK. For a marketplace serving invoices, contracts, and generated reports, the download path should be boring. A customer authenticates with the marketplace, the app verifies that the document belongs to that tenant, and storage serves the bytes through a URL that expires soon. The browser never receives a bucket credential. Tenant isolation lives

Hardening AI Agent Delegation: Approval Integrity, Atomic Budgets and Spawn Gates in RagLeap

Hardening AI Agent Delegation in RagLeap What happens when an AI agent delegates work to another AI agent? Who authorizes the child? Can its tools change after authorization? Can concurrent spawning operations exceed the available budget? These are engineering questions we are addressing in RagLeap. Our latest releases, ragleap-core v0.13.10 and v0.13.11, introduce several improvements to approval integrity and sub-agent execution. 1. Exact-action approval binding An approval must authorize the exact action that will execute. In v0.13.10, we introduced SHA-256 action hashing. The hash covers t

It Listens While It Talks: InternLM's Sage-Interaction and the End of Turn-Taking

Most voice assistants still run on a polite fiction: you speak, then it speaks, then you speak again. Real conversation doesn't work like that. People interrupt, murmur "mm-hm" while someone else is talking, trail off mid-sentence, and talk to someone else in the room — and the other person keeps up. InternLM's new open model, Sage-Interaction, is built for exactly that messiness. Released on November 23 by the Shanghai AI Laboratory's InternLM team, Sage-Interaction is a 9-billion-parameter omni interaction model built on MiniCPM-o 4.5. It takes streaming audio and video as input and generate

What to do when a client disputes the invoice

A dispute is not the same thing as a delay, and treating it like one is how freelancers lose money they had already earned. A client who says "this isn't what we agreed" is making a claim about the work. Answer the claim with the record, quickly, and most disputes end in a payment. Answer it with frustration, or ignore it and keep chasing the invoice, and a small question turns into a reason never to pay. First, find out what is actually being disputed "This isn't right" can mean three very different things: the work is not what they expected, the work arrived late, or the price is not what th

NVIDIA Driver SSD Bug: How a Log File Wrote 30 GB Per Hour to Your SSD

A routine graphics driver update turned into a storage problem in November 2026. GeForce drivers 621.14 and 621.24 shipped with a bug that made the process NVDisplay.Container.exe rewrite the log file nvlog.nvlgstg over and over in the background, up to 30 GB per hour according to PC Gamer's investigation, with some forum reports claiming 30–70 GB per hour. The log file itself barely grows, because its contents are rewritten rather than appended, so most victims only notice when the Total Host Writes counter on their SSD jumps by tens of terabytes. Why it matters: the TBW math An SSD has a lif

AJK PM extends olive branch to protesters in Rawalakot

• Gillani says govt ready to discuss all demands within constitutional, legal framework • Urges protesters to dissociate themselves from armed groups • Speaker calls for elections to fill seven vacant assembly seats MUZAFFARABAD: Azad Jammu and Kashmir (AJK) Prime Minister Iftikhar Gillani on Friday offered to discuss the demands of protesters in Rawalakot within the constitutional and legal framework, but urged those involved in the unrest to dissociate themselves from armed groups. Addressing a PML-N public meeting at Lal Chowk, the prime minister said the AJK government was prepared to take

Dread and Freedom

Meet me Continue reading on Medium »

Stripping the AI of Auto TP/SL: Designing 'Iron Laws' as Guardrails in Complex Trading Systems

Stripping the AI of Auto TP/SL: Designing 'Iron Laws' as Guardrails in Complex Trading Systems It was 1:00 AM during a routine log audit when a specific entry caught my eye. Amidst the usual stream of market data updates and scoring engine adjustments, a single line stood out: "error": "Manual position (known manual) - skipped auto TP/SL per F-160 iron law" At first glance, it was just another informational warning. But in the context of our automated trading infrastructure, this log entry represented a silent but crucial interception. It was the exact moment our system’s deterministic guardra

Anthropic Messages API Rust Rewrite Cuts CPU 70% — Dual-Track WASAPI Still Owns the Overlay Floor

On 25 November 2026 Anthropic published the engineering post on migrating the Messages API from Python to Rust. Traffic had grown roughly 1,800× since early 2024. Claude wrote a first version of the core request path in about a week. The hard part was verification: shadowing live production traffic against the Python service, fixing divergences, and shipping without downtime. Result: ~70% less CPU per request, >80% less memory, and ~20% lower median time-to-first-token on Claude Code requests. That is a clean infrastructure win. Lower CPU and memory per request means denser packing and less he

We teach coding but not reading code

Whilst the majority of a developer’s time is spent reading code this area is seldom formally taught. Programming courses usually include… Continue reading on Medium »

Convert PDF Formats for Downstream Processing with a Production Validation Checklist

Convert each PDF with an explicit target format, validate the resulting bytes, and only then release the derivative to downstream processing. Keep the PDF as the source of truth. For a media pipeline that merges press kits and splits them into channel-specific bundles, template ownership is the deciding constraint: conversion should derive assets, not quietly become the authority for editorial layout. TL;DR: choose the service boundary before the vendor. The conversion request must contain both the file and target format because there is no default. Reject a zero-byte result before it reaches

Driving Android Phones Over ADB Without Screenshot Loops or Raw XML Dumps (turbo-android-mcp)

Running an AI agent against an Android phone over adb usually hits two bottlenecks on the first screen. A full 1080x2400 PNG capture via adb exec-out screencap -p takes around 1.5 seconds over USB and costs roughly 1,800 vision tokens per step. Dumping the raw accessibility hierarchy via uiautomator dump avoids vision tokens, but a single Settings or messaging screen produces 35 KB to 80 KB of raw XML (10,000+ tokens) filled with layout wrappers, system bars, and decorative views. I published turbo-android-mcp v0.1.0 to npm (npx -y turbo-android-mcp), a zero-dependency Node.js MCP server that

HireSense is now on Up For Grabs — good first issues open

I built HireSense, a small AI recruitment helper: upload a resume, get AI feedback on how well it matches a job. React 19 + Vite on the client, Node + Express on the server, Gemini for the analysis. No database, no login, MIT licensed. HireSense is now listed on Up For Grabs, and there are 14 open issues on GitHub, several marked good first issue: removing dead config, adding test suites, reading config from the environment, validating uploads, rate-limiting the analysis endpoint, and more. Every issue has a written spec and acceptance criteria, and the contributing guide is in CONTRIBUTING.md

Node.js Large Generated Image Uploads with Multipart Object Storage — Audit Explained

Short answer: treat the original receipt as an audit record first, then choose multipart upload as the transport. Keep upload state in your database, keep the object immutable after completion, and make completion and abort explicit transitions. I run a one-person SaaS, so I measure infrastructure in revenue per hour. The useful question isn't “can this upload finish?” It's “can I explain exactly what happened to this receipt six months later?” Ship weekly. Outsource the undifferentiated transfer work, but keep the evidence boundary visible in code. Start with the evidence, not the upload call

Edge Rate Limits vs Application Limits: Closing a Login API Enumeration Gap

A login API can reject every incorrect password and still help an attacker prepare an account takeover campaign. If its responses reveal which email addresses exist, automation can turn a candidate list into a verified target list. Those targets can then feed credential stuffing, password spraying, or targeted phishing. For security owners deciding how to block automated account enumeration on a login API, a useful comparison is A: rate limiting at the WAF edge versus B: limiting attempts inside the application. Each placement sees different evidence and controls a different part of the attack

How to Block Automated Account Enumeration on a Login API

Account enumeration happens when a login API reveals whether an account exists. An attacker submits candidate email addresses or usernames, then compares error messages, status codes, response sizes, or timing. The resulting list can support credential stuffing, targeted phishing, and account takeover. AI-assisted automation can help attackers generate candidate identities and adapt request patterns. For defenders, the practical concern is whether repeated requests reveal useful account information. This guide explains how to block automated account enumeration on a login API through applicati

Bluesky Buka Penuh Kode Sumber Stack Moderasi Ozone: Era Baru Moderasi Terdesentralisasi

Pada Februari 2024, Bluesky mengambil langkah besar dengan merilis seluruh stack teknologinya sebagai open source — termasuk aplikasi sosial, Personal Data Server (PDS), dan layanan moderasi Ozone. Keputusan ini membuka jalan bagi siapa saja untuk menjalankan server sendiri, berkontribusi pada pengembangan, dan bahkan membangun sistem moderasi konten independen di atas AT Protocol. Langkah ini bukan sekadar gestur simbolis; ia mengubah lanskap moderasi konten dari model tersentralisasi menjadi terdesentralisasi secara fundamental. Apa Itu Ozone dan Mengapa Bluesky Membuka Kode Sumbernya Ozone

How I Replaced $540/Year of Creator Subscriptions with 3 Zero-Dependency Local Tools (Python + FFmpeg + Single-File HTML)

Every solo developer, video editor, and freelancer hits the same subscription wall: $15–$25/mo just to burn animated word-by-word captions on short clips without a watermark. $12–$20/mo just to generate clean PDF invoices and track quarterly taxes. $13–$15/mo just to export 1280x720 thumbnails without opening a bloated cloud editor. That adds up to $480–$540/year for workflows your laptop can already run offline in milliseconds. Here is the exact technical architecture behind three lightweight, zero-subscription local tools I built—including the working FFmpeg, CSS Print, and HTML5 Canvas patt

Build a Serverless Data Lake on AWS with S3, Glue and Athena

I wanted to answer questions like "which product category made the most money in March?" from a pile of CSV files, without standing up a database or a cluster. On AWS the answer is a small serverless data lake: the files stay in Amazon S3, an AWS Glue crawler works out the schema, and Amazon Athena runs plain SQL against them. There's nothing to keep running, and I only pay for the data each query reads. In this post I'm building one with 150,000 synthetic e-commerce orders. Then I'm converting the data to Parquet and running the same query again. It read about 95% less data (12.6 MB down to 6

How to Write a TikTok Stitch Script (2026): Break Down the Source, Take a Clear Stance, Film It in Two Lengths

Full disclosure: I built a stitch-script tool on Capafy, so I'm biased. Everything below works with the source video's transcript, a notes app and about twenty minutes. You don't need the tool to use the method. TL;DR A stitch or duet borrows attention that already exists. The source video has done the hard part: people care about the topic. Your job is to add something worth watching after the handoff. Most response videos fail because they react instead of respond: "Wait, what? No. Okay so..." and then a ramble. Here's the fix: Transcribe the source and break down what it actually claims. Wr

Public Origin vs Restricted Origin: Two Ways to Place a WAF Against Automated Scanners

A public website can sit behind a WAF and still expose an unfiltered route to its application server. That matters when automated scanners probe for vulnerable endpoints: changing DNS does not necessarily remove the origin server's public address. If you are deciding how to block automated vulnerability scanners on a public site, compare two deployments: a WAF in front of an origin that remains publicly reachable, and a WAF in front of an origin that accepts application traffic only through the intended proxy path. The difference is whether an attacker can bypass inspection. The attack concern

Can one user see another user's data in your AI-built app? The two-account test for Supabase, Firebase and custom APIs

You can log in to your app, see your own data, and everything looks right. That tells you nothing about whether a second user can see yours. This is called broken access control, or IDOR (insecure direct object reference) when it happens through an ID in a request. It is one of the most common serious bugs in apps built quickly with AI tools, because the app works fine for the one person testing it. Why a URL scan can't find it A scanner that checks your public site sees what a visitor sees: JavaScript, headers, public files. Whether user B can read user A's orders depends on your database pol

Older stories