on-internet

How to Build a Smarter Flight Price Comparison UI with JavaScript

Why displaying the cheapest airfare isn't enough—and how developers can design more transparent travel search experiences. Imagine you're building a flight search application. A user searches for a flight from New York to Miami, and your application returns three results: Option A: $189 Option B: $230 Option C: $170 Naturally, your interface highlights Option C as the cheapest. But there's a problem. Option C doesn't include confirmed baggage pricing. Option A includes additional charges, and Option B already includes the services the traveler needs. Suddenly, the cheapest-looking ticket isn't

Keep the missing verdict when you load a benchmark CSV

A CSV import can quietly change the meaning of a benchmark before any analysis begins. The risk is especially easy to miss when a column looks like a Boolean but contains text, and an empty cell represents a verdict the measurement could not produce. The open StagingBench dataset provides a useful example. Its scores.csv contains 120 scored tool and room pairs across 12 tools. The interesting implementation detail is how to preserve the outcome states while loading the file. That matters whether the next consumer is a terminal report, a dashboard or an automated publishing job. Start with the

WHO PUT NORTH AT THE TOP?

The invisible maps that shape how we see the world. Continue reading on Medium »

The Alert Said 'Not Applied in Production' — a Nightly Timer Had Already Done It, One Hour Earlier

Intro One morning my security-research routine fired an urgent alert: "PHP 8.3.37 (released 11/19) contains an important fix. Production is on 8.3.36 — not applied. Patch ASAP." I rushed into the server. Production was already on 8.3.37, php-fpm restarted and all. The previous night's auto-update timer had finished the job. The box that was actually behind was dev. We even have a gate — "dev goes first, production only runs if dev succeeded" — so how did production overtake dev? The cause was a one-hour gap between the repository publishing the package and the two timers firing. The setup Dev

How I Replaced Heavy Scraping Stacks with Pure Python Stdlib (+ Live Interactive HTML Reports)

Whenever I need to extract HTML tables or JSON-LD from a static directory, clean up currencies and URLs, and send a stakeholder something better than a raw CSV, pulling in Playwright, BeautifulSoup, and Pandas feels like overkill. For static server-rendered HTML, dragging in hundreds of megabytes of dependencies slows down CI and creates version churn. So I built DataPipe Kit, a zero-dependency Python 3.9+ CLI and library using only the Python standard library (html.parser, urllib.request, csv, json, re, and html). GitHub Repo: https://github.com/MarkDonish/datapipe-kit Project Page: https://m

Playwright WebMCP: Calls Pass 50 of 50, First Read Misses Late Tools

Playwright 1.65.1 can list and call the tools a page registers through WebMCP, and the calls were reliable whenever the tools existed at the moment of the call: the same task passed in 50 of 50 runs, in a median of 9.64 ms. The failures were around the calls. page.webmcp.tools() did not wait for tools the page registered late, nothing checked the input against the schema, and a tool that threw reached the test as "Tool execution failed" with no reason. The page, the tests and every raw result are in the PoC repo. The setup WebMCP lets a page register tools that an agent can call instead of cli

I gave AI agents access to my work and home. Here's what broke

I have four AI agents. One sorts my work email and prepares a morning briefing. One reviews pull requests. One keeps track of bills, parcels and the smart home. One fixes the server the others live on. They talk to each other through my own MCP server, and I step in only when a decision is needed. Sounds great. Until one day I wrote to KAREN, my home agent: "Clean up my inbox." A few seconds later, a cheerful reply: "Started!" Some time later the inbox looked exactly the same. I went into the logs and found something beautiful: KAREN had no tool that could start anything. She hadn't started an

Find the email behind any website with 70 lines of Python (incl. Cloudflare-hidden ones)

You have a list of businesses with websites, maybe from a Google Maps export, and you need their email addresses. The obvious regex over the homepage misses a lot of them. Here's what catches most of the rest, and a small standard-library script you can copy. 1. Most emails aren't on the homepage Small business sites usually put the email on a contact, about or imprint page. So read the homepage first, collect its links, and follow the ones that look like contact pages. Don't only check for contact. Your list is probably not all English: CONTACT_WORDS = ["contact", "kontakt", "contacto", "cont

Guardrails vs moderation APIs

