AuthonAuthon Blog
All articles

#javascript

41 articles tagged with “javascript

Why your browser multitrack audio drifts out of sync (and how to fix it)
debugging

Why your browser multitrack audio drifts out of sync (and how to fix it)

Multitrack audio playback in the browser drifts because <audio> elements don't share a clock. Here's how to use the Web Audio API to fix it.

webaudiojavascriptwebdev
How to do partial page updates without shipping a framework
debugging

How to do partial page updates without shipping a framework

Native partial DOM updates are surprisingly hard. Here's why libraries like HTMX exist, what Chrome is reportedly exploring, and how to handle it cleanly today.

webdevhtmljavascript
Fixing yt-dlp Errors When Your JS Interpreter Gets Deprecated
debugging

Fixing yt-dlp Errors When Your JS Interpreter Gets Deprecated

yt-dlp deprecated Bun as a JS interpreter and your scripts may be silently broken. Here's how to debug runtime selection and pin a known-good engine.

webdevjavascriptdevops
How to Safely Trigger API Calls from an Email Link
debugging

How to Safely Trigger API Calls from an Email Link

A practical guide to triggering API actions from email links using HMAC-signed URLs, plus the link-prefetch trap that silently auto-clicks them.

webdevjavascriptsecurity
How to Fix Slow Page Loads Caused by Third-Party Scripts
debugging

How to Fix Slow Page Loads Caused by Third-Party Scripts

When third-party scripts wreck your Core Web Vitals, here's how to find the worst offenders and fix the slowdown without rewriting your app.

webperfjavascriptfrontend
Why 'x time ago' is broken everywhere and how to actually fix it
debugging

Why 'x time ago' is broken everywhere and how to actually fix it

Relative timestamps like '2 hours ago' have been quietly breaking across the web. Here's the root cause and a step-by-step fix using Intl.RelativeTimeFormat.

webdevjavascriptfrontend
Why your LLM SSE stream dies after 60 seconds (and how to actually fix it)
debugging

Why your LLM SSE stream dies after 60 seconds (and how to actually fix it)

LLM streaming responses cutting off after 60 seconds? The culprit is rarely the model — it's the proxy chain. Here's the root cause and a working fix.

webdevaidevops
PoC Repos Are Underrated: Why Every Dev Should Read Exploit Code
tutorial

PoC Repos Are Underrated: Why Every Dev Should Read Exploit Code

Why reading proof-of-concept exploit repos like v12-security/pocs makes you a better backend developer — and how to do it safely.

securitywebdevdevops
Why npm supply chain attacks keep happening and how to harden your installs
debugging

Why npm supply chain attacks keep happening and how to harden your installs

Practical defenses against npm supply chain attacks: disable install scripts, use npm ci, audit lockfiles, verify provenance, and contain the blast radius.

npmsecurityjavascript
How to Catch Hallucinated Dependencies Before They Break Production
debugging

How to Catch Hallucinated Dependencies Before They Break Production

Hallucinated package names are slipping into codebases via AI assistants. Here's how to catch fake dependencies before they reach production.

securityjavascriptdevops
How to fix slow JavaScript builds before reaching for a Rust rewrite
debugging

How to fix slow JavaScript builds before reaching for a Rust rewrite

A practical guide to debugging slow JavaScript builds before rewriting your toolchain. Profile first, find the real bottleneck, then fix it.

javascriptperformancewebdev
How to fix native module errors when switching JavaScript runtimes
debugging

How to fix native module errors when switching JavaScript runtimes

Native modules silently break when you switch JavaScript runtimes. Here's how to diagnose ABI mismatches and rebuild safely without losing a weekend.

javascriptnodejsdebugging
Why your Node.js memory keeps climbing in production (and how to find the leak)
debugging

Why your Node.js memory keeps climbing in production (and how to find the leak)

A practical guide to diagnosing and fixing memory leaks in Node.js production services using heap snapshots, with concrete code examples.

nodedebuggingperformance
How to stop rewriting your storage layer every time you switch providers
debugging

How to stop rewriting your storage layer every time you switch providers

A practical pattern for decoupling your app from object-storage vendors using a small adapter interface and web-standard I/O primitives.

webdevjavascripttypescript
Why your async user-creation endpoint silently produces duplicates
debugging

