on-internet

Your Admin Check Was an assert and Production Ran Python With -O

The refund endpoint was for staff only. The check was one tidy line. def issue_refund(request, order_id): assert request.user.is_staff, "staff only" ... In tests it worked. A customer account got an AssertionError. A staff account got a refund. Green. Months later someone tuned the container. Smaller memory, faster start. They added one line to the image: ENV PYTHONOPTIMIZE=1 Nothing broke. Every test still passed, because the tests ran on laptops without it. And from that release on, any logged in customer could issue a refund. Here is the mechanism. assert is not a check. It is a debugging a

You Checked the Postcode Against the List With indexOf and Leeds Was the Only Area That Failed

Same day delivery was a small launch. Four postcode areas near the depot. const sameDay = ["LS", "BD", "HX", "WF"]; if (sameDay.indexOf(area)) { offerSameDay(); } It went live on a Monday. By Wednesday a customer in Glasgow had been promised a delivery by six. So had Cardiff. So had Truro. And the customers in Leeds, two miles from the depot, were never offered it at all. Here is the mechanism. indexOf does not answer yes or no. It answers where. Zero if the item is first. One, two, three further down. Minus one if it is not there. Then the if statement turns that number into true or false. Ze

getting old.

satan stands impressed by how much we succumbed to our pride. Continue reading on Medium »

Architecture reality check: monolith vs microservices

90 percent of companies building microservices do not need microservices. They adopted them because Google and Netflix did. Here's the quiet reality nobody admits on tech blogs. The setup nobody questions Your product has 2,000 daily active users. Yet you are running: 35 microservices A tangled Kubernetes cluster Distributed tracing tools just to find a single bug A $12,000 monthly cloud bill Instead of an in-memory function call taking 2 milliseconds, every user action triggers 15 network hops across internal services. Network failures happen. Latency multiplies. Development slows to a crawl.

Degup: a three-minute webcam game that checks if you can feel your own heartbeat

This is a submission for the Presage SmartSpectra SDK Challenge What I Built Try to tap in time with your own heartbeat, without touching your pulse. I tried for 40 seconds. The app's answer for that round was "No score": the camera saw 41 beats, I tapped 33, and the reading was too weak to judge. That is the run in the video below. Degup is a desktop game for adults that runs this check with a normal webcam. "Degup" is the Malay word for a heartbeat. The Presage SmartSpectra SDK reads my pulse and my breathing from the camera. The game asks me to tap whenever I feel a beat, then shows my taps

Three Hundred Yard Staff Had Never Registered a Second Factor and an Attacker With One Password Registered His Own

When we made multi factor sign in compulsory for all fourteen hundred staff in 2024, most people registered an authenticator app within a week. About three hundred did not. They were yard operatives and drivers who have an account for payslips, holiday requests and the intranet, and some had not signed in for months. Microsoft's sign in service handles that case helpfully. An account with no second factor is asked to register one the next time it signs in, from wherever that sign in comes from. For those three hundred accounts, the password was the only thing standing between anyone and the ri

Two Ansible roles wrote blocks into the same hosts file and every run kept only the second one

Our integration gateways push files to partners over SFTP through site to site VPNs, and several of those partner hosts have no public DNS. A role called partner_vpn writes their names and addresses into /etc/hosts with blockinfile. It had done that, unchanged, for two years. In October the monitoring team added a role to the same playbook that writes the names of our metrics collectors into /etc/hosts, also with blockinfile. It ran after partner_vpn. The play was green. That night the push to our largest supplier failed with Could not resolve hostname, and so did two others. blockinfile finds

7 checks before you submit your app to the App Store and Google Play

Most first-time app rejections we see aren't about code quality. They're about paperwork the stores check before a reviewer even opens the app: a missing permission string, a privacy form that doesn't match what the SDKs collect, no test login for the reviewer. Each one costs a resubmission and a few days. This is the checklist we run before pressing "Submit for review" on iOS and Android builds, plus a small Python script that catches the most common one automatically. 1. Every permission has a purpose string (iOS) If your app touches the camera, photos, location, microphone, contacts or Blue

The Developer's Field Guide to Tech Interview Prep (Without Burning Out)"

Preparing for software engineering interviews is uniquely exhausting because the skills tested in a 45-minute live session rarely mirror what you do on a Tuesday afternoon at work. On the job, you have documentation, Google, debuggers, and time to think. In an interview, you have a blank editor, a ticking clock, and someone silently watching you think through edge cases under pressure. Most developers respond to this gap by brute-forcing their preparation: opening a massive list of 500 algorithm problems, grinding until 1:00 AM, burning out after two weeks, and retaining almost nothing. If you

