on-internet

FSDP vs DDP: when do you need sharded data parallel?

For full training with AdamW in mixed precision, DDP stops fitting on an 80 GB NVIDIA H100 at roughly 3.75 billion parameters once you keep 20 GB for activations, and above that you need FSDP. Nodus runs either one with the same torchrun command on 1, 2, 4 or 8 GPUs of a machine, with H100s listed at $2.60/hr on the Nodus pricing page. If one GPU holds the full copy of weights, gradients and optimizer state with room for activations, DDP is simpler and moves less data; if not, FSDP shards that copy across GPUs. Our multi-GPU training guide covers writing and launching both. This post only sett

30 DSA Problems I’d Practice Before a FAANG Interview

One manageable daily routine, the patterns worth learning, and the follow ups that reveal whether you actually understand them. Saving another interview-prep list is wonderfully easy. Opening one problem after work and discovering that you cannot explain your own solution is considerably less fun. Honestly, that second moment is where I want this list to help. You do not need 30 problems competing for your attention every evening. You need a small set that makes you practice different decisions, then a reason to come back after the answer stops feeling familiar. So I picked 30 problems across

RetroReel Studio v2.0: AI Architecture Roadmap, Recommended AI Stack & Verified Cost Breakdown

RetroReel Studio v2.0: AI Architecture Roadmap, Recommended AI Stack & Verified Cost Breakdown Engineered by **HRL International Private Limited* (HRL-REEL-1080P-2026)* Short-form retro PS1/PS2 low-poly 3D CGI comedic skits (9:16 vertical, deadpan dialogue, rapid sitcom cuts, bold word-by-word captions, and branded merch drops) are one of the highest-converting organic formats on Instagram Reels, TikTok, and YouTube Shorts. With RetroReel Studio v1.0, we built a working 3-step studio app that outputs 1080×1920 @ 30fps H.264/AAC MP4 reels with real PS2 low-poly 3D human scenes, dynamic brand/lo

Why do some people enjoy being alone?

I am the type of person who enjoys being alone, yet, at the same time, my own solitude sometimes triggers a sense of anxiety. There are… Continue reading on Medium »

Why Hasn’t AI Invented the Next B-Tree Yet?

We live in a strange moment in computing. You can open a terminal, describe a full-stack web application in plain English, and watch an AI… Continue reading on Medium »

Designing Connected Workplaces

Effective workplace design involves more than floor plans, furniture and technology. It requires careful consideration of how people work… Continue reading on Innovate Vancouver »

[ Video ] Local AI: Testing Domyn Edge 4B on a 16GB MacBook Pro

For the 16th episode of my series in which I test local AI models that fit on a 16GB MacBook Pro, I chose Domyn Edge 4B. It’s a 4-billion-parameter model from Domyn (obviously), a Milan-based company that rebranded about a year ago. The same company was selected by the European Commission to train one of Europe’s largest open-weight models (targeting up to 1 trillion parameters). The model I tested is the smaller, already-released piece. It uses a custom architecture, and that means the usual tools I use for my tests wouldn’t load it. So I converted it myself to an MLX 4-bit quant. The resulti

Network Segmentation Still Matters for CVE-2026-105420

Network Segmentation Still Matters for CVE-2026-105420 CVE-2026-105420 requires a Wing FTP Server domain administrator account before an attacker can exploit the base-folder escape. That condition makes management-plane controls especially important. If the administration interface is reachable only from a trusted network and the domain administrator roles are tightly managed, the practical attack surface is much smaller. Patched software remains the primary control. Vulnerability overview CERT Polska published the advisory on 28 October 2026 and assigned CWE-22. Every Wing FTP Server release

Private Object Storage for SaaS Documents: Presigned Links, Isolation, and Recovery

Short answer: keep user documents in private buckets, record ownership in your database, and hand the browser a short-lived presigned download link. For a one-person SaaS, Amazon S3, Cloudflare R2, and Azure Blob Storage are sensible specialist baselines; Infrai is a good fit when tenant-isolated storage is one part of a wider backend you want to call through one consistent REST contract. The deciding issue is recovery behavior, not a colorful feature checklist. I build around a boring constraint: a failed upload must be safe to retry, and a link must not become a permanent credential. The app

