When Regex Goes Wrong (4 minute read)
In 2016, Stack Overflow suffered a 34-minute outage due to a regex that caused catastrophic backtracking when processing a malformed input string. In 2019, Cloudflare experienced a global outage due to a regex that led to CPU exhaustion. More recently, CrowdStrike faced a kernel issue caused by a regex mismatch.
|
Bypassing airport security via SQL injection (6 minute read)
The authors of this article discovered a critical vulnerability in FlyCASS, a system used by smaller airlines to participate in the TSA's Known Crewmember (KCM) and Cockpit Access Security System (CASS) programs. They exploited a SQL injection flaw to gain administrative access to FlyCASS, allowing them to add unauthorized individuals to the KCM and CASS programs, bypass security screening, and gain access to cockpits.
|
The secret inside One Million Checkboxes (12 minute read)
One Million Checkboxes was a website where users could check or uncheck boxes, with their actions affecting everyone. When the site became popular, a group of teenagers discovered a way to leave secret messages in the website's data by manipulating the checkboxes to form binary codes that spelled out URLs and even a QR code.
|
|
Cognitive Load is what matters (15 minute read)
Cognitive load is the mental effort required to understand code. High cognitive load leads to confusion, which wastes time and money. Code can be written to minimize cognitive load, such as through using clear variable names, avoiding deep inheritance hierarchies, and favoring deep modules over shallow ones.
|
Is it better to be a Jack-of-All-Trades or a Master-of-One? (Reddit Thread)
A Redditor asks if it's better to be a generalist or a specialist. The consensus is that it's best to be a βT-shapedβ engineer, where you have general knowledge of a variety of subjects, but are specialized in a certain area. In general, developers should try to be as knowledgeable as possible while also trying to be the βexpertβ in certain areas on their team.
|
|
Material UI v6 is out now (9 minute read)
Material UI v6 is out now. Some of the new features include CSS theme variables, color schemes, and container queries. CSS theme variables allow you to access variables from the theme.vars object with the same structure as the theme.
|
Onlook (GitHub Repo)
Onlook enables developers to build their React + TailwindCSS apps visually in the browser. It's an open-source, local-first visual editor that lets you make live edits directly in the browser DOM.
|
|
OpenAI is shockingly good at unminifying code (11 minute read)
ChatGPT successfully deobfuscated a complex React application that generates ASCII art based on character sets, time, and window size. At first, the developer believed ChatGPT's implementation was inaccurate but later discovered it was due to a copy-paste error in the input code, leading to incorrect character encoding. After correcting the input, ChatGPT's output matched the original component perfectly.
|
The Balkanized Internet: the Role of Large Cloud Providers (11 minute read)
The "balkanized internet" is caused by the dominance of large cloud providers. This trend contrasts with the internet's early days, when public access was strictly non-commercial and operated on a shared infrastructure. Today, cloud providers control significant portions of internet infrastructure, leading to a situation where users are increasingly confined within their respective cloud environments.
|
The Top Programming Languages 2024 (3 minute read)
Python continues to lead IEEE Spectrum's 2024 programming language rankings, driven by its dominance in AI and education, while SQL remains highly sought after by employers. Rising stars include TypeScript and Rust, with the latter gaining attention for its memory safety features.
|
|
CodeViz (Website)
CodeViz is a VSCode extension for visualizing and navigating through your codebase's architecture and functions.
|
|
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
|
|
|
|