Short answer Guardrails are proactive, model-integrated safety controls that prevent harmful outputs before generation; moderation APIs are reactive, post-hoc filtering services that evaluate and block content after it’s produced. They serve complementary roles in AI safety architecture—guardrails reduce risk at inference time, while moderation APIs add a layer of contextual review. TL;DR Guardrails operate inline during model inference, enforcing constraints like refusal policies, output formatting, or PII redaction before tokens are emitted. Moderation APIs (e.g., IBM Watsonx.ai Moderation,

they say, (over)think its a habbit.

katanya, seringnya. lebih tepatnya. kita merubah diri, hanya karna prasangka buruk yang belum tentu tertuju pada kita. banyaknya… Continue reading on Medium »

How to Throw Away Garbage in Japan

The sorting categories, collection days, and special routes — explained so your bag is never the one left behind. Continue reading on Medium »

Fish

Part of “They Who Wander” Continue reading on Flashes of Fiction »

Building an Idempotency Guardrail to Prevent Data Inconsistency from Out-of-Order Webhooks

title: "Building an Idempotency Guardrail to Prevent Data Inconsistency from Out-of-Order Webhooks" state: "V2_COMPLETED" Pursuing State Consistency in Distributed Systems: An Experimental Report on a Redis-Based Webhook Idempotency Guard Due to the inherent nature of networks, webhooks dispatched from third-party services always carry the risk of out-of-order delivery and duplication. This report details an experimental implementation of an "idempotency guardrail" that combines Redis Sorted Sets (ZSET) and optimistic locking (WATCH/MULTI) to stop these issues at the edge, along with the techn

CVE-2026-90436 (Apache Axis 1.x): triage steps for Confluence Data Center and N-central admins

Apache Axis 1.x is an end-of-life SOAP engine, yet it still ships inside some enterprise products. CVE-2026-90436 is an unsafe reflection bug in it that allows unauthenticated remote code execution. CISA scores it 9.8. Exploitation against Confluence Data Center and N-able N-central was reported from 13 November 2026. Scope check Confluence Data Center 1.x to 9.x: affected only if "Remote API (XML-RPC & SOAP)" is enabled. Fixed in 9.2.28. Confluence 10.x and Atlassian Cloud are not affected. N-able N-central: affected when the Legacy API is enabled. Fixed in 2026.4 HF3, which also blocks legac

I checked my AI code reviewer against 205 of my own merge decisions

Of the 81 deliveries my Claude reviewer passed, I sent 9 back for rework anyway. That's 11%. Across both reviewers I overrode 6 of 69 blocks and merged the code regardless. Some background. I run a small homemade dispatcher called agent-dispatch. Claude writes the work orders, and cheaper models (GPT-6.1 Sol, GPT-6.2 Sol, GPT-6 Luna, and Xiaomi MiMo before that) implement them in sandboxed git worktrees. After the acceptance commands pass, Claude Sonnet reviews every delivery automatically. Codex reviewed two high-risk repos. Since October 11 the dispatcher has handled 300 orders. This week I

Case Study: Agentic Commerce Can Prove the Payment. It Cannot Explain the Purchase

Read this first. This is an illustrative composite, not a real customer. The company, people and numbers are invented to show how the method plays out in agentic commerce. Figures are modeled, not measured, and your results will differ. Payment rules and liability allocation in this area are changing, so take advice from your legal, compliance and payments teams. ZizkaDB is not a payment protocol, produces no signatures that card networks recognise, and does not decide who is liable. Parameter names in code are illustrative. The company Call it Harbor, a composite online home goods retailer wi

How to Scrape Hacker News with Python (Search, Front Page and Who Is Hiring Jobs)

Hacker News is unusually friendly to code: it has an official read-only API and a free full-text search API, and neither needs a key. The hard parts are knowing which one to use for what, turning the HTML text into something readable, and getting at the job posts hidden in the monthly "Who is hiring?" thread. This post shows a short Python script for all three, and a no-code option for when you need monitoring or a clean export. Option 1: the two public APIs in Python Algolia search (hn.algolia.com/api/v1/) finds stories and comments by keyword, author or date, newest first with search_by_date

What to put in an AI receptionist's script (with examples)

Put six things in the script: who the agent is, the normal call from start to finish, what it may say about your business, when it hands off to a person, how it should sound out loud, and how each call ends. Keep it short. Retell, a voice agent platform, warns that a longer prompt is not a better one. An AI receptionist's "script" is really a written brief, called a prompt. The agent reads it before every call. Below is what goes in it, with example lines for a plumbing business. The lines are my own illustration, not a client's script. Why should the script be short? Retell says in its prompt

Which rug approvals should survive a drawing revision?

A drawing moves from revision 3 to revision 4, and the dashboard still shows a green approval for the design. Set up a test with only colour approved against the older revision. The current order should report both colour and edge as pending. This fictional Python 3 example matches the sample decision to the design, revision and approval scope. order = {"design": "R-18", "rev": 4} approvals = {("R-18", 3, "colour")} pending = { scope for scope in ("colour", "edge") if (order["design"], order["rev"], scope) not in approvals } assert pending == {"colour", "edge"} A design-only lookup would have

Older stories