Tip math, bill splitting, and rounding: small calculators, real edge cases

Tip math, bill splitting, and rounding: small calculators, real edge cases Tipping looks like the simplest math in everyday life: take 20%, add it on, done. But the moment you split a bill, tip on the taxed total, or round to whole dollars, the arithmetic quietly stops adding up. A tip calculator is a small program, but it sits on top of three genuinely tricky problems — percentages on the wrong base, division that doesn't come out even, and rounding that creates or destroys cents. All three are worth handling deliberately, because getting them wrong is how a table of four ends up a cent short

Why US Mortgage Math Overstates Canadian Payments by $4,479 (and How to Implement Semi-Annual Compounding)

Most mortgage calculators on the web default to monthly compounding (the US standard). Under Canada's Interest Act (Section 6), fixed-rate Canadian mortgages must be compounded semi-annually, not in advance. On a $500,000 mortgage at 5.00% over 25 years: Metric US Monthly Compounding Canadian Semi-Annual Compounding Difference Monthly Payment $2,922.95 $2,908.02 +$14.93/mo Total Paid (25 yrs) $876,885.00 $872,406.00 +$4,479.00 The Exact Formula Convert the nominal annual rate r to an effective monthly rate i: i = (1 + r / 2) ^ (2 / 12) - 1 In TypeScript (from canadian-mortgage-math-engine, the

11 Mac apps for developers that cost $15 or less in 2026 (10 are free)

Most "best Mac apps" lists quietly add up to a few hundred dollars a year in subscriptions. This one has one rule: nothing on it costs more than $15. Ten of these are free to download. One is a $15 lifetime license (or $5 a month). All of them fix something macOS still doesn't do well out of the box, and most install in under a minute with Homebrew. Windows and switching 1. Rectangle macOS finally has basic window tiling, but Rectangle is still faster. Keyboard shortcuts snap any window to halves, thirds, quarters or full screen, and you can drag windows to screen edges to snap them. Cost: fre

Calling C from KingCobra: a hands-on FFI tutorial

KingCobra can call C code directly, with no binding generator and no glue files. This tutorial covers the two ways to do it, how values cross the boundary, how to write and load your own C library, and where the language's safety checks stop. Every example was run on KingCobra 1.0.0, and the output shown is the real output. You should know the basics of KingCobra (see the language tutorial) and be able to read simple C. Setup You need KingCobra, and from section 6 onwards a C compiler. KingCobra runs on Linux, macOS and Windows, and every program in this tutorial is the same source on all thre

English Grammar: Emphatic Pronouns

An emphatic pronoun pairs with another noun or pronoun in order to emphasize it. Continue reading on Medium »

A 302 From Your Upstream Can Delist Your Service

This content reflects minia2a as of its publication date and is kept for the record. Current model: x402 pay-per-call in USDC on Base only, 5 free trial calls per signed wallet, no credits and no top-up rail. November 19, 2026 · 6 min read · by Iris @ minia2a A service on our catalog was one failure away from being removed this morning. Not because it was broken — because a target site answered with a redirect. The listing is a fetch endpoint: a caller posts a URL, the service fetches it and returns the content. The target returned HTTP 302 to a login wall. The handler did what a handler does

How I Built a 100% Local PDF RAG Assistant on CPU Using Python and Ollama

The moment this project felt real wasn't when the model generated its first paragraph. It was when I asked it a question that wasn't covered in its documents and instead of making something up, it checked its similarity score, paused, and politely refused to guess. As a cloud engineer who spends most days building backend systems, designing cloud architectures, and working on production deployment strategies, AI always felt like a separate world dominated by massive GPU clusters and expensive cloud APIs. Recently, I decided to take my first hands-on step into AI engineering. This is the story

Are CLAUDE.md and AGENTS.md a revival of the design document

Originally published at https://aicoding-guide.com. CLAUDE.md and AGENTS.md are not a revival of the design document. The one thing they have that a design doc never did is being read every time — and in exchange they carry a length ceiling and a merge order. Written in the shape of a design document, they work less well, not more. That is not an impression. It falls out of the loading rules both tools document. Key point The claim "Read every time" is the property a design doc could never have, and it is genuinely new Being read is not the same as being followed, and the docs say so outright

