Tuesday, October 06, 2026

computer architecture: Dive into Systems (online, book)

 Dive into Systems 

Suzanne J. Matthews, West Point
Tia Newhall, Swarthmore College
Kevin C. Webb, Swarthmore College

Dive into Systems is a free, online textbook that serves as a gentle introduction to computer systems, computer organization, and parallel computing. The book is intended for an audience that has only a CS1 background. It guides readers through a vertical slice of a computer to develop an understanding of a variety of systems topics, including:

Dive Into Systems | No Starch Press ($55 ebook, $80 paper)

  • how a computer runs a program, from a program expressed in a high-level language to low-level binary representation and circuits

  • programming in C and Assembly (assuming a CS1 background)

  • introduction to operating systems and the systems costs that affect program performance (the memory hierarchy, caching, and code optimization)

  • introduction to parallel computing with shared memory and pthreads







Monday, October 05, 2026

JavaScript: Bun AoT vs JIT compile

Jarred Sumner on X: "An early preview of experimental Bun + JSC with ahead-of-time compilation For Claude Code's CLI: 24% faster startup, 48% lower memory, 46% lower CPU, and nearly 2x larger binary size https://t.co/MCy1lHtpfu" / X


Most JavaScript usage is just-in-time compiled. As code runs, types of values are watched and when a function runs frequently enough, a faster specialized version of that function is compiled on-demand. Ahead of time compilation bakes that work into the executable itself.



YeSQL · The Art of PostgreSQL: PGLite SQL => WASM

a free set of 24 short PostgreSQL lessons — one concept, one runnable query, real data, no signup. It’s free to use today, and it’s also a prototype for something I’ve wanted to build for a while: making every query in The Art of PostgreSQL runnable, right on the page.

every runnable query on YeSQL is powered by PGlite, Postgres compiled to WebAssembly, running directly in your browser tab.

YeSQL · The Art of PostgreSQL

Practical PostgreSQL for developers, one concept at a time.

The Art of PostgreSQL, one concept at a time. Every lesson here teaches a single idea with a runnable query and real data — then shows you where it fits in the bigger picture. Browse by topic, or start with the foundations.


$89

Sunday, October 04, 2026

IaC tool: Alchemy, with Effect (TS)

 Using Effect? Use Alchemy, too! - YouTube by Academind

No matter which kind of (web) application you're building - stop managing infrastructure manually. Embrace Alchemy instead!

This video by Academind demonstrates how using the Alchemy library alongside Effect simplifies infrastructure management directly inside TypeScript web application codebases.

  • Infrastructure as Code (IaC): Developers can replace manual cloud dashboard configuration by defining cloud resources (such as workers or storage buckets) straight in TypeScript.

  • Effect Integration & Type Safety: Built on top of the Effect library, Alchemy provides end-to-end type safety and structured execution rules, making it easier and safer for AI coding agents to generate correct application infrastructure.

  • Unified Application & Infrastructure: Business logic and cloud setup reside in the same stack. Resources like Cloudflare Workers and R2 storage buckets are declared together and linked automatically during deployment.

  • Multi-Provider Support: Alchemy works across multiple hosting providers, including Cloudflare, AWS, and Hetzner, with ongoing support added for additional services.

  • State-Based Deployments: Stacks are updated efficiently by comparing current resource configurations with existing infrastructure states to make precise, incremental updates.



Alchemy Website

What is Alchemy? | Alchemy

Alchemy is Infrastructure as Code built in pure Effect, with Infrastructure as Effects on top. Infrastructure as Code declares, diffs, and deploys cloud resources the way Terraform or Pulumi does. Infrastructure as Effects lets the code that runs on those resources live in the same program, as typed Effects and Layers.


Infrastructure is part of your application

Other IaC tools split an app into two programs, but every feature you build crosses that line. In Alchemy, a Layer owns its infrastructure and service implementation so that features can be decomposed.

Effect TS Ecosystem


Effect is a library for building robust, maintainable, type-safe, and production grade applications in TypeScript. It helps you handle the hard problems at scale: typed errors, dependency injection, structured concurrency, scheduling, tracing, and unified schema validation.


