🌍 Dev.to

Build a Maintainable Node.js CRUD API with Express and MySQL

Writing SELECT , INSERT , UPDATE , and DELETE queries is not the difficult part of a CRUD API. The difficulty begins when every route starts handling SQL, input validation, HTTP status codes, and error formatting at the same time. That version may work for five endpoints. It becomes unpleasant when you add authentication, pagination, related tables, or a second developer. In this tutorial, we will build a Node.js REST API with Express and MySQL while keeping each responsibility in a p...
🌍 Dev.to

Netdata Cloud vs a Self Hosted Parent Node: The Real Three Year Cost for a Home Server

If you run Netdata on one to three machines at home, the local agent dashboard on port 19999 plus the free Netdata Cloud tier covers almost everything you need, and a paid plan rarely earns its keep across three years. Pay only when you need durable multi node views, alert routing that reaches other people, and role based access you can revoke. Self hosting a Netdata parent node is the cheapest route to long retention and one dashboard for every child node, and the price is one always on machine...
🌍 Dev.to

HELO vs EHLO: Why Your SMTP Greeting Can Hurt Email Delivery

HELO vs EHLO: Why Your SMTP Greeting Can Hurt Email Delivery Your SPF, DKIM, and DMARC records may all look correct while your mail server still introduces itself as: EHLO localhost or: EHLO server1.internal That greeting happens before the message body is transmitted and can become one of the first identity signals a receiving server evaluates. What HELO and EHLO actually do When one mail server connects to another, the receiving server fi...
🌍 Dev.to

How I built a highly profitable web platform, but wrote zero backend code to keep my server costs at $0.

Every developer has a folder on their computer filled with abandoned side projects. You know the one—it's where ambitious ideas go to gather dust after the weekend is over. Four years ago, BeGoodTool was just another one of those folders. It didn’t start with a venture capital pitch, a business plan, or a dream to disrupt an industry. It started because I was incredibly frustrated. I was doing some routine development work and needed to quickly format a massive JSON payload and conver...
HackerNews

Quake – 30th Anniversary Update

Article URL: https://slayersclub.bethesda.net/en-US/news/quake-30th-anniversary-update Comments URL: https://news.ycombinator.com/item?id=49201930 Points: 285 # Comments: 145
HackerNews

What is a product?

Article URL: https://roge.onwrite.app/what-is-a-product Comments URL: https://news.ycombinator.com/item?id=49202690 Points: 26 # Comments: 10
HackerNews

Spin audit of SQD/QSCI quantum-chemistry benchmarks on iron–sulfur clusters

Author here. Background, for anyone who hasn't followed this fight: IBM's iron–sulfur SQD results (Sci. Adv. 2025) are one of the flagship "quantum computers are useful for chemistry now" claims, and a published critique (arXiv:2501.07231) argues the quantum samples never beat classical selected-CI at matched cost. That argument is still live. Both sides have been arguing about energies. Neither measured which electronic state these calculations actually converge to. So I measured it. ⟨S²⟩ comes...
HackerNews

New Mexico court orders Meta to pay $567m over harms to children’s mental health

https://www.reuters.com/world/new-mexico-court-orders-meta-p... https://www.theguardian.com/technology/2026/aug/06/new-mexic... https://www.kob.com/new-mexico/nm-court-orders-meta-to-pay-5... https://www.bbc.com/news/articles/cd7lz3wr2rlo https://www.wsj.com/tech/meta-ordered-to-pay-942-million-to-... Comments URL: https://news.ycombinator.com/item?id=49204352 Points: 188 # Comments: 116
HackerNews

Framework discloses data breach via Metabase 0-day

Article URL: https://community.frame.work/t/framework-data-breach-discussion/83939 Comments URL: https://news.ycombinator.com/item?id=49206130 Points: 59 # Comments: 14
🌍 Dev.to

Put a Capability Broker Between Your Agent and Its Tools

Agent incidents rarely look like a movie villain. They look like a helpful assistant combining two permissions you never meant to combine: a note-reader that can summarize a folder, plus a messenger that can post to a webhook, plus one poisoned paragraph in a document that says where the notes should go. After writing about prompt changes as migrations, I started treating tool permission the same way: as a reviewed contract, not a vibe in the system prompt. The pattern I keep reaching for is ...
🌍 Dev.to

What a Malicious Ollama Model Can Actually Do to Your Host, and How to Sandbox /api/pull

