DevIdiot!
Make your Node.js APIs bulletproof using TypeScript Decorators đĄď¸
In the world of microservices and distributed systems, network failures are not a matter of "if", but "when". A single failing service can hang your entire application, consuming resources until it crashes.To prevent this, the Circuit Breaker pattern is essential. But let's be honest: implementing it often leads to messy code, with try/catch blocks wrapping every single API call.Today, I want to show you how to solve this elegantly using surge-kit, a lightweight, zero-dependency library I built
Why are registries and node_modules still black boxes in 2025?
Letâs be real: JavaScript package installation hasnât fundamentally changed since 2014. We just stacked tools on top of the same old foundation.node_modules is still a black hole, only faster depending on your PM.Same idea, same problems, same blind trust.The bigger issue isnât npm or pnpm themselves.Itâs that we still have no real visibility into what we install.Registries today are black boxes:you canât see a real file-treethereâs no true version diffmetadata is minimal and inconsistentno clea
NDC Conferences: HTMX & ASP.NET Razor Pages â Web development without the JavaScript pains - Kevin DeRudder
Get ready to ditch the endless JavaScript wrangling: Kevin DeRudderâs NDC Copenhagen talk shows how HTMX teamed with ASP.NET Razor Pages can power modern, interactive web apps without all the frontend bloat. Youâll see how a few HTMX attributes can supercharge Razor Pages, letting you handle AJAX, content swaps and transitions with zero custom JS.Along the way youâll explore a real-world demo that proves cleaner, simpler and more maintainable code is totally possibleâand youâll grab practical ti
The fastest way to start a Mithril + Ionic + Vite project in 2025
Building mobile-ready web applications often involves a heavy stack. You have React, Angular, or Vue combined with a UI framework, and suddenly your bundle size is massive before you've even written a line of code.Enter Mithril.js. It's a modern client-side JavaScript framework for building Single Page Applications. It's small (< 10kb gzip), fast, and provides routing and XHR utilities out of the box.Combine that with Ionic Framework for native-like UI components and Vite for instant dev serv
Making dynamic UIs accessible with ARIA live regions
If your UI updates content dynamically â form errors, loading states, search results, âsaved!â messages â screen reader users wonât automatically know that something changed. Unless you tell them.This is where ARIA Live Regions come in. What ARIA Live Regions actually do**A live region is an invisible area in the DOM that screen readers monitor.When the text inside it changes, it gets announced automatically.The two attributes youâll use most often:aria-live="polite" â announce when the scr
How useEffect Works Behind the Scenes in React
You've probably used useEffect hundreds of times by now. Maybe you've even mastered the dependency array dance (we've all been there). But here's something that might surprise you. Have you ever stopped to wonder what actually happens when React sees that useEffect call? If you've read about how useState works under the hood, you'll recognize some familiar patterns in the fiber architecture that powers both hooks.I'll be honest with you. It's way more fascinating than you might think. React does
NDC Conferences: HTMX & ASP.NET Razor Pages â Web development without the JavaScript pains - Kevin DeRudder
HTMX & ASP.NET Razor Pages â Web development without the JavaScript painsTired of endless JavaScript just to make a button click work? In this NDC Copenhagen session, Kevin DeRudder shows how pairing HTMX with ASP.NET Razor Pages lets you build modern, interactive web apps without the usual JS bloat. Youâll see how HTMXâs simple attributes handle AJAX requests, DOM swaps, and transitions so you donât have to write a line of vanilla JavaScript, and walk through a real-world example of
Why top firms fire good workers
<a href="https://news.ycombinator.com/item?id=45999872">Comments</a>
Calculate Your Personal Voltage from Binary
I can home today and made a fun thing. Here is said fun thing....B1T-0-RAMAIt offers a fun place to understand number system conversions better.It also calculates your personal voltage. What is that?The letters in your name are converted to binary.Each byte's voltage is calculated bit by bit. We get the sum of all the voltages.We devide the total voltage by the number of bits.We return that number as your "average voltage".It's both fun and can be educational.I am 1.55V. How about you?
Over-regulation is doubling the cost
<a href="https://news.ycombinator.com/item?id=45999038">Comments</a>
Build an award Winning 3D Website with scroll-based animations | Next.js, three.js & GSAP
If you wish to go through this tutorial on YouTube please visit this linkđđđ Building a 3D Earth Hero Section in Next.js, Three.js, and GLSLIf you want your portfolio or product site to be remembered, a flat hero section is not always enough. A small 3D moment that feels alive can quickly turn a generic page into something people talk about.In the video, we build a fully interactive 3D Earth hero section with:Next.js (App Router)React and TypeScriptThree.jsCustom GLSL shaders for day, night
NDC Conferences: HTMX & ASP.NET Razor Pages â Web development without the JavaScript pains - Kevin DeRudder
HTMX and ASP.NET Razor Pages team up to help you build modern, interactive web apps without drowning in JavaScript. HTMX plugs right into Razor Pages, letting you handle AJAX requests, swaps, and transitions with almost no extra codeâkeeping your project clean and maintainable.In this NDC Copenhagen session, youâll see real-world examples of ditching heavy frontend frameworks, speeding up development, and still getting all the bells and whistles of a dynamic web app. Say hello to simpler, faster
GitHut â Programming Languages and GitHub (2014)
<a href="https://news.ycombinator.com/item?id=45998047">Comments</a>
Build a Real-time TikTok Analytics Dashboard with Next.js
Stop scraping. Start building.In this tutorial, we're going to build a simple but powerful dashboard that tracks TikTok user stats in real-time.We'll use:Next.js (App Router)Tailwind CSS (Styling)SociaVault API (Data fetching)Recharts (Visualization)By the end, you'll have a dashboard that takes a username (e.g., khaby.lame) and displays their follower growth, engagement rates, and top videos. Prerequisites Node.js installed. A SociaVault API Key (Get a free one). Step 1: Setup the Pro
New Glenn Update
<a href="https://news.ycombinator.com/item?id=45997914">Comments</a>
New OS aims to provide (some) compatibility with macOS
<a href="https://news.ycombinator.com/item?id=45997212">Comments</a>
CBP is monitoring US drivers and detaining those with suspicious travel patterns
<a href="https://news.ycombinator.com/item?id=45996860">Comments</a>
DepShield: Cut Your Node.js Bundle Size by 30-40% in 5 Seconds
DepShield: Cut Your Node.js Bundle Size by 30-40% in 5 Seconds The Problem We All FaceYour Node.js projects accumulate unused dependencies like technical debt. A typical codebase with 145+ files? You probably have 3-5 packages sitting there doing nothing.What this costs you:đŚ 30-40% bloated bundle sizesđ Slower CI/CD pipelines & Lambda cold startsđ More security vulnerabilities to patchđ° Wasted disk space and bandwidthLast week, I built DepShield to solve this problem once and for
Data-at-Rest Encryption in DuckDB
<a href="https://news.ycombinator.com/item?id=45996585">Comments</a>
NTSB Preliminary Report â Ups Boeing MD-11F Crash [pdf]
<a href="https://news.ycombinator.com/item?id=45995834">Comments</a>