📰 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

Dev.to · Gabriel Anhaia
🔧 Backend Engineering
⚡ AI Lesson
14h ago
10 Go Mistakes That Survive Code Review (2026 Edition)
The 10 subtle Go bugs that pass go vet, pass tests, and ship to production. Updated for Go 1.26: no loop-variable retreads, no nil-map filler, just the mistakes

Dev.to · Gabriel Anhaia
🔧 Backend Engineering
⚡ AI Lesson
14h ago
Go Generics, 4 Years In: The 3 Cases Where They're the Right Answer
Generics shipped in Go 1.18. Four years later, the Go team has quietly written the best style guide that exists: the standard library itself. Here's what they g

Dev.to · Gabriel Anhaia
⚡ AI Lesson
14h ago
The 5 Ways Go Developers Misuse context.Context
A ctx parameter your function never reads from is worse than no ctx at all. The five context mistakes that pass code review, and what correct usage looks like i

Dev.to · Gabriel Anhaia
⚡ AI Lesson
14h ago
Goroutine Leaks in Go: The 4 Patterns and the New Profile in Go 1.26
Go 1.26 shipped a built-in goroutine leak profile almost nobody's talking about. Here's how it works, the 4 structural patterns that cause most leaks, and which

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

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.

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

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.

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.

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.

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

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

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

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

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

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

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

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-

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'

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.

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.

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.

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.

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.
DeepCamp AI