Good Things Weekly Roundup - 2024-07-15
Things I read, watched, and enjoyed this week
(data saved to/pulled from Readwise Reader)
Youtube Videos




James Hoffmann - Decaf Explained
Chemistorian - the Fascinating 200-Year History of Benzene
Goobie And Doobie - I Was an Mit Educated Neurosurgeon Now I’m Unemployed and Alone in the Mountains How Did I Get Here?
Book Overflow - Brian Kernighan Reflects on “The Practice of Programming”
Articles
Articles I Finished
Swim the Arctic Circle
Super User
100% complete
Click for generated summary
Swimac 2024 is a unique open water swimming event on July 13, 2024. Participants will swim across borders, including Sweden and Finland, the Arctic Circle, and a time zone. Registration opens on January 7, 2024, inviting swimmers to challenge personal boundaries.
A friend swam this event this year! Seems incredibly cool. Open river swim during a 24-hours of light part of the year in Sweden.
How Binance Built a 100pb Log Service With Quickwit
François Massot
80% complete
Click for generated summary
Binance successfully migrated petabyte-scale Elasticsearch clusters to Quickwit, achieving significant cost savings and operational improvements. Quickwit allowed Binance to handle 100 PB of logs, scale indexing to 1.6 PB per day, and reduce compute costs by 80% and storage costs by 20x. Binance overcame challenges by leveraging Quickwit’s Kafka integration, object storage, and efficient data compression.
Cool technical overview of processing data at massive scale. Not super relevant to me, but the idea of 1.6PB/day of logs is just…that’s a ton of data.
Square (Financial Services) - Wikipedia
wikipedia.org
100% complete (well, whatever that means for this kind of thing)
Click for generated summary
Square is a financial services platform owned by Block, Inc. It serves small and medium-sized businesses with various products like Square Reader and Square Market. Square has processed billions in payments and serves millions of merchant clients worldwide.
I work here now! Just finished my first week. This Wikipedia page has some good history about the company. Excited for what’s to come :)
Articles I Saved for Later
Real-Time Audio Programming 101: Time Waits for Nothing
rossbencina.com
Click for generated summary
Real-time audio programming requires adherence to principles that may not be obvious when writing “normal” non real-time code. The goal is to avoid audio glitches and ensure that audio is delivered within a specific buffer period. This requires avoiding blocking tasks, such as accessing the disk or synchronizing with other threads, in the audio processing thread. It is important to consider worst-case execution time and avoid algorithms with unpredictable time behavior. Using locks or mutexes within the audio callback can lead to priority inversion and unbounded execution time, so they should be avoided. Memory allocation should also be avoided in the audio callback, as it can introduce locks and potential delays.
Vision Language Models Are Blind
vlmsareblind.github.io
Click for generated summary
Vision language models struggle with basic visual tasks like identifying overlapping shapes and counting intersections, which are easy for humans. Despite their success in other tasks, VLMs often fail when faced with simple visual challenges like recognizing circled letters or counting shapes in images. These limitations highlight the need for further research and improvement in VLMs’ ability to understand and process visual information accurately.
Papers
What Every Programmer Should Know About Memory
Click for generated summary
Processors prefetch memory to reduce delays in accessing data, making consecutive memory access faster. Efficient cache management is crucial for optimal performance in multi-threaded programs, as shared cache lines can cause performance bottlenecks. Understanding memory allocation and cache behavior is essential for designing programs that minimize cache misses and optimize performance.
Process finished with exit code 0