on-internet

Formatting Timer Readouts with Intl.DurationFormat: What It Does and What It Leaves to You

Most timer readouts are built from padStart(2, "0") and a colon. That works until you want localized digits, or a spoken-friendly string like "25 minutes". Intl.DurationFormat covers both, and MDN labels it Baseline 2025: "Since March 2025, this feature works across the latest devices and browser versions." I tried it on a timer readout and found four places where it does less than you might assume, plus one engine difference I measured. Everything below ran on Node 24.22.1 and desktop Chrome 156 on Linux. I did not test Firefox or Safari, and I only used the en locale unless noted. The basic

The message that retried hundreds of times: a retry loop with no exit

I'm Eric Gitangu. I work on backend systems for a mobility/fintech platform. This is the story of one text message that was retried hundreds of times, and what it took to teach the code to take no for an answer. The symptom A cron worker sends queued notifications. One day the SMS provider started rejecting our account as inactive. Annoying, but a provider outage is supposed to be a boring day: messages fail, someone gets alerted, we move on. Instead, one queued message kept coming back. Same row, same recipient, every few minutes, across a couple of days. Hundreds of attempts, each one answer

Test browser profile isolation after attaching Playwright over CDP

When Playwright attaches to Chrome over CDP, it can see the browser's existing context. A script that opens a new tab there inherits that context's first-party storage for the origin. That can help a task continue in the right signed-in tab. It can also make a test for signed-out behavior pass through screens it should have tested. An AI assistant helped run the experiment and prepare this write-up. We used a Cloudbrowser Chrome session and two pages on our own documentation site. Put a marker in one context This experiment uses a single throwaway localStorage key. Use an endpoint you control

SpaceX autorizada a lançar UM MILHÃO de satélites de IA

A FCC autorizou a SpaceX a lançar um milhão de satélites Starmind para datacentres de IA no espaço. Analisamos o plano e a cadência da Starship. SpaceX autorizada a lançar UM MILHÃO de satélites de IA

SQL Injection Explained: How to Detect and Fix It

SQL injection is one of the oldest web vulnerabilities and it still shows up in new code. The cause is almost always the same: user input becomes part of the SQL text instead of being passed as data. This guide explains how to fix SQL injection properly, how to find it in your own code before anyone else does, and how to verify the fix. It is written for defenders, so there are no attack strings here, just patterns to recognise and repair. What SQL injection is, in one paragraph A database receives a query as text and parses it. If your application builds that text by gluing user input into it

How to put a one-page HTML website live for free (no builder, no code)

A one-page website is a single HTML file. If you run a small business, that can be all you need: your name, what you do, a few photos, hours and a way to get in touch. Here is how to edit one and put it online without paying for a site builder. 1. Open the file in a browser Double-click the .html file and it opens in your browser. That is the whole site. Nothing to install. 2. Edit the text Open the same file in any text editor (Notepad, TextEdit, VS Code). Find your business name, phone number, address and opening hours and replace them with your own. Save, then refresh the browser tab to see

Basic HTML structure of a webpage

The doctype tag ( <!DOCTYPE html> ) informs the browser on which type of document is expected and this tag seems to be complicated in older versions of HTML whereas in the latest version ( HTML 5 ) , its simple as seen below. In simple terms , HTML is like skeleton of a webpage which displays plain text and CSS is like skin which includes formatting options like changing the color, alignment, style of fonts. <!DOCTYPE html> <html> <head> <title>My First Page</title> </head> <body> <h1>Welcome to HTML!</h1> <p>This is a simple HTML page.</p> </body> </html> Below image gives a better understand

How I Structure an AI Microdrama So Episode 12 Still Makes Sense

A working method for creators building serialized AI video fiction — bibles, ledgers, and cliffhanger discipline. Microdramas live or die on memory. A viewer forgives a rough frame; they never forgive a story that forgets its own rules. After producing serialized AI fiction in seasons of 10 episodes × 12 scenes, this is the structure that keeps my stories coherent from the first hook to the last cliffhanger. 1. Build the bible before you generate a single clip Before any generation, I lock a series bible: World rules — what is possible, what it costs, what is forbidden. Written down, not "in m

The word we use for the pain of others

Pyre, Grave of the Fireflies, and the lie of noble suffering when there is no choice left. Continue reading on Medium »

“Carpe Diem”

Continue reading on Medium »

Neumorphism as the Design Foundation of Apium Cloud OS: UI/UX Trends and Ergonomics

Interface Design Trends 2020–2026: The Return of Tactility Over the past fifteen years, digital product design has completed a full pendulum swing: Early Skeuomorphism (2008–2012): interfaces literally mimicked leather, wood, and chrome switches. Users immediately knew what to press, but heavy visual noise got in the way of dense data tables. Ultra-Flat Minimalism / Flat Design (2013–2019): the backlash against skeuomorphism stripped away shadows and elevation. Screens looked cleaner, yet introduced the opposite flaw—plain text, headings, and clickable buttons became visually indistinguishable

Is my Lovable app secure? A 10-minute self-check

It can be, but it isn't secure by default: whether your Lovable app is safe depends mostly on the database rules (Row Level Security, RLS) and on which keys end up in the browser, and the AI that built the app does not reliably get either one right. You can check the basics yourself in about ten minutes, without any tools, using only your own app and accounts. This is a self-check for founders, not a security test. Read the rules, click through your own app, write down what looks wrong. For the technical detail behind each point I link to my longer article, 7 Row Level Security checks before s

Healthtech DNS Monitoring: Retaining Mail Outcomes and Resolution Evidence for Rollback

