







Caching is implemented because it saves time, generally by saving the results of one function call for subsequent reuse. Background processes are also commonly implemented as time-saving measures, through delegating long-running tasks to "somewhere else", allowing you to keep focussing on whatever (un)important things you were doing in the meantime. This blog entry describes how to combine the two to save double time through caching via background processes.
mp | Timeout on parallel jobs in R
Python's multiprocessing and threading libraries both have a timeout parameter for re-joining threads after they've finished. This provides an easy way to launch multi-threaded jobs while ensuing that no single thread exceeds a specified timeout. This post describes two ways to implement equivalent functionality in R.
Prompt Caching In Agents | EARENDIL
How prompt caching shapes the cost, latency, tools, and architecture of coding agents, and what Pi does to keep cache behavior visible.

How to Run Background Tasks with Expo
I made a quick video showing how to use the new expo-background-tasks module. It’s great for syncing data, downloading OTA updates ahead of time, or…
🔎 expo task manager vs background task - Google Search

Goodbye background-fetch, hello expo-background-task
Expo SDK 53 introduces expo-background-task, a modern way to run background tasks reliably using system APIs for faster, fresher app experiences.

Introducing Faktory
Yesterday I explained how a good background job framework is critical to scaling business applications. Today, meet Faktory. I’ve spent the last six months building Faktory, a new background job system which aims to bring the best practices developed over the last five years in Sidekiq to every programming language. The Basics Faktory is a server daemon which provides a simple API to produce and consume background jobs. Here’s the chatter to create and execute a background job:
open-cli-tools/concurrently
Run commands concurrently. Like `npm run watch-js & npm run watch-less` but better.
Background Task never Executing · Issue #36492 · expo/expo
Minimal reproducible example https://github.com/nickreynolds/expo-background-test What platform(s) does this occur on? Android Where did you reproduce the issue? in a development build Summary I...
Background execution | Gemini API | Google AI for Developers
Run long-running background tasks and agents using background=true in the Interactions API.

mp | debugging in R with a single command
There are several great references for how to debug C or C++ code in R, but descriptions of how to start a debugger are often not so informative. This post describes how to start a debugging session in R with a single command.
Perkeep
Perkeep (née Camlistore) is a set of open source formats, protocols, and software for modeling, storing, searching, sharing and synchronizing data in the post-PC era. Data may be files or objects, tweets or 5TB videos, and you can access it via a phone, browser or FUSE filesystem.
Spaced repetition systems can be used to program attention
Spaced repetition memory systems make memory a choice .NoteLink.Active { background-color: rgba(10, 132, 255, 0.15); } , but the computerized component’s value lies specifically in dynamically scheduling and selecting questions to be reviewed. In some sense, the efficacy of a Spaced repetition memory system .NoteLink.Active { background-color: rgba(10, 132, 255, 0.15); } comes from its power to program your attention (Programmable attention .NoteLink.Active { background-color: rgba(10, 132, 255, 0.15); } ). Think: “{cron} for your mind.” ☉
We've recently made Pi's cache behavior more visible. This site has been debating whether agent harnesses are helping or quietly torching their caches. That seemed like a good excuse to explain how KV caches actually work and how Pi helps (or doesn't). earendil.com/posts/prompt-caching/
Prompt Caching In Agents | EARENDIL
earendil.com