Hope you had a fantastic Halloween. I spent last weekend in Seattle with Allan and Hunter (the other two full-timers here at Boot.dev) at the DotA 2 International. Absolute blast. I’ve never been to such an enormous gaming event in person. Ah, well, back to coding.
Regards, Lane
Patch notes ๐
1. New Unit Test Lesson Type ๐
This is a massive change that we’ve been wanting to pull the trigger on for awhile now, and finally have! We now have distinct kinds of “in browser coding” lessons:
- Standard output tests
- Unit tests
Up until now, all lessons were tested based on standard output (what’s printed to the console). If it matches, you pass. If not, you fail. That kind of testing is still good for some of the lessons, but for the majority of lessons, the new unit test type is a better experience.
With the unit tests, instead of checking stdout, we check to make sure your function returns the correct values, and we do that programmatically. This has a few great benefits:
- You can leave in your debugging “print” statements
- You have nicely formatted feedback on each test with pass/fail conditions
- The test code is in a separate read-only file so you don’t accidentally modify it
- You get practice working in a test-driven style
2. New Explainer Videos ๐
Now that we’ve started to get into an efficient routine with the podcast, I’m turning my attention back to making some more explainer videos for the courses themselves. I’m working on a new style of video that’s more visual and fast paced. Here are a few examples:
They’re obviously not perfect, but I’m happy with the idea and we’ll keep working to improve them.
What is yet to come ๐
- “Learn Kubernetes” course development is underway
- Challenges and reworking of the “Learn JavaScript” course
- Updates to make sharpshooter less painful and more rewarding
- Lore for Boots
Backend Banter Podcast ๐
We created a new trailer for the podcast. You know, so you can share it with your friends.
This month’s episodes include:
- #024 - Behind HTMX: Carson Gross on the re-Rise of Hypermedia
- #023 - Has Web Development Regressed? A Conversation with Wes Bos
- #022 - Job Hunting as a Self-Taught Programmer with Don the Developer
- #021 - TypeScript vs Elixir: An FP Showdown with Theo Browne
By the way, this show is NOT free. The cost is a podcast rating or a YouTube subscription. I can’t verify that you’ve done your part, but we have an honor system here. If you have enjoyed more than one episode, do your part. I appreciate you.
The cream of the crop ๐
(Podcast) Lukas Fittl on Postgres Performance ๐
by Software Engineering Radio
We’ve been using Postgres at Boot.dev since the beginning. I’m always interested to hear about the intricacies of database performance optimization. Usually as backend developers we don’t need to be overly concerned with DB speed, we can just slap an index on a column and move on. But sometimes that’s not nearly enough, and this episode goes deep on exactly when it’s not.
(Podcast) Exploring the New Features of Python 3.12 ๐
by The Real Python Podcast
Every new minor version of Python brings interesting new features to the language. You wouldn’t want to be working without F-strings would you? Python has made giant leaps over the years, and this episode does a great job of covering all the stuff we need to know about the new 3.12 release.
(Article) Oh-Auth - Abusing OAuth to take over millions of accounts ๐
by Aviad Carmel
OAuth is kinda everywhere. Here on Boot.dev we do sign in with Google, and Sign in with GitHub. OAuth offers a standard protocol for user authorization and authentication, and while its design is inherently secure, integration with web platforms can introduce vulnerabilities. This article goes over some of the, erm, implementation problems that can arise. Thar be foot guns.