Latest

6/recent/ticker-posts

Header Ads Widget

Build your own tools ⚒️, truths about null pointers ✍️, RLHF book 📖

Null pointer behavior is usually more complex than expected. Developers should avoid relying on intuition when it comes to null pointers ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ 

TLDR

Together With QA Wolf

 TLDR Web Dev 2025-02-03

✂️ Cut your QA cycles down to minutes with QA Wolf (Sponsor)

If QA is a bottleneck on your software engineering team and you're releasing slowly because of it, you need to check out QA Wolf.

Their fully-managed service gets engineering teams to 80% automated end-to-end test coverage and their AI-native platform helps dev teams ship 5x faster by reducing QA cycles from hours to minutes.

QA Wolf takes testing off your plate. They can get you:

  • Unlimited parallel test runs
  • 24-hour maintenance and on-demand test creation
  • Human-verified bug reports sent directly to your team
  • Zero flakes guarantee

The benefit? No more manual E2E testing. No more slow QA cycles. No more bugs reaching production.

With QA Wolf, Drata's team of 80+ engineers achieved 4x more test cases and 86% faster QA cycles.

Schedule a demo to learn more

🧑‍💻

Articles & Tutorials

Falsehoods programmers believe about null pointers (12 minute read)

Null pointer behavior is usually more complex than expected. Optimizations, platform-specific quirks, and the evolution of standards have created numerous edge cases and unexpected behaviors, particularly in C and C++. These misconceptions range from simple assumptions about program crashes to the intricacies of null pointer addresses and pointer provenance. Developers should avoid relying on intuition when it comes to null pointers and check docs diligently instead.
How Are Images REALLY Stored? (42 minute read)

This article explains how images are stored, starting with the fundamental concept that pixels are the smallest units of color. Grayscale images store one byte per pixel, while color images use RGB (or RGBA) triplets, which require three or four bytes per pixel. Image formats like GIF use palettes to reduce storage by indexing colors, while PNG employs Deflate compression after applying filters to minimize pixel differences before compression. JPEG achieves high compression ratios through chroma subsampling (reducing color information) and the Discrete Cosine Transform (DCT), which exploit the human eye's lower sensitivity to color detail.
The modern way to write JavaScript servers (5 minute read)

This article advocates for a modern JavaScript server API based on the Request/Response model, contrasting it with Node.js's traditional approach. The new API avoids socket binding, which simplifies testing by allowing server functions to be tested directly with simple object inputs and outputs. Benchmark results show the Request/Response API is substantially faster.
🧠

Opinions & Advice

Unexpected Benefits of Building Your Own Tools (7 minute read)

Building your own custom tools has its benefits. For example, this developer created a simple exploit editor for his game which drastically sped up his workflow and enabled higher-quality content creation through increased iteration. A utility he created for managing embedded devices at his day job eliminated tedious tasks for him.
Hell Is Overconfident Developers Writing Encryption Code (11 minute read)

When devs write their own encryption code, it often leads to security issues. A recent example of a startup's flawed encryption implementation shows this, despite its claim of not "rolling its own crypto." People should use better, readily available cryptographic tools to prevent these recurring mistakes.
Add F*cking to Your Google Searches to Neutralize AI Summaries (9 minute read)

Including expletives in Google search queries prevents Google's AI-generated summaries from appearing. This method is simpler than previously discovered techniques for disabling AI summaries.
🚀

Launches & Tools

Lume (GitHub Repo)

Lume is a CLI and local API server for creating, managing, and running macOS and Linux virtual machines (VMs) on Apple Silicon using Apple's Virtualization.Framework. It offers a range of commands for VM creation, management (including starting, stopping, and deleting), image pulling, and configuration modification.
Earthstar (Website)

Earthstar is a database for private, distributed, offline-first applications. It offers a new specification for building user-owned, connected applications. Earthstar uses a JavaScript library and prioritizes offline functionality, data deletion, and self-hosting.
Page Assist (GitHub Repo)

Page Assist is an open-source browser extension that enables interaction with local AI models from any webpage. With a sidebar and a ChatGPT-like web UI, it supports various Chromium-based and Firefox browsers and allows users to chat with webpages, ask questions about content, and use features such as default keyboard shortcuts.
🎁

Miscellaneous

Everyone knows your location: tracking myself down through in-app ads (11 minute read)

This author investigated the geolocation data leak from Gravy Analytics and found several apps on his phone secretly transmitting his location data without consent. He then attempted to purchase his own location data from data brokers but found the cost too high. The author discovered that even with location services disabled, his location and IP address were still being shared with numerous ad platforms and companies. His investigation revealed that this data is collected and resold through a complex system that involves supply-side platforms like Unity Ads and demand-side platforms like Moloco Ads.
Chatbot Software Begins to Face Fundamental Limitations (11 minute read)

LLMs are showing fundamental limitations in solving complex, multi-step reasoning problems, particularly those requiring compositional tasks. Research shows that LLMs struggle with these tasks because their underlying transformer architecture has inherent mathematical limits on their ability to handle increasingly complex computations. While techniques like chain-of-thought prompting and embedding tricks can improve performance on some tasks, these are essentially workarounds, not solutions to the core limitations.
Life Is More Than an Engineering Problem (26 minute read)

Science fiction author Ted Chiang explores his work's influence on scientists and engineers, especially in the context of AI. Chiang's focus stems from philosophical questions, often using speculative scenarios to dramatize them, and he views science fiction as the ideal medium for this exploration. He's skeptical about current AI implementations, arguing that while impressive, they lack genuine understanding and could be misused.
⚡

Quick Links

RLHF Book (2 minute read)

This book provides a gentle introduction to reinforcement learning from human feedback (RLHF), covering its origins, core methods, popular algorithms, and future directions for language model applications.
Sniffnet (GitHub Repo)

Sniffnet is a free, open-source, cross-platform app for monitoring internet traffic.
The Next Chapter in Swift Build Technologies (4 minute read)

Apple is open-sourcing Swift Build, an extensible build engine used by Xcode, to create a unified, cross-platform build experience for Swift projects.
React's declarative model isn't perfect (3 minute read)

Despite React's dominance in UI development, its declarative nature creates challenges for unit testing.

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.

Want to work at TLDR? 💼

Apply here or send a friend's resume to jobs@tldr.tech and get $1k if we hire them!

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

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


Manage your subscriptions to our other newsletters on tech, startups, and programming. Or if TLDR Web Dev isn't for you, please unsubscribe.

Post a Comment

0 Comments