Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
SplitDuck.com Use A/B testing to increase revenue
1

The Boot.dev Beat. May 2025

from Boot.dev Blog [alt+shift+b] in programming

Our biggest content release ever just dropped: the complete backend learning path, but now in Python and TypeScript! This is a massive update that we’ve been working on for a year, I hope you enjoy it!
11th May 2025

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from Boot.dev Blog

WannaCry: The Ransomware Attack That Shut Down Hospitals

It was 3 PM on a Friday. A doctor at an NHS hospital in the UK tries to check his email. Instead, one of the PCs in the room reboots into a scary red screen demanding $300 in Bitcoin [23].

2nd Jun 2026 • 1 votes
The AI Land Grab Looks Familiar

In May of 2013, Yahoo announced plans to buy Tumblr for 1.1 billion dollars. Yahoo’s CEO, Marissa Mayer, stood in front of the press and said, “We promise not to screw it up”.

11th May 2026 • 1 votes
Gitignore Patterns: What to Ignore and Why

Many devs adopt the git add . (yolo, just yeet it all into the commit) workflow. It is fast, simple, and usually correct. But eventually you’ll have files in your repo directory that should never be committed: secrets, generated artifacts, dependency folders, and random local junk. That’s what .gitignore is for.

1st Apr 2026 • 1 votes
Python Functions: How to Define and Call Them

Functions allow you to reuse and organize code. Instead of copying and pasting the same logic everywhere, you define it once and call it whenever you need it. They’re the most important tool for writing DRY code.

1st Mar 2026 • 1 votes
The Boot.dev Beat. February 2026

A new year and another record broken! In January a combined 4,016,641 lessons and challenges were completed by you, dear pupils! And to top it off, we’re now releasing the much anticipated Power BI Course by none other than Alex the Analyst! I hope you enjoy it.

11th Feb 2026 • 1 votes

More in programming

NSRS georeferencing

The US is updating its primary spatial reference system, replacing NAD 83 with NATRF 2022 and other systems.

9 hours ago • 1 votes
Creating Beveled Corners with “corner-shape”

The new “corner-shape” CSS property is incredibly useful, but if we really want to get the most out of it, we need to use some surprisingly-sophisticated tricks. In this post, I’ll share how I’ve used this new property to create a retro-sci-fi aesthetic with diagonal corners everywhere. 📐

13 hours ago • 1 votes
HTML esoterica - en-GB vs en_GB

by Terence Eden Here's a fun little historic mystery for HTML nerds. Most websites report the language they're written in using the lang attribute. <html lang="en-GB"> But on the <meta> element, it's common to see: <meta content="en_GB" property="og:locale"> Why does that use an underscore rather than a hyphen? What is a language anyway? Here's how the lang attribute works: 3.2.6.2 The lang and xml:lang attributes OK, so what is a valid BCP 47 language tag? Language tags permit only the characters A-Z, a-z, 0-9, and HYPHEN-MINUS (%x2D). 6. Character Set Consideration For example, en is English. en-GB is British English and en-CA is Canadian English. The two parts are separated by a hyphen. Where else is language specificity useful? That's not the only way language tags can appear in HTML. If you want your web page to show a little preview when you share it - perhaps on social media or a messaging app - you can use Open Graph Protocol. og:locale - The locale these tags are marked up in. Of the format language_TERRITORY. Default is en_US. Optional Metadata - Open Graph Protocol (Hurrah for American hegemony!) Here's the example it gives: <meta property="og:description" content="Sean Connery found fame and fortune as the suave, sophisticated British agent, James Bond." /> <meta property="og:locale" content="en_GB" /> That says the locale of the tags, not the page, is British English. So you could have a page in the Japanese language but OGP tags written in Cherokee. Now I have two questions. Why doesn't this use the lang attribute? Why does this use an underscore rather than a hyphen? For example, this is valid HTML: <meta property="og:site_name" content="Les Misérables" lang="fr"> <meta property="og:description" content="A book by Victor Hugo." lang="en-GB"> That says the site's name is in French but the description is in English. That will parse perfectly. What's going on with OGP? As I've ranted before, development of Open Graph Protocol is dead. Facebook, who run it, recently reopened their GitHub repo - but only to add a proposed tag. Their discussion forum is full of spam. There's no history of the development, no rationale for why things were chosen, just Facebook's edict. The nearest I can find to an explanation is this Pull Request which references an obsolete page of Facebook's locales. Despite Facebook removing the page, it lives on! Take a look at the documentation for embedded posts. It says: When you load the SDK, change the value of js.src to use your locale. Replace en_US with your locale, e.g., fr_FR for French (France): 'https://connect.facebook.net/fr_FR/sdk.js Which, I think, leads us to the answer. An answer which was hidden in the question the whole time. A language is not the same as a locale. A language only tells you about the language. A locale, by contrast, tells you about the user's preferences. A locale comprises the language, territory, and code set combination used to identify a set of language conventions. These conventions include information on collation, case conversion, and character classification, the language of message catalogs, date-and-time representation, the monetary symbol, and numeric representation. Understanding locale - IBM Do you know if 10/08/12 is the 10th of August or the 8th of October? Is 5.99 describing the cost in a mark, a yen, a buck, or a pound? If you know the locale, you do. So a locale can be more useful than just a plain language. OK, but why does it use an underscore? As far as I can tell, POSIX standardised it in ISO/IEC 15897. It built on a number of older standards. And, for whatever reason, they used the underscore. My final question before I let you get on with your lives - is a locale useful? OGP defines several data types. The date is always in ISO8601 format, so no need for a locale there. Bools, strings, and enums don't benefit from a locale in any way that I can see. What about the new payment property? A locale might be useful there to show currency. Except the specification has: payment:currency - string - The currency code ISO 4217 of the payment. The only thing I can see a locale being useful for is numbers. The thousand separator and decimal mark are different depending on the locale. So it might be useful to display "5,99" or "10.000,32" depending on the page's intended audience. If Facebook were still interested in maintaining OGP, I think that asking them to deprecate og:locale and replace it with lang on specific meta elements would be sensible. So there you have it. A language is not the same as a locale, and an underscore is not the same as a hyphen, and a Facebook recommendation is not the same as a living standard. Right, that's enough yak shaving. I'm sure I was meant to be doing something important… Oh! Yes! Welcome to HTMHell 🎅

