The Secret to Success Is ‘Monotasking’
Focusing on one task at a time, or monotasking, helps people work better and feel less stressed. Constantly switching between tasks, or multitasking, reduces productivity and harms important work. Simple habits like limiting distractions and taking breaks improve focus and lead to success.
You're not as focused as you think Our brain is always filtering distractions, but many hidden stimuli quietly drain our focus without us knowing. It takes about 10-20 minutes of effortful attention to get fully "in the zone" and protect ourselves from distractions. However, both sudden important distractions and constant low-level worries reduce our ability to concentrate and tire us out.
What I learned building an opinionated and minimal coding agent
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.
Longtermism poses a real threat to humanity Longtermism is a risky belief that values the distant future so much it might justify harmful actions today. Its leaders imagine a far-off utopia but ignore the dangers of extreme means to reach it. We should care about future generations, but longtermism is not the right way to protect them.
Against longtermism Longtermism claims we must prioritize humanity’s vast future potential above present needs. Critics say this view rewards risky technological pursuit and can harm real people today. The article argues longtermism is dangerous and may increase, not reduce, existential risk.
‘Before It’s Too Late, Buddy’ The TESCREAL ideology envisions a future where enhanced humans colonize space and create digital utopias, but it may justify extreme and dangerous actions. Some followers, like Yudkowsky, support violent measures, including nuclear war, to prevent an AI apocalypse. This cult-like movement’s radical ideas and threats make it a serious danger to humanity.
The Picture Problem 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.
Aura of Success: The First Years of Japan's Privatized National Railways Japan split its national railway, JNR, into regional JR companies to improve finances and services. The government kept JNR’s huge debt, helping JR appear profitable while taxpayers absorbed the losses. Though JR made some gains, its success was shaped by subsidies, asset sales, and careful management rather than full market freedom.
The Rise and Fall of Japan's National Public Railway Labor Unions Japan National Railways (JNR) had strong and militant labor unions that often clashed with management. In the 1980s, the government and businesses privatized JNR to weaken these unions. After privatization, the unions lost power, and many workers were fired or left struggling.
The Death and Privatization of Japanese National Railways (Part 2, 1982-1987) Japanese National Railways (JNR) faced a huge debt crisis, leading to a government plan to privatize and split it into regional companies. Prime Minister Nakasone pushed this plan to weaken labor unions and promote political reform. The media played a big role in gaining public support, and the privatization law was passed in 1983 to start the process.
The Death and Privatization of Japanese National Railways (Part 1, 1949-1982) The Japanese National Railways (JNR) was established after World War II and held a monopoly on rail transport in Japan. Over time, JNR faced massive debt and financial struggles, leading to its dissolution in 1987 and the creation of several private railway companies. The privatization process was influenced by internal and external political factors, ultimately transforming Japan's rail industry.
How American Occupiers Helped Doom Japan's National Public Railways After World War II, American occupiers created Japan National Railways (JNR) to help rebuild Japan with a democratic and independent rail system. However, political interference and labor conflicts led JNR into massive debt and dysfunction. In 1987, JNR was dissolved and privatized into smaller companies, marking the end of its troubled history.
Memory Safety for Skeptics Memory safety helps prevent serious software bugs like buffer overflows and improves security. Rust is a key example of a memory-safe language that checks safety at compile time. While switching to memory-safe languages has costs, it offers clear benefits and is worth pursuing for better software security.
Is India the fourth- or fifth-biggest economy? It does not matter
India is not yet the world’s fourth-largest economy; it still ranks fifth after a recent GDP revision. Politicians often boast about rankings, but many Indians see the country’s infrastructure and services lagging behind richer nations. What matters more is improving everyday life, like clean water and safe roads, rather than just economic size.
How an Oil Refinery Works 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.
Illegal vs Unwanted States Illegal states are system conditions that must never occur, while unwanted states are undesirable but sometimes allowed temporarily. Unwanted states can happen due to external factors or design choices, and systems must detect and resolve them to avoid illegal states. Sometimes unwanted states enable useful workflows, but users should be informed when entering them.
I Was Right About ATProto Key Management The author tried to create a decentralized ATProto account using did:web but got "burned" and blocked after deleting it. This shows that Bluesky’s system still relies on central control, limiting true decentralization. The author wants more user-friendly, community-run social media without corporate control.
Agent Design Is Still Hard Building agents is still messy and existing SDK abstractions often break with real tool use.
Explicit control—especially direct SDK use and explicit cache management—makes agent behavior, costs, and reinforcement clearer.
Designing useful agent loops requires careful handling of tools, sub-agents, outputs, and state to avoid dead ends and unwanted leaked information.
Dream Mashups 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.
Sign of the future: GPT-5.5 GPT-5.5 is a big step forward in AI, showing faster and smarter abilities than before. It can create complex projects like academic papers and roleplaying games with minimal help. However, AI still struggles with creative writing and some ideas are not very interesting yet.
The Mystery in the Medicine Cabinet Acetaminophen is generally safer than ibuprofen if used correctly, especially for most people and in most situations. Ibuprofen can harm the heart, kidneys, and stomach, while acetaminophen mainly risks liver damage if overdosed. Doctors often prefer acetaminophen for pregnant women, children, and people with liver issues, but overdosing on either medicine can be dangerous.
A Fork() In The Road The authors argue that the fork() system call, once a clever solution for process creation in the 1970s, has become outdated and problematic for modern operating systems. They highlight how fork() complicates system design, introduces security vulnerabilities, and hinders innovation in OS research. The paper calls for deprecating fork() in favor of more efficient and secure alternatives.
What Physical ‘Life Force’ Turns Biology’s Wheels? | Quanta Magazine Bacteria move using a tiny motor called the flagellar motor, which spins a tail to swim. This motor is powered by protons flowing into the cell, creating a force called the proton motive force. Scientists have finally understood how this motor works after many years of research.
The Business of Promoting Longevity and Healthspan New companies are emerging that offer extensive testing to promote longevity and healthspan. While some tests have shown promise, many lack solid evidence of their benefits and can lead to false positives. The future may offer more precise and affordable methods for predicting and preventing age-related diseases.
What Every Computer Scientist Should Know About Floating-Point Arithmetic Floating-point arithmetic uses a limited number of bits to represent real numbers, which causes rounding errors. The IEEE standard requires arithmetic operations to be exactly rounded to minimize these errors. Techniques like guard digits help make calculations more accurate and efficient in computer systems.
Money for nothing: the roles of evidence in GiveDirectly’s journey to $1 billion delivered GiveDirectly used strong evidence to show that giving money directly to poor people helps improve their lives in many ways. This research helped convince donors to support cash transfers despite initial doubts. The approach also revealed that recipients make their own choices about how to use the money, which can differ from donors’ priorities.
A Python Interpreter Written in Python The Python interpreter processes code by first converting it into bytecode through lexing, parsing, and compiling. It uses a stack to execute instructions, such as adding numbers and printing results. This simple interpreter can be expanded to handle more complex operations, including loops and conditionals.
The Fun Of Programming
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.
Newton, the Man Newton was a deeply secretive and intense thinker who used strong mental focus to solve problems. He mixed science with mystical beliefs and kept many private writings about his unusual ideas. Later in life, he became the famous rational scientist we know, hiding much of his early, secret work.
Plan Representation: #1 Lesson Learned from Building an Optimizer The blog explains how query optimizers rewrite query plans for better performance using plan representations. It shows challenges with traditional plan nodes and memo tables that need many code changes when extended. The author proposes a new, flexible plan representation that makes optimization easier and more maintainable.
Zero-Copy Pages in Rust: Or How I Learned To Stop Worrying And Love Lifetimes This article explains how Rust uses lifetimes and borrowing to enable zero-copy access to database pages, improving performance. It shows how read and write operations use guarded references to safely view and modify page bytes without making copies. This design leverages Rust's ownership rules to ensure memory safety and efficient data handling in a database buffer pool.
Without the futex, it's futile A futex helps manage locks by separating locking from waiting, reducing costly system calls. Mutexes often use spinning first and only wait with a futex if contention is high. Recursive mutexes track ownership and nesting to avoid errors when locking and unlocking multiple times.
Memory Safety for Skeptics Memory safety helps prevent serious software bugs like buffer overflows and improves security. Rust is a key example of a memory-safe language gaining attention for safer code. While switching to memory-safe languages can be costly, it offers clear long-term benefits and is worth pursuing.
Let's talk space toilets! Space toilets are very hard to design because there is no gravity to help waste go away. Astronauts use special tools and methods to manage waste, but problems like bad smells and clogs still happen. Future Mars missions need even better toilets that work for a long time and keep waste safely stored.
Typestate: A Programming Language Concept For Enhancing Software Reliability
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.
Rust should have stable tail calls Rust currently lacks reliable support for stable tail calls, which are important for efficient low-level programming and recursion without growing the stack. The main challenge is that LLVM, which Rust uses for code generation, has inconsistent tail call support across different hardware targets. The Rust team plans to improve tail call features step-by-step, starting with common cases, to make Rust faster and more powerful for systems programming.
High-Level Rust: Getting 80% of the Benefits with 20% of the Pain The author explores using Rust as a high-level language to gain most benefits with less difficulty. This approach favors immutable data and cloning to simplify coding but may reduce performance somewhat. It works well for business logic and web APIs but is less suited for performance-critical or complex systems.
Bluesky and the AT Protocol: Usable Decentralized Social Media Bluesky is a new social network built on the decentralized AT Protocol to give users control and easy switching between providers. It offers features like customizable feeds and strong moderation while keeping content public and open. The system aims to match centralized services in quality but with openness and interoperability among many providers.
Blue light filters don’t work Blue light filters only reduce some blue light and have little effect on sleep. To improve sleep, it’s better to use dark mode, dim screens, and get bright daylight. If needed, melatonin supplements can help more than blue light filters alone.
‘Made in India’: A fine exposition of the personal and professional in creating pharma brand Lupin 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.
Nowhere Is Safe Drones have made all surface targets, military and civilian, vulnerable to attack. Current air defenses are not enough, so the U.S. must protect key assets by moving them underground or out of sight. A new, fast, and affordable approach to building underground shelters and tunnels is needed to improve survival and defense.
Helium Is Hard to Replace Helium is rare on Earth and comes mostly from underground natural gas pockets. It has unique properties that make it hard to replace in industries like semiconductors, aerospace, and medical imaging. Recycling helium can greatly reduce its use, but most of it is still wasted.
A tail-call interpreter in (nightly) Rust The author created a tail-call interpreter in Rust using the new nightly feature "become" to optimize function calls without adding to the stack. This approach lets the CPU state stay in registers and makes opcode dispatch faster, similar to hand-written assembly but easier to maintain. Benchmarks show this Rust implementation outperforms even the author's hand-coded assembly on an M1 MacBook.
I Still Prefer MCP Over Skills The author prefers the Model Context Protocol (MCP) over Skills for connecting AI to services because MCP offers seamless, remote access without installing extra tools. Skills are useful for teaching knowledge but often require clunky command-line interfaces that limit usability. Combining MCP as a connector and Skills as a knowledge layer creates a smoother, more practical AI integration experience.
Breaking news: The Prototype Fast Breeder Reactor at Kalpakkam achieves first criticality India’s Prototype Fast Breeder Reactor at Kalpakkam reached first criticality on April 6, 2026, marking a major step in its nuclear program. This reactor uses advanced technology to produce more fuel than it consumes, moving India toward energy independence. The success opens the way for more fast breeder reactors and growth in India’s nuclear capacity by 2047.
A real-world case of property-based verification The workbench simulates QUIC network traffic and needs strong guarantees that it works correctly. To ensure this, the team used property-based verification by logging network events and checking them with a simple verifier. This method caught bugs early and made testing easier and more reliable.
The Practical Guide to Superbabies Polygenic embryo screening lets parents choose embryos with lower genetic risks for diseases and traits like IQ. The success of this technology depends on how many embryos are available and how accurate the genetic tests are. New methods now allow testing of frozen embryos, making this option accessible to more families.
I'm All-In on Server-Side SQLite Ben Johnson argues SQLite can be the primary database for production apps if you add replication. Litestream copies SQLite's WAL to S3 or other servers for durability and read replicas. That makes apps simpler, faster, and easier to run at scale.
A quick guide to GADTs and why you ain't gonna need them GADTs are a powerful but complex extension to regular data types that let you encode more precise type information. They help restrict and control types in your code, but using them can lead to tricky compiler errors and harder code. In many cases, like simple role types, you probably don’t need GADTs and simpler types work just fine.
“I Who Have Never Known Men” Is a Warning | The New Yorker “I Who Have Never Known Men” is a haunting novel about a girl trapped with women in a strange cage at the end of the world. The story shows their struggle for freedom, knowledge, and survival in a silent, changed world without men. It warns us that peaceful days can suddenly end and challenges us to think about what true freedom means.
Situational overload and ambient overload Information overload comes in two forms: situational (finding a needle in a haystack) and ambient (a pile of needles). Filters and search tools mostly solve the situational problem. But better filters worsen ambient overload by pushing more interesting stuff at us, which makes us feel more overwhelmed.
I guess we’re doing Moon factories now SpaceX aims to build factories on the Moon to support space industry and make space development profitable. Space-based data centers and satellites like Starlink show how space businesses can generate big money by sending valuable information to Earth. NASA’s traditional programs are costly and slow, while SpaceX’s approach is faster, cheaper, and more focused on real results.
“How to be a 10x engineer” – interview with a standout dev 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.
Common Misconceptions about Compilers Compilers are complex tools that focus mainly on making programs run fast, but they do not always create the best or smallest code. Many common beliefs about compilers, like their ability to optimize for data locality or always speed up code, are not true for mainstream compilers like LLVM or GCC. While compilers are slower than some tools, they are still much faster than AI models, and features like separate compilation or interprocedural optimizations have practical limits.
An Incoherent Rust Rust enforces coherence and orphan rules to ensure trait implementations do not conflict or cause unsoundness across crates. Introducing incoherent traits and explicit trait impl naming allows overlapping implementations while keeping type safety. This approach helps manage complex trait bounds and ecosystem compatibility without breaking Rust’s soundness guarantees.
China and the Future of Science China aims to become the world’s leading scientific power by 2026 through heavy investment and innovation. The government focuses on self-reliance in technology and education, producing many top scientists and engineers. This rapid rise in science could change the future of technology and global leadership.
Your Work Will Change You Whether You Like It Or Not 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.
Rank and File A scholar spent decades taking neat notes and believed they were his life’s work. The author tried building a digital zettelkasten to become like him and found only chaos and useless busywork. Notes are a tool to help thinking, not a substitute for actually doing the work of thought.
Boredom Is the Price We Pay for Meaning Becoming a parent filled the author with deep love but also with constant, exhausting boredom. He learned that boredom is a natural, important feeling that teaches us about life and ourselves. Instead of running from it, we should face boredom to find meaning and grow.
A Codebase by an Agent for an Agent The author used an AI agent named Amp to write and organize code, letting it decide names and structure freely. This approach helped Amp work faster and more efficiently than when the author interfered. The result is a codebase designed by the agent, optimized for the agent’s own understanding and use.
Anthropic employees say they’ll give away billions. Where will it go? Anthropic employees plan to donate billions to effective altruism (EA) causes, especially AI safety nonprofits. This could greatly increase funding for groups aligned with their views but may raise concerns about bias and public trust. Donations might also support political efforts for AI safety laws and broader global health initiatives.
An oral history of Bank Python Bank Python is a proprietary, bank-specific fork of the Python ecosystem used at big investment banks. It centers on a global object database and custom tools (like Barbara and Dagger) that move Excel-style finance workflows into code. This monoculture isolates developers from mainstream Python and creates heavy, data-first systems tied to legacy finance practices.
The Memo AI is improving very fast and can do many tasks that used to need humans, especially in coding and investing. It learns from past patterns but may not always understand or create truly new ideas. While AI can replace many jobs, its full impact on society and the economy is still uncertain.
Build Systems à la Carte
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.
Handles are the better pointers 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.
Under the hood: Android 17’s lock-free MessageQueue 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.
Parse, don't Validate and Type-Driven Design in Rust In Rust, it's better to encode data rules in types rather than just checking values at runtime. This means creating special types, like NonZeroF32, that guarantee certain properties before the program runs. Using types this way helps catch errors early and makes code clearer and safer.
Porting a Segmented List From C to Rust The author ported a segmented list data structure from C to Rust to improve debugging and performance without relying on reallocations or copies. The Rust version uses a custom segmented bump allocator with mmap, dividing data into blocks for efficient growth and indexing. Benchmarks compare the Rust segmented list with Rust's standard Vec to evaluate speed and memory use.
How I learned to program The author shares their journey from being an electrical engineer to becoming a programmer, highlighting that programming initially felt unnatural to them. They emphasize that many successful programmers have non-traditional paths and that skills can be developed over time, regardless of early talent. Additionally, they stress the importance of learning how to solve complex problems and the benefits of collaboration in programming.
The State of Async Rust: Runtimes The article reviews the current state of async Rust runtimes and argues that executor coupling fragments the ecosystem. Tokio is the dominant but opinionated choice, pushing multithreaded defaults that add complexity and hurt ergonomics. The author advises using async only when needed, learn sync Rust first, and hopes for leaner runtimes like smol and embassy.
Political Reality Meets Economic Reality This memo discusses the conflict between political actions, like tariffs, and economic realities. While tariffs can benefit some companies, they may harm many others and can't resolve deeper economic issues. The author also warns about rising anti-capitalist sentiment and the simplistic economic solutions proposed by politicians.
Demystifying Determinism in Durable Execution Durable execution frameworks re-run functions from the top to recover, so the control flow must be deterministic. Side effects can be non-deterministic but must be idempotent or tolerate duplication. Separate control flow (decisions) from side effects (actions) and record any non-deterministic inputs used by control flow.
Why Strong Consistency? Eventual consistency in databases causes confusing errors and extra work for programmers and application builders. Strong consistency solves these problems by ensuring reads always reflect the latest writes, making code simpler and more reliable. Aurora DSQL uses a special system to give all reads strong consistency while still allowing the database to scale efficiently.
Implementing dependent types: how hard could it be? (Part 1) Dependent types let types depend on terms, so the typechecker must evaluate terms when comparing types. The post shows a normalization-by-evaluation approach: eval maps terms to semantic values and quote turns values back into beta- and eta-normal syntax using neutral terms. This normalization lets the checker decide definitional equality and so compare complex dependent types.
Implementing dependent types: how hard could it be? (Part 2) The post implements typechecking for a small dependent-type calculus using normalization and a normal/neutral term split. It fuses checking and evaluation via semantic (value-level) types and equality to avoid repeated syntax–semantics conversions. The semantic approach limits evaluation to necessary dependencies and simplifies the checker.
The Lost Generation The article argues that younger white men have lost access to many prestigious jobs as institutions prioritize diversity. This shift shows up across media, academia, tech, and medicine. Many affected men feel shut out and struggle to find other paths.
I've been writing ring buffers wrong all these years The author explains common ring buffer implementations and their trade-offs. He shows a better approach: use two unmasked, wrapping indices and mask only on access to reclaim the wasted slot. This method is simpler and uses full capacity but requires unsigned wraparound and power-of-two sizes.
More databases should be single-threaded The author argues databases should use many single-threaded shards instead of multi-threaded shards. This avoids complex locking, races, and transaction headaches and makes scaling easier. With good tooling, sharded single-writer shards give simpler correctness and horizontal scalability.
Capital in the 22nd Century If capital can replace labor, wealth will concentrate in the hands of those who are richest when that shift happens. Without strong global taxes on capital, inheritance and compounding returns could make inequality grow without bound. Historically capital often raised wages and lowered returns, but AI-driven automation could undo that self-correction.
2025 letter Dan Wang argues that Silicon Valley and the Chinese state are the two biggest forces shaping technology today. He says China’s industrial strength and rapid AI development are underestimated in the West. The US must learn from China’s playbook or risk losing key industries.
2025 letter The author reflects on how steady increases in compute have driven rapid AI progress and why that trend matters for the next decade.
He warns against naive long-term extrapolations while noting scaling laws and past surprises make big advances plausible.
He urges serious, practical thinking about AI’s societal impacts rather than hype or fatalism.
The 2 Sigma Problem One-to-one tutoring improves student learning much more than conventional group teaching, often by two standard deviations. Methods like Mastery Learning and increased student participation can also boost achievement significantly. Researchers suggest continuing to explore and apply these effective teaching strategies to close the learning gap.
The Fastest Mutexes Cosmopolitan mutexes are much faster and use less CPU than other popular mutex implementations on Windows and Linux. They work well in highly contested situations by using a smart design based on nsync and futexes. This makes them a great choice for production workloads needing efficient thread synchronization.
Gears in understanding The concept of "Gears-ness" in models refers to how well they constrain expectations and explain behavior. A model with high Gears-ness can better predict outcomes and adapt to new information, making it more useful. Understanding and improving the Gears-ness of our models can enhance our knowledge and insights about both physical systems and personal relationships.