All
Articles 132,867Blog Posts 137,414Tech Tutorials 34,436Research Papers 25,938News 18,833
⚡ AI Lessons

Dev.to · Anand Rathnas
⚡ AI Lesson
2d ago
Testing Cloudflare Workers Without Cloudflare: A Vitest Setup That Actually Works
3,059 lines of Cloudflare Worker tests using Vitest and vi.stubGlobal, no miniflare required. Here's why lightweight unit tests catch the bugs that matter.

Dev.to · Anand Rathnas
🔧 Backend Engineering
⚡ AI Lesson
5d ago
Why Auth0 E2E Tests Fail After Login: The localStorage Race Condition
14 lines fixed a maddening flaky test. Auth0 SPA SDK writes tokens to localStorage after handleRedirectCallback(), but Playwright snapshots state before the wri

Dev.to · Anand Rathnas
1w ago
Setting Up E2E Tests with Playwright + Auth0: The 5 Things That Took Longer Than the Tests Themselves
We deleted 10,000 lines of Terraform and added 1,637 lines of Playwright E2E tests. Here are the 5 things that took longer than writing the actual tests.

Dev.to · Anand Rathnas
1w ago
The Race Condition Between Bid Acceptance and Partnership Activation
A brand clicks 'Accept' on a bid, but the bid stays in SUBMITTED state. The root cause: notification failures were rolling back the entire transaction.

Dev.to · Anand Rathnas
2w ago
Why We Silently Drop Clicks for Paused Campaigns (Instead of Returning 404)
Two endpoints, two opposite behaviors for inactive campaigns — and both are correct. Here's why pixel tracking returns 200 while postbacks return 400.

Dev.to · Anand Rathnas
📣 Digital Marketing & Growth
⚡ AI Lesson
2w ago
Adding FTC Disclosure Gates to Our Affiliate Platform (And Why Server-Side Beats Client-Side)
235 lines of changes to add FTC disclosure acknowledgment as a server-side gate. Small diff, legally critical. Here's why a checkbox isn't enough.

Dev.to · Anand Rathnas
🏗️ Systems Design & Architecture
⚡ AI Lesson
2w ago
State Machines for Bid Negotiations: Modeling Offers, Counters, and Rejections
How we modeled bid negotiations as a state machine with display priority, bid templates, and a security fix for a timing-attack oracle. 1,782 lines of tests.

Dev.to · Anand Rathnas
3w ago
Building an Affiliate Marketplace from Scratch: 14 Tables, 27 Services, Zero Money Movement
How we built a full affiliate marketplace with Stripe Connect integration where jo4 never holds or moves a single dollar. 14 database tables, 27 services, 81 te

Dev.to · Anand Rathnas
⚡ AI Lesson
3w ago
From 30-Second Polling to Real Push Notifications
Our mobile app hammered the server every 30 seconds for notifications. We ripped it out and built direct FCM + APNs push. Here's every step.

Dev.to · Anand Rathnas
💻 AI-Assisted Coding
⚡ AI Lesson
3w ago
I Made Claude Code Ding When It's Done (And It Changed My Workflow)
A 5-line config that plays a sound notification when Claude Code finishes a task or needs your input. Tiny hack, massive quality-of-life upgrade.

Dev.to · Anand Rathnas
🤖 AI Agents & Automation
⚡ AI Lesson
4w ago
We Built a 2048 Clone, Then Taught It to Play Itself
How we built a tile-merging game with level-ups, marshmallow animations, and an AI autoplay that uses expectimax search with corner-lock strategy.

Dev.to · Anand Rathnas
📣 Digital Marketing & Growth
⚡ AI Lesson
1mo ago
How to Generate Printable Calendar PDFs (Free, No Signup, Works Offline)
Need a custom printable calendar? Our free PDF generator has year, month, and weekly views with day filtering. No signup, no ads, works offline.

Dev.to · Anand Rathnas
📣 Digital Marketing & Growth
⚡ AI Lesson
1mo ago
We Built a Referral Program Tool Inside Our URL Shortener. Here's Why.
Referral marketing tools start at $29/mo and don't include link tracking. We already had the link infrastructure. So we built Referral Kit.

Dev.to · Anand Rathnas
📣 Digital Marketing & Growth
⚡ AI Lesson
1mo ago
RevenueCat Integration for Indie SaaS: The Apple Tax Nobody Prepares You For
You already have Stripe working perfectly. Then Apple says your mobile app needs IAP. Here's how I integrated RevenueCat with a Spring Boot backend without losi

Dev.to · Anand Rathnas
📣 Digital Marketing & Growth
⚡ AI Lesson
2mo ago
CDN Cache Invalidation: Why Deleted URLs Still Redirect (And How We Fixed It)
You deleted the URL. Redis says it's gone. But users click it and still get redirected. The culprit: stale Cloudflare CDN cache that nobody told to purge.

Dev.to · Anand Rathnas
📣 Digital Marketing & Growth
⚡ AI Lesson
2mo ago
How to Track Link Clicks with Meta Pixel for Facebook Retargeting
Fire Meta Pixel on every short link click without touching your destination site. Perfect for affiliate marketers and advertisers.

Dev.to · Anand Rathnas
2mo ago
One Push, Two App Stores: Parallel iOS and Android Builds with GitHub Actions
Our mobile CI/CD went from 'push to Play Store' to 'push to both stores simultaneously' with parallel EAS builds. Here's the workflow.

Dev.to · Anand Rathnas
📣 Digital Marketing & Growth
⚡ AI Lesson
2mo ago
Why We Removed Ads from Our Free Tools (And Put Them Only on Blog Posts)
We added AdSense to every page. Conversions dropped. Here's why utility pages and ads don't mix, and where ads actually make sense.

Dev.to · Anand Rathnas
📣 Digital Marketing & Growth
⚡ AI Lesson
2mo ago
The Auth0 Pricing Trap: Why Upgrading to Paid Gives You Less
Auth0's free tier includes 25,000 MAU. Their paid Essentials plan starts at 500 MAU. Yes, you read that right. Here's how to think about Auth0 pricing as a star

Dev.to · Anand Rathnas
🔧 Backend Engineering
⚡ AI Lesson
2mo ago
3 Auth Bugs We Shipped to Production (Spring + Auth0)
A 405 from bot scanners, a filter ordering misfire, and a race condition in user creation. All in one commit. Here's what went wrong.

Dev.to · Anand Rathnas
🔐 Cybersecurity
⚡ AI Lesson
2mo ago
The One-Character OAuth Bug That Broke Our API
Our OAuth scope parsing worked in tests but failed in production. A comma vs a space broke Pipedream. Here's the fix.

Dev.to · Anand Rathnas
⚡ AI Lesson
3mo ago
The Idempotency Bug That Spammed dev.to's API for Weeks
Our dev.to sync tool republished unchanged articles daily. The root cause: comparing updatedAt against published_at instead of edited_at.

Dev.to · Anand Rathnas
📣 Digital Marketing & Growth
⚡ AI Lesson
3mo ago
Why Safari Said 'Link Not Found' (And Chrome Didn't)
Our URL shortener showed 'Link Not Found' on Safari but worked fine on Chrome. The root cause: a browser-level JS execution difference.

Dev.to · Anand Rathnas
📣 Digital Marketing & Growth
⚡ AI Lesson
4mo ago
5 Hard Lessons from Implementing Zapier OAuth in Spring Boot
Three days to get a 'simple' OAuth integration working with Zapier. Here's what I learned about filter chains, race conditions, and PKCE.
DeepCamp AI