App Store & RevenueCat Fees: 15% vs 30% Tiers (The True Net Margin Guide)

Originally published on YoFi Finance Mobile app developers selling in-app purchases and subscriptions through the Apple App Store and Google Play pay a store commission that bundles payment processing, chargeback absorption, and global VAT/sales tax remittance. Because managing cross-platform receipt validation and webhook states across StoreKit 2 and Google Play Billing is complex, most indie developers and mobile studios pair native billing with RevenueCat. Understanding how store tiers (15% vs 30%), local taxes, and RevenueCat’s Monthly Tracked Revenue (MTR) fees stack is essential for mode

Diagrams never crash, so I built a game where your system design does

I kept reading about load balancers, caches and sharding, then forgetting all of it a week later. A diagram never fails, so you never find out why any of it matters. So I built Bugpit, a game where you build a backend from blocks, send it traffic, and watch it break. No code needed. How it works You get a scenario: how much traffic, how much of it is writes, and what the system has to hold up to. You drag in servers, load balancers, caches, queues and databases, and wire them together. You run it. Every part has a real capacity, so the simulator shows you what overloads, how many requests fail

A World Without Shadows

I Imagined a World Without Shadows, and Understood Why Light Needs Darkness Continue reading on Purely Hearts »

Google Trends for 1,000 keywords in one run, without getting blocked

Google Trends has no official API, the page takes five terms at a time, and every scraper of it spends half its life on 429 errors. This is the way I know to get the Trends numbers for a whole keyword list, as a CSV, from licensed data that does not break. Disclosure: I built the actor this uses. The data comes from Google Trends through the DataForSEO Keywords Data API under licence on every run; nothing is scraped. What you get One row per keyword with the full interest-over-time series as JSON, plus average_interest, latest_interest, peak_interest and peak_date, a trend_last_quarter_pct fig

Why AI Agents Fail in Production: 5 Causes and Fixes

Everything works in the demo, then real work arrives and results become hit and miss. That is the complaint we hear most. Switching to a more expensive model often does not help, because the problem is usually not the model. We run AI on live customer service email and chat, in several languages, and each of the five causes below is one we hit there, with what it looked like and the fix that actually worked. 1. Passing raw material to the model as one big pile The easy approach is to give the model the whole email thread, the full ticket history and every retrieved document, and let it work it

video-cli 1.3.3 is dead on a plain install: two bugs, two patches

video-cli is a small ffmpeg wrapper (video-tile, video-crop, video-resize, ...) that people install to stop writing filter graphs by hand. Published sdist 1.3.3 was released in 2022. On a clean venv today, the README commands fail before they do anything. Repo: wkentaro/video-cli. Last commit 17f648d, Feb 2022. The sdist on PyPI is byte-identical to that HEAD, so "the repo is stale" is not the whole story. The dependency underneath moved and nobody pinned it. Bug 1: video-tile dies on imgviz 2.x python3 -m venv .venv && .venv/bin/pip install video-cli ffmpeg -f lavfi -i testsrc=size=320x240:ra

Design a proximity service: the system design interview walkthrough

Design a proximity service: the system design interview walkthrough The request to design a proximity service — "find the restaurants near me" — sounds like one SQL query away. Compute the distance from the user to every place, sort, take the closest ten. For a hundred places that works; for the two hundred million businesses a Yelp-scale service indexes, scanning them all on every search is a non-starter. The interview asks you to return the nearest places in milliseconds, for thousands of searches a second, across the whole globe, where a dense city block holds thousands of pins and a stretc

AI Agent vs Workflow: How to Choose for Real Work

This is the question we get most often when scoping a project, and the one teams most often get wrong. Choosing badly rarely stops the system from running. It stops you from maintaining it once it does. The one-line test If you can draw the next step before you start, build a workflow. Use an agent only when the next step depends on what the previous step turned up. "Customer email comes in, classify it, look up the order, draft a reply from the right policy, send it to a person for review." You can draw that on paper today, so it is a workflow. "Take this pile of messy supplier files and turn

Older stories