A tiny GPT memorized every fact I gave it, then couldn’t answer a single question that needed two of them. I tested the one-line fix from a recent paper, and it only half worked. The post Why a Tiny GPT Can Know Two…
In this quiz, you'll test your understanding of web scraping using Python. By working through this quiz, you'll revisit how to inspect the HTML structure of a target site, decipher data encoded in URLs, and use Requests…
Currently, print("a", "b") makes four separate calls to sys.stdout.write(): sys.stdout.write("a") sys.stdout.write(" ") sys.stdout.write("b") sys.stdout.write("\n") I propose changing print() to combine its output into…
Debugging a Bad INP Score: The Actual Steps, Not Just "Optimize JavaScript" "Reduce your JavaScript" isn't a debugging step, it's a conclusion. Here's the actual process for finding what's causing a bad INP score on a…
If your backend generates distributed 64-bit unique identifiers—such as Twitter Snowflake IDs, Discord message IDs, Instagram shard IDs, or Mastodon status keys—you may have encountered a baffling bug: A database record…
When I first started learning JavaScript, I thought its main purpose was simply adding interactivity to websites. A button gets clicked. A menu opens. A message appears. But JavaScript is much more than that. It allows…
I built Calcapay, a set of free calculators for US paychecks, mortgages, loans and taxes. It is a static site: Eleventy, plain CSS, a little vanilla JavaScript, and no backend. All the math runs in the browser. The hard…
GPT-6.1 Terra AI drafted this article for the LensUp publishing account, which is affiliated with LensUp. An independent AI editor reviewed the draft. Codex AI agents checked the conversion evidence. No human writing,…
Why Rust Web Development Sucked for Web Developers (Until Now) Let's be brutally honest for a moment: Rust web development has had an elitism problem. For the last five years, tech Twitter, Hacker News, and Reddit have…
A small calculation can be mathematically simple while still presenting interesting problems in input validation, interface design and testing. A length-to-width ratio is calculated by dividing one measurement by…
A visitor arrives through a campaign link, browses two service pages, and submits your contact form. The enquiry reaches your CRM. The campaign information does not. The sales team sees a new lead, but nobody can…
I built a small thing this week: a page that colors a map of the United States so that no two bordering states share a color, using only four colors, while you watch. It's a toy. But it sits on top of a theorem with the…
In Lullwood, our free browser horror game built in three.js and Next.js, the fog is not only a look. It is the predators' eyesight, and the game tells the player when to use it. Every 90 seconds a fog tide rolls in for…
The comprehension-unpacking syntax in Python 3.15 is great, but you cannot transform the unpacked elements. Given: [[10, 20, 30], [40, 50, 60], [70, 80]] We can get the individual numbers, but cannot run str on each.…
TL;DR Romanian CUI validation is a weighted checksum: strip the optional RO prefix, right-align the digits before the last one against the key 753217532, multiply and add, then take the sum times 10 mod 11, where 10…
A translation key is a string nobody checks. Here is how to check it by hand, in the IDE and in CI. Look at this line: <button>{t('checkout.pay_nwo')}</button> The build passes and so do the tests. In production, the…
Every Java developer knows the comfort of assertEquals. Give a method the same input, and you get the same output. Then you add a large language model to your service, and the build turns red on Monday, green on…
I’m happy to announce that neocaml 0.11 is out! I never got around to writing about 0.10, which was mostly about neocaml-utop (a utop backend that talks to utop via its native editor protocol), but 0.11 is a different…