I've been building CrayonInk, a small web app that turns a photo into a black-and-white coloring page you can print at home. Upload a picture of your dog, your grandparents, a wedding photo, and get back a page with clean, closed outlines that's ready for crayons. The idea isn't new. This post is about the engineering: the pipeline, a model comparison with per-call billing data, the prompt changes that mattered, and the cost guardrails I added before letting strangers spend my inference budget. All of it runs on Cloudflare: Next.js 16 deployed to Workers via @opennextjs/cloudflare D1 for jobs, accounts, credits and a spend ledger R2 for source photos and finished pages Queues for generation jobs (max_batch_size = 1, max_retries = 3) A cron trigger every 15 minutes that recovers stuck jobs (and refunds the user's page), deletes source photos older than 24h, and clears out expired results and PDFs Cloudflare Email Service for operator alerts The AI step is a single image-edit call to fal, using fal-ai/bytedance/seedream/v5/lite/edit. One more mode, "outline", skips AI entirely: it's Canny edge detection running inside the Worker. It's instant and costs nothing, but the lines are rougher and often don't close. In the browser: the photo is downscaled to at most 2048px on the long edge, re-encoded as JPEG (quality 0.9), and its EXIF data is stripped. Nothing is uploaded until the user clicks Generate. Submit: the API checks the user's credits, creates a job in D1 and drops a message on the queue. Queue consumer: builds the prompt from the selected detail level and style and calls Seedream. The photo goes inline as a data URI. Post-processing: the model's output gets converted to grayscale, thresholded to a 1-bit PNG at 300 DPI, and padded so the page keeps the photo's aspect ratio. The pages are pure black and white, with no gray anti-aliasing to muddy a home print. Delivery: PNG, or a single-page PDF in A4 or US Letter. Several pages can also be assembled into a colorin
Coolify is the self-hosted alternative to Heroku, Vercel and Netlify: one server, a web UI, push-to-deploy for anything that runs in Docker. The project's own docs say you need 2 CPUs and 2 GB of RAM. We wanted to know whether the $6 DigitalOcean droplet (1 vCPU, 1 GB RAM, 25 GB SSD) is enough for a small team's side projects, so we installed it, timed every step and left it running. Short answer: Yes, Coolify runs on DigitalOcean's $6 droplet (1 vCPU, 1 GB RAM) if you add a 2 GB swap file first. Measured on 1 Oct 2026: install script 172 s, first app deployed and answering in 210 s, build peak 720 MB RAM + 669 MB swap, idle footprint about 250 MB for Coolify itself. For more than two small apps, take the $12 plan. Short version: it works, with one trick (a 2 GB swap file). The install script took 172 seconds, the first app was answering HTTP requests 210 seconds after clicking Deploy, and the measured steps from an empty account to a running app add up to just under 10 minutes (our wall clock said 23, because of a wrong base directory described below and a coffee). Memory after boot sat at 618 MB used with four containers healthy; the build peaked at 720 MB plus 669 MB of swap, which is why the swap file is not optional. The same steps as a 5-minute video, with the numbers on screen: Deploy Coolify on a $6 VPS in 15 minutes (YouTube). Two 30-second versions: the one number that decides 1 GB and the deploy that said Success while restarting. A DigitalOcean account. New accounts need a payment method before the first droplet; the droplet is billed hourly ($0.009/h), so a one-hour test costs a cent. An SSH key on your machine. If you do not have one: ssh-keygen -t ed25519 -f ~/.ssh/coolify. About 15 minutes. In the DigitalOcean console choose Create → Droplets. Pick the region closest to you, then Ubuntu 24.04 (LTS) as the image. Under Choose a Droplet Plan stay on Basic → Regular and pick the $6.00/mo plan: 1 vCPU, 1 GB RAM, 25 GB SSD, 1000 GB transfer. Skip the $4 p
The motion design industry is accustomed to relying on established formats: Lottie, Rive, video, or frame sequences (PNG/GIF). However, when attempting to transfer these solutions to widgets (specifically for the Homescreen, Lockscreen, and Live Activities in iOS), engineering teams hit a fundamental technical barrier. The core problem does not lie in system-level prohibitions against dynamics. The error stems from attempting to use resource-heavy media formats and third-party rendering engines in an environment where device architecture strictly demands lightweight, declarative code. Trying to force standard animations into widgets inevitably leads to application crashes, severe device overheating, or outright rejections during the App Store moderation process. The WidgetKit architecture in the Apple ecosystem is designed around strict resource constraints to preserve device autonomy. Integrating standard asset files violates these boundaries for several structural reasons. Simulating animation through rapid frame switching is one of the most common architectural mistakes. A widget operates under a very strict RAM allocation limit. Loading dozens or hundreds of high-resolution images instantly overflows this memory stack. The operating system reacts by triggering a Jetsam Event—forcibly terminating the process to free up memory. As a result, users are left staring at a frozen or entirely blank screen instead of the widget interface. Popular platforms like Lottie and Rive operate by parsing files and rendering them through UIKit and CoreAnimation components. The WidgetKit architecture physically does not support these layers. Widgets are built exclusively on the declarative SwiftUI framework. It is systematically impossible to embed a third-party rendering engine on the iOS Homescreen—such code will simply fail to compile for the widget target. Using built-in video players or hidden web views to play media on widgets is actively blocked by the operating system. Even
Govern context for enterprise AI at scale: treat context as a product, secure it, make it observable, and coordinate multi-agent systems, with AWS examples.
Ledger has confirmed that some of its devices distributed through Southeast Asian reseller CryptoBilis were compromised with a hardware implant that drained users' cryptocurrency wallets. [...]
Django 6.1 shipped in August with a one-line change to django.contrib.auth: the default PBKDF2 iteration count for password hashing went from 1,200,000 to 1,500,000. That's the kind of release note entry I'd normally skim past. I timed it instead, and then went looking at what else moves when that one number changes. It turned out to move more than the login latency. I installed Django 6.1.2 and, separately, 6.0.9 in their own virtualenvs so I could call the hasher directly with each version's default iteration count, rather than trust a changelog line. >>> from django.contrib.auth.hashers import PBKDF2PasswordHasher >>> PBKDF2PasswordHasher().iterations # Django 6.0.9 1200000 >>> PBKDF2PasswordHasher().iterations # Django 6.1.2 1500000 I hashed the same password 20 times at each iteration count and timed both encode() (what happens on signup or password change) and verify() (what happens on every login), on a 4-core container with nothing else running. I did this across three separate process runs to make sure one noisy run wasn't deciding the story. 1,200,000 iterations (6.0 default) 1,500,000 iterations (6.1 default) hash, fastest of 20 220–249ms 276–340ms hash, mean of 20 270–285ms 327–377ms verify, fastest of 20 221–226ms 291–350ms verify, mean of 20 268–290ms 366–378ms The ranges are the spread across the three runs, not noise within one of them. The ratio holds up: 1,500,000 ÷ 1,200,000 is 1.25, and the fastest times move by roughly that much in every run. A single login now costs somewhere around 50 to 90ms more CPU time than it did under 6.0, depending on how busy the machine is when it happens. That's a real number, but it's also a single-threaded one, and logins don't happen one at a time on a busy site. CPython's hashlib.pbkdf2_hmac, which Django's PBKDF2 hasher calls into, releases the GIL while OpenSSL does the actual work. I hadn't checked that was true for this specific call path, so I ran the same hash concurrently across a ThreadPoolExecutor with 1
The home screen of XNeuronal, an Android memory assistant, is a brain. Every note, reminder or contact you dictate becomes a neuron placed inside it, linked to the others by thin curved fibres, drawn with React Native Skia and animated by Reanimated worklets. This week I needed that brain as a vertical video: empty at first, then filling up neuron by neuron, the way graph timelapses of note-taking apps grow, and full exactly on the drop of the music. Three obvious routes, all wrong. A screen recording shows a real person's memory (out of the question), drops frames, and cannot time 320 births to a beat. A motion design tool means drawing a second brain by hand, which drifts from the app the first time someone moves a lobe. Porting the drawing code to a video library means two copies of the geometry to keep in sync forever. What shipped is a Node script that imports the app's own geometry, redraws it on a canvas and streams frames to ffmpeg. A 21 second video (630 frames at 1080x1920) renders in about 45 seconds on a laptop. Here is how it is wired, and the details that took the most thought. Every excerpt is copied from the repository and lightly trimmed. The brain on the phone lives in two kinds of files. brainModel.ts knows where things are: the shape of the brain as a dozen ellipsoids, where each neuron sits, the camera, the projection. brainDraw.ts knows how to paint: Skia paths, drawAtlas stamps, paints, blend modes. Only the second one imports @shopify/react-native-skia. That split was made a week earlier for a different reason: tests. The model's header says it is "pure and free of Skia, so jest pins the geometry", and the specs do exactly that ("is stable: the same neuron always lands on the same spot", "keeps the whole brain inside the square", "gives a depth between 0 (far) and 1 (near)"). A neuron's spot comes from a hash of its id, so nothing is simulated and nothing moves between two openings of the app. The projection is typical of what lives on the pu
A flake freeze is a quarantine row, not a pardon. Write one only after a property failure shrinks to a minimal fixture, a fixed replay set splits into completed assert outcomes, and the record stores seed, fixture digest, runner id, and expiry. A timeout is an infrastructure result. It does not enter the freeze ledger. CI logs collapse three different failures into one red line. An assertion miss means the patch broke a stated property on a completed run. A timeout means the runner stopped waiting. A harness error means the check never produced a verdict. Those classes need different owners, because a single flaky bucket trains reviewers to skip real regressions and runner defects together. The workflow below is a pre-merge classifier. It does not admit the patch. It also does not replace a later comparison against the base branch. It answers a narrower question: is this failure even eligible to be frozen? A property check here is a pure function of the pinned input and the patch output. It may compare sets, bounds, and required keys. It may not read wall time, process memory, socket state, or model latency. If the predicate samples the clock, two honest runs can disagree while the patch stays identical. Latency still matters, but it belongs on a separate budget probe with its own ledger. Mixing that probe into the property replay creates false freeze candidates whenever the runner is busy. The freeze boundary therefore uses four labels and no others. Label Completed run? Can it authorize a freeze alone? assert_pass Yes No assert_fail Yes No timeout No Never harness_error No Never Eligibility is a property of the whole replay list. The list must contain both assert_pass and assert_fail, and it must contain nothing else. Uniform failure blocks the patch. Uniform success means the miss was not reproduced on the minimal fixture. Any timeout or harness error sends the case to an infra queue and stops the write. The fields below are a proposal for the gate, not a schema
By Shilpa Mareddy Two copies of an MCP (Model Context Protocol) server (a server that AI applications call tools on) sit behind a round-robin load balancer (it sends each request to the next server in turn). The client's first request lands on copy A, the second on copy B, and B answers 400 Bad Request: Server not initialized. No tool was ever called. In the demo below, that failure comes from an MCP session held in one process's memory. A session is state the server keeps for one client connection. The 2026-07-28 revision of the MCP spec removes protocol-level sessions from its HTTP transport. This article reproduces the failure, then serves a small basket API (create a basket, add items, read it) from NestJS with no session. It then checks, with two real processes, that either one can answer these requests. The short version, in plain words. Picture a coat check with two desks. You hand your coat to desk A and get a ticket. If you walk to desk B, they cannot honor your ticket, because only desk A has the record. That is roughly the failure above: the session lived in one server's memory, and the second server had no matching session. The fix is a claim number that any desk can look up in one shared back room. In the demo, the "back room" is a shared database, and the "claim number" is a basket ID the client sends with every call. In this demo, either copy of the server can then serve any of its three tools. The spec removes the protocol's own ticket (the session ID); the basket ID is a new one that the tool design creates, and it is a lookup key, not proof of who you are. What you will learn What the 2026-07-28 spec removed from MCP over HTTP, and what replaced it. How one NestJS route serves MCP with no session. How to test "any instance can answer any request" with two real processes. What you need: Node 22.13 or newer (the minimum the repo needs; tested only on 22.22.2 and 24.21.0), npm, and a working knowledge of HTTP and load balancers. You do not need to kno
Say you set up your agent stack to accept voice notes, the way most voice-first projects start. The plan is predictable: record audio, hit a transcription API, get text back. At $0.006 per minute it sounds free, until you remember that a voice-first agent loop transcribes everything it hears, including the garbage. Then a post hits the Hacker News front page and stops you: a speech-to-text model called Whistle that ships as a single 16.9 MB file, runs on CPU with zero dependencies, and claims accuracy numbers that beat Whisper base. 16.9 MB is smaller than the icon assets in most apps. A claim like that deserves testing, not retweeting. So this piece is a verification: the model was installed on a plain Linux VPS (no GPU, no special tooling), real audio went in, and every command and output below is reproduced verbatim from that test. The cached model file transcribed a public speech recording correctly and returned word-level timestamps, warm, in under 10 seconds on a commodity CPU. Full disclosure before anything else: the hands-on test in this article was executed by an AI assistant during research for this piece, not in a production deployment. What is confirmed: the install path, real transcription output, timestamp output, and keyword biasing. What is vendor-reported: every accuracy number in the benchmark tables, and all latency figures from the maker. Both kinds are labeled as they appear. Whistle is an open-source (Apache 2.0) speech recognition model from Cactus Compute, released October 2, 2026. It does three jobs on the device, with no network call: Transcription. 16 kHz mono audio, up to 30 seconds per pass, in seven languages: English, German, French, Spanish, Italian, Dutch and Polish. The language is auto-detected unless you pin it. Word timestamps. Every word comes back with a start time, end time, and probability score. Speech embeddings. The encoder output, one row per 80 ms of audio, for search and matching without generating a transcript at all.
Disclosure: I run NxFlowAI, an automation agency serving UAE businesses remotely from Mumbai. This post is a vendor-neutral testing pattern. Customers in the UAE often write in more than one language in the same chat: English with Arabic words, Arabic in Latin letters, Hindi or Urdu phrases, or a voice note in between. If you build or buy a WhatsApp assistant here, test those messages before launch. This is the test set I would ask any AI automation agency building for UAE customers to run, ours included. Export a few hundred real messages, remove names and numbers, and tag each one: - id: m041 text: " " languages: [en, ar-latin] intent: booking expected: route_to_person # or auto_reply / draft_for_approval notes: "time mentioned in words, not digits" Same intent, three phrasings: English, Arabic script, Arabic in Latin letters. Language switch mid-conversation. Numbers written in Arabic-Indic digits and in Western digits. Area names spelled several ways. A voice note with no text. Short replies ("ok", "tmrw", a single emoji) that only make sense with context. def score(case, result): if case["expected"] == "route_to_person": return result.routed_to_person # never auto-reply here if result.language_confidence < THRESHOLD: return result.routed_to_person # unsure = a person return result.intent == case["intent"] The most important rule: when the system is unsure about language or intent, it hands over. A wrong confident reply in the wrong language costs more than a short wait. If the assistant cannot reply well in a language, the honest message is a short acknowledgement and a handoff to a team member who can. Prompt edits, model changes and new templates can all shift results. Keep the set in the repo and run it in CI. We put a set like this together during a 72-hour audit before any build. For the bigger question of whether you need custom AI at all, see our custom AI vs off-the-shelf chatbots write-up.
Email verification looks like a simple two-request flow: create an account, send a message, then accept a token. In a production REST API, it is closer to a distributed workflow. The send can be retried, delivered twice, or consumed twice. The failure mode I see most often is not a bad token. It is an ownership problem. Two requests believe they are allowed to consume the same verification message, or a delayed message arrives after the user has already requested a replacement. A lease gives the backend a clear answer to a useful question: which attempt currently owns this verification step? Suppose a mobile client calls POST /verification/email and times out. The server may have committed the request even though the client never saw the response. The client retries, and the API creates a second message. Later, both links are valid, or the older link unexpectedly wins. The same issue appears in automated environments that use a temp mailbox or a free temporary email address for test accounts. A mailbox can contain several plausible messages, but plausibility is not identity. The test needs to know which request created which message and which attempt is allowed to claim it. An email lease is a short-lived ownership record tied to a user, a verification purpose, and an idempotency key. It should have an owner, an expiry time, and a state. The state makes the workflow visible instead of hiding it inside a polling loop. I use four states for a verification delivery: requested -> leased -> consumed \-> expired requested means the API accepted the intent but has not assigned a delivery attempt. leased means one worker owns the attempt for a bounded period. consumed means the token was accepted successfully. expired means another attempt may replace it, subject to the product's rate limits. The lease should not be the token itself. Keep the token hash separate, and store only enough metadata to correlate the delivery: create table verification_deliveries ( id bigserial pr
Background jobs are essential when a Node.js application needs to perform work without making the user wait for the result. Sending emails, processing reports, resizing images, generating invoices, syncing external APIs, and cleaning temporary data are all good candidates for asynchronous processing. The key idea is simple: move expensive or non-critical work away from the request-response cycle. In this article, we will build a small in-memory background job queue using only Node.js, while covering job states, retries, concurrency, failures, and graceful shutdown. A background job system usually has three important parts: a producer that creates jobs, a queue that stores pending work, and a worker that processes jobs. In production, the queue is commonly backed by Redis, a database, or a dedicated message broker so jobs survive application restarts. For this example, we will keep the implementation intentionally small and dependency-free. The queue will support configurable concurrency, job status tracking, automatic retries, and graceful shutdown, making it useful for understanding the architecture before introducing tools such as BullMQ or RabbitMQ. A job should contain enough information for the worker to execute it independently from the original request. The worker should also treat failures as expected events rather than crashing the entire process. Retry limits are especially important because repeatedly retrying a permanently invalid job can create unnecessary load and prevent healthy jobs from progressing. The example below simulates email processing with random failures. Run it with a recent Node.js version using node background-jobs.js, then observe how jobs move through queued, processing, completed, and failed states while the worker controls how many jobs execute concurrently. const { randomUUID } = require('node:crypto'); // Simple in-memory queue for demonstrating background job concepts. class JobQueue { constructor({ concurrency = 2, maxRetries =
Introduction Debugging Kubernetes incidents in production environments demands a systematic approach to mitigate the inherent complexity of the platform. Kubernetes’ dynamic nature—characterized by ephemeral containers, automated scheduling, and distributed state—transforms root cause analysis into a time-critical challenge. Manual debugging, despite the expertise of Site Reliability Engineers (SREs), often degrades into inefficient cycles of log parsing, timestamp correlation, and speculative resource contention analysis. This inefficiency directly translates to extended downtime, escalating operational costs, and diminished platform reliability. AI-powered debugging agents have emerged as a promising solution, with tools such as HolmesGPT, AWS DevOps Agent, and open-source frameworks like Radar aiming to automate incident resolution. However, the efficacy of these tools hinges on their architectural integration with Kubernetes cluster context. Standalone AI solutions, when paired with kubectl commands, lack the depth required to reconstruct system states at failure points. In contrast, context-aware agents integrated with Managed Control Plane (MCP) servers (e.g., k8sgpt’s MCP, Radar) deliver actionable insights by correlating pod evictions with node pressure, network partitions with service mesh misconfigurations, and other critical failure modes in real time. The absence of a standardized, context-aware debugging framework exposes teams to significant risks: Prolonged Downtime: AI tools without cluster context frequently misidentify symptoms (e.g., “Pod crashed”) rather than root causes (e.g., “Persistent Volume Claim quota exceeded on node X”), delaying resolution. Operational Fatigue: Engineers expend resources validating false positives or manually reconciling AI-generated hypotheses with cluster state, reducing productivity. Erosion of Trust: Inconsistent or superficial insights from AI tools discourage adoption, forcing teams to revert to manual debugging p
Disclosure: I build one of the hosted options mentioned below (TubeText Labs on Apify). youtube-transcript-api works on your laptop and then fails on the server with RequestBlocked, IpBlocked or a misleading TranscriptsDisabled. Here's why, and the four fixes in order of effort. YouTube answers requests from datacenter IP ranges (AWS, GCP, Azure, DigitalOcean…) with "Sign in to confirm you're not a bot". The library turns that into RequestBlocked; HTTP 429 becomes IpBlocked. Even home IPs get rate-limited after a few dozen fast requests. Use youtube-transcript-api 1.2.4+ and add backoff between requests. This is enough for a handful of videos from a home connection. Move only the transcript step to a machine with a residential IP (your own box) and push results to your server. Free, but you maintain it. The library supports proxy configs (e.g. WebshareProxyConfig). Rotate on every retry: retrying through the same blocked IP just fails slower. If you'd rather not run proxies, use a hosted scraper. With the Apify Actor I maintain, one HTTP call returns the transcripts: curl -X POST "https://api.apify.com/v2/acts/tubetext~youtube-transcript-fast/run-sync-get-dataset-items?timeout=300" \ -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \ -d '{"urls": ["https://www.youtube.com/watch?v=aircAruvnKk"]}' It takes videos, Shorts, playlists and whole channels; when a video has no captions it falls back to Whisper AI (in our 47-video test runs, 16 of 17 caption-less videos got AI transcripts – the other was music only). Failed videos are free; transcripts are $0.004 each. It's not magic: YouTube can still put an individual popular video behind a login wall. A few videos, occasionally → Fix 1 or 2. You already run proxies → Fix 3. Production pipeline, n8n/Make, or you need captions and AI fallback → a hosted API. Questions about a specific error? Drop it in the comments.
"How to use the GL.iNet Mango 2 as a travel router, tunnel every connected device home with WireGuard, and reach internal homelab services without installing a VPN client on each device." Disclosure: GL.iNet provided the Mango 2 review unit free of charge through its Creator Program and asked to review the content link before publication. The technical limits and configuration notes below are included so you can decide whether this setup fits your own network. Public Wi-Fi is rarely the part of travel I look forward to. Every hotel has a different captive portal, every device needs to be connected again, and reaching services inside my homelab usually means installing and maintaining a VPN client on each device. That is why the GL.iNet Mango 2 (GL-MG1300) is interesting to me. Instead of treating it as just a tiny Wi-Fi repeater, I see it as a portable network edge: Laptop / phone / tablet | Mango 2 Wi-Fi | Hotel Wi-Fi, Ethernet, or phone tethering | WireGuard tunnel | Home network + homelab services The Mango 2 becomes the WireGuard client. Everything behind it can use that tunnel without needing a separate VPN app. That opens up two practical scenarios: Securely reaching dashboards, NAS shares, development tools, and other private services in a home lab while traveling. Connecting a locked-down laptop to the home tunnel without installing VPN software on the laptop itself, provided that doing so is allowed by the employer's policies. This article walks through the design, setup, trade-offs, and the claims that still need real-world testing. The Mango 2 is a significant upgrade over the original Mango while staying genuinely pocket-sized. Specification Mango 2 Model GL-MG1300 Dimensions 89 x 63 x 15 mm Weight 100 g CPU MediaTek dual-core, 880 MHz Memory 128 MB DDR3L Wi-Fi Dual-band Wi-Fi 5 2.4 GHz rate Up to 400 Mbps 5 GHz rate Up to 866 Mbps Ethernet 1x WAN, 1x LAN, Gigabit USB USB 3.0 Type-A Power USB-C, 5V/2A It runs GL.iNet firmware 4.x on OpenWrt and includes
Short answer: implement presence UX for a video consultation room as a server-authoritative membership protocol, let a scoped token decide who may observe or change one room, and treat WebRTC connection state as a separate local signal rather than proof that a participant has left. This distinction matters in a fintech consultation: a reconnecting adviser should not briefly appear to vanish, while an expired or wrong-room credential must never be translated into an innocent network wobble. Trust the server. A presence badge looks trivial because its vocabulary is tiny: joining, online, reconnecting, and left. The protocol behind it is not tiny. Browser sleep, duplicate tabs, a replaced access token, and an interrupted media path can all produce the same apparent symptom while requiring different UI and security decisions. If the client can publish arbitrary membership, a stale tab can resurrect itself. If the server equates a peer-connection transition with departure, a recoverable transport interruption becomes a false clinical handoff. Start by separating three questions that are often compressed into one green dot. Is this subject authorized to enter this room? Does the presence service still hold a live membership lease for this session? Is this browser's media connection usable? The authorization service answers the first, the room service answers the second, and the local WebRTC state helps answer the third. None may impersonate another. The W3C WebRTC specification defines RTCPeerConnection.connectionState and its connectionstatechange event. Its state vocabulary describes the aggregate peer connection; it doesn't define application membership, practitioner availability, or permission to read a fintech room roster. Use it as evidence for the local call experience — especially the difference between a connected path and a failed one — but keep the roster authoritative on the server. That yields a small event model. JOINED creates or refreshes one authorized se
Hugging Face Transformers v5 removed its TensorFlow and JAX code to focus on PyTorch. If you used FlaxBertModel or FlaxAutoModel to compute sentence embeddings in JAX, those classes are gone. This post shows how to compute sentence embeddings in JAX with eqx-zoo, an open-source library that loads Hugging Face checkpoints as plain Equinox modules. The embeddings match sentence-transformers to within float32 rounding, and the post ends with how that's verified. We'll cover English and multilingual models, a small semantic search, and Qwen3-Embedding, a modern embedding model built on a language model. pip install eqx-zoo tokenizers eqx-zoo brings in JAX and Equinox; tokenizers is Hugging Face's fast tokenizer library, which we'll use to turn text into token ids. PyTorch isn't needed: eqx-zoo reads the checkpoint's safetensors files directly. all-MiniLM-L6-v2 is a small, fast English model that's a common default for semantic search: import jax import jax.numpy as jnp from tokenizers import Tokenizer from eqx_zoo import Encoder repo = "sentence-transformers/all-MiniLM-L6-v2" tokenizer = Tokenizer.from_pretrained(repo) tokenizer.enable_padding() model = Encoder.from_pretrained(repo) sentences = ["The cat sits on the mat.", "A feline rests on a rug.", "Stock markets fell today."] batch = tokenizer.encode_batch(sentences) ids = jnp.array([e.ids for e in batch]) mask = jnp.array([e.attention_mask for e in batch]) embeddings = jax.vmap(model.embed)(ids, mask) print(embeddings @ embeddings.T) The embeddings have unit length, so their dot products are cosine similarities: [[0.9999997 0.55840427 0.05399836] [0.55840427 1.0000001 0.06003189] [0.05399836 0.06003189 0.99999946]] The two cat sentences score 0.56 with each other, and about 0.05 with the stock-market one, even though the only word they share is "on". Two things to notice, model.embed works on one sentence, and jax.vmap maps it over the batch. And mask marks which tokens are real: the shorter sentences are padded to
The page says waitlist_offer_expired_without_delivery, and the on-call view is painfully specific: a fitness class seat was offered, the offer expired, but the member-facing state never moved beyond "sending." The team wanted SMS event notification alerts; the Node.js worker submitted one, yet delivery status never became terminal. At that point the seat may already have gone to somebody else. The useful response is not to send SMS twice and hope. Short answer: use SMS as the secondary, urgent channel for a short-expiry waitlist offer, keep the message template and business state in your application, and poll provider delivery state until it becomes sent, delivered, failed, or undeliverable. Put per-user cooldowns, a country allowlist, and a spend circuit breaker in front of every send. Resend only a recoverable failure; allow cancellation only while a scheduled message remains pending. That is the least complex design that preserves a defensible SLO. It also puts ownership in the right place: the application owns what the message means, when the offer expires, and whether another attempt is legitimate; the SMS service owns transport. A provider template can be a deployment artifact, but it should not become the source of truth for product behavior. The page arrived too late because it described a business outcome without exposing the transport state that led to it. Work backward. A waitlist worker accepted an event, checked whether the member and destination country were eligible, rendered fixed copy, submitted one message, and then polled status and events. The earlier signal is a growing count of offers whose SMS state has remained nonterminal beyond the polling budget, split by provider, destination country, and message age. Do not page on every failed response. Some failures are final, some may be recoverable, and a single member's unreachable phone is not necessarily a platform incident. Page when the service-level symptom threatens the waitlist notification S
Someone is using a poem on GitHub to coordinate a cryptomining botnet called PoeLLM, according to Lumen's Black Lotus Labs. Gamers, if you read that as "PoE" and thought of Path of Exile, there is some currency farming involved, but it's at the server owner's expense. Once installed on a compromised server, the malware translates selected words from the poem into an IP address. By editing those words, its operator can point infected machines to another command-and-control server. The compromised hosts mine cryptocurrency, with some also recruited to scan for additional victims. Lumen's Black Lotus Labs describes affected deployments running LiteLLM, Ollama, Gotenberg and Gitea in its investigation into PoeLLM. The researchers traced activity back to April 2026; The Hacker News covered their findings yesterday, October 7, 2026. If you host these services, start with the machines running them. Include the development server you kept after a demo. On a Docker host, this read-only command lists running containers with their images and port mappings: docker ps --format 'table {{.Names}}\t{{.Image}}\t{{.Ports}}' The fields are documented in Docker's container listing reference. An entry such as 0.0.0.0:4000->4000/tcp means Docker has published port 4000 on all IPv4 host addresses. Whether it is reachable from the internet also depends on your network configuration. Check IPv6 mappings too, along with any reverse proxy forwarding public requests to the service. Docker explains how published ports work]. For a server you control, test access from outside its private network. On a work deployment, ask the platform owner to verify the cloud firewall rules and public routes. Record which address they checked. If your application and Gotenberg share a Compose network, the application can call gotenberg:3000. Remove the host ports mapping when that is the only connection required. Gotenberg's maintainers explicitly advise keeping the service behind a firewall. Their installation
Note: I use Deliberation heavily every day, in the harnesses I picked for my own work: Claude Code, Codex and Antigravity, running in T3 Code and Claude Code on the web at the same time. It has been tested in real work much harder than the version I wrote about in June. In June I wrote that every model on a panel has to prove it earns its seat, and I shipped a debug log and an analyze tool to do the proving. Both worked. The log on my laptop is 2.4 MB of JSONL today. Measuring was the easy part. A number I have to go and dig for is a number I do not act on. So most of the work since the June post went into making the panel visible: a local dashboard that draws every run while it happens, an analyzer that says which model to drop and why, and a record of which config each run used. Around that, a lot of smaller fixes for the ways a multi-model run goes wrong when nobody is watching. Deliberation went from v3.5.2 to v3.28.0 in that time. If you are new here: Deliberation is an open-source MCP server that lets the agent you already use (Claude Code, Codex, Cursor, Kiro, Antigravity, OpenCode) ask GPT, Gemini, Grok and any OpenRouter model for a second opinion, or make them argue until they agree. The June post explains the consensus loop. This one is about watching it. Install in Claude Code is still three lines: /plugin marketplace add antonbabenko/agent-plugins /plugin install deliberation@antonbabenko /deliberation:setup Other hosts have their own guides in docs/hosts. Turn it on with one line in ~/.config/deliberation/config.json: "dashboard": { "enabled": true } Then run /deliberation:dashboard (or deliberation-mcp dashboard in a terminal). It prints a URL on 127.0.0.1 and opens it. There are five tabs: Live, Runs, Config, Stats and Analyzer. I generated most of the dashboard UI in a single shot with Impeccable. The Runs tab is the history. Every /consensus, /ask-all and /ask-* call is one row with its status, the project it came from, the providers, rounds, token
VOICE AI · FIELD NOTES What OpenAI’s GPT-Live store option is really for, and what we learned testing it on real phone calls. September 2026 · Notes from building a multi-industry voice agent platform The phone rings. Someone answers. The conversation is already underway. Then the call drops. The customer calls back. What should happen next? A conventional voice bot usually starts over. The customer has to explain the problem again, repeat details, and reconstruct the state of the interaction. OpenAI’s GPT-Live API has a feature that changes what is possible here: store: true. But the interesting part is not simply that the call can be recorded. With storage enabled, the completed Live session can be stored and later forked into a new session that starts from the stored conversation state. That distinction matters. A recording tells you what happened. A stored session can give your application a way to do something with that conversation later. This article is based on tests we ran against the API using a real phone-call flow. When store: true is enabled, OpenAI stores the completed Live session for a limited period. The stored session can be downloaded or used as the source for a fork. The original session is not reopened: a fork creates a new session with a new ID and starts from the stored state. That makes the feature more interesting than ordinary call recording. The stored state includes the conversation and relevant session configuration, which can be carried into the new Live session. The practical mental model: Original call → stored session Stored session → fork Fork → new Live session, with the prior conversation available The original session is never reopened. The fork is a new session that starts from the stored state. We tested this behavior against the API using a dental-clinic booking agent. The calls used store: true, and the resulting sessions produced stereo 24 kHz recordings covering practically the whole call. Our stack closes the connection wi
Persistent Agents Are a Systems Problem A persistent personal agent must retain context, operate across devices, reach applications, continue working when its interface is closed, and remain accountable for consequential actions. That is the context for nanoMuse’s October 6, 2026 paper, written by Guangyi Liu, Yong Liu, and Jiangning Zhang. nanoMuse is presented not as another language model, but as an end-to-end software system in which the model is replaceable. Unlike model-centered projects such as Meta Muse Glimmer-30B, nanoMuse supplies surrounding machinery: persistent identity, execution environments, routing, memory, interfaces, schedules, and approval boundaries. The complete implementation is published in the official nanoMuse repository. nanoMuse describes one personal agent from the user’s perspective, but each device runs its own agent runtime. After sign-in, those runtimes meet through a relay and share a conversation. That design avoids treating every phone or computer as a thin terminal for one remote virtual machine. A task can be entered on a phone and executed on a computer. Prefixing a message with a target such as @Mac routes it to that device, while approval requests can return to the device currently in the user’s hand. The relay carries conversation text and coordinates devices, while files and screenshots remain where they were created. It can use the project’s community infrastructure or a user-controlled server. This boundary is not an automatic privacy guarantee. Self-hosting controls message routing, but an externally hosted model provider may still receive model requests. Relay location, model location, and device execution are separate decisions. On Android, nanoMuse places an Alpine Linux environment under proot inside the APK, with a shell, browser, MCP support, and skills. The project credits OpenMinis as the foundation for this on-device agent. On desktop, nanoMuse uses DeepSeek Harness with a Python runtime for screen-operation ca
Try this experiment. Ask a general-purpose chatbot about paraneoplastic pemphigus, a rare autoimmune disease. A typical answer: "a common skin condition caused by sun exposure. Treat it with moisturizer." Wrong. Not slightly wrong. Wrong in the way that could hurt someone. The real disease is a rare blistering disorder tied to certain cancers, driven by autoantibodies attacking specific proteins in the skin. The chatbot didn't lie on purpose. It never read enough about it, so it filled the gap with something that sounded right. That's the problem with AI in specialist fields. The fix isn't a bigger model. It's better reading material. So here's how to build that reading material: a dataset made from real research papers, step by step, with working code. Papers → Full text → Chunks → Question & answer pairs → Fine-tune → Specialist model Five moves. Let's go through them. Pick a narrow topic. "Medicine" is too big. "Rare autoimmune blistering diseases" is just right. ScholarAPI has a /list endpoint made for this. Give it keywords, and it hands back matching papers in batches (up to 1,000 at a time). Add has_text=true and it skips papers with no readable text, so you don't collect empty shells. import requests KEY = {"X-API-Key": "YOUR_KEY"} params = { "q": ['"autoantibodies"', '"envoplakin"', '"plakin proteins"'], "has_text": "true", } resp = requests.get("https://scholarapi.net/api/v1/list", params=params, headers=KEY) papers = resp.json()["results"] Several q values in one call work like OR: a paper matching any of them comes back. Cast a wide net, then clean it up later. Need more than one batch? Each paper carries an indexed_at timestamp. Pass the last one back as indexed_after, and the API picks up right where it stopped. No page-number math. Abstracts are the movie trailer. Training needs the movie. ids = [p["id"] for p in papers] # up to 100 papers per request texts = requests.get( f"https://scholarapi.net/api/v1/texts/{','.join(ids[:100])}", headers=KEY, ) On
380 Articles, 5 Sites, $0 Hosting: What an AI Agent Learned Building a Content Network Five Russian-language niche sites are live as subfolders of a single free GitHub Pages domain: home and cleaning tips, car maintenance, gardening, health, and an 18+ intimacy section. As of the deploy on 7 October 2026 they hold 380 published articles — 76 per site — plus five hub pages, all statically rendered, all covered by six sitemaps. The monthly hosting bill is $0. Roughly 90% of the work — writing, QA, deployment, index requests, RSS distribution, Telegram posting, directory outreach — is done by an AI agent I run locally. I review output and decide the rules the agent must not break. Two numbers set the rhythm of the whole operation: Google Search Console allows 10 "request indexing" submits per day, and Yandex Webmaster allows 150 recrawl URLs per day. Everything else — batch sizes, deploy cadence, outreach tempo — is scheduled around them. Each site lives at dystymis.github.io/{site}/{slug}/ — no /articles/ segment, no database, no CMS. Each has its own repository, and a dist/ folder is the single source of truth: a deploy.ps1 script robocopies dist/ into each repo and pushes. The hub repo holds the root page, sitemap-hub.xml, llms.txt, a robots.txt with 23 AI-crawler groups, and the verification files Google and ad networks ask for. Per site you get an XML sitemap (78 URLs: hub, about page, 76 articles), an RSS feed with 20 items, JSON-LD for Article, Breadcrumb and FAQPage, 1200x630 OG images generated by a small PowerShell script, a manifest, security.txt, humans.txt, plus a Wikidata item and snapshots in Wayback and archive.today. Free hosting was a cost decision, not an SEO strategy — and it turns out to be the single most consequential property of the project. More on that below. You can see the network root at https://dystymis.github.io/. Content moves in batches of 50 articles (10 per site). The flow: Plan — keywords are clustered into a JSON plan file per batch
L0 forgets in five minutes. L5 can never be wiped. L6 archives what dies. A tour of Sentinel's memory anatomy. You already have a layered brain, you just never think about it. The coffee you're holding right now is working memory. What you ate yesterday is episodic memory. Knowing that Prague is a city is semantic memory. Who you are is identity — and you'd be alarmed if a bad night's sleep could overwrite it. Most AI agents have none of this separation. They keep "context" — one undifferentiated pile of text that grows until it fills the window and gets chopped. Equivalent of living in a world where remembering what you ate yesterday means forgetting your own name. Sentinel doesn't work that way. Its memory is a stack of seven layers with different lifetimes, different rules, and different levels of protection: flowchart TD L0["L0 — Scratch cache last diff, last prompt ~5 min TTL, safe to lose"] L1["L1 — Working memory current objective, target, confidence cleared when the file finishes ~60 min stale cleanup"] L2["L2 — Episodic decision stream, evolution history, reflection log — what happened"] L3["L3 — Semantic per-module facts: role, patterns, deps, confidence — never source code"] L4["L4 — Knowledge distilled reference patterns, intent memory, long-term summaries"] L5["L5 — Identity mission, rules, never/always, budget & safety philosophy NEVER wiped by compaction"] L6["L6 — Archive retired memories gzip + SHA-256, written in background, restorable"] L0 --> L1 --> L2 --> L3 --> L4 L2 -->|"compaction drops least important"| L6 L3 --> L6 L5 -.->|"injected into every LLM call"| L1 The deeper the layer, the harder it is to write into — and the harder it is to lose. Shallow layers are cheap and disposable. Deep layers are expensive and protected. And there's one asymmetric rule that does most of the work: Nothing ever gets promoted into deep memory by accident. Everything gets demoted out of shallow memory by default. A decision lands in episodic memory. If it was i
Ask an AI assistant for a pharmacy that's open late near an address, or a realistic drive time, and you'll often get a confident answer that was never checked. The model is answering from memory: wrong opening hours, invented addresses, optimistic drive times. The fix is well known: let the model call a maps API. In practice, most people never wire it up. You need an API key, billing, a local server, and responses trimmed so they don't flood the context window. Wheremind is our attempt to make that a one-line setup. Wheremind is a hosted MCP server (MCP is the plug-in standard that Claude, ChatGPT, Cursor and Claude Code use to give models tools). Add one remote URL, https://wheremind.ai/mcp, sign in with an email code, and the model gets five read-only tools: places_search_text: find places by free text ("coffee in Porto", "pharmacies near Lisbon Oriente") places_nearby: places around known coordinates places_details: phone, website, opening hours, rating for a place geocode: address to coordinates and back directions: drive, walk, bike, transit or two-wheeler, with distance, duration, polyline and turn-by-turn steps There's no Maps API key to manage. The data comes from Google Maps Platform, with attributions passed through. Two real queries from this week: "How long is the drive from Lisbon Airport to Cascais, and are there tolls?" directions returned 31.6 km, about 27 minutes via the A5, with toll and motorway warnings and 14 turn-by-turn steps. The model answers from that instead of guessing. "Pharmacies open now near Praça do Comércio in Lisbon." places_search_text returned five pharmacies, all open at the time, each with weekly hours and ratings. One honest caveat we learned: text search ranks by relevance, not distance, so a couple of those were 2–3 km away. For "closest first", the model should geocode the address and then call places_nearby ranked by distance. The tool descriptions nudge it that way, and getting models to choose that path reliably is still
When a competitor launches a new offer, you usually see it in their ads first: a new headline, a new landing page, a new video, a webinar promo. You can watch for these yourself, because Google, LinkedIn and Microsoft all publish public ad libraries that show who is advertising and what they are running. What these libraries don't give you is a way to say "tell me when something new shows up." This tutorial covers how to turn them into an automated feed of new competitor ads, delivered to Slack or email every morning, plus how to pull the same data with Python and analyze it with pandas. What you'll build: A daily job that checks your competitors on Google (Search, Display, YouTube), LinkedIn and Bing Output that contains only ads that appeared since the previous run Alerts in Slack or email, or a webhook into Zapier, Make or n8n A small Python script that collects the results and counts new ads per competitor per week Disclosure: I built the three Apify actors used in this guide. I've tried to be clear about what they can't do. Each section on limits comes straight from the actors' documentation. Ad transparency libraries exist so the public can see who is paying to show them ads. For Europe, the EU Digital Services Act (DSA) is the main driver. It's why LinkedIn and Microsoft publish run dates, reach and targeting for ads shown in the EU. For marketers, these libraries are the most reliable public source of competitor creative, because the platforms publish the data themselves. Google Ads Transparency Center LinkedIn Ad Library Microsoft Ad Library Website adstransparency.google.com linkedin.com/ad-library adlibrary.ads.microsoft.com Coverage Ads on Search, YouTube, Display and Shopping, any country Ads that ran on LinkedIn in roughly the last year Bing / Microsoft Advertising ads with impressions in the EU/EEA only Who's behind it Verified advertiser name and ID Advertiser, "Paid for by" Advertiser, "paid for by" (e.g. an agency) Dates First and last shown Start/
Short answer: use staged retrieval with an explicit collection, bounded queries, and a cursor that carries source context forward. For a financial research dashboard, pagination is part of the evidence contract, not a cosmetic control. The user-visible answer is usually a table of filings, a list of comparable companies, or a handful of cited passages. That output should map to a retrieval unit before any index is chosen. I write down the unit (one paragraph, one table row, or one filing section), the metadata filters (ticker, period, document type), and the freshness target. Then ingestion, querying, and citation become three observable stages. Start with a small, boring schema. Every chunk needs a stable identifier and enough location data to let an analyst open the source again. A cursor should sort on immutable fields, such as (published_at, chunk_id), instead of on a similarity score that can move when the index changes. The example below is deliberately local. It is a runnable eval harness for the contract, so you can swap in a hosted vector query later without changing pagination semantics. from dataclasses import dataclass from datetime import date from typing import Iterable import os import time import requests @dataclass(frozen=True) class Chunk: chunk_id: str ticker: str published_at: date text: str source_url: str def page(chunks: Iterable[Chunk], ticker: str, after: tuple[date, str] | None, limit: int = 3) -> tuple[list[Chunk], tuple[date, str] | None]: """Return a stable page and an opaque-ish cursor tuple.""" if not 1 limit: tail = result[-1] next_cursor = (tail.published_at, tail.chunk_id) return result, next_cursor def citation_context(rows: list[Chunk]) -> list[dict[str, str]]: return [ {"chunk_id": row.chunk_id, "quote": row.text, "source": row.source_url} for row in rows ] def infrai_vector_query(payload: dict) -> dict: """Call the verified vector-query route with bounded retry behavior.""" key = os.environ["INFRAI_API_KEY"] base_url = os.enviro