🌍 Dev.to

RAG Cost Estimates: Token Counts, Embeddings, and Node.js Semantic Search

Short answer: For an ask-your-docs semantic search app, batch document indexing, estimate token spend before rollout, and send chat only the top retrieved chunks; that keeps RAG cost under deliberate control. I build RAG and agent features in Python, even when the serving app is Node.js, because I want the eval harness close to the retrieval experiments. The language boundary is rarely the budget problem. Prompt shape is. Start by treating every uploaded document as an ingestion job: split i...
🌍 Dev.to

O que 9 artigos em 15 meses me ensinaram sobre escrever com constância

Eu tenho um padrão de publicação estranho. Cinco artigos em quatro meses. Depois sete meses de silêncio total. Três artigos em cinco semanas. Depois quase três meses de silêncio de novo. Um artigo. E aqui estou eu, tentando entender o que esse padrão realmente significa antes de simplesmente prometer "vou postar toda semana" e repetir o ciclo. Entre abril e julho de 2025, escrevi sobre os fundamentos: um plano de estudos de engenharia de plataforma, os sinais de que uma infraestrutura precisa...
🌍 Dev.to

The Promptfoo Acquisition Made Me Realize I Was Evaluating LLMs on Easy Mode

In March 2026, OpenAI acquired Promptfoo — the tool that 350,000 developers use to evaluate and red-team OpenAI's own models. I don't think that makes Promptfoo suddenly useless. But it made me ask a question I should have asked earlier: who is the eval tool accountable to? Most LLM eval frameworks — DeepEval, Ragas, LangSmith — have something in common. They all route scoring through an LLM API call. That means your eval pipeline has at least three dependencies you don't control: the tool...
🌍 Dev.to

Giving Claude access to your Telegram: the two setups, and why the difference matters

You can give Claude access to your Telegram in about five minutes. Whether that is a good idea depends entirely on which of two very different setups you pick — and most tutorials do not tell you there are two. I went through the available Telegram MCP servers while writing a setup guide, and the gap between them is much bigger than the feature lists suggest. The two kinds, and why it matters MCP — the Model Context Protocol — is the standard that lets AI clients call outside ...
🌍 Dev.to

Nineteen Subdomains, One Allowed IP

One DNS record covers the whole box: *.example.com → 203.0.113.10 . I set it once, and publishing a service has not involved DNS since. I pick a name, and the name already resolves. What's left is a form in Nginx Proxy Manager (NPM) with four fields that matter: the domain, the container name, the container port, and a checkbox that requests a certificate. That is the whole act of publishing. Fill it in, save, and the hostname is serving HTTPS from a container that was never exposed to any...
🌍 Dev.to

arxid: keyed, non-enumerable ID obfuscation with a measured ARX-Feistel permutation

If your API exposes /users/1042 , someone can request /users/1043 . And /users/1044 . Sequential integer IDs leak two things you probably didn't mean to leak: roughly how many records you have, and a trivial way to walk through all of them. arxid fixes that. Feed it an integer, get back an unpredictable-looking code; feed the code back with the same key, get the integer. Keyed, reversible, and byte-for-byte identical across every language it's ported to. // Rust let a = ...
🌍 Dev.to

I built a free fitness tracker with no backend and no account — here's what I learned

A few months ago I got tired of every calorie tracker either paywalling basic features or demanding I create an account just to log a banana. So I built Nawtch — a free fitness tracker that runs entirely in your browser, stores everything locally via IndexedDB, and never asks you to sign up. Here's the messy, honest version of how it actually came together. It didn't start as "Nawtch" The app was originally called Foop. I got pretty far into building it before doing a basic search and r...
🌍 Dev.to

How to Let gzip Find the Signal in a Pile of Documents

