Cada vez más pymes reciben preguntas sobre sostenibilidad que no saben por dónde contestar: un cliente grande que pide datos ESG para su cadena de suministro, una convocatoria que valora tener el Registro SIR de la Comunitat Valenciana, o el…
Solid 2 brings a new reactivity system. In the announcement, Ryan Carniato writes: Today signals are everywhere. Well, let's see how it turned out. Benchmarks We'll use this benchmark to test how well each implementation avoids unnecessary work in a…
Originally published on berkant.me. gpucanvas is an open-source TypeScript library that puts thousands of live DOM nodes on an infinite canvas. The GPU draws them. An editor selects, moves and resizes them. WGSL shaders and transitions run on them.…
A video player is an important part of many modern web applications, from online learning platforms and entertainment websites to live-streaming services. While the HTML5 <video> element provides basic playback functionality, React makes it easier…
You can build a working speedometer with nothing but a web page and the Geolocation API. Getting a number on screen takes ten lines. Getting a number people trust takes a bit more. Here's what fills the gap between the two. 1. Start with…
How code-trace works: highlighting evaluated expressions and showing their values alongside your code. Originally published on my blog. Read the original article. I wanted to see which expressions were evaluated and what values they produced, right…
JavaScript continues to evolve, giving developers new ways to build modern, efficient, and maintainable applications. However, adopting the latest ECMAScript features does not automatically make an application better. Developers must understand…
PubTrivia has 50 direct dependencies across its web app. I ran pnpm outdated, then dated every installed version and every current version against the npm registry, so "behind" could be a number of days rather than a feeling. The result in one line:…
A music player is a good test for an AI coding agent, because it cannot fake the result. Either sound comes out when you press play, or it does not. So I opened an empty folder, typed one paragraph, and let the agent work. Six and a half minutes…
PubTrivia's team name generator shows six names and a button that says "Six more". It is about twenty lines of logic over a static list, which makes it the smallest thing on the site worth measuring properly, and the measurement says two different…
new Date() in a React server component is evaluated when the page renders. On a statically prerendered page, that is build time. PubTrivia's footer knows this, because the comment above it says so: new Date() in a server component is evaluated when…
PubTrivia's poster maker builds an A4 quiz night poster in the browser and hands you a PDF. Leave the QR field empty and the file is 4,409 bytes. Type a web address into it and the same poster is 1,085,526 bytes. That is 246 times larger for one…
Example tests check the cases you thought of. Property-based tests check the cases you did not, and that is exactly where many production bugs live. Why Example Tests Only Cover Your Imagination Most of us write tests the same way. We pick an input,…
Originally published on opencals.com. The original stays updated; check it for the latest version. Adding booking to an app looks like a weekend project until you start. Real-time availability across staff and locations, cart state that survives a…
You flip on output: "standalone" to shrink the Docker image, the container starts, the HTML arrives — and the page is completely unstyled. Every /_next/static/css/....css and /_next/static/chunks/....js request 404s, while next dev on your laptop…
When building a physical product like a driveway or a patio, the most common failure point isn't the manual labor—it's the procurement math. Most developers or DIYers struggle with the "unit soup" of construction: mixing inches, feet, cubic yards,…
How We Built 'The Travel Tales': High-Performance Travel Publishing with Next.js 15 & React Originally engineered by Kahol Labs — Live Platform: thetraveltales.kahollabs.in The modern web is inundated with travel blogs that have succumbed to ad-tech…
Most unit converters get away with a single constant: 5,280 feet in a mile, 2.54 cm in an inch. Indian land units break that assumption. The bigha, still common in land deals across north and east India, has a different size depending on the state,…
Feet to miles looks like the easiest converter you could build: divide by 5,280 and you are done. Then someone types 13 feet, swaps the direction, and gets 12.999999999999998 back. Here is what goes wrong, and a few small habits that keep a unit…
By MD Fozla Rabbi, SEO Specialist Admins of Filipino Facebook groups love the member count. But a group with 8,000 members and three comments a week is basically a ghost town. Here's a tiny Node.js script that turns a weekly activity log into a few…