To Be Read

Vol. in fieri Tuesday, 17 November 2026

The author learned to write Python code with strict type hints and clear interfaces after using Rust, which prevents many errors at compile time. They suggest using classes, type hints, and construction methods to make Python code safer and easier to maintain. The post also highlights how Rust features like algebraic data types and safe mutexes inspire better Python programming patterns.

15 Nov 2026

Continuations represent the control flow of a program at any point in time. They allow you to "jump" to different parts of your code. Understanding continuations can help you grasp how control flow works in programming.

2 highlights

A continuation is a representation of the control flow of your program at any point in time, essentially the stack.

A short version: it transforms all code into a state machine and uses exceptions to save the state of all functions on the stack. This means that every function is transformed into a big switch statement with every expression as separate cases, giving us the ability to arbitrarily jump around.

13 Sept 2026

Solaris uses turnstiles to manage blocking locks efficiently and handle priority inversion problems. Turnstiles track waiting threads and help boost priorities along chains of lock owners. This system improves latency for high-priority tasks without making locks too large or complex.

6 Sept 2026

The article explains how to build a test case generator that creates valid WebAssembly instructions and modules. It uses pairs of functions to check instruction validity and generate instructions in context. This approach helps find hidden bugs by testing beyond the parser stage.

16 Aug 2026

Using unwrap() in Rust is okay for quick scripts or tests but not for real error handling in libraries or applications. Panics signal bugs and are not meant for regular error management. Good Rust code treats errors as values and avoids panicking except for unrecoverable bugs.

19 Jul 2026

This guide compares fertility clinics in London using success rates, prices, and research activity. The best clinics, like King’s and CRGH, have above-average success and more experience. Overall, London clinics perform similarly to top clinics in Europe, offering good options for patients.

28 Jun 2026

China became rich because it invested heavily in its people's health, education, and social modernization. India did not transform its society as deeply, leaving many workers less prepared for industrial growth. This human development gap helped China grow faster and become wealthier over time.

21 Jun 2026

Kubernetes uses feedback loops to match the real state of a system to the desired state by continuously checking and fixing problems. Controllers run reconcile loops that read the current state, compare it to the desired state, and take steps to correct any differences. This design allows independent components to work together reliably, even if parts fail or restart.

7 Jun 2026

The author shares their journey of learning programming, starting from basic web tutorials to more advanced concepts in software engineering. They gained valuable experience through various courses and jobs, where they learned to debug code, work with open source software, and improve their programming skills. Mentorship and hands-on projects played a significant role in their development as a programmer.

1 highlight

Tavish's excessively long programmer biography

24 May 2026

Japanese companies do many different things and do them very well because of their unique structure and long-term relationships. They focus on employee stability, cooperation, and gradual improvement rather than quick profits or individual performance. This approach helps them excel in certain areas but makes sharp changes and profit-driven methods difficult.

17 May 2026

Memory safety helps prevent serious software bugs like buffer overflows and improves security. Rust is a popular language that offers memory safety by default, encouraging safer coding practices. While governments are not banning unsafe languages like C or C++, moving to memory-safe languages is a smart and cost-effective way to make software more secure.

3 highlights

Rust’s big step function was to offer memory safety at compile time through the use of static analysis borrowed and grown out of prior efforts such as Cyclone, a research programming language formulated as a safe subset of C.

Often, demands for large-scale rewrites are not a carefully reasoned argument about tradeoffs, but an aesthetic criticism of code that looks “ugly” or “too old.”

Reflexive rejection of a move to memory safety is misguided, especially when the benefits of memory safety can be achieved in a cost- and schedule- efficient way.

10 May 2026

Mammography gives clear pictures but often misses dangerous tumors or finds slow-growing ones that may never cause harm. Radiologists frequently disagree on what they see, so many results fall into a gray area. Despite limits and controversy, mammograms still catch some cancers earlier than we otherwise would.

3 May 2026

Oil refineries turn crude oil into useful products like gasoline and diesel by separating and changing its chemical parts. They use processes like distillation and cracking to make valuable fuels from heavy oil. Refineries are huge, expensive, and work nonstop to meet the world's huge demand for petroleum.

26 Apr 2026

The article elaborates on the concept of living in a dream mashup of current situations and past emotional meanings, likening it to dreaming of being at school on a boat. It discusses emotional flashbacks, transformational vs. counteractive approaches, and ways to navigate emotional responses in oneself and others. The importance of understanding emotional cognition and trust-building is highlighted.

19 Apr 2026

Typestate is a compile-time technique that checks if a program uses data in a meaningful way, preventing errors before running. It helps compilers manage resources safely and improve program speed by avoiding bad execution paths. This method makes programs more reliable and easier to test by enforcing correct usage of data states.

1 highlight

?t=1776176956077

12 Apr 2026

The book *Made in India* tells the story of Desh Bandhu Gupta, founder of Lupin, and his role in building India’s global pharmaceutical industry. It shows both his personal struggles and the company’s growth into a billion-dollar firm making important medicines like anti-TB drugs. The book also highlights the challenges and successes of Indian pharma, while noting the support from family and the government’s role.

5 Apr 2026

