Building a Hard Gate for AI Agents: How kern Maps Code Repositories Without Network Latency or Cost
🌍 Dev.to

Building a Hard Gate for AI Agents: How kern Maps Code Repositories Without Network Latency or Cost

Subtitle : How to give Claude, Cursor, and Ollama a crystal-clear map of your codebase using AST analysis, 100% locally and privately. Introduction : We’ve all been there: you open up an AI coding agent like Claude or a local Ollama instance, drop in a code file, and ask for a refactor. The LLM hallucinates a dependency that doesn’t exist or forgets the architecture boundaries of your project. To fix it, you end up copy-pasting half your codebase, burning through thousands of API contex...
🌍 Dev.to

We shipped guest play at 17:39 and deleted it at 18:35

Three commits, one evening: 17:39 Show the first score free and let guests play one game per provider 18:05 Let guest plays load their question bank with a signed permit 18:35 Remove guest play, require account for game access Fifty six minutes from shipped to deleted. The middle commit is the interesting one, because it is a genuinely good piece of code that should never have needed to exist, and writing it is what made the deletion obvious. What guest play was ...
🌍 Dev.to

A missing 'use client' shipped 165 games to play one of them

We have 165 playable practice games. Each one is a React component with its own engine, its own state machine, and in some cases its own canvas rendering. They are not small. Routing from a game id to a component goes through one registry module: const BalloonGame = dynamic (() => import ( ' @/components/games/balloon/BalloonGame ' ). then (( mod ) => ({ default : mod . BalloonGame })) ); const ArrowsGame = dynamic (() => i...
Best MCP Servers 2026: 10 Worth Installing (Tested)
🌍 Dev.to

Best MCP Servers 2026: 10 Worth Installing (Tested)

TL;DR: The best MCP servers in 2026 depend on the job: filesystem and Git for local code work, the official GitHub server for repo automation, Playwright or Chrome DevTools for browser tasks, Postgres or Supabase for data, Fetch and Context7 for research and docs, and AdPlug for Google Ads. Install only what earns its context window - nothing more. What makes an MCP server worth installing Practitioner guidance: a small curated set of MCP servers outperforms a large dire...
🌍 Dev.to

The Resume Is Dying. What's Replacing It?

Nobody has ever hired me because of my resume. Every client I've worked with over the last decade came through a sample, a referral, or something I published somewhere they happened to read or see. My resume exists. It's on my hard drive. I updated it maybe twice since 2019. I used to assume this was a freelancer thing, some quirk of how contract work gets sold. Then I started watching full-time hiring do the same slow shift, and it stopped feeling like a quirk. The resume isn't gon...
🌍 Dev.to

JavaScript Promises

A promise in JavaScript is an object that is used to represent the eventual completion or failure of an asynchronous operation. With the help of promise in JavaScript, users can handle asynchronous operations in a more manageable and readable manner, if we compare it with traditional callbacks. States of Promise There are three states of Promise in JavaScript: Pending: It is the initial phase, which represents that the asynchronous operations are still in progress. F...
🌍 Dev.to

38 clamps, four probits, and one coefficient rounded to 15 digits

We have around 150 scorers, one per practice game, each converting a finished game state into a score. They live under scoring/scorers/ and were written as self-contained units, which is the right shape: the scoring rules genuinely differ per game, and a shared base class would be a lie about how much they have in common. What they did have in common was arithmetic. Before this cleanup the codebase contained: 38 local definitions of clamp , in three mutually incompatible signatures ...
🌍 Dev.to

Gmail deletes your SVG logo and Outlook ignores your flexbox

Our transactional and campaign emails share one branded shell: a header with the logo, the body, a footer with the unsubscribe lines. I wrote the first version the way I would write a component, because it is 2026 and I had forgotten what email is. <div style= "display:inline-flex;gap:8px;align-items:center" > <svg width= "19" height= "19" > ... </svg> <span style= "font-size:19px;font-weight:700" > CogniPrep </span> </div> ...
🌍 Dev.to

'2026-27' is a better database key than a date range

We sell school and university discounts. A school gets an allocation: a code its students can redeem, capped at some number of redemptions, and the cap resets each year. Each year, but not each calendar year. A sixth form's intake arrives in September. The cohort that used the allocation in the spring has left by the autumn, and resetting their cap on 1 January means resetting it in the middle of application season, which is the worst possible moment for the people relying on it. So the re...
The CoreDNS Black Hole: how one dead DNS pod broke our API gateway
🌍 Dev.to

The CoreDNS Black Hole: how one dead DNS pod broke our API gateway

Our API gateway started handing this back to roughly a third of all requests: { "source" : "auth" , "message" : "Upstream Service Unavailable" , "error" : "Upstream Service unreachable" } Restart the gateway and everything is fine. A day later, it's back. No deploy, no code change, no traffic spike, nothing in the backend logs β€” the backends were healthy the whole time. The cause was one open network socket pointing at a pod that no longer existed. The mechan...
🌍 Dev.to

OCR that looked like it worked

For months the OCR on this site returned a file. It took a believable four or five seconds, reported no error, and handed back a PDF of the right page count. The text layer inside it was empty. Nobody complained, because there was nothing to complain about. A searchable PDF with no searchable text looks exactly like a searchable PDF until you press Ctrl+F. It took a benchmark harness with a ground-truth word list to notice, and what it found was one number that explained everything: ...
HackerNews

Jev-Leftpad

Article URL: https://github.com/f/jev-leftpad Comments URL: https://news.ycombinator.com/item?id=49784706 Points: 90 # Comments: 39
HackerNews

NEC V20 CPU: A bit of pep for an XT

Article URL: https://dfarq.homeip.net/nec-v20-cpu-a-bit-of-pep-for-an-xt/ Comments URL: https://news.ycombinator.com/item?id=49785783 Points: 5 # Comments: 2
Omnichannel AI agents: sharing long-term memory between a voice and a chat agent with Amazon Bedrock AgentCore Memory, Strands and Amplify Gen 2
🌍 Dev.to

Omnichannel AI agents: sharing long-term memory between a voice and a chat agent with Amazon Bedrock AgentCore Memory, Strands and Amplify Gen 2

πŸƒ TL;DR In the first article I built semantic product search on Amazon DynamoDB Vector Search and gave that capability to an AI agent as a tool. In the second one I deployed the voice agent to Amazon Bedrock AgentCore Runtime , inside the same Amplify Gen 2 backend. So now I have two agents that do the same job, help a user shop, through two different channels: a text chat (Amplify AI Kit) and a voice agent (Strands BidiAgent using Amazon Nova Sonic ). They work, but th...
🌍 Dev.to

Open Source MCP Gateways for Claude Code in 2026

TL;DR Connecting Claude Code directly to multiple Model Context Protocol (MCP) servers causes severe token bloat, credential fragmentation, and security blind spots. Evaluating open source mcp gateways for claude code allows engineering teams to centralize tool discovery, enforce granular access controls, and secure local environments. Bifrost ranks as the top open-source gateway for Claude Code workloads, delivering sub-millisecond routing overhead, unified multi-provider model swi...
What If Your AI Agent Never Had to Leave the Browser? (Demo πŸš€)
🌍 Dev.to

What If Your AI Agent Never Had to Leave the Browser? (Demo πŸš€)

I haven't written anything lately because, honestly, I just didn't have the headspace for it. There were a few reasons, but the biggest one was my talk at AGNTCon + MCPCon Europe, where I spoke about WebMCP. How did it go? Great! A lot of people showed up, they asked questions β€” what more could I ask for? πŸ˜… The conference itself was amazing too, and I definitely came back with enough inspiration for several more articles. I don't have any nice photos yet, but maybe next week! The audi...
🌍 Dev.to

Next.js App Router silently ignored my 1,200 generated pages. Here's what I got wrong.

I spent about a week building factorcalculator.org β€” a free math tool that finds the factors, factor pairs, prime factorization and divisors of any number, with the full working shown instead of just an answer. Six hand-built calculator pages, plus 1,200 generated pages ( /factors-of-1/ through /factors-of-1200/ ). Next.js 16 App Router, Tailwind, static export, deployed to Cloudflare Pages. Most of it went fine. Three things did not, and two of them are the kind of bug where everythin...
🌍 Dev.to

TCP vs UDP: The Two Ways to Move Data, and Why Neither Is "Better"

Back in the OSI post I mentioned that Layer 4's whole job is service-to-service delivery β€” making sure data reaches the right application on a host, not just the right machine β€” and that TCP and UDP are the two strategies for doing it. This post is that comparison properly unpacked, because "TCP is reliable, UDP is fast" is the kind of half-explanation that sounds fine until someone asks you what "reliable" actually means at the protocol level, and you realize you don't quite know. ...