on-internet

Diario de Sri Lanka

Ruta de 14 días (Noviembre 2026) Continue reading on Medium »

Ketika Kesabaran Kehilangan Bahasanya

apakah seseorang menjadi buruk karena mengucapkan kata-kata buruk? Continue reading on Medium »

My First Trip with Friends ​

Stepping out of my comfort zone—and standing inside a place I once only saw on a screen. Continue reading on Medium »

The booster incident

A man’s nightmare about his dream girl is followed by her midnight visit, an energy drink gone wrong and a twist he never saw coming. Continue reading on Medium »

Prompt injection: why the AI obeyed a hidden line

A hidden line in a web page can make your AI assistant send email. Prompt wording helps, but it is not a security boundary. The fix is architectural. Why a page can steer the model An app that summarizes a page puts the page into the same prompt as its own instructions, and the model has no hard boundary between the two. The request is one token sequence: system prompt, your message, the page body and the tool schemas. Role markers are a learned tendency, not access control, so a page sentence addressed to the assistant and phrased as a request can win. Prompts have no equivalent of SQL's Pars

AI agent tokens: why your agent re-sends its history on every call

Your coding agent's input token count can be 5,000 times a chat. The tokens went to re-sending history, and the fix is to send less of it. Why the total grows close to N squared A model keeps no memory between calls. Each call computes over the system prompt, tool definitions and messages in its context, and nothing else. A multi-turn conversation exists because earlier turns are put back into that context on every call, either uploaded again by the client or rebuilt by the service from stored state. So call k takes everything before it as input, and with roughly constant increments the total

A Retry Is Not a Replay

The customer got the follow-up email three times. Each one was polite. Each one was slightly different. The first apologized for the delay, the second was shorter and skipped the apology, and the third added a line about a refund nobody had approved. The agent's run log showed a single failed step, a timeout on send, and then a recovery. From where the agent sat, it had handled an error well. Nothing in that chain was a model failure. The draft was fine. The send worked, all three times. The provider was slow to answer, the tool call timed out, and the agent did what everything in its context

Azure APIM secrets exposed: rotate now, the fix does not kill stolen keys

Microsoft closed the Azure API Management flaw on November 19, but the fix does not kill any secret already taken. If you run APIM Classic, rotate now. The official word Norway's National Security Authority published its notice on November 20 and updated it on November 23. An unknown actor went after access tokens, secrets and named values inside APIM, and NSM tells every APIM user to assume their secrets are exposed and rotate all tokens and secrets. Microsoft found the flaw on November 18 and closed the access path on November 19. Its advisory, tracking ID MZK9-GH0, went to affected customer

Analyzing doctors data using SQL

Today, I focused on analyzing hospital records from a doctor's perspective. Instead of writing queries just to retrieve rows, I started asking meaningful questions that someone in hospital management might actually ask. I explored questions such as: How many doctors are available in the hospital? select pr.doctor_name from patient_records pr group by doctor_name order by doctor_name asc; How many patients has each doctor treated? select pr.doctor_name, count(*) as n_patients from patient_records pr group by doctor_name order by doctor_name asc; Which patients were treated by a specific doctor?

Anthropic just shipped AI code review. Here's what it does and doesn't do

The bottleneck in agentic coding is not writing code. It is the queue after the code: review comments, fix rounds, and approvals that a human has to sit through. Anthropic announced Claude Ship on Nov 23, 2026: three agents for GitHub repos — Code Review (already available) plus two betas, PR Steward and Claude Approvals. The pitch is delegation: review a diff, fix what it found, and approve the change without a human in the middle of every routine step. It ships on Claude Team and Enterprise plans. That is a real problem and a real step forward for teams already paying for a seat. Here is the

Bir Oyunun İçinde: Leveller, Kollar ve Nehir

Hastalığı ilk duyduğumda hiç kondurmadım kendime. “Bana böyle bir şey olmaz, her şeyi doğru yapıyorum, sağlıklıyım. Ailemde de yok” dedim… Continue reading on Medium »

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.

Older stories