Why your async user-creation endpoint silently produces duplicates

A real-world walkthrough of a TOCTOU race condition in an async user-creation endpoint, with three layered fixes and a prevention checklist.

webdevjavascriptpostgres
Why your fetch requests hang forever (and how to actually fix it)
debugging

Why your fetch requests hang forever (and how to actually fix it)

Bare fetch() has no timeout, so a stalled upstream can hang your app forever. Here's how to fix it with AbortSignal.timeout and sensible retries.

javascriptwebdevdebugging
Why Google reCAPTCHA is breaking your site (and how to actually replace it)
debugging

Why Google reCAPTCHA is breaking your site (and how to actually replace it)

Google reCAPTCHA can silently break your signup flow. Here's how to diagnose the failure and replace it with a proof-of-work challenge you control.

webdevsecurityjavascript
Bun, Zig, and Rust: What the Rewrite Rumor Means for Your Stack
comparison

Bun, Zig, and Rust: What the Rewrite Rumor Means for Your Stack

Looking at the reported Bun Zig-to-Rust rewrite, what it would mean for the runtime in practice, and the broader Zig vs Rust tradeoffs.

bunrustzig
Debugging the 0.2%: When Node.js Code Fails on Alternative Runtimes
debugging

Debugging the 0.2%: When Node.js Code Fails on Alternative Runtimes

Migrating to an alternative JavaScript runtime and most of your code works? Here's how to debug the small percentage of Node APIs that don't.

javascriptnodedebugging
Why Every Website Wants to Access Your Local Network (And What to Do About It)
debugging

Why Every Website Wants to Access Your Local Network (And What to Do About It)

Chrome's Private Network Access is blocking your local API calls. Here's why it exists, how the CORS preflight works, and three ways to fix it.

webdevsecuritybrowsers
AI-Generated Auth Code vs Managed Auth Services: A Honest Comparison
comparison

AI-Generated Auth Code vs Managed Auth Services: A Honest Comparison

Comparing AI-generated auth code vs managed services like Auth0, Clerk, and Authon. Real code examples and honest tradeoffs for each approach.

webdevauthenticationjavascript
Auth0 vs Clerk vs Authon: Picking Auth for Your Vibe-Coded Project
comparison

Auth0 vs Clerk vs Authon: Picking Auth for Your Vibe-Coded Project

Comparing Auth0, Clerk, and Authon for authentication in AI-assisted vibe coding projects — pricing, SDKs, DX, and honest tradeoffs.

webdevjavascriptsecurity
How to Build Smooth Loading Animations Using Parametric Curves
debugging

How to Build Smooth Loading Animations Using Parametric Curves

Learn how to replace boring CSS spinners with smooth, organic loading animations using parametric curves like Lissajous equations and SVG animateMotion.

webdevcssjavascript
Plain Text Auth Config vs Managed Services: When to DIY and When to Delegate
comparison

Plain Text Auth Config vs Managed Services: When to DIY and When to Delegate

Comparing DIY plain text auth config against managed services like Auth0, Clerk, and Authon — with real code examples and honest tradeoffs.

authenticationwebdevsecurity
How to Fix an Over-Engineered Frontend (When Plain HTML Was Enough)
debugging

How to Fix an Over-Engineered Frontend (When Plain HTML Was Enough)

Diagnose when your frontend framework is overkill and learn how to simplify with native HTML, CSS, and server-side rendering.

webdevhtmljavascript
How to Run a 1.7B Parameter LLM in Your Browser With WebGPU
debugging

How to Run a 1.7B Parameter LLM in Your Browser With WebGPU

Learn how 1-bit quantized LLMs like Bonsai 1.7B fit in 290MB and run locally in your browser using WebGPU compute shaders.

