Simulations test DoubleML against Kennedy's doubly robust estimator, with partial pooling across 200 stores and a DiD fix for hidden confounders. The post How to Estimate Dose-Response Curves When DoubleML Falls Short…
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…
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…
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…
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…
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…
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…
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.…
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…
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…
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…
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…
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…
Have a long Python string , and want to display it nicely? With Rich’s console, you can set the width or justification: from rich.console import Console c = Console() c.print(text, width=50) c.print(text, width=50,…
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…
I'm using QDoubleValidator with a QLineEdit in PyQt6, but the validator allows a comma as the decimal separator instead of a point (dot). How can I force the decimal separator to be a point? When you use…
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…
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,…
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:…