on-internet

Things a Machine Can Write, But Never Live :

I just want you guys to acknowledge that AI might just be everyone’s favourite because of its capabilities, but it will never have that… Continue reading on Medium »

Core Web Vitals Real User Monitoring: Design Your Own RUM Pipeline

Lighthouse tells you how a page behaves on one machine, once. Your users get slower phones, worse networks and late third-party scripts. Core Web Vitals real user monitoring (RUM) closes that gap by measuring LCP, INP and CLS in the browsers of actual visitors and sending the data to a backend you control. This guide is about designing that system: the client collector, the payload, the ingestion endpoint, the data model, the aggregation queries and the alerting, with the trade-offs at each step. If you are looking for the optimization work itself (images, caching, scripts, fonts), start with

A promise pool in 15 lines: run async tasks with a concurrency limit

Promise.all fires everything at once. That's fine for five requests and a disaster for five thousand: you hit rate limits, exhaust sockets, or get your IP throttled. What you usually want is "run these, but at most N at a time". Here's a tiny, dependency-free way to do it. The code async function promisePool(tasks, limit) { if (!Number.isInteger(limit) || limit < 1) throw new RangeError('limit must be >= 1'); const results = new Array(tasks.length); let next = 0; async function worker() { while (next < tasks.length) { const i = next++; results[i] = await tasks[i](); } } const workers = Array.f

The Quest to Understand a Tick-Borne Allergy to Red Meat

When alpha-gal syndrome first emerged, it was a baffling medical mystery. Today, diagnoses are rising, yet much about this potentially life-threatening condition remains unexplained The post The Quest to Understand a Tick-Borne Allergy to Red Meat appeared first on Nautilus.

An Islice Can Consume More Input Than It Yields

Skipping positions in an iterator still advances that iterator. A caller that selects two values should not assume that only two input values were consumed, especially if another consumer shares the source. The Python islice reference specifies selected positions and the supported index ranges. These fixtures examine both the returned values and the next value left in the same source iterator. Observe the source after exhausting the slice The stepped example selects positions 2 and 4 but exhausts the slice through the stop position. A start beyond stop can return no values while still advancin

BIAN. Quando usar o Business Capability Model e o Service Landscape

Pintura em guache de inspiração nabista. Uma pessoa observa a cidade diante de um mapa, um binóculo e uma bússola. A escolha do instrumento representa a escala adequada para discutir capacidade de negócio ou responsabilidade de um domínio de serviço. Parte 3 de 9 da série BIAN e arquitetura bancária. Nesta série, vamos seguir jornadas bancárias para entender onde cada responsabilidade começa, termina e passa para outra equipe. Na revisão do banco, alguém põe dois desenhos na tela. Um mostra que o tratamento de exceções precisa ganhar capacidade. O outro distribui o trabalho entre domínios de s

When Firebase Fights Back: Debugging App Check, Google Cloud, and a Broken Deploy

I spent a good chunk of time this week working through a build that looked fine on paper but kept throwing 401s in production. The stack was Firebase AI Logic, App Check with reCAPTCHA v3, and Vercel. The error was clear. The fix was not. Here’s what the process actually looked like. The build was passing. The app was still broken. First issue: a Rollup parse error on deploy. The reCAPTCHA site key wasn’t wrapped correctly in the provider config — Vite couldn’t parse it. Fixing that got the build green. But the 401s kept coming on the AI endpoint. The real problem was hiding in plain sight. A

System Design, Plainly — Season 2, Part 4: Sagas & the Outbox Pattern

Part 3 gave you the protocol that makes several machines agree on one outcome — and showed why it blocks. This part is the escape hatch: give up the single agreement, commit step by step, and keep an undo action ready for every step. That is the saga, and the transactional outbox is the small, boring mechanism that makes sagas actually work in production. Book a trip. One service reserves the seat, a second takes the payment, a third books the room, a fourth sends the confirmation email. The room booking fails after the payment has landed. The customer has now paid for a trip that does not exi

We open-sourced the AI-search checks we use (and they flagged our own site)

Most advice on "getting cited by ChatGPT" starts with a tool you have to sign up for. We sell website audits for AI search at CitedBy, and these are the kind of AI-search checks we use in our own work. They are small enough to give away. So we did: citedby-eu/ai-search-skills, seven skills for Claude Code, Cursor and Codex. MIT licence, Python standard library only, each skill is a SKILL.md plus a script you can also run by hand. npx skills add citedby-eu/ai-search-skills The check that changes minds: one verdict per crawler "Block the AI bots" is one line in most robots.txt files, and it hide

DEFERRED HOPE

God are You sure? Continue reading on Medium »

Rent the Job. Own the Life.

I own a house. I've also rented a lot of apartments. I treated them very differently. In my apartments, I paid rent on time. I didn't punch holes in the walls. I got my security deposit back. Mostly. But I never repainted a landlord's kitchen at 11 p.m. on a Sunday. I have, however, done the equivalent for employers more times than I can count. Here's the metaphor I can't shake. Life is a house you own. Usually forever. Work is an apartment you rent. By definition, it ends. Maybe in two years, maybe in twenty. But it ends. That difference should shape where your attention goes. For most of us,

I made a 4B local model grade mock interviews, and it has to quote you before it can mark you down

I built Local AI Interviewer, an open-source mock-interview coach that runs on your own computer. You give it questions, or let it build them from your resume. It asks them out loud, takes your typed or spoken answer, asks a follow-up when your answer leaves a gap, and ends with a scored report that explains every mark. Yuvakunaal / local-ai-interviewer Private mock interviews for tech roles, graded by an AI on your own computer. Evidence-checked scoring, voice, questions from your resume. Optional free Groq cloud. Local AI Interviewer Private mock interviews for tech roles, graded by a local

How to build problem-solving habits in the age of AI

AI can now write code in seconds. That makes it tempting to skip the thinking and go straight to the answer. But the developers who will stand out are not the ones who prompt fastest. They're the ones who can think clearly about problems. Here are the habits I'm trying to keep: Think before you prompt. Spend a few minutes understanding the problem first. What's the input? What's the expected output? What could go wrong? A clear problem makes AI answers much better. Try first, then ask. Give the problem an honest attempt before asking AI. Even a failed attempt teaches you where your gap is. Ask

I Built a PDF Compressor That Never Uploads Your File — Here's How It Works

Most PDF compressors ask you to upload your file first. That is fine for a random document, but not for a CNIC, a degree, a bank form, or a job application. I built a compressor that does the whole job in your browser, so the file never leaves your device. You can try it here: Compress PDF — HeavyToolz The problem I was solving Forms in Pakistan — and in a lot of other places — often say "PDF must be under 100 KB" or "under 500 KB". A scanned CNIC or degree is usually 2–5 MB. The usual fix is: upload it to a website, wait, download it back, and hope the site deletes it. I wanted a version wher

Why World Models Had to Exist: 80 Years of AI Trying to Understand Reality

The World Model Series — Part 1 of 2 This is the why: 80 years of AI failing toward World Models. Continue with Part 2: The World Model Trilemma → The Thing AI Has Never Had Here is a question that sounds obvious once you hear it: Does your GPS understand that if you drive into a river, you will not arrive at your destination? No. It routes. It does not understand. It has a map — a frozen snapshot of the road network — but no model of what happens when a car meets water. It cannot simulate consequences. It cannot imagine futures. It cannot predict what it has never seen. For eighty years, ever

To anyone who has ever struggled to feel beautiful

Sometimes, I think we underestimate how much other people’s words can change the way we see ourselves. A comment that someone forgets five… Continue reading on Medium »

How We Test Our AI Detector Before It Goes Live

When I see an AI detector described as “99% accurate,” I want to know what it was tested on, how many texts it saw and which mistakes it… Continue reading on Medium »

Summer Thunderstorms

A poem about losing a parent Continue reading on Medium »

Older stories