A malicious Ollama model is not a virus you double click, but it is untrusted input handed to a C parser, a template engine and your filesystem in one request. The realistic damage from a hostile /api/pull is disk exhaustion, VRAM starvation, blob writes under ~/.ollama/models , a poisoned chat template that silently rewrites every prompt, and memory corruption in the GGUF loader if the file is crafted for it. None of that requires a vulnerability in your app code, only an Ollama daemon that ...
Sobremesa: Six meals in Mexico, heritage without an address.
🌍 Dev.to

Sobremesa: Six meals in Mexico, heritage without an address.

This is a submission for Frontend Challenge - Comfort Food Edition, Perfect Landing Mexico is our heritage. Yet, we have no family there to visit. That sounds sadder than it is. What it actually meant, for the years before my wife and I were married and most of our time off since, is that we had to go find it ourselves. No family kitchen waiting. No grandmother's recipe with an address attached. Just the two of us and a country that is ours and that we did not know. So we did what ev...
🌍 Dev.to

The Model Passed Your Benchmark. Now Stop Merging Its Code Blindly

A few weeks ago I wrote about building a reproducible test harness for comparing free AI coding models before you commit . That harness answers one question: which model should I use? It does not answer the harder follow-up: once a model generates a patch for my real codebase, when is it safe to merge? This week there was a great discussion on DEV about "understanding over origin" — the idea that it doesn't matter whether code came from a human or a model, only whether someone actuall...
🌍 Dev.to

Canaries, Not Faith: Auditing Where Your Coding Agent Actually Writes

When people discuss AI agents escaping their boundaries, the mental image is usually dramatic: a jailbreak, a rogue prompt, an obvious disaster. What I've actually seen in practice is duller and more dangerous. The agent finishes its task successfully, the tests pass, and only later does someone notice it edited a file three directories up, or that a "helpful cleanup" deleted something it shouldn't have. Silent drift, not explosions. Last month I wrote about building a prompt regression harne...
🌍 Dev.to

Simple, Elegant, Reliable - 90+ ready-to-use validators for Chinese business scenarios

📑 Table of Contents Introduction Why We Created ValidX? Why Choose ValidX? 5-Minute Quick Start Multilingual Support Important: Null/Empty String Handling Thread Safety Supported Validation Annotations Quick Reference Table Basic Validation Identity Validation Financial Validation Education/Professional Qualification Network Validation China-Specific Validation Automotive Validation Book-Related Validation Mobile Device Validation More Validation ...
🌍 Dev.to

QA-Testing Audio Trimming Workflows Before You Ship a Web Editor

If you're building — or integrating — a browser-based audio trimmer, the question that eventually reaches your inbox isn't "does it cut audio?" The real question is: does it cut audio correctly across the inputs we actually receive from users? That shift, from feature presence to behavior under fuzzy conditions, is what turns a demo into a product. This article walks through the QA matrix I use when reviewing client-side trimmers before release, with an emphasis on the silent failures that don...
🌍 Dev.to

AI Support Escalation Router: Stop Confident Wrong Replies Before They Send

An AI support agent does not have to be malicious to damage trust. It only has to answer one refund question, outage complaint, security concern, or enterprise renewal ticket with polished confidence and weak evidence. That is why serious builders need an AI support escalation router before they let agents send replies on their own. The router decides when the AI can answer, when it should draft only, when it should ask a clarifying question, and when a human must take over. The goal is ...
🌍 Dev.to

Random Forest Is Horizontal Scaling for Predictions

Classic Machine Learning Through the Eyes of an SRE — Part 3 The random forest is the first ML algorithm that made me feel at home. Not because of the math — because it's an SRE idea wearing a stats costume. Many independent workers. No single point of failure. Majority vote. If one worker goes weird, the fleet absorbs it. We've been building systems this way for decades; the forest just applies it to prediction. The problem it exists to fix Last article: a single decision tree is...
🌍 Dev.to

How to Detect Cross-Tenant Data Leakage in MCP Servers and Multi-Tenant SaaS

The Hidden Security Gap in Multi-Tenant MCP Servers When you build a multi-tenant SaaS application or an MCP (Model Context Protocol) server that serves multiple organizations, cross-tenant data leakage is one of the most dangerous vulnerabilities you can ship. A single missing organizationId filter in a database query can expose one tenant's data to another — and traditional security scanners like Snyk, Semgrep, and CodeQL don't catch these patterns. That's why I built mcp-tenant-is...
🌍 Dev.to

Building Small Things

Recently, I’ve been spending more time building small projects on my own. One thing I’ve learned is that it’s usually better to keep things simple and ship early instead of trying to make everything perfect. A small project can still teach you a lot about coding, deployment, design, and how people actually use what you build. I’m planning to share some of my development notes and experiments here from time to time. Looking forward to learning from everyone on DEV.