48 articles

📰 Dev.to · Gabriel Anhaia

Articles from Dev.to · Gabriel Anhaia · 48 articles · Updated every 3 hours · View all reads

All ⚡ AI Lessons (10230) ArXiv cs.AIDev.to · FORUM WEBDev.to AIForbes InnovationOpenAI NewsHugging Face Blog
pprof in 15 Minutes: The Go Profiling Walkthrough That Doesn't Skip the Hard Parts (Go 1.26)
Dev.to · Gabriel Anhaia 🔧 Backend Engineering ⚡ AI Lesson 14h ago
pprof in 15 Minutes: The Go Profiling Walkthrough That Doesn't Skip the Hard Parts (Go 1.26)
CPU, heap, mutex, and the new goroutine leak profile in Go 1.26. How to capture them, how to read them, and the three profile shapes you'll actually see in prod
Stop Passing *sql.Tx Through Your Go Service Layer
Dev.to · Gabriel Anhaia 3d ago
Stop Passing *sql.Tx Through Your Go Service Layer
When your service needs to save an order AND reserve inventory atomically, reaching for *sql.Tx breaks everything. Here's the Go-native alternative.
The Dependency Rule: One Import Statement Will Tell You If Your Go Architecture Is Broken
Dev.to · Gabriel Anhaia 3d ago
The Dependency Rule: One Import Statement Will Tell You If Your Go Architecture Is Broken
If your domain package imports database/sql, your architecture has a hole. Here's the one rule that holds hexagonal architecture together — and how to enforce i
Testing a Go Service in Microseconds: The Hexagonal Testing Strategy
Dev.to · Gabriel Anhaia 3d ago
Testing a Go Service in Microseconds: The Hexagonal Testing Strategy
Three layers, three strategies. Domain tests with no infrastructure. Adapter tests with httptest. Integration tests for wiring. Here's the playbook.
Go Interfaces Are Ports: The Language Feature That Makes Clean Architecture Free
Dev.to · Gabriel Anhaia 3d ago
Go Interfaces Are Ports: The Language Feature That Makes Clean Architecture Free
In Java you need a DI framework to decouple layers. In Go, implicit interfaces do it for you — if you know where to define them.
Hexagonal Architecture in Go: Why Your Service's Business Logic Should Know Nothing About HTTP
Dev.to · Gabriel Anhaia 3d ago
Hexagonal Architecture in Go: Why Your Service's Business Logic Should Know Nothing About HTTP
Most Go services start clean and rot within a year. Hexagonal architecture fixes that — and Go's implicit interfaces make it feel native, not bolted on.
Your Vulnerability Scanner Was the Vulnerability: 4 Projects Backdoored in 8 Days
Dev.to · Gabriel Anhaia 1w ago
Your Vulnerability Scanner Was the Vulnerability: 4 Projects Backdoored in 8 Days
Between March 19-27, 2026, attackers compromised Trivy, KICS, LiteLLM, and Telnyx with the SANDCLOCK credential stealer. The security tools meant to protect pip
Coinbase Fired Engineers Who Didn't Learn AI in Five Days. The Industry Barely Flinched.
Dev.to · Gabriel Anhaia 1w ago
Coinbase Fired Engineers Who Didn't Learn AI in Five Days. The Industry Barely Flinched.
Brian Armstrong's one-week AI ultimatum ended careers. The 33% AI code metric hides more than it reveals. And every engineering org should be paying attention t
They Forced a Junior to Use AI. Then Fired Him for the Bugs It Wrote.
Dev.to · Gabriel Anhaia 1w ago
They Forced a Junior to Use AI. Then Fired Him for the Bugs It Wrote.
A startup mandated AI coding tools, a junior shipped what the tools produced, and leadership handed him a termination letter. Reddit lost its mind. The real fai
Cursor 3 Is Silently Deleting Code, Draining Wallets, and Swapping Models Behind Closed Doors
Dev.to · Gabriel Anhaia 1w ago
Cursor 3 Is Silently Deleting Code, Draining Wallets, and Swapping Models Behind Closed Doors
Cursor 3 shipped agent mode with a silent code revert bug, runaway billing, and undisclosed model sourcing. A breakdown of what's broken, what it costs, and how
A North Korean Backdoor Lived Inside Axios for 3 Hours. Millions of Pipelines Pulled It.
Dev.to · Gabriel Anhaia 1w ago
A North Korean Backdoor Lived Inside Axios for 3 Hours. Millions of Pipelines Pulled It.
On March 31, 2026, a state-sponsored attacker pushed malware through axios — npm's most popular HTTP client. Here's the full technical breakdown, the exact comp
GitHub Starts Training AI on Your Private Code April 24 — Here's How to Stop It
Dev.to · Gabriel Anhaia 1w ago
GitHub Starts Training AI on Your Private Code April 24 — Here's How to Stop It
GitHub flipped a default-on switch that feeds Copilot interaction data from Free, Pro, and Pro+ users into AI training. The deadline to opt out is April 24, 202
52,050 Layoffs Based on Vibes: The Math Behind AI-Driven Workforce Cuts Doesn't Add Up
Dev.to · Gabriel Anhaia 1w ago
52,050 Layoffs Based on Vibes: The Math Behind AI-Driven Workforce Cuts Doesn't Add Up
HBR confirmed what engineers suspected: companies are firing developers for AI's potential, not performance. Here's the data they're ignoring and the code AI st
Open Source in 2026: The Fork Wars Are Getting Ugly
Dev.to · Gabriel Anhaia 1w ago
Open Source in 2026: The Fork Wars Are Getting Ugly
LibreOffice purges developers, Euro-Office triggers AGPL lawsuits, HashiCorp sics IBM's lawyers on OpenTofu, Redis goes through three license changes. The open-
A Jury Found Meta and Google Liable for Addictive Design. Here's What That Looks Like in Code.
Dev.to · Gabriel Anhaia 1w ago
A Jury Found Meta and Google Liable for Addictive Design. Here's What That Looks Like in Code.
The engagement patterns you ship every sprint, infinite scroll, autoplay, notification timing, just became legal liability. A look at what 'addictive by design'
Anthropic's Caching Bug Turned Claude Code Into a Token Furnace — Here's What Actually Happened
Dev.to · Gabriel Anhaia 1w ago
Anthropic's Caching Bug Turned Claude Code Into a Token Furnace — Here's What Actually Happened
Two caching bugs and zero transparency turned a $200/month plan into a 48-hour experiment. Here's what broke and what it means for AI billing.
The Night an AI Agent DROP TABLE'd Production (And Why It'll Happen Again)
Dev.to · Gabriel Anhaia 1w ago
The Night an AI Agent DROP TABLE'd Production (And Why It'll Happen Again)
A developer said 'clean this up.' The AI agent heard 'DELETE FROM everything.' Real incidents, real code, and the defensive patterns that might save your data.
AI-Generated Code Has 1.7x More Bugs Than Human Code. Here's What Those Bugs Actually Look Like.
Dev.to · Gabriel Anhaia 1w ago
AI-Generated Code Has 1.7x More Bugs Than Human Code. Here's What Those Bugs Actually Look Like.
CodeRabbit's data confirms AI code ships more defects. But the numbers alone don't tell the story. The code examples do.
Apple Is Kicking Vibe Coding Apps Off the App Store. The Reason Isn't Security.
Dev.to · Gabriel Anhaia 1w ago
Apple Is Kicking Vibe Coding Apps Off the App Store. The Reason Isn't Security.
Apple quietly started rejecting Replit, Vibecode, and other AI coding apps. The official excuse is Guideline 2.5.2. The actual reason is money.
AI Coding Tools Are Making Developers Dumber. The Data Agrees.
Dev.to · Gabriel Anhaia 1w ago
AI Coding Tools Are Making Developers Dumber. The Data Agrees.
Developers accept 40-60% of AI suggestions without thinking. Debugging skills are rotting. Junior devs never build foundations. Here's the data.