Newslurp

<< Stories

Why GitHub won 👑, making hard things easy ⚡️, TypeScript 5.6 🎁

TLDR Web Dev <dan@tldrnewsletter.com>

September 10, 11:08 am

TLDR WebDev
GitHub launched at a time when distributed version control systems like Git were gaining traction, filling a void in the market 

TLDR

Together With Clerk

 TLDR Web Dev 2024-09-10

What Could You Create If You Had 30 Minutes To Plan And 4 Hours To Build? (Sponsor)

Grab some popcorn and take a 30-minute break to watch four developers compete in building an app designed to protect the community from monsters — all in under 5 hours. Which developer will save us? Watch Now
🧑‍💻

Articles & Tutorials

Why GitHub Actually Won (22 minute read)

Scott Chacon, co-founder of GitHub, explains why GitHub became the dominant code hosting platform. He attributes it to two key factors: timing and taste. GitHub launched at a time when distributed version control systems like Git were gaining traction, filling a void in the market for hosting these projects. GitHub's founders, being developers themselves, focused on creating a developer-centric platform with a user-friendly interface and workflow, unlike other hosting services that prioritized revenue and distribution.
Hacking misconfigured AWS S3 buckets: A complete guide (10 minute read)

Misconfigured AWS S3 buckets can be hacked through various means, such as examining HTTP responses, using search engines, and bruteforcing common keywords. Developers can test for misconfigurations by testing for list, read, write, and download permissions, examining Access Control Lists (ACLs), and checking for missing file type restrictions and S3 versioning. Knowing how to do this is important to actually secure your S3 buckets properly against unknown attackers.
B-trees and database indexes (25 minute read)

Many databases rely on B-trees to perform efficient data lookups via indexes. For example, a sequential integer key outperforms UUIDs in terms of performance for insert, read, and search operations. This article explains how B-trees are implemented in databases, then goes over choosing efficient primary keys and optimizing database performance.
🧠

Opinions & Advice

Making Hard Things Easy (32 minute read)

Sometimes, seemingly basic concepts can be challenging to grasp. Technical difficulties often arise from hidden complexities, like the massive codebase of a web browser or the intricate distributed nature of DNS. Understanding the basics of things like computer processes helps, but so does the sharing of tools, references, and personal experiences by others.
Design Patterns Are Temporary, Language Features Are Forever (6 minute read)

A visitor pattern is a design pattern that separates the algorithm from the object structure. This separation allows new operations to be added to existing object structures without modifying the structures. The visitor pattern has become largely obsolete with the advent of pattern matching features in modern Java, as these features offer a more concise and readable approach to handling data structures.
Every webpage deserves to be a place (8 minute read)

A blogger focused on archive work implemented a feature called "cursor party" on his website. This feature allows visitors to see each other's cursors, chat through a hidden feature, and even highlight text in real-time. These features created a sense of "co-presence" and made the web feel more like a shared space, which the author believes the Internet needs more of.
🚀

Launches & Tools

Are SaaS form builders putting your data at risk? (Sponsor)

Using 3rd party SaaS for your forms means entrusting sensitive user data to others. Choose SurveyJS for a secure form management platform that you can set up directly in your application and keep full control of where your data travels. Make it your own with the built-in CSS theme editor! Try the free demo, no sign-up needed
Announcing TypeScript 5.6 (26 minute read)

TypeScript 5.6 introduces stricter type checking for nullish and truthy checks, new helper methods for iterators, and support for arbitrary module identifiers. It also improves the TypeScript language server by adding region-prioritized diagnostics and granular commit characters and excluding patterns for auto-imports.
Sqlc (Website)

Sqlc is a command line tool that generates type-safe code from SQL. It removes the need for writing boilerplate SQL querying code and verifies schema changes to prevent production database failures.
Fast Grid (GitHub Repo)

Fast Grid is a multithreaded web table capable of displaying millions of rows at O(1) speed while maintaining 120fps performance even during sorting, filtering, and scrolling.
🎁

Miscellaneous

Oops, I accidentally made our website faster by switching to Remix (7 minute read)

Echobind migrated its website from Next.js hosted on Vercel to Remix hosted on Railway. The migration proved surprisingly easy, with most pages needing only minor code adjustments to work with Remix's structure. Unexpectedly, the switch resulted in significant performance improvements, with Lighthouse scores increasing and SEO health scores showing gains.
Windows NT vs. Unix: A design comparison (25 minute read)

Windows NT had features like portability, multiprocessing support, and compatibility, which were later added to Unix systems. NT's object-oriented kernel, unified memory architecture, and asynchronous I/O system show how it had advanced design for its time.
A New Giant Software Market: The Rise Of Software Defined Vehicles And The End Of Car Ownership (18 minute read)

Cars are turning into complex software platforms, with manufacturers starting to introduce advanced features and driver assistance systems. However, this comes with downsides like unclear software update cycles, limited bug reporting options, and unpredictable software behavior. The industry is also moving towards subscription models for car features.

Quick Links

Our RNG Git Hash Bug (3 minute read)

A bug in the Dragon Prince: Xadia game caused clients to believe they were out of date due to a YAML parser interpreting a short git hash, which happened to be a valid scientific notation, as a very large number instead of a string.
HonoX (GitHub Repo)

HonoX is a meta-framework for creating full-stack websites and Web APIs using Hono, Vite, and UI libraries.
Open Message Format (GitHub Repo)

OMF is a lightweight API specification that standardizes message exchange for building conversational agents.
Ask HN: How do you manage your prompts in ChatGPT? (Hacker News Thread)

People manage their ChatGPT prompts using custom GPTs, third-party apps, personal docs, notes, and other methods.

Love TLDR? Tell your friends and get rewards!

Share your referral link below with friends to get free TLDR swag!
Track your referrals here.

Want to advertise in TLDR? 📰

If your company is interested in reaching an audience of web developers and engineering decision makers, you may want to advertise with us.

If you have any comments or feedback, just respond to this email!

Thanks for reading,
Priyam Mohanty, Jenny Xu & Ceora Ford


If you don't want to receive future editions of TLDR Web Dev, please unsubscribe from TLDR Web Dev or manage all of your TLDR newsletter subscriptions.