Skip to content

Instantly share code, notes, and snippets.

@xpe
xpe / privacy-preserving-telemetry.md
Created April 22, 2026 20:53
A map of privacy-preserving telemetry, from randomized response to OHTTP

Generated by Claude Opus 4.7 on April 22, 2026.

A map of privacy-preserving telemetry, from randomized response to OHTTP

When a vendor says "we don't collect any personally identifiable information," what did they actually build? The honest answer, across two decades of deployed systems, ranges from "nothing at all, they just stripped the obvious identifiers" to "a multi-party cryptographic protocol with published epsilon budgets and open-source code running in trusted enclaves." This survey is a field guide to the territory between those extremes — the deployed systems you will run into by name, and the formal guarantee types that those systems do or do not meet.

Three things make this landscape hard for a newcomer. First, the same marketing words — "anonymous," "aggregated," "privacy-preserving" — get used for mechanisms that differ by many orders of magnitude in strength. Second, the strongest guarantees are conditional on assumptions (non-collusion, trusted hardware, crypto hardness, client hones

@xpe
xpe / nasa-constant-contact-20260417.md
Last active April 17, 2026 16:54
NASA using Constant Contact - data sharing, legality questions

Written by Claude Opus 4.7 on 2026-04-17.

NASA Is Collecting Job-Alert Signups Through a Non-.gov Constant Contact Page

April 17, 2026

NASA's NASA Force careers page invites the public to "sign up for updates to stay informed when new roles open." The link points to:

https://lp.constantcontactpages.com/su/sKWkWfp
@xpe
xpe / nasa-force-constant-contact-questions.md
Created April 17, 2026 16:47
NASA Force - compressed hiring window, third-party sign up list

NASA Force: Notes on a Compressed Hiring Window and a Third-Party Signup List

April 17, 2026

(This document was generated by Claude Opus 4.7 on 2026-04-17.)

On April 17, 2026, NASA's first "NASA Force" opportunity opened on USAJOBS with a closing date of April 21 — a four-day public application window. NASA Force was announced on March 4, 2026 as a dedicated talent track within OPM's US Tech Force initiative, aimed at placing engineers and technologists into term appointments supporting NASA's exploration, research, and advanced technology priorities.

The rollout raises two distinct questions worth separating: (1) whether the four-day window is a fairness problem, and (2) whether the Constant Contact signup list used to notify interested applicants is legally compliant.

@xpe
xpe / drop-indexed-by-in-gp.md
Last active April 2, 2026 13:54
Drop “Indexed By” From the GP Definition

“Indexed by $X$” Is unnecessary when defining a Gaussian process (GP)

One definition

A Gaussian process is a collection of random variables ${f(x)}_{x \in X}$, indexed by a set $X$, such that every finite subcollection has a joint Gaussian distribution.

The same definition, without “indexed by $X$

A Gaussian process is a collection of random variables ${f(x)}_{x \in X}$ such that every finite subcollection has a joint Gaussian distribution.

@xpe
xpe / building-argsort-with-nushell.md
Last active January 11, 2026 22:13
A quick tour of building `argsort` with Nushell... enjoy!

You can define commands (like functions) like this (in the shell if you want for easy trial and error):

# Returns indices that would sort the input list
def argsort [--reverse (-r)]: list<number> -> list<int> {
    enumerate | sort-by item --reverse=$reverse | get index
}

Then you get nice help like this "for free":

No, this is bad UX. The asymmetry violates the principle of least surprise.

What --all conventionally means: A flag like --all should modify the scope or filtering of output, not the fundamental preconditions for the command to execute. Users expect flags to be additive or parametric modifications to a base behavior.

Examples of expected behavior:

Command Without flag With --all / -a
ls vs ls -a Shows visible files Also shows hidden files
@xpe
xpe / darwin-timeout-doc-review-by-claude.md
Created December 5, 2025 20:56
`darwin-timeout` documentation review by Claude Code Opus 4.5 Review)

Documentation Review

Documentation Sources

  1. README.md - User-facing documentation
  2. Module docs - //! comments at module top
  3. Function docs - /// comments on public items
  4. Code comments - /* */ and // inline comments
  5. SAFETY comments - Required for unsafe blocks
https://www.researchgate.net/publication/336816544/figure/fig1/AS:818057870069762@1572051603950/Causal-diagram-illustrating-postulated-causal-relationships-between-disability.png
Source: https://www.researchgate.net/figure/Causal-diagram-illustrating-postulated-causal-relationships-between-disability_fig1_336816544
@xpe
xpe / cox-summary.md
Last active November 6, 2025 19:28
Cox’s Theorem

Cox’s theorem proves that probability theory is the unique consistent framework for reasoning under uncertainty.[1][2] Any system satisfying basic consistency requirements must be isomorphic to probability theory.

This framework is compositional over viewpoints: you assign probabilities over models/hypotheses and update via Bayes’ rule. Aumann’s Agreement Theorem shows that rational agents with common priors who update on shared evidence converge in their beliefs.

[1] Cox, R. T. (1946). “Probability, Frequency and Reasonable Expectation”. American Journal of Physics. 14 (1): 1–13.

[2] Cox, R. T. (1961). The Algebra of Probable Inference. Johns Hopkins University Press.​​​​​​​​​​​​​​​​