Suppose you have a directory full of text documents. Most are repetitive, padded with boilerplate, or otherwise low-signal. A few contain the useful material. You could read every file manually, feed them all into an embedding pipeline, or ask an LLM to rank them. Or you could ask gzip . The basic idea is simple: Repetitive text compresses well. Varied text usually does not. That makes compression ratio a crude but surprisingly useful proxy for redundancy. It will not tell...
🌍 Dev.to

Building Reliable UDP

How to Turn an Unreliable Protocol into One You Can Trust When most developers think about networking, they immediately think of TCP . After all, TCP powers web browsing, APIs, databases, email, and countless distributed systems. It guarantees that data arrives in order, without duplication, and without corruption. But there's another protocol that quietly powers some of the fastest systems in the world. UDP. Online multiplayer games. Live video streaming. Voice-over-IP....
🌍 Dev.to

Designing a Backend System That Handles 100K Requests/Second (Without Melting Your Database)

TL;DR Architecture At high level: Global Traffic Routing (Geo DNS / Anycast) Edge Layer (CDN + WAF + Rate Limiting) Load Balancers (L4 + L7) Stateless App Tier (autoscaled microservices) Multi layer Caching (edge, distributed, local) Data Layer (sharded DB + replicas + queue based writes) Async Processing (Kafka / stream workers) Observability + Auto healing 1) Capacity Planning First (Quick Math) Never start with boxes and arrow...
🌍 Dev.to

Episode 5 — Who Gets to Flip the Switch

Week 3. "The artifact is sitting in the registry. Somebody still has to actually run it. Who, and how?" Previously Developer ↓ Runner ↓ Cache ↓ Artifact Today ↓ Deployment Junior Engineer: So the image is built, tagged, sitting in the registry. What's the simplest possible way to actually get it running in production? Senior Engineer: The simplest way is also the most dangerous way. Want to guess it first? Junior Engineer: Stop t...
🌍 Dev.to

Building a company in 2026: What I’m learning along the way

I have spent the last 18 years working in technology, including around six years as a CTO in startups. Architecture, cloud infrastructure, engineering teams, incidents, and delivery deadlines are familiar to me. This is also my second time as a co-founder, but my role is different now. At CatechLabs, I work across product, sales, customer discovery, positioning, partnerships, and strategy. That shift made something clear: knowing how to build software is not the same as knowing how to b...
10 Hottest Startups to Watch in 2026
🌍 HackerNoon

10 Hottest Startups to Watch in 2026

The startup landscape in 2026 is being reshaped by a new generation of companies building for the realities of an AI-driven economy. Rather than simply adding AI features to existing products, these startups are creating infrastructure for AI agents, rethinking how enterprises manage cybersecurity, addressing the energy demands of data centers and transforming industries ranging from healthcare to freight rail. These are 10 startups worth watching as they develop products around some of the b...
Why Small Businesses Need an AI Strategy
🌍 HackerNoon

Why Small Businesses Need an AI Strategy

Small businesses are already adopting AI. A clear strategy helps turn scattered tools and individual experiments into measurable business value.
🌍 TheVerge

Microsoft is bringing Xbox 360 games to PC

Building on its recently announced plans to bring original Xbox games to PC, Microsoft is also planning to let developers bring their Xbox 360 games to PC as well, according to a leaked document, seen by The Verge, that was sent to developers recently. Xbox 360 games will be able to run on the next-gen […]
🌍 TheVerge

The first-gen Kindle Scribe is a big e-reader and digital notebook that’s $150 refurbished

The Kindle Scribe is worth considering if you’re heading back to school, as its large 10.2-inch screen can display textbooks and ebooks, or let you jot down handwritten notes during class. Now through August 8th, the first-gen model (with a Premium Pen) is down to just $149.99 with 16GB of storage in refurbished condition at […]
🌍 TheVerge

Europe’s AI labeling and transparency rules are now in effect

The European Union has ushered in some additional rules that aim to make it easier for people to identify chatbots and AI deepfakes online. The new transparency obligations under the bloc's landmark AI Act came into effect on August 2nd, requiring companies to disclose when people are interacting with AI models, and if content has […]