on-internet

Debounce in JavaScript: The 10-Line Fix That Stops Your Search Box Firing on Every Keystroke

Type "javascript" into a search box and your code fires an input event for every letter. If the handler calls an API each time, that is ten requests for one word — nine of them for queries nobody will ever see. On a slow connection the answers can even arrive out of order, so the list shows results for "jav" under the finished word "javascript". The fix is called debouncing: wait until the user stops typing, then run once. The whole technique is about ten lines. The function function debounce(fn, wait) { let timeoutId; return function (...args) { clearTimeout(timeoutId); timeoutId = setTimeout

On-page SEO checklist: 7 things to fix on every page before you publish

On-page SEO is everything you can change on the page itself: the words, the headings, the images, the links. It is the part you fully control, so it is the best place to start. Here is the short checklist I run through on every page. Pick one clear search intent. Before writing, decide what the visitor wants. A long, specific phrase ("on-page SEO checklist for WordPress") usually shows intent better than a short one ("SEO"). One page, one main topic. Write the title tag and meta description for people. Put the main phrase near the start of the title and keep it short enough not to be cut off i

How to Diagnose Linux Performance: A Developer's Field Guide to Finding the Bottleneck

The first time I got paged for "the server is slow," I SSHed in, ran top, saw load average 4.5, and concluded "CPU bound." I spent an hour tuning nginx workers before realizing the actual problem was iowait on a dying disk. Top told me everything and nothing. The bottleneck was hidden in a column I'd never learned to read. This is the article I wish someone had handed me that night. Linux performance diagnosis isn't memorizing 50 commands. It's a method: figure out which resource is saturated, find the process responsible, understand why it's saturated, fix the root cause. The tools are the me

Thumbnail Metadata After Upload: 10 Durable Checks for Signed Documents

Thumbnail Metadata After Upload: 10 Durable Checks for Signed Documents The important trade-off is simple: put thumbnail metadata in the same durable write as the thumbnail object when possible, then verify the stored representation before acknowledging the upload. A successful image resize proves only that bytes were produced; it does not prove that the object store received the metadata, that a later reader is using the same key, or that a deletion deadline can be enforced and audited. Short answer: treat metadata persistence as part of the upload contract. Generate the thumbnail, build one

Scripting the Sandscale CLI: exit codes, JSON output and when to switch to an API key

Short answer: the sandscale CLI is built to be scripted. sandscale sandbox exec and sandscale sandbox run exit with the remote command's own exit code, so make, set -e and && chains work as if the command ran locally. For everything else, a fixed set of exit codes tells your script what kind of failure it hit, and --json gives machine-readable output. For CI and servers, use a personal API key with the SDK or the API rather than a CLI sign-in; Sandscale's authentication docs recommend that. All commands and codes here are from the live CLI reference, which is generated from the CLI itself. The

Trump: A Necessary Growing Pain

As painful as it is, we are living through an historic time. Continue reading on ILLUMINATION »

Amazon SES mail failing DMARC? Align DKIM and SPF to your domain

Your app sends through Amazon SES. The code works, the messages go out, and then a receiver reports a DMARC failure. The confusing part is that SPF passes. It just doesn't pass for you. Where the alignment breaks The question is not whether a check passed. It is which domain it passed for. Without a custom MAIL FROM, SES uses a subdomain of amazonses.com as the Return-Path. SPF checks that domain. So SPF passes, but for amazonses.com, not for your domain. By default, SPF does not align. DKIM is the other half. It aligns once Easy DKIM is verified for the domain in your From address. Until then

Nobel-Winning Biochemist Gerty Cori on the Single Most Important Element of a Meaningful Life

We call it “the long run,” life, and spend it trying to understand what keeps us running, trying to run toward, to see the true goal through all the false trophies promised us by the merchants of approval and acclaim. What keeps the body running is glycogen — the essential fuel of muscles. What keeps the soul running is a substance we must each synthesize out of the mystery we are. There are two kinds of running the soul does: running away from — our fears, our past, our mistakes — and running toward. The first kind is easier, for… read article

Dev Opportunity Radar #27: $400K Google AI Competition, Vercel X AI Accelerator, and Fully Funded AI Evaluation Programme

TL;DR Welcome back to Dev Opportunity Radar! This is a weekly series where I share opportunities, resources, communities, and interesting finds that I come across, with the goal of helping people discover things they might otherwise miss. This week's edition features the International Programme on AI Evaluation: Capabilities & Safety, a fully funded programme for 40 participants interested in AI evaluation and safety; Vercel X – AI Accelerator, a six-week, zero-equity programme for early-stage AI startup founders; and Google's Agent Harness on Physical-Engineering's Last Exam, a $400,000 compe

What I learned testing live rider locations on two phones

I built MOTR to help motorcyclists in Pakistan stay together on group rides. My first two-phone test was simple. Join the same private ride, turn on location sharing, and see whether each phone shows the other rider on the map. Both dots showed up. Then I zoomed way in and noticed one marker jumping around. A position change that was barely visible at normal riding zoom looked dramatic up close. That gave me two separate things to test next time: whether an update reaches the other phone, and how that update looks on the map. If you’ve built a live map, how do you keep markers readable when GP

Barangkali Ini Bukan Tentang Cinta

Ada kalanya aku merasa sudah cukup memahami apa yang sedang kurasakan. Continue reading on Medium »

You Are Such an Oxymoron

You are such an oxymoron. Continue reading on Medium »

Designing Retry-Safe Customer Intake with PostgreSQL

Disclosure: This draft was generated with AI assistance for GILNEX editorial review. The SQL is an illustrative example, not a verified production implementation. References checked November 27, 2026. A customer taps Submit, the network times out, and the browser retries. Did the first request fail, or did the response disappear after the server committed? A reliable intake system must handle both possibilities without producing two appointments, two notifications, or two CRM records. Define the operation, not just the request A retry key identifies one intended operation. Generate it once for

SSH hardening for a VPS, checked against 60 days of honeypot traffic

Our decoy server received 115,079 SSH connections in 60 days. Its address was never published, so none of them were aimed at us. They came from tools that try every address on the internet, and they would try yours the same way. Each setting below comes from something a bot actually did on the decoy, so you can see what it would have stopped. Method in one line: one Echidra OSS sensor on a $6 VPS, one region, 28 July to 26 September 2026. The full numbers are in Sensor Report #1. Root takes 85% of the guesses There were 17,707 SSH login attempts, and root was the username in 15,114 of them. St

Watching what an agent's sandbox is doing: CPU, memory, disk and run history

Short answer: four CLI commands answer most "what is my agent doing in there?" questions. sandscale sandbox list shows which sandboxes exist, sandscale sandbox metrics ID --follow shows CPU, memory and disk use as it happens, sandscale sandbox logs ID lists the commands that ran, and --run RUN_ID prints one command's output. For code, GET /api/v1/sandbox/runs/{id} returns a run's details and cost. Everything below is from the live sandscale sandbox reference, sandscale logs reference and sandboxes API guide. Which sandboxes are running? sandscale sandbox list sandscale sandbox show sbx_9 list

The 12 Security Questions Most Japanese Companies Will Ask Before Approving Your AI Tool

This article was originally published on Medium. Nobody said no. Then a spreadsheet arrived. You found an AI tool that would genuinely help your team. You mentioned it to your manager. The reaction was not hostile — a nod, maybe a "sounds interesting." You wrote up a short proposal and sent it off, expecting a decision within a week or two. Instead, a spreadsheet arrived. Dozens of rows: data handling, storage locations, subcontractors, certifications, contract terms. You answered what you could. Then — silence. Not a rejection. Just weeks of nothing, while your proposal sat somewhere you coul

AI impersonation fraud: a no-cost defence plan for small businesses

This month the US Department of Justice announced an indictment alleging that three foreign nationals used AI to impersonate CEOs and attorneys in a fraud scheme worth more than US$129 million, as reported in the technology press. We have not seen the court documents ourselves, so treat the figures as reported. The lesson for a small business does not depend on the exact number: a convincing voice, email or video of someone you trust is no longer proof of identity. At Digitt Hype we build websites, apps and automation for businesses, and we are often the people a client calls after something o

Antes de conectar un buscador de destinos a Nominatim: decisiones que debes tomar

Por el equipo de Mapitt, una plataforma venezolana de viajes. Guía documental elaborada con inteligencia artificial; no describe la infraestructura ni las fuentes de datos actuales de Mapitt. Una caja de búsqueda puede parecer sencilla: el viajero escribe un destino y la aplicación muestra lugares. Sin embargo, la fuente de datos y el servicio que responde tienen condiciones distintas. Antes de implementar la función, conviene separar tres decisiones: qué datos usar, quién ofrece la búsqueda y cómo se presentará la atribución. 1. Distingue los datos abiertos del servicio público OpenStreetMap

The Foreman Carries No Tools: Sub-Agents and Separation of Concerns

Why split one agent that can do everything into five narrower ones? Because the one that does everything is the hardest to evaluate. I want my agents to do more on their own, with each making decisions within a clearly defined scope of responsibility. The foreman delegates. The specialists do the work. A person approves the result or guides the next iteration. That means separating who does the work from who chooses what happens next. Automate what can be checked. Let the model decide when the criteria are clear. Hand it to a person when they aren't. The idea I'll keep coming back to: the fore

Before you hire an AI agent: a five-point checklist for small businesses

Every few weeks a new "AI agent platform" announcement lands, and the pattern in the news this month is that the big labs are moving from selling a chatbot to selling the plumbing around it: a harness that keeps an agent running, gives it tools and lets you deploy it. Anthropic's Claude Managed Agents, reported as a public beta, is one example. Whether you pick that or another stack, the question for a small business in Pakistan is the same: what is worth handing to an agent, and what will go wrong if you do it carelessly? We build AI integrations at Digitt Hype, so this is the checklist we us

Older stories