json-render has renderers for React, Vue, Solid, Svelte and, since I wrote ngx-json-render, Angular. They all consume the same spec and the same core, so a question I kept getting is fair: which one is faster? I measured the two I know best. Same specs, same catalog shape, same headless Chromium, same machine. The short answer has two halves. React creates and destroys UI far cheaper. Mounting a 4,000-element tree takes 29 ms in React and 249 ms in Angular. Unmounting it: 3 ms against 25 ms. The Angular tree also holds four times the memory. Angular does less work once the tree is on screen. Changing one text, writing one bound state path, appending one row to a repeat: 20 to 50 percent less JavaScript time than React at the same size. Streaming a spec patch by patch: 20 percent less. When everything on screen changes at once, React wins again, by a factor of two, because Angular's precision has a price and this is the case where it buys nothing. Neither renderer is fast enough at 4,000 elements while streaming, and both are fast enough below a few hundred, which is where most generated UIs live. This is part one of two. It compares the renderers as they ship. Part two takes the renderers away, renders the same trees by hand in each framework, and measures how far above its framework's floor each renderer sits. That result changes how some of the tables below should be read, and I will point at it where it matters. @json-render/core owns the spec grammar, the expression evaluator, the state store and the patch primitives. A renderer is the layer that turns a spec into framework components and keeps them in sync when the spec or the state changes. The React renderer is the reference implementation; ngx-json-render implements the same contract, not a dialect. So the question is not "is Angular faster than React", which has no answer, but a narrower one: for a UI that a model is streaming and a user is editing, which renderer does less work per change, and where does e
Munchable is a gut-health app: scan a barcode, find out whether the product suits the conditions you manage. Like most products it has a support form, and unlike most it does not ask you to be signed in first. The reason is written at the top of the route, because it is the kind of decision somebody will otherwise "tidy up" six months from now: // Opening a ticket does NOT require an account. The people most in need of // support are often the ones who cannot sign in, or who are deciding whether to // subscribe at all, and turning them away at the door is how a support channel // stops hearing about its worst bugs. A signed-out request must therefore // supply its own contact address, and pays for that with a much tighter // per-IP limit. An auth check in front of a support form is not a security measure. It is a sampling bias, and it is aimed precisely at the reports you need most: the broken sign-in, the email that never arrived, the payment that went through on a page that then errored. Every one of those arrives from somebody who cannot authenticate, by definition. You can go and use it right now without an account: munchable.app/support. A conversation is one support_tickets row plus append-only support_messages, and it can start three ways: Web. The form above. No account needed; a signed-out visitor supplies their own address. Mobile. Profile, or the "tell us about it" fallback on a scan result whose report could not be recorded. The app attaches its platform and build string for triage, and the barcode when the report is about a product. Email. Mail to support@, bugs@ or feedback@ opens a ticket rather than landing in a personal inbox. The threading behind that is a catch-all MX record and a plus address, which I have written up separately. One queue behind all three, and the schema follows from that rather than from the web form: userId: text('user_id'), // nullable: email and signed-out tickets have no account email: text('email').notNull(), // the contact
Inspired by Cloudflare Drop (llms.txt). This post is an independent product teardown and open-source clone — not reverse-engineering of proprietary internals. Drop a folder. Get a live URL. Claim it in sixty minutes or watch it vanish. That is the pitch of Cloudflare Drop: instant static-site staging on the edge, no account required to start. For builders shipping previews, and for AI agents that need a deploy target with almost no ceremony, the product hits a nerve. This is Part 1 of a four-part series. Today: product teardown + a portable open-source clone you can run locally in about five minutes. Next posts take the same codebase to Cloudflare Workers, then AWS, then an agent-first surface (llms.txt + MCP). Clone: github.com/vovanduc/stage-drop Public behavior (observed from the product page and llms.txt, not from private source): You drop a folder or .zip of a static site (HTML/CSS/JS, with an index.html). Cloudflare distributes it on the global network. You get a live workers.dev URL. Within 60 minutes, you must open a claim URL to keep the deployment. Miss the window and the temporary preview goes away. There is also a first-class CLI path: wrangler deploy … --temporary (Wrangler ≥ 4.102.0) for local project workflows. Authenticated Wrangler uses a normal deploy — temporary mode is for the zero-account funnel. Two URLs come back every time: the live URL (shareable preview) and the claim URL (sensitive ownership grant). Treat the claim link like a password with a TTL. That loop is the whole product. Everything interesting — abuse resistance, metadata TTL, agent docs — hangs off it. From a product lead's perspective, Drop looks less like a side toy and more like a funnel + positioning play: Zero friction into Workers. The first deploy does not ask for OAuth. The second action (claim) creates ownership. That is classic "try before you commit," tuned for static assets on Workers. Agent Experience (AX) as a first-class user. Shipping an llms.txt that tells agents
If you examine the wreckage of failed business ventures, you will rarely find a post-mortem stating that the founders lacked access to information. In the current corporate landscape, early-stage operators are arguably the most over-informed professionals in history. They consume endless streams of business podcasts, subscribe to dozens of thought-leadership newsletters, and can recite modern scaling frameworks verbatim. Yet, possessing the playbook is fundamentally different from executing the play under pressure. When a critical structural bottleneck hits, whether it is a sudden stagnation in user retention, a broken internal workflow, or a misaligned product-market fit, generic, surface-level advice completely collapses. Early-stage companies operate in environments of extreme volatility and uncertainty. To navigate these hurdles, your team does not need another passive lecture or a rigid framework designed for legacy enterprises. You need immediate, tactical execution. This is why high-growth operators are shifting away from passive learning models and turning toward immersive, Practical Workshops. These execution labs are specifically engineered to dismantle real-world startup hurdles on the spot, transforming analysis paralysis into measurable market momentum. The Growth Bottleneck: Overcoming the Illusion of Progress The most dangerous trap an agile team can fall into is confusing content consumption with operational progress. Spending an afternoon watching a ten-part video series on corporate strategy feels productive. It triggers a psychological sense of accomplishment, making you believe you are actively moving your venture forward. But the moment you close that browser tab, your reality remains completely unchanged: your codebase is still throwing critical errors, your customer acquisition cost (CAC) is unsustainably high, and your core team is still confused about their weekly performance metrics. The Structural Failure of Mass-Market Training Traditiona
Graph traversal is a foundational concept in computer science and software engineering. Whether you are building social network recommendation engines, routing packets across networks, or resolving complex module dependencies in a bundler, graphs are the underlying data structure. Mastering graph algorithms requires a deep understanding of two fundamental traversal strategies: Breadth-First Search (BFS) and Depth-First Search (DFS). In this technical deep-dive, we will explore adjacency list representations, examine how to traverse directed and undirected graphs, implement robust cycle detection strategies (including the 3-color White-Gray-Black algorithm), and use BFS to solve unweighted shortest path problems. Before traversing a graph, we must decide how to store it in memory. For sparse graphs, which are common in real-world applications, the adjacency list is the preferred representation due to its $O(V + E)$ space complexity (where $V$ is the number of vertices and $E$ is the number of edges). Below is an idiomatic implementation of an unweighted graph using an adjacency list in Python: from typing import Dict, List class Graph: def __init__(self, directed: bool = False): self.adj_list: Dict[int, List[int]] = {} self.directed = directed def add_vertex(self, vertex: int) -> None: if vertex not in self.adj_list: self.adj_list[vertex] = [] def add_edge(self, u: int, v: int) -> None: self.add_vertex(u) self.add_vertex(v) self.adj_list[u].append(v) if not self.directed: self.adj_list[v].append(u) DFS explores as deep as possible along each branch before backtracking. It relies heavily on a stack (either the system call stack via recursion or an explicit stack data structure) and a visited set to prevent infinite loops. In an undirected graph, a cycle exists if we encounter a visited vertex that is not the immediate parent of the current vertex. def has_cycle_undirected(graph: Dict[int, List[int]]) -> bool: visited = set() def dfs(node: int, parent: int) -> bool: vi
Cloudflare dejó de forzar a los agentes de IA a adivinar URLs o confiar en datos de entrenamiento viejos: desde el 2 de octubre de 2026 pueden buscar en internet en tiempo real con Web Search API, el nuevo servicio en beta que corre sobre AI Gateway. La API conecta con tres proveedores de búsqueda externos y cobra el precio de lista de cada uno, sin margen adicional de Cloudflare. Para cualquier app o Worker que ya use AI Gateway, sumar búsqueda en vivo implica una llamada más, no una integración nueva desde cero. Cloudflare lanzó Web Search API en beta el 2 de octubre de 2026 para búsquedas en tiempo real.- Tres proveedores disponibles al lanzamiento: Ceramic.ai, Exa y Linkup, todos con Zero Data Retention.- Corre sobre AI Gateway: queda en los logs y se factura al precio de lista del proveedor, sin margen extra.- Los desarrolladores pueden usar su propia clave de API del proveedor en vez de la de Cloudflare.- La API se invoca vía REST o desde un Worker con el binding env.AI.websearch(). Web Search API es el servicio en beta de Cloudflare que permite a agentes y aplicaciones de IA ejecutar búsquedas reales en internet, en vez de depender solo del conocimiento entrenado del modelo. Corre dentro de AI Gateway y conecta con proveedores externos de búsqueda bajo una sola interfaz. No reemplaza al modelo de lenguaje: lo complementa. El agente sigue razonando y redactando con su LLM de siempre, pero ahora puede pedir resultados de búsqueda frescos a mitad de esa conversación y usarlos como contexto antes de responder. El anuncio llegó el 2 de octubre de 2026 en el changelog oficial de Cloudflare. Web Search API quedó disponible en beta pública, sin lista de espera, para cualquier cuenta que ya tenga configurado un gateway de IA. Al lanzamiento hay tres proveedores para elegir: Ceramic.ai, Exa y Linkup. Los tres soportan Zero Data Retention para las solicitudes hechas a través de Cloudflare y se comprometieron con los estándares de rastreo verificado de bots de la compañí
On October 5, 2026, n8n disclosed two security advisories in a single day — both able to hand an attacker full control of the server your workflows and agents run on. The first, CVE-2026-86076 (CVSS 8.7), is an expression sandbox escape: a crafted workflow expression can break out of n8n's expression compiler and execute arbitrary code in the n8n process. The second, CVE-2026-44790 (CVSS 9.4), is an argument-injection flaw. Neither is known to be exploited yet, but both are published, so the fix versions are your move: upgrade to n8n 1.123.76, 2.37.7, or 2.38.2 depending on your release line. This post explains what broke, whether you're exposed, and the exact steps to patch. n8n lets workflow builders write expressions — little snippets like ={{ $json.name }} inside node parameters that get evaluated when the workflow runs. Expressions are supposed to run inside a sandbox, a restricted environment where they can transform data but can't touch the server, spawn processes, or call the JavaScript Function constructor. CVE-2026-86076 broke that boundary. Per n8n's advisory (GHSA-hw8v-xxg5-vvvx), the expression compiler's sanitizer — the code that keeps expressions safe — was resolved through a dynamically-scoped this. An attacker could define a class field named __sanitize that rebound the sanitizer to a malicious value and reached the Function constructor. Once you have Function, you have arbitrary JavaScript execution. Game over. The blast radius depends on where the expression runs: On the backend: any expression author could run code inside the n8n process — the same process that holds your credentials, your workflow definitions, and your execution history. In the editor preview: a member's crafted expression could execute JavaScript in the browser session of whoever opened the workflow — meaning a malicious teammate (or a compromised account) could attack other editors just by getting them to open a workflow. The patch rejects reserved class-member names like __sa
Feature Spotlight: Parallelizing Database Queries in the AI Pipeline When a startup founder or CFO requests a 409A valuation, the time it takes to generate a compliant report can become a bottleneck. The valuation process relies on Monte Carlo simulations that pull historical data, cap table snapshots, and DLOM (Discount for Lack of Marketability) parameters from a PostgreSQL database. Traditionally, these queries ran one after the other, creating a linear delay that stretched the turnaround time from minutes to potentially hours. For teams racing to meet Section 409A deadlines, any lag can translate into missed filing windows or the need to rush the analysis. The recent update—identified in commit R366—addresses this exact pain point by parallelizing the sequential database round‑trips within the AI pipeline. Instead of waiting for each query to finish before dispatching the next, the system now batches calls and executes them concurrently using Node.js’s asynchronous capabilities. This change is backed by a careful audit of the query graph, ensuring that data dependencies are respected while eliminating unnecessary wait states. Under the hood, the pipeline is built with TypeScript and Node.js, leveraging the pg-promise library to orchestrate parallel queries. Each Monte Carlo run now initiates multiple data fetches—such as equity dilution tables, market comparables, and cap‑table snapshots—simultaneously. The results are then streamed back to the simulation engine in a single aggregate response. This not only reduces the total execution time but also lowers the load on the database by batching connections, which improves overall system stability. From a user perspective, the impact is tangible. When a founder opens the valuation dashboard, the AI engine begins fetching the necessary data almost instantly. The simulation runs in the background, and as soon as the first batch of results arrives, the interface updates with a provisional valuation range. The final rep
Two agent skills, each harmless when read on its own, can get an agent to upload a report the user never agreed to share. The trick is a progress file. The first skill writes it; the second one trusts it. This post builds a small stdlib Python checker that shows the pattern and shows where a per-skill check goes blind. It is a teaching toy. Run it, change the scenarios, and see what breaks. The paper behind this is "Chaining Skills to Hijack LLM Agents" (Dong et al., arXiv:2610.01564, 1 October 2026). Their method, APEX, has an upstream skill that gets the agent to write an honest record of task progress with one false line in it: the user approved the next step. A downstream skill reads that record and acts on it. Across four action families and six models on SkillsBench, chains induced the attacker's chosen action in 512 of 690 attempts (74.2%). On GPT-5.4, the chain worked 84.3% of the time, and the same workflow merged into one skill worked 17.4% of the time. Splitting the payload across skills is what makes it work. It runs two rules over each scenario: Per-skill rule. Flag a skill if it contains a state-changing action (upload, send, delete, transfer) and an approval claim or override phrase in the same text. This is roughly how a one-file-at-a-time scanner thinks. Chain rule. Build a write/read graph across the installed skills. Flag any path where skill A writes file F with an approval claim, and a different skill B reads F and takes a state-changing action. There are five scenarios: the APEX-style chain, the same workflow merged into one skill, a chain with the approval claim reworded, and two benign pairs (tests then notify, lint then summarise). The benign pairs matter. A chain rule that flags every read-after-write is useless, since that is how half of all real workflows look. Save as chain_check.py. Python 3.8+, no dependencies. # Each scenario: (name, is_malicious, [(skill_name, skill_text), ...]) The two rules catch different scenarios. The per-skill
TL;DR An LLM gateway is production-ready when it adds negligible latency under load, fails over across providers without application code, enforces budgets per team, governs MCP tool calls, and deploys where compliance requires. Bifrost adds 11 microseconds of overhead per request at 5,000 requests per second with a 100% success rate, and enforces budgets at the customer, team, virtual key, and provider-config levels. LiteLLM Proxy covers 100+ LLMs in Python, but production deployments run PostgreSQL and Redis alongside it, and SSO, audit logs, and Prometheus metrics require an enterprise license. Kong AI Gateway adds AI plugins to Kong Gateway; its AI MCP Proxy plugin needs Kong Gateway 3.12 and an AI Gateway Enterprise license. Cloudflare AI Gateway and AWS Bedrock are managed services, so neither runs inside your own network or spans every cloud from one control plane. An LLM gateway is the layer between applications and model providers that authenticates, routes, governs, and logs every model call through one API. Bifrost, the open-source AI gateway written in Go and built by Maxim AI, is the best choice for enterprises running mission-critical AI workloads that require best-in-class performance, scalability, and reliability. This guide compares the five LLM gateways most often shortlisted for production in 2026 (Bifrost, LiteLLM, Kong AI Gateway, Cloudflare AI Gateway, and AWS Bedrock) on gateway overhead, failover, governance depth, MCP support, deployment model, and compliance. Every competitor capability below was checked against that vendor's own documentation, and anything a vendor does not publish is marked "Not published." An LLM gateway is a control layer that sits between AI applications and model providers, exposing one API while handling authentication, routing, failover, spend limits, and logging for every request. Applications call the gateway instead of each provider SDK, so changing a model or adding a provider becomes configuration rather than a
Here's a pattern I keep seeing. A team wires up an AI agent that can do real things — send emails, run commands, query and modify the database, call external APIs. The demo is magical. It reads a request, figures out the steps, takes them, reports success. Everyone's impressed, and it ships. Then comes the first incident. It emails the wrong list. It runs a destructive command against the wrong environment. It reads a web page that quietly tells it to do something nobody asked for, and it obliges. Suddenly the magical demo is a very un-magical cleanup, and someone's asking how this was allowed to happen. Here's the thing: the demo was never the hard part. Getting an agent to do something is genuinely easy now. The hard part — the part that almost always gets skipped in the rush — is everything that keeps the agent from hurting you when it inevitably does the wrong thing. And it will do the wrong thing, because it's a probabilistic system acting in an unpredictable world. So this is the checklist I think belongs before you let an agent touch anything that matters. Not the fun part. The part that separates an agent you can actually deploy from a liability with a good demo. This is the highest-leverage guardrail, and it's the one most worth getting right first, because it makes entire categories of disaster simply impossible. An agent that cannot reach production cannot wipe production. An agent that cannot send money cannot be talked into sending money. An agent with no access to a system can't be the cause of an incident in that system, no matter how confused or compromised it gets. So the question to ask before anything else isn't "what should this agent be able to do?" — it's "what is the least it needs to do its job?" Then give it exactly that and nothing more. Almost every catastrophic agent story, when you trace it back, turns out to be a permissions decision someone made without quite noticing — handing over credentials that could reach production at all, or a
You do not need to understand backpropagation to run a large language model well in production. You need a smaller, more practical thing: the operator's mental model. What a token actually costs you, what a context window actually bounds, what temperature and top_p actually do, and why evals catch what your own reading of the output will not. None of this is deep learning theory. All of it is the part that bites when you skip it. A token is the unit the model actually reads and the unit you are actually billed on, and it is not a word. Common English words are usually one token. Longer or less common words split into pieces. Punctuation, whitespace, and anything outside the tokeniser's common vocabulary (a rare name, a non-English string, a stretch of code) can cost more tokens than it looks like it should. The part that catches people operating across model families on Bedrock specifically: the same text does not tokenise to the same count on every model, because different model families ship different tokenisers. I measured this directly on a real production system prompt while working on prompt caching: the identical string came out to 8,156 tokens on the Nova tokeniser and 8,788 tokens on the Anthropic tokeniser, an 8 percent difference from the exact same characters. If you are estimating cost or checking against a context limit, "how many tokens is this" has a different answer depending on which model you ask, and a number measured against one family does not transfer to another. "Context window" sounds like it means how much the model remembers. Operationally, it means something narrower and more consequential: the hard ceiling on everything in a single request, added together. Your system prompt, your tool definitions, the conversation history you send back each turn, and the model's own output all draw from the same number. None of them have their own separate budget. This is why a long tool registry or a verbose system prompt is not free even before a user
I’m Darshan, a software engineer, founder and builder from India. I spend most of my time building products, experimenting with AI, automating things. I’m joining DEV.to to share what I’m learning while building. Expect posts about: AI-assisted development Building SaaS products Backend & system design Making AI-generated code reliable and secure Interesting tools and workflows Things that worked, things that didn’t, and lessons from both I have a lot of things yet to figure out. Let’s build.
We almost lost forty modules to a file that never changed. The sync job ran every six hours, mirroring our shared working directory into a test workspace. At 21:47 on a Tuesday, it removed about forty private modules that should have been ignored. The filter file was missing one pattern. That's it. One pattern. A colleague had restructured the source tree three days earlier, added a directory, and didn't update the filter file. The script didn't warn, didn't ask, didn't fail. It just mirrored the state it was told to mirror. Restoring the modules took us almost two hours, one by one from the backup box. The filter file was a static text file. It encoded what the sync could delete and what it couldn't, and it had no idea that the real inventory had changed. No idea that a pattern was missing. No way to test a proposed pattern against the forty modules it was about to destroy. That's the same shape as most multi-agent governance failures. Rules are written at some point in time, then the world changes, and the rules stay frozen. Static policy files don't survive contact with a running system. They don't know what they're protecting. So we gave the agents the ability to write their own rules. The first version was naive. We opened a write endpoint that let any agent append to the rule store. The first three weeks were great. Agents resolved tool-access conflicts by proposing new rules, and a couple of stale patterns got archived without a human in the loop. Then it started to rot. Rules referenced other rules that had been overwritten. Rules contradicted each other. Ask two agents about the same namespace and you'd get two different answers. Three months in, the rule store had tripled in size, and nobody — not the human team, not the agents — could tell which rule was actually in effect. It grew quietly. No alert fired. No metric moved. The rot was visible in the rule history, if you were looking for it; nobody was, because we hadn't built any lifecycle tooling. That w
The server reboots at two on a Saturday morning for a security update, which is what it's supposed to do. The app doesn't come back, because nobody told the process manager to start it on boot. It's a fundraising weekend. Orders keep arriving, Shopify keeps sending webhooks into nothing, and after four hours of retries it stops. On Monday the app is running again and looks perfectly healthy. It's missing two days of sales, and every seller's total is short. The two rules, and how they interact An app has five seconds to respond to a webhook. Miss it and Shopify retries — up to eight times over four hours — and if failures persist, the subscription is removed. Shopify's guidance for recovering is to re-subscribe and import the missing data. Separately, a webhook can arrive more than once after a timeout or a retry. Those two rules interact in a way that catches self-hosted apps specifically. A small server under load, writing to its ledger before it answers, can take longer than five seconds. Shopify counts that as a failure and sends the webhook again — so the app records the same order twice. Not because anything was wrong with the delivery. Because it was slow to say thank you. The fix is ordering rather than speed: acknowledge first, do the work afterwards, and make the work safe to repeat. Read together, those rules say something that should change how you design the thing: webhooks are a notification that something happened, not a guarantee you'll hear about everything. An app whose records are built only from webhooks is complete exactly as long as it has never been down. Every self-hosted app is eventually down. Reconcile against the orders So the app doesn't trust its own memory. On a schedule — daily is enough for most — it fetches the orders Shopify has for a window, compares them against what it recorded, and processes the gaps. ts /** What the app recorded when a webhook arrived. */ type Finding = /** Compare what Shopify says happened in a window with w
Originally published on the Professional IT Services blog. Twelve queries show what a Kubernetes cluster costs and where it wastes money: nodes and taints, requests and limits, real usage, top pods, QoS classes, idle requests, pods over their requests, volumes, orphans, leftovers, load balancers and restarts. They need only kubectl, jq and the hcloud CLI, and the output below comes from our production K3s cluster. That is the most direct route to reducing Kubernetes operational overhead: before changing anything, measure what is requested, what is used and what is billed. Our earlier post covers what we changed. This one is the checklist we run first, and the same queries run on client clusters before their cost reviews. All results were measured read-only on 1 October 2026 on pits-prod-fsn1-cluster-01: K3s on Hetzner Cloud, five nodes, 98 running pods, 135 containers. Client namespaces are anonymised (client-a, client-b, shop-wp), pod-hash suffixes are trimmed, and long outputs are cut to the rows that matter. # Query Question it answers Our result 1 kubectl get nodes -o custom-columns What are we paying for, and what is tainted? 5 nodes, 42 vCPU, 4 of 5 with an empty instance-type label 2 kubectl describe nodes How much is requested and limited per node? CPU limits 124% of capacity, 204% on one node 3 kubectl top nodes What is actually used? 4.7% CPU, one node at 14% 4 kubectl top pods -A --sort-by=memory Who uses the memory? One database pod at 4,290 Mi 5 QoS census with jq Who is evicted first? 0 Guaranteed, 77 Burstable, 21 BestEffort 6 Requests against usage per pod Where are requests idle? About 2.7 GiB idle on two database replicas 7 Pods above their requests Where is the other side of the problem? 12 pods above a request 8 Volume capacity against use Which volumes are empty? 14 of 16 10-GB volumes under 1% used 9 Orphaned volumes What do we pay for with no pod attached? None 10 Zero-replica workloads, leftover jobs What was left behind? 1 StatefulSet at 0,
A former core infrastructure engineer at an industrial company headquartered in New Jersey was sentenced to 32 months in prison for locking thousands of devices on his employer's network in a ransomware-style attack. [...]
I run a small Gumroad store from a set of scripts on my homelab. The scripts create products, set prices and tags, and check what is already listed before they list anything new. Twice this month they gave me a completely wrong picture of that store, and neither time did anything error. Both mistakes came from the same place: the Gumroad API tells you what happened in a way that is easy to misread. There are two traps. The HTTP status code tells you almost nothing, and the product list comes back ten at a time. In late August I wrote down, with some confidence, that Gumroad's API could not create products. The note said POST /v2/products returned 404 and that creation was dashboard-only. I built the rest of the tooling around that: a script that packaged the files, then a manual step where I would click through the dashboard. On 5 September I ran the full lifecycle against the live account to check, and the note was wrong: POST /v2/products success=True (created, unpublished) PUT /v2/products/{id} success=True (edit) PUT /v2/products/{id}/enable success=True (published) DELETE /v2/products/{id} success=True (account back to 0 products) Creation works. What had misled me is what a bare POST /v2/products returns. It is not a 404. It is an HTTP 200 with this body: {"success": false, "message": "New products should be created with a price"} Gumroad answers nearly everything with 200 and puts the real outcome in the success field. A product that does not exist is also a 200: {"success": false, "message": "The product was not found."} So there are two wrong readings available, and I had managed one of them. Treat the 200 as "the endpoint exists and it worked" and you carry on with a failure. Or half-remember a failure as "it 404'd" and you conclude the feature is missing. The status code in this API tells you that you reached Gumroad. It does not tell you whether Gumroad did what you asked. Once I read success instead, the manual step disappeared. The scripts now create,
If you run ten or more client sites, the CMS decision isn't really about features. Four things decide it, and the rest is detail. Per-site cost at 10 to 50 sites. How much of the stack you maintain per client. What the client's own editing experience is like. And what happens when a client leaves. Feature lists are close to useless here, because every CMS on your shortlist can handle content well enough. What separates them at agency scale is how the bill grows, how many moving parts each client adds, how many support emails a non-technical editor sends, and whether a departing client can leave without a fight. Run those four against your real roster before you book a demo. Run this with your own numbers, not a vendor's. Each point has a clear answer or it's a red flag. Pricing shape. Per site (per space or project) or per seat? Multiply by your site count in three years, not today. Per-seat plans capped at one space per plan are per-site pricing wearing a disguise. Client handover and ownership. Can a client take their site and leave? Can the subscription move into their name, or does it stay on your card forever? Ask before the first invoice, not during the breakup. Editor experience for a non-technical client. Sit a real client in front of it for ten minutes. If they can't change a headline and a photo without you, you've bought a support contract you aren't billing for. Compliance you inherit: hosting location, subprocessor list, and a DPA you can put in front of a client's legal team. You answer for this on the client's behalf. Moving parts per site. Count them: CMS, frontend framework, hosting, build pipeline, image service, form handler, search. Every part is a thing that breaks on a Friday. The exit path. Export a real site on the real plan and look at what you get, before you commit rather than after. Headless CMS list pricing scales per space, which for an agency means per client site, so the bill grows roughly in line with the roster. Contentful and Story
Confession: When BougeRV told me about its remote-controlled wagon with animated lighting, I called it in for a laugh, expecting to eviscerate it in a review. It's ridiculous, to be sure. But the DuneRover also proved very capable, with enough torque to flatten hills even when carrying over 200 pounds of gear. It can also traverse soft sand that defeats conventional wagons. As someone who regularly uses a variety of wagons to haul all sorts of gear, the DuneRover is an epiphany. But what BougeRV sent me was a Kickstarter prototype - and it shows. Production units won't ship until February 2027. So, what follows is less of a review and mo … Read the full story at The Verge.
One person feels unheard. The other feels criticised. Before long, both people are frustrated and neither quite understands how the conversation reached that point. This can leave couples wondering what is going wrong. The difficulty is that a partner sees the outcome and guesses at the reason. A glazed look reads as boredom. An interruption reads as disrespect. A forgotten request reads as a sign that the home matters less to one person than to the other. The person with ADHD often intended none of those messages. ADHD counselling can be useful when you want to understand your own emotional and interpersonal patterns more clearly. Read more: https://www.pennyglazebrookcounselling.co.uk/adult-adhd-and-relationships-why-communication-can-become-difficult/
If you build anything that touches prices in Iran, you quickly run into the same problem: the rate people actually trade at is the Tehran free-market rate, it moves every day, and most data sources either require an API key or only give you the current number. I needed the daily history for a pricing tool, so I ended up publishing the data openly. This post is a short tour of what is available. 15 series: US dollar, euro, UAE dirham, Turkish lira, British pound, Chinese yuan, Tether, Bitcoin, 18k and 24k gold per gram, and five gold coins Live rates, refreshed every minute A daily archive going back to 2010 for the oldest series No API key, no sign-up Plain JSON, amounts in Iranian toman (1 toman = 10 rial), dates in the Jalali calendar Live rates: GET https://nerkh.jahankhahan.shop/data/live.json { "date": "1405/07/13", "time": "19:59", "rates": { "dollar": 268700, "euro": 301680, "aed": 73403, "gold": 26547200 }, "change": { "dollar": 0.15, "euro": -0.42 }, "ounce": 4129.98 } Daily archive, one array of [date, rate] pairs per series: GET https://nerkh.jahankhahan.shop/data/rates.json Today's intraday points (low, high and a point every ten minutes): GET https://nerkh.jahankhahan.shop/data/intraday.json And a small calculator that answers "what does an item bought on date X cost today?": GET https://nerkh.jahankhahan.shop/calc?price=830000&date=1404/07/15&margin=20&format=json It returns the rate on the purchase date, the current rate, the ratio between them, the replacement cost and a sell price with your margin. import json, urllib.request BASE = "https://nerkh.jahankhahan.shop" def get(path): with urllib.request.urlopen(BASE + path, timeout=30) as r: return json.load(r) def rate_on(days, date): """Closing rate of the last trading day that is not after `date`.""" found = None for day, value in days: if day > date: break found = value return found live = get("/data/live.json") archive = {s["key"]: s["days"] for s in get("/data/rates.json")["series"]} then = rate_o
Developers constantly need small utilities for everyday tasks: formatting JSON, encoding Base64, compressing data, and more. So I built CodeUnpack, a collection of simple developer tools designed to make these tasks faster and easier. 🛠️ Available tools Many tools run entirely in the browser, so there's no need to upload your data to a server for basic operations. The goal is simple: Fast, free, and useful developer utilities without unnecessary complexity. 🔗 Try it: codeunpack.com I'm continuously adding new tools based on common developer needs.
A few days ago I wrote up a test that passed on Windows and failed on Linux, and one of its three lessons was: give every negative probe a control arm. A probe that asserts "nothing is listening on this port" cannot, on its own, tell "the listener is gone" from "I built the probe wrong" — so you stand up a second listener you know is running, and check the probe reports it. That advice is right. It is also not enough, and I know because my control arm lied to me. This is the follow-up: the control is a probe too, and it is subject to every rule you wrote for the thing it is controlling. True for the wrong reason The probe asks a question — is nothing listening on this port? — and answers by trying to connect: def nothing_is_listening(port): with socket.socket() as s: try: s.connect(("127.0.0.1", port)) return False # the connect succeeded: something is there except ConnectionRefusedError: return True # the refusal: nothing is there The control stands up a listener and asserts the probe reports it: srv = socket.socket() srv.bind(("127.0.0.1", 0)) srv.listen(1) # the whole bug lives in this argument port = srv.getsockname()[1] assert nothing_is_listening(port) is False With a listener sitting right there, the control returned True — "nothing is listening". listen(n) does not mean "accept up to n connections". It sets the backlog: how many fully-handshaken connections the kernel will hold in the accept queue on your behalf before it stops completing new ones. The control's listener was one listen(1) socket that nothing ever calls accept() on — a control arm is usually a bare listen() with no server behind it — and the probe was exercised against it more than once, once per spelling under test. The first connect() was handed to the kernel and parked in the queue, filling it. The second connect() found no room, was refused, and the probe dutifully reported "nothing is listening". A listener with a full accept queue is still a listener; the probe just cannot tell. So the
📌 Quick Info Topic: A beginner project that saves data to a file Target Audience: Beginners who know the basics and want a real project Goal: Build a working to-do list that remembers tasks after you close it "My first two projects didn't save anything. Close the program, everything gone. Then I learned how to save data to a file — and suddenly my programs could remember." A simple CLI to-do list where you can: Add a task List all tasks Mark a task as done Delete a task Save everything to a file When you reopen the program, your tasks are still there. Most beginner projects don't save anything. That's fine for practice, but it's not how real tools work. Real apps remember. Your notes app remembers. Your browser history remembers. Your IDE remembers which files you had open. Learning to save data to a file is the step from "toy" to "useful." import json import os FILE = "todos.json" def load_tasks(): if not os.path.exists(FILE): return [] with open(FILE, "r") as f: return json.load(f) def save_tasks(tasks): with open(FILE, "w") as f: json.dump(tasks, f, indent=2) def show_tasks(tasks): if not tasks: print("No tasks yet.") return for i, task in enumerate(tasks, 1): status = "✓" if task["done"] else " " print(f"{i}. [{status}] {task['title']}") def add_task(tasks, title): tasks.append({"title": title, "done": False}) save_tasks(tasks) print(f"Added: {title}") def complete_task(tasks, index): if 0 <= index < len(tasks): tasks[index]["done"] = True save_tasks(tasks) print(f"Completed: {tasks[index]['title']}") def delete_task(tasks, index): if 0 <= index < len(tasks): removed = tasks.pop(index) save_tasks(tasks) print(f"Deleted: {removed['title']}") def main(): tasks = load_tasks() while True: print("\n1. List 2. Add 3. Complete 4. Delete 5. Quit") choice = input("Choose: ").strip() if choice == "1": show_tasks(tasks) elif choice == "2": title = input("Task: ").strip() if title: add_task(tasks, title) elif choice == "3": show_tasks(tasks) try: idx = int(input("Complete