Your Company Has Created a Staff Engineer Level and You Are Wondering if It Is for You

The announcement arrives with the new career framework. Above senior engineer there is now a staff engineer level, so people can keep growing without becoming managers. Your manager mentions it in your one to one. Have you thought about whether that is your direction? You may not know what the job actually is. Many people do not, because it varies a lot between companies. A useful starting point is a 2021 book by Will Larson called Staff Engineer: Leadership Beyond the Management Track. He describes four common shapes the role takes, which he calls archetypes. The tech lead guides the approach

How password-locking a file really works (and a 650-line tool that does it)

Argon2id turns a password into a key that is slow to guess on GPUs; XChaCha20-Poly1305 seals the file so any change is detected. This post walks through the format of skull-locker, an open-source file locker, and the one rule that keeps your original safe: never delete it until the locked copy has been opened and checked. The rest: the README's "Why another file locker" table and the "Use" section, then a link to https://github.com/skull-org/skull-locker.

App store launch checklist: Apple and Google Play

This app store launch checklist covers everything that has to be ready before an iPhone and Android app can go live, apart from the app itself. Most of it is paperwork, and most of it takes longer than founders expect. Developer accounts need verifying, store listings need assets, privacy forms need careful answers, and both stores review your app before anyone can download it. Start these jobs in the first week of the build, not the last. Here is the list we work through on every mobile project. You can also download the checklist as a PDF to print or share with your team. 1. Developer accoun

A New Species Is One Line In The Register

A new species does not need a new cage welded by hand. It needs one line in the register - and writing that line turned up blank pages nobody had noticed. 👋 Hi, I'm Anton - a software engineer. These days I work on a platform: contracts, generated code, data paths and the tooling around them. Running notes live on my GitHub: github.com/brilliant-almazov. The dictionary section of the manifest and the closed-set package behind it are built into the shared library and its generator; five services use the package. The two findings below were found and fixed in the same pass. This is part 7 of the

Graph Neural Networks: How They Work and Their Uses?

Graph Neural Networks (GNNs) are changing how artificial intelligence understands complex relationships between connected data points. Unlike traditional machine learning models that process information as rows, tables, or independent data points, Graph Neural Networks analyze connections between entities and use those relationships to make predictions. This capability makes GNNs especially useful in areas where relationships carry as much meaning as the individual data itself. Examples include social networks, financial transactions, recommendation systems, drug discovery, and traffic predict

Windows Restarted Our Counter PCs at Ten to Seven Because Their Active Hours Were Set for Head Office

Our branch counters open at half past six. The first hour is the busiest of the day, because builders collect what they need before they drive to site. Counter staff switch their PCs on when they arrive and off when they lock up, as we asked them to years ago to save electricity. At ten to seven one Thursday in February 2025, the PCs on the counters at twenty six branches put up a message saying they would restart shortly, then restarted and spent up to fifteen minutes installing an update. Builders queued. Some counters wrote orders on paper and keyed them in later. Head office noticed nothin

vLLM production metrics: running an OpenAI-compatible server with Prometheus and GPU monitoring

Putting vLLM into production means moving from an LLM that « works on my machine » to an inference service able to absorb hundreds of concurrent requests on datacentre GPUs. Born in a lab at the University of California, Berkeley and now hosted by the PyTorch Foundation, vLLM is one of the most followed open source projects on GitHub for serving language models. This guide covers the vLLM production metrics that matter, alongside the OpenAI-compatible server and GPU monitoring. Its strength rests on two ideas: PagedAttention, which manages the key-value cache (KV cache) memory in pages, the wa

We moved our kiosk installer build into one cmd step and nothing after npm ever ran

Our depot kiosks run a small Electron application, and its Windows installer used to be built by Jenkins on a Windows agent. The job had three bat steps: npm run dist, then signtool sign with our code signing certificate and a timestamp, then signtool verify /pa on the result. In September we moved it to GitHub Actions on a Windows runner. To keep the commands exactly as they were, we put all three lines into one step with shell: cmd. The workflow was green, the installer was uploaded to the release, and we moved on. Five weeks later a depot manager setting up a new kiosk sent us a screenshot

Actively exploited this week: 9 new CISA KEV entries (16 November to 22 November 2026)

