| Random Link ¯\_(ツ)_/¯ | ||
| Sep 28, 2021 | » | Observer
8 min; updated Sep 16, 2026
Rant: some of willchan’s thoughts on WeakPtr, for those who care to read criticizes the observer pattern for murking dependency chains. Investigate more in this regard. IntentA one-to-many dependency between object so that when one object (subject) changes, all its dependents (observers) are notified and update automatically. ... |
| Sep 13, 2026 | » | Dependency Inversion Principle
3 min; updated Sep 16, 2026
Dependency Inversion PrincipleYour code should depend on abstractions, not concrete implementations. Instead of: … have: … so that swapping out an Notes from ChromiumPhrased differently, inversion of control allows users of a framework/library
(clients) to customize the behavior of the framework. The control flow is
inverted because the library (e.g., |
| Jul 4, 2026 | » | High Performance Networking in Chrome
7 min; updated Jul 5, 2026
Performance in ContextThe execution of a web browser primarily involves three tasks: fetching resources, page layout and rendering, and JavaScript execution. That said, optimizing the last two tasks won’t do much good if the browser is blocked on the network, waiting for resources to arrive. Of the top 100K, the median page on desktop requests 97 resources weighing 2,954KB in total, and makes 16 TCP connections . While the underlying transport (TCP) is optimized for large, streaming downloads, most network transfers in the browser are short and bursty. ... |
| May 19, 2020 | » | Chrome vs. Everybody
3 min; updated Jul 4, 2026
![]() At the very least, Chrome is worth studying. Something worked out. I’m biased, I only plan to deeply explore Chromium-based browsers and Firefox. Stability, Testing and the Multi-Process ArchitectureIn a single-threaded browser, devs use asynchronous APIs - which may sometimes hold the browser up. Instead of multiple threads, Chromium chose multiple processes: isolation, independent crashes, better asymptotic memory management, identifying expensive sites, etc. ... |
| Oct 1, 1974 | » | 03. The Surgical Team
4 min; updated Jul 19, 2025
The DilemmaThere are wide productivity variations between good programmers and poor ones. Sackman et. al. found 10:1 ratios. The data showed no correlation between experience and performance. The idea of a 10x developer is mostly ridiculed in my online circles. That said, some jobs have X years of experience as a requirement. How can we resolve these contradictions? The major part of the cost of large teams is communication, and system debugging to correct the ill effects of miscommunication. ... |
| Jan 4, 2021 | » | Privacy on the Web
2 min; updated Sep 5, 2022
One can use I tried this on
https://tinyurl.com/yyte6pqv
, which points to
https://www.c13u.com/socioeconomics/2020-11-21-experiments-in-social-economics/
,
but didn’t observe any 3rd party cookies. proposes Federated Learning of Cohorts, which aims to enable ad-targeting based on people’s general browsing interest without exposing the exact browsing history. ... |
| Jun 4, 2022 | » | Enumerations in C++
7 min; updated Jun 4, 2022
Unscoped (or Plain or C-Style) EnumerationsPlain (or C-style) enums are entered in the same scope as the name of their enum, and implicitly convert to their integer value, e.g. The name can be omitted if it’s not going to be used, e.g. Unnamed enums are common in code written before alternative ways of specifying integer constants, e.g. ... |

notes that , the primary source, glosses over nitty-gritties. e.g. the “message queue” server. Maybe reading through these will provide a larger perspective to design decisions made in Chromium regarding observers.