The monitoring bill for a healthtech hostname cutover has three parts: repeated outcome checks, retained observations, and the work of explaining an alert. Before choosing a service, count what the design proposes to keep. In a deliberately hypothetical budget of 100 observations per interval, retaining a complete record snapshot with every observation creates 100 snapshots. Keeping one baseline and taking another snapshot on an alert changes that dominant snapshot term. It does not eliminate the need to check outcomes. These are design counts, not vendor charges or measured savings. Short ans

What happens behind the scenes when a Windows login fails? 🔍

Every time someone enters an incorrect password on a Windows machine, something interesting happens behind the scenes. Windows doesn't simply reject the login attempt and move on. It can also record valuable security information that helps administrators and SOC analysts investigate suspicious authentication activity. Let's break it down. 1️⃣ Authentication attempt A user enters their username and password on the Windows login screen. Windows attempts to authenticate the user using the relevant authentication mechanism, such as Kerberos or NTLM, depending on the environment and logon scenario.

The Evolution of etcd Storage: A Distributed /etc in RAM (v0.1 - v0.4)

Motivation & Series Roadmap Storage engines are shaped by the workloads they are built to serve. Today, etcd is best known as the disk-backed datastore behind the Kubernetes control plane. When it started in 2013, however, it was much simpler: an in-memory hierarchical directory tree serialized to JSON. In this series, we will trace how real-world adoption changed etcd's storage layer over time. This first post starts at the beginning, when small CoreOS configuration trees made keeping everything in memory the obvious choice. In later posts, we will cover the first major reliability overhaul,

Purple Flow's 512MB Workflow Engine: How AI-First Automation Runs 10,000+ Workflows Without a Database

Purple Flow positions itself as an AI-first n8n alternative that runs 10,000+ concurrent workflows in 512MB of RAM without a database. That constraint forces architectural decisions most workflow engines avoid: no Postgres for state, no Redis for queues, no persistent job tables. Everything lives in memory, which means the plumbing has to handle eviction, crash recovery, and LLM tool calls without the usual safety nets. The project is early (15 GitHub stars, Show HN with 5 points), but the resource budget exposes interesting trade-offs. When you can't lean on a database to serialize workflow s

Rebinding a node-locked seat through hardware change

Node-locking binds a seat to a machine through a fingerprint, and the companion piece on fingerprint drift names the failure that bites in production: hardware mutates, the fingerprint moves with it, and a seat that should have stayed put gets spent twice. That article ended on the cure — a weighted, multi-signal fingerprint with a tolerance threshold. This one builds that cure properly, because "allow a tolerance" hides two hard problems. How much change is still the same machine? And once you accept partial change, what stops the tolerance from becoming a quiet seat-migration or cloning hole

The funded job Escrow Scout should never have recommended

In our sandbox, a job titled “Clean CSV data and verify public links” looked like a perfect match for Escrow Scout. It was marked funded and free to enter. Then came the actual brief: unpack physical hardware and photograph a shop display from the street. To verify the failure, we reran that fixture against the earlier build. It returned match, with a fit score of 0.90. The score described how well the listing resembled work a remote agent could do, but it couldn't answer whether the agent could actually finish the job. The fix was a hard check on the full brief before scoring. The same fixtur

Our E2E tests keep getting stuck in the test setup. How would you approach this?

I’m looking for a second opinion on our testing setup. We’re using Node.js ES modules, Playwright, PostgreSQL and Docker Compose. There are 125 integration/E2E tests across 12 groups, each running in its own container. Everything is local, with made-up accounts and data. Preparation checks keep passing, but attempts to run the full suite have exposed problems in the test infrastructure. Separate browser and migration checks have passed. The latest run stopped at the first command. Reviewing the code turned up: A circular import involving top-level await. Unit tests imported the code as a libra

Generated Image Saves: Debugging Base64 Failures in Compatible Object Storage

An e-commerce AI image generation pipeline has one constraint that changes the storage design: a merchant must never collide with another merchant's artifact. Short answer: to save each generated image in compatible object storage without a malformed base64 decode error, decode once, write the Buffer under a tenant-scoped deterministic key, verify the stored length and media type with HEAD, and only then commit the database record. Serve it later through a presigned link, not a permanent public URL. Bytes first. This fixes the common malformed-base64 failure because the storage layer receives

Rebuilding collection expressions and spreads

Collection expressions look like one feature — square brackets that build a collection — but there is no "collection expression" opcode, and more surprisingly, no single lowering. [1, 2, 3] compiled against an int[] and [1, 2, 3] compiled against a List<int> produce IL that shares not one instruction. The brackets are a request; the target type chooses how it is filled. For anyone reading compiled code, that makes a collection expression a moving target: you cannot recognize it by a signature, only by knowing the handful of shapes it can take. The real question The compiler picks a constructio

Encoding ADU Setback Envelopes, Post-Frame Barndominium Grids & Walk-In Closet Clearances in Pure TypeScript

Most residential planning calculators on the web do one multiplication (width * length = sq ft) and stop. That is rarely where real US residential floor plans break. In practice, homeowners and builders run into binding constraint failures that simple area multiplication hides: Backyard ADU projects fail when a 25' x 34' (850 sq ft) footprint passes the local 1,200 sq ft ordinance cap, passes the 45% lot coverage ratio, yet clips the 10'-0" house-to-ADU building separation unless rotated 90 degrees inside the rear-yard pad. Post-frame barndominiums fail when a builder pairs a 12'-0" tall overh

Keheningan Yang Ramai

sumber: pinterest Continue reading on Medium »

He’s done nothing

And Yet.. Continue reading on Medium »

Older stories