webgpumachinelearningwebdev
Building a Browser Game Where You Fly Through a Forest (It's Easier Than You Think)
tutorial

Building a Browser Game Where You Fly Through a Forest (It's Easier Than You Think)

A Reddit GIF of a bird flying through a forest went viral. Here's how to build a browser game like it using Canvas API and vanilla JavaScript.

gamedevjavascriptwebdev
Why Your WebSocket Connections Keep Dropping (and How to Fix Them)
debugging

Why Your WebSocket Connections Keep Dropping (and How to Fix Them)

WebSocket connections drop silently in production. Here's a step-by-step fix using heartbeats, exponential backoff, and the Visibility API.

webdevjavascriptwebsocket
Traditional Map Controls vs Hand Gesture Navigation: A Practical Comparison
comparison

Traditional Map Controls vs Hand Gesture Navigation: A Practical Comparison

Comparing traditional map controls with gesture-based hand tracking navigation — when each approach makes sense and how to implement both.

javascriptwebdevmaps
Rust+WASM+WebGL vs React+Three.js: When Going Framework-Free Actually Makes Sense
comparison

Rust+WASM+WebGL vs React+Three.js: When Going Framework-Free Actually Makes Sense

Comparing Rust+WASM+raw WebGL against React+Three.js for real-time 3D web apps. When does going framework-free actually pay off?

webassemblyrustwebgl
How to Fix the Mess When Vibe-Coded Projects Fall Apart
debugging

How to Fix the Mess When Vibe-Coded Projects Fall Apart

When vibe-coded projects break down, here's how to diagnose the mess, fix state spaghetti, eliminate duplication, and build maintainable code going forward.

webdevjavascriptprogramming
React 20 Is Coming. Here's What Actually Matters (and What Doesn't).
tutorial

React 20 Is Coming. Here's What Actually Matters (and What Doesn't).

React 20 is in development. Heres whats actually worth caring about and what you can safely ignore.

reactjavascriptfrontend
We Moved Our API from Node to Bun. Here's What Broke (and What Got 3x Faster).
tutorial

We Moved Our API from Node to Bun. Here's What Broke (and What Got 3x Faster).

We moved our production API from Node.js to Bun. Some things broke, some got 3x faster. Heres the honest breakdown.

bunnodejsjavascript
axios Got Hacked. If You Ran npm install Yesterday, Read This Now.
tutorial

axios Got Hacked. If You Ran npm install Yesterday, Read This Now.

axios. The HTTP client thats in basically every JavaScript project on earth. 100 million weekly downloads. Present in roughly 80% of cloud environment

securitynpmsupplychain
Your npm Package Is Leaking Source Code (And You Probably Don't Know It)
debugging

Your npm Package Is Leaking Source Code (And You Probably Don't Know It)

Source maps in npm packages can expose your entire original source code. Learn how to detect, prevent, and fix source map leaks in your packages.

npmjavascriptsecurity
Your Node.js App Uses 1,000,000x More RAM Than Voyager 1. Fix It.
debugging

Your Node.js App Uses 1,000,000x More RAM Than Voyager 1. Fix It.

Debug and fix Node.js memory leaks with heap snapshots, bounded caches, and proper listener cleanup — inspired by Voyager 1's 69 KB constraint.

nodejavascriptperformance
Auth0 vs Clerk vs Authon: Migrating Your Auth Layer in 2026
comparison

Auth0 vs Clerk vs Authon: Migrating Your Auth Layer in 2026

A practical comparison of Auth0, Clerk, and Authon for developers evaluating auth providers in 2026, with real migration steps and honest tradeoffs.

authenticationwebdevjavascript
Why Your Video Player Is Bloating Your Bundle (and How to Fix It)
debugging

Why Your Video Player Is Bloating Your Bundle (and How to Fix It)

Video.js v10 beta dropped an 88% size reduction. Here's why the old version was bloated and how to migrate to the leaner rewrite.

javascriptwebdevvideojs
I Haven't Opened the npm Website in Months. Here's How.
tutorial

I Haven't Opened the npm Website in Months. Here's How.

There's a special kind of friction that comes from typing `npm publish`, getting a 2FA prompt, fumbling for your phone, missing the 30-second window,

mcpnpmjavascript
I Haven't Opened the npm Website in Months. Here's How.
tutorial

I Haven't Opened the npm Website in Months. Here's How.

There's a special kind of friction that comes from typing `npm publish`, getting a 2FA prompt, fumbling for your phone, missing the 30-second window,

mcpnpmjavascript
Why Your Loop Runs Forever (and How to Actually Debug It)
debugging

Why Your Loop Runs Forever (and How to Actually Debug It)

Walk through the most common causes of infinite loops, from off-by-one errors to floating point traps, with step-by-step debugging techniques and prevention patterns.

debuggingjavascriptpython
Articles tagged "javascript" | Authon Blog