AI book: The Eureka Machine by Richard Socher; AI search you.com

The Leading Web Search APIs for AI | You.com

Recursive.com (AI self improvement)



Richard Socher (born 1983) is a German-born computer scientist focusing on artificial intelligence (AI) research. He is the co-founder and CEO of You.com,[1] an AI search infrastructure company, and co-founder and CEO of Recursive, a company pursuing recursive self-improvement.[2] He is also a co-founder and investment partner of AIX Ventures, an AI venture capital firm.[3] He was a researcher for ImageNet, a visual database. In 2014, Socher co-authored GloVe, an unsupervised learning algorithm that embeds words in multi-dimensional vectors.

The Eureka Machine: Why AI Is the Key to Unlocking a New Era of Scientific Discoveries by AI pioneer Richard Socher (published on eptember 22, 2026) argues that artificial intelligence will fundamentally transform and accelerate the scientific method itself, compressing a century of expected breakthroughs into just the coming decade. [1, 2]
Core Premise
  • Reversing Scientific Sclerosis: While human researchers publish more papers than ever, human expertise has grown narrow and overall scientific progress has slowed down.
  • Full-Stack Transformation: Socher contends that AI connects and transforms every single stage of the scientific pipeline—from forming hypotheses and running experiments to analyzing data and building theories.
  • The Four Pillars: The book outlines foundational knowledge models, unified reality models, simulated worlds, and a "Lab in the Loop" framework for real-world agentic experimentation. [1, 2]
Impact Areas & Real-World Applications
  • Medicine & Biology: Radically speeds up drug discovery timelines and allows subcellular-level simulations of life-forms and organoid research across diverse populations.
  • Neuroscience: Highlights nascent capabilities to translate, read, and record complex human thoughts and dreams.
  • Astronomy & Economics: Enables the rapid analysis of thousands of exoplanets for biosignatures and models complex economies using simulated citizen populations ("sim-citizens"). [1, 2, 3]
The Outlook on Superintelligence
  • Expanding Creativity: Socher remains deeply optimistic, asserting that AI will not replace human creativity, but rather expand the overall "creative possibility space".
  • Self-Improvement: The book projects a future defined by self-improving superintelligence that systematically identifies human blind spots, poses novel questions, and reshapes scientific discovery. [1, 2, 3]

UUID v7: 23x Faster Inserts, PostgreSQL 18

 PostgreSQL 18: 23x Faster Inserts With UUID v7 | Software Engineer, Author, High Performance PostgreSQL for Rails

This article by Andrew Atkinson highlights how migrating database primary keys to UUID v7 in PostgreSQL 18 improved insert performance up to 23x for high-volume tables.

  • Performance Improvements: Multi-row insert queries saw dramatic reductions in execution time:
    • Table A: Reduced execution time from 0.7ms to 0.03ms (23x speedup) at 12,000 calls/min.
    • Table B: Reduced from 0.6ms to 0.07ms (9x speedup).
    • Table C: Reduced from 0.5ms to 0.08ms (6x speedup).

  • Why UUID v7 Performs Better: Unlike UUID v4 (purely random) or UUID v1, UUID v7 is time-ordered (monotonically increasing). This keeps the primary key B-Tree index pages "hot" in the Postgres buffer cache, reducing disk I/O, CPU overhead, and index page splits.

  • Migration Strategy & Challenges:
    • Changing column defaults using ALTER TABLE ... ALTER COLUMN ... SET DEFAULT uuidv7() requires an Access Exclusive Lock, which blocks all reads and writes.
    • To avoid downtime on active tables, the author used short lock_timeout values (e.g., 50–100ms) paired with a PL/pgSQL retry loop with jittered backoffs (50–250ms) to acquire the lock during tiny traffic lulls.

  • Trade-offs: UUID v7 embeds a timestamp in the initial bits, meaning record creation times can be decoded from the ID. If hiding record creation timestamps is a strict security requirement, UUID v4 is still preferred.