Random Link ¯\_(ツ)_/¯ | ||
Sep 28, 2021 | » | Observer
8 min; updated Feb 12, 2023
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. 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. Intent A one-to-many dependency between object so that when one object (subject) changes, all its dependents (observers) are notified and update automatically.... |
Oct 1, 1974 | » | 03. The Surgical Team
4 min; updated Feb 12, 2023
The Dilemma There 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 curl -v <url> to see all of the redirections and cookies set. found that generating a tiny URL for Zoom links gives a URL that first goes to redirect.viglink.com. 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. tinyurl.com did set a cookie, but that’s probably expected. 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) Enumerations Plain (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. enum Color { red, green, blue }; int col = green; Color c2 = 1; // error: invalid conversion from 'int' to 'Color' [-fpermissive] enum CardColor { red, black }; // Error: "red" conflicts with a previous declaration... |