yesterday • 1 votes
Finish line

Max Verstappen wins the 2026 Mexico City Grand Prix.

yesterday • 1 votes
Recently

The company that I cofounded with Steve Krouse, Val Town, wound down in November. I’ve got a new job that I’m starting on December 8th, and I’m really excited about it but I won’t name it till then, for reasons of superstition. I chatted about the shutdown with Toph for an Observable podcast that’ll go live soon, and Steve’s note covered the most important fact: we couldn’t find product-market fit. The market shifted, yes, partly because of AI, and some of our theories no longer held. Personally, I feel good. The tough times that led to the decision happened months before the announcement. this was not a case of going to $0 in the company bank account, but rather invalidating the thesis and deciding that the form of company that could succeed is so different than what we were working on that it didn’t make sense to keep going as Val Town. We took care of the team till the end, and tried to do right by customers, too. It’s been nice hanging out with Brooklyn/Manhattan people and debriefing, too. If you live in the city and want to grab a coffee, let me know. I got another bike! I had a Wabi Classic a decade ago and now I have its updated version, a Wabi Prism. I’m running it as a single-speed right now, but I’m thinking about flipping the hub and riding it fixed soon. This brings me up to 2 bikes, which will be enough bikes, for a while. I’m closing in on 1,000 miles ridden this year, including my big Vermont and Lake Konstanz trips. Changing my open source contributor rules I’ve got an odd situation going on with my open source projects. The handful of my projects successful enough to attract outside contributors have been spiking in popularity amongst contributors. Simple Statistics, for example, is getting a ton of new contributor activity, as shown below - new PRs opened per month, excluding bots, is at an all time high. Live chart visualization on Observable But almost none of this is handwritten, and none of it is from people who are using the code. Simple Statistics is also experiencing some healthy usage growth, but that is disconnected from the contributor growth. The contributions, while technically valid, are focusing on corner cases that nobody would reach and might be dismissed as expected behavior. The project, intentionally named “Simple” Statistics, is becoming less simple as I merge some of these PRs. The same is happening to some degree with my other projects - lots of new contributors, many of them non-human agents only lightly managed or connected to the humans whose GitHub accounts they’re controlling. So, I’ve updated the contribution rules for simple-statistics to require a human in the loop and require handwriting and people identifying issues themselves. It feels odd to reject a lot of technically valid pull requests that I would have been excited to receive in the past. But the substance and meaning has changed entirely: there’s no community built by these agents, no actual needs being met by these resume-burnishing tweaks, and probably little benefit for real users that the projects are getting nitpicky polish. I don’t really understand the incentives for people to sic their agents on GitHub like this. It builds a resume that’s transparently fradulent, work product that doesn’t indicate any skills or experience of the human in charge. Maybe people do this innocently as a way to try and help, but I fear that they’re essentially doing it to boost their numbers, to trick someone. The same goes for a lot of LLM stuff though: I don’t understand why people have fully LLM-authored blogs. Are they scamming for SEO? Scamming employers? Their behavior implies a dupe, someone on the other side that they’re successfully tricking into giving them credit or respect that they don’t believe. I will stop there, as to avoid using my “LLM rant” allowance for the month so early. Consumption Puddle Splasher Sessions by Yours, Mookie Yours, Mookie is a project from Mercedes Webb, who co-fronts Slow Mass, one of my favorite bands. I love this album and this song but especially love the little unexpected interlude at around 2:40. Show Me by THAO Good new music from THAO (of Thao & the Get Down Stay Down, Thao & Mirah, Thao Nguyen, etc). Such a singular voice & style. This was a decent month for reading: I finished Strangers (not recommended), Damned (a fun jaunt), and Rotten (an underrated and uniquely DC-flavored piece). Meta-reading, I’ve switched back to Instapaper for long-form articles, having encountered too many papercuts with Readeck. Instapaper’s lack of full-text export, and weak search capabilities, are still an annoyance, but the web & mobile experiences are refined. And I’ve bought but not received an Xteink in the hopes that it can be in my pocket all the time as a phone alternative. Drawings I’m decluttering right now, and that includes old notebooks of art. So I scanned and posted a lot of vintage drawings & watercolors. Pathfind For months now I’ve been tinkering with a side-project I call pathfind, and in the last few weeks, with my Val Town responsibilities narrowing and now with more free time, I’ve been hacking on it a little more. It is a playground for my own computational geometry learning, an excuse to write fun, somewhat tricky code by hand. It uses Svelte, which I’ve admired but never deployed. Right now it’s similar to Obsidian Canvas or an extremely rudimentary tldraw, but with A* routing between boxes and groups with convex hull geometry. It’s pretty basic and has lots of bugs, but I think it could be useful someday and I’m happy to keep hacking on it when I have the time and inspiration. Like painting a masters study, working on software with excellent prior art is also an excuse to learn about how existing stuff works, and existing tools always have a surprising level of detail. It’s deployed to pathfind.macwright.com if you want to tinker with it! I might open source it someday, but I’m keeping it simple for now, and don’t want to grapple with the politics of LLM pull requests on a personal project that I’m only doing for self-enjoyment.

yesterday • 1 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in