Every week CISA adds vulnerabilities to its Known Exploited Vulnerabilities (KEV) catalogue. The bar for getting on that list is not "severe on paper" but "attackers are using it now". For a small team with limited patching hours, that makes KEV the most useful priority list there is. Below: every entry added between 16 November and 22 November 2026, copied from the catalogue and linked to its NVD record, plus what Romania's national cyber security directorate and Have I Been Pwned published in the same days. Nothing is estimated or rewritten. The 9 actively exploited vulnerabilities added thi

Negeri Kebohongan

(ilustrasi tokoh Nara dan Daneswara) Continue reading on Medium »

I built a tiny programming language for Halloween — then made property tests prove it behaves

This post is part of Kiroween 2026 — it's the story of my Skeleton Crew entry, CurseEngine. The idea started with a grumble: every automation tool I rely on asks me to trust rules I can't read. Moderation bots, reminder workflows, digest jobs — the rule fires on real people, and the person accountable for it gets a settings page, not a sentence. So I built the opposite. CurseEngine is a small language where a rule is one line of near-English: curse spam-strikes: when message where count(message by same author flagged) >= 3 within 7 days -> mute author for 1 day; escalate to owner A hand-writte

Mumbai Police QR-code ID cards: how to verify an officer and spot impostors

Mumbai Police are issuing metal ID cards with a QR code that citizens can scan to check an officer's identity. Here is how the check works, where it falls short, and what to do when someone claiming to be police asks you for money. What happened On Saturday, 21 November 2026, Maharashtra Chief Minister Devendra Fadnavis inaugurated a set of technology projects for Mumbai Police. The one most relevant to ordinary citizens is a new identity card for police personnel that anyone can verify with a phone. According to The420 and the Free Press Journal, the new card is metal-based, carries an emboss

Practice Mirror: rehearse interview answers, wink for the next question, see which one tightened you up

This is a submission for the Presage SmartSpectra SDK Challenge What I Built Practice Mirror is an Android app for rehearsing interview answers alone. Prop the phone up, it shows one question at a time, and you answer out loud. Through the SmartSpectra SDK the front camera does two jobs: Hands-free cards. Wink one eye for the next question, the other eye to go back. No reaching for the phone, so the camera stays still. A question-by-question report. Pulse, breathing, a skin-response (EDA) trace, talking status and expression are tied to the question on screen. Afterwards each question shows it

Tools for coordinating Codex and Claude Code agents, compared

Which tool fits depends on three questions: do your agents include Codex as well as Claude Code, do they run on one computer or several, and is it just you or a team? If you only use Claude Code, its built-in agent teams and cross-session messaging cost nothing extra. For Codex and Claude Code on one computer, self-hosted open-source servers such as MCP Agent Mail and agent-comm work well. For Codex and Claude Code agents across computers and teammates, without running a server yourself, there is pingpong, which we make. These facts were checked against each project's own documentation on Nove

How to make Codex and Claude Code talk to each other

Codex and Claude Code have no built-in way to talk to each other. Each chat knows only its own conversation, and neither can see the other's. To connect them, give both the same MCP server so they share one set of tools for messaging. pingpong is one: once it is installed, every new Codex and Claude Code chat on your computers can see what the others are working on, ask them questions and send them work. Three ways to connect them Copy and paste. You read one agent's output and paste the relevant part into the other. It needs no setup, and you are the bottleneck: whatever you forget to relay n

Google Play Content Rating Questionnaire: How to Fill It In

Short answer The content rating questionnaire is under Policy, then App content in Play Console. Enter an email for IARC, pick a category, answer questions about your app's content, check the Summary and submit. One set of answers gives ratings from ESRB, PEGI, USK and others. Unrated apps are removed, so redo it whenever content changes. Your closed testing release is almost ready, and Play Console still shows an unfinished task in App content: Content rating. It looks like a long form about violence and gambling, and for a to-do app or a small utility that feels odd. Many first-time develope

Your Mentee Has Joined a Team Whose Code Has No Tests and Wants to Fix It All

Your mentee is three weeks into a new job and full of energy. The main service has almost no tests. Deployments are done carefully, on a Thursday, with someone watching the logs. They have already drafted a plan to add tests everywhere, introduce a new framework and make test coverage a required check. They want your opinion before they present it to the team on Monday. Admire the energy first, out loud. Then help them slow down, because a plan like this, from someone three weeks in, usually lands as criticism of everyone who built the system. Start with curiosity. Ask what they know about why

Older stories