Discover

Curated articles from sources across the web

38128 articles from 16 sources
Why .env.example Gets Out of Sync — and What Actually Fixes It
D
DEV Community · Technology

Why .env.example Gets Out of Sync — and What Actually Fixes It

Quick answer .env.example goes out of sync because it's a plain text file with no way to enforce that it matches your code — nothing runs when a variable is added, removed, or made conditional. The fix isn't a better example file; it's a schema: a single, versioned file that declares what...

Rabbil Yasar Sajal
Read
How I Made a Canvas JSON Viewer Fast with Viewport Virtualization
D
DEV Community · Technology

How I Made a Canvas JSON Viewer Fast with Viewport Virtualization

When you build a visual tool for structured data, everything feels instantaneous on toy examples. A 20-line JSON payload renders crisply into an interactive graph with clean nodes, collapsible trees, and smooth connectors. Then you drop in a real-world file: a 15 MB API response containing nested o...

loggerhead turtle
Read
7 Ways Startup Apps Define Moderation Categories (Harassment to PII)
D
DEV Community · Technology

7 Ways Startup Apps Define Moderation Categories (Harassment to PII)

Short answer: define moderation categories for a startup app as seven risk checks, but do not let a category decide the outcome by itself; combine harassment, sexual content, self-harm, violence, illegal activity, spam, and PII with severity, confidence, and the proposed CRM action. # Check Defa...

FinnOakley52947
Read
Your PrestaShop hook renders nothing, and nothing is logged
D
DEV Community · Technology

Your PrestaShop hook renders nothing, and nothing is logged

A module hook that returns an empty string looks exactly like a module hook that was never called. PrestaShop gives you nothing to tell them apart: no error, no log entry, no stack trace, no fallback text. The page renders fine. Your block is just absent. We spent three releases of one module chasi...

MEG Venture & Consulting Ltd.
Read
What a semantic patch can honestly prove about WebAssembly output
D
DEV Community · Technology

What a semantic patch can honestly prove about WebAssembly output

When a coding agent changes a systems program, a source diff is only the beginning of the question. The more useful question is: what exact machine-facing artifacts would this semantic change produce, and can another process independently verify that relationship? That is one of the research probl...

Kevin Riedl
Read
Hub, Switch, and Router — Explained Using a Game of Cricket
D
DEV Community · Technology

Hub, Switch, and Router — Explained Using a Game of Cricket

Networking terms can feel like alphabet soup when you're starting out — Hub, Switch, Router, MAC address, IP address, Subnet Mask — thrown at you all at once, usually with zero real-world context. Here's how I finally made sense of it, using something a lot more familiar: cricket. The Cric...

Enoch Franco
Read
AI Predictions, August 2026
D
DEV Community · Technology

AI Predictions, August 2026

For the past two months or so, I've been working on a variety of AI development projects rather than writing -- writing skills, plugins, workflows, and applications; testing and refining harnesses; and performing diligence or working with clients (hands-on work as well as brains-on work) as they thi...

Keith MacKay
Read
ChatGPT and Gemini Rarely Agree on Top Local Businesses, Study Finds
D
DEV Community · Technology

ChatGPT and Gemini Rarely Agree on Top Local Businesses, Study Finds

AI visibility is not a single score that a business can measure once and treat as settled. A cross-engine study of local-service searches found that ChatGPT and Gemini named the same top business in only 4.2% of identical queries. For small businesses trying to be discovered through AI assistants, t...

Ali Farhat
Read
SPF, DKIM, and DMARC: Why “Valid” Records Still Let Your Domain Be Spoofed
D
DEV Community · Technology

SPF, DKIM, and DMARC: Why “Valid” Records Still Let Your Domain Be Spoofed

Originally published on the Merlonix blog. There are two different questions about your domain's email authentication, and almost every checker answers only the first. The first is do you have SPF, DKIM, and DMARC records — a presence question, a yes/no lookup. The second is do those records actual...

Merlonix
Read
Node.js Passwordless Phone Login: SMS OTP Resend Cooldowns and Attempt Caps
D
DEV Community · Technology

Node.js Passwordless Phone Login: SMS OTP Resend Cooldowns and Attempt Caps

Short answer: a passwordless phone login is a sound fit for a gaming storefront, provided the Express/Node.js backend owns the SMS OTP resend cooldown, maximum verification attempts, and anti-abuse counters rather than accepting any of those decisions from the browser or game client. The page arriv...

IgnatiusCole6932
Read
Measuring AI Search Consistency Beyond Traditional Rank Tracking
D
DEV Community · Technology

Measuring AI Search Consistency Beyond Traditional Rank Tracking

Traditional search measurement is built around a relatively clear question: where does a page rank for a keyword? AI-generated search experiences complicate that question. A business may appear in one answer, be omitted from a closely related prompt, or be described differently when the wording, con...

Ali Farhat
Read
The Lottielab watermark is layer 12345679
D
DEV Community · Technology

The Lottielab watermark is layer 12345679

There is a tool on GitHub called "lottielab-watermark-remover". It is a few lines long. All it does is walk the layers array of a Lottie file and delete the one whose index is 12345679. That single hardcoded number tells you everything about how these watermarks work. Disclosure before we go furthe...

Harsh Pal
Read
How I Found My First CTF Flag Hidden in an Image's Metadata
D
DEV Community · Technology

How I Found My First CTF Flag Hidden in an Image's Metadata

Why I Tried This I've been working through picoCTF's Forensics module lately, and "information" was the very first challenge in it — a beginner-level puzzle meant to ease you into digital forensics. The prompt was simple but a little cryptic: "Files can always be changed in a secret way...

Enoch Franco
Read
What our coverage number did not protect
D
DEV Community · Technology

What our coverage number did not protect

Engrava's test suite had 3,845 tests and 94.22% line coverage. There was more test code in the repository than production code. By every number we had, the thing was well tested. Then we ran a mutation audit over it and found that the suite did not protect a broken concurrency guard, several deleti...

Przemek Marzec
Read
How to test document management software with 20 real files
D
DEV Community · Technology

How to test document management software with 20 real files

Most software evaluations test the happy path. Document systems need a less cooperative fixture set: phone scans, repeated names, signed revisions, office files, and access rules. Build a test set of 20 synthetic or non-sensitive files: clean PDFs and phone scans; invoices, receipts, agreements, an...

Jun
Read
Android SDK for Robot Battery, Power, and Charging Management
D
DEV Community · Technology

Android SDK for Robot Battery, Power, and Charging Management

Android SDK for Robot Battery, Power, and Charging Management In autonomous mobile robotics (AMR) and industrial automation, power lifecycle management is critical. A robot that unexpectedly exhausts its power mid-mission risks operational downtime, physical asset lockups, or safety hazar...

vmodal_ai
Read
Day 31: Stash Keeps What Status Won't Show, and Private Is a Flag, Not a Subnet
D
DEV Community · Technology

Day 31: Stash Keeps What Status Won't Show, and Private Is a Flag, Not a Subnet

Both of today's tasks involved something real that the interface never mentions. Git keeps work in a place that git status will not tell you about. The RDS console wizard builds a resource on your behalf and never says it did. Neither is a bug, and both cost you time the first time you meet them. O...

Nnamdi Felix Ibe
Read

Reading List