The author built pi, a minimal, opinionated coding agent ecosystem (pi-ai, pi-agent-core, pi-tui, pi-coding-agent) that focuses on simple, controllable tooling and session formats. It supports multi-provider LLMs, tool execution, session management, cost/token tracking, and a lightweight terminal UI. The goal is a practical, transparent agent workflow that lets the user stay in control.

2 highlights

It also limits what your TUI can do to some degree, which I find charming because constraints make for minimal programs that just do what they're supposed to do without superfluous fluff.

People use sub-agents within a session thinking they're saving context space, which is true. But that's the wrong way to think about sub-agents. Using a sub-agent mid-session for context gathering is a sign you didn't plan ahead. If you need to gather context, do that first in its own session. Create an artifact that you can later use in a fresh session to give your agent all the context it needs without polluting its context window with tool outputs. That artifact can be useful for the next feature too, and you get full observability and steerability, which is important during context gathering.

29 Mar 2026

A standout engineer named Sam succeeds by breaking down tasks clearly and communicating well with stakeholders. They build strong relationships, learn from others, and focus on quality work beyond their expertise. Sam also understands office politics and uses referrals instead of typical job applications to advance their career.

22 Mar 2026

Your work shapes who you become, often in ways you don’t notice. Choose a career and community that build the values and habits you want to grow. Remember, your job is just one part of a meaningful life.

8 Mar 2026

The text discusses using 'index-handles' instead of raw or smart pointers for memory management in C and C++. It suggests centralizing memory management into systems, grouping items into arrays, and converting handles to pointers only when necessary. By following specific rules, such as not storing pointers and using handle-to-pointer conversion, memory safety and efficient memory usage can be maintained.

1 Mar 2026

This paper presents a clear framework to understand and compare different build systems using Haskell code. It explains key design choices like task order and when to rebuild tasks. The authors model many real-world build systems and discuss how they handle dependencies and correctness.

9 highlights

two key design choices that are typically deeply wired into any build system: the order in which tasks are built (ğ4.1) and whether or not a task is (re-)built (ğ4.2).

Cyclic task dependencies are typically not allowed in build systems

(Minimality). A build system is minimal if it executes tasks at most once per build and only if they transitively depend on inputs that changed since the previous build.

Excel: it is self-tracking. Most build systems only track changes of inputs and intermediate results, but Excel also tracks changes in the tasks themselves

Self-tracking is uncommon in software build systems, where one often needs to manually initiate a full rebuild even if just a single task has changed.

instead of aborting and deferring the execution of tasks whose newly discovered dependencies have not yet been built (as Excel does), Shake suspends their execution until the dependencies are brought up to date. We refer to this task scheduling algorithm as suspending,

The busy build system defines the callback fetch so that, when given a key, it brings the key up to date in the store, and returns its value.

Excel models the dirty bit approach most directly, having an actual dirty bit associated with each cell, marking the cell dirty if the user modifies it. It also marks dirty all cells that (transitively) depend on the modified cell. Excel does not record dynamic dependencies of each cell; instead it computes a static over-approximation ś it is safe for it to make more cells dirty than necessary, but not vice versa.

Note that Make requires that file timestamps only go forward in time, which can be violated by backup software.

22 Feb 2026

Android 17’s MessageQueue was redesigned to remove locks and improve performance using a new data structure called DeliQueue. DeliQueue uses a lock-free stack and a single-threaded min-heap to handle messages efficiently without contention. This design reduces lock contention, speeding up message insertion and improving app responsiveness.

15 Feb 2026

The chapter introduces phantom types as a way to embed a programming language in Haskell. Phantom types are used to parameterize the Term data type so that it only contains terms of the appropriate type. This representation meets the typing requirement and allows for tag-free interpretation. The chapter also explores the usefulness and beauty of phantom types in generic functions, such as compression and comparison functions. The chapter concludes with an example of representing simply typed lambda terms using higher-order abstract syntax.

6 highlights

for this chapter we abandon type classes

Note that the with clause of the If constructor is not strictly necessary. We could have simply replaced a by t. Its main purpose is to illustrate that the type equation may contain type variables that do not appear on the left-hand side of the declaration. These variables can be seen as being existentially quantified.

The interpreter is quite noticeable in that it is tag free.

type Term b might not even be inhabited

Since the type argument of Term is not related to any component, we call Term a phantom type.

Though Term is parameterized, it is not a container type: an element of Term Int, for instance, is an expression that evaluates to an integer; it is not a data structure that contains integers.

  • Capital in the 22nd Century
    , 2 highlights

    In his 2013 Capital in the Twenty-first Century, the socialist economist Thomas Piketty argued that, absent strong redistribution, economic inequality tends to increase indefinitely through the generations—at least until shocks, like large wars or prodigal sons, reset the clock. This is because the rich tend to save more than the poor and because they can get higher returns on their investments.

    As many noted at the time, this is probably an incorrect account of the past. Labor and capital complement each other. Wealthy people can keep accumulating capital, but hammers grow less valuable when there aren’t enough hands to use all of them, and hands grow more valuable when hammers are plentiful. Capital accumulation thus lowers interest rates (aka income per unit of capital) and raises wages (income per unit of labor). This effect has tended to be strong enough that, though inequality may have grown for other reasons, inequality from capital accumulation alone has been self-correcting.

    it would not directly produce a lot of income inequality unless the “capital share”—the share of national income coming in the form of interest on investments, as opposed to wages—were high.