Skip to content

Instantly share code, notes, and snippets.

@clumma
clumma / apollo.md
Last active October 31, 2022 00:34
Letters to my Sons on the 50th Anniversary of Apollo 11

Starting today, I'm going to send a series of e-mails about the Apollo project. Each e-mail will include some interesting facts and maybe a question. So watch out for questions marks. I want to read your answers!

Basic Info

The Apollo project ran from 1961 to 1972. I was born in 1977.

The Saturn V rocket is the most famous vehicle made during the Apollo project. It flew just one mission after Apollo was cancelled – it launched Skylab in 1973

https://en.wikipedia.org/wiki/Skylab

Kensington El Cerrito Los Gatos
Square miles 1 4 11
People 5,000 25,000 30,000
@clumma
clumma / pH.md
Last active January 17, 2018 07:44
Calculating the pH of a solution

Hydrochloric acid

What the heck is "20° Baume muriatic acid"? Google to the rescue

It means that 100g of solution contains 31.45g HCl

Your HCl is very near to 10 mol/l or 36.5g/100ml

Strong acids dissociate completely, so pH is just the -log of the concentration (in moles/liter, called the molarity or M)

@clumma
clumma / TreeOfLife.md
Last active March 13, 2018 00:42
Tree of Life
  • Prokaryotes (no nucleus, unicellular)
    • Archaea (often extremophiles)
    • Bacteria
      • Cyanobacteria (have chlorophyll, e.g. spirulina)
      • Spirochetes (cause syphilis & Lyme disease)
  • Eukaryotes
    • Protozoa/Protists (unicellular)
      • Alveolates (phylum; cause malaria, toxoplasmosis)
        • Paramecium (cilia-bearing genus)
  • Giardia, Cryptosporidium (diarrhea-causing genera)
@clumma
clumma / FissionStartups.md
Last active February 26, 2017 04:22
Fission startups
name city nation
reactor size (MWe)
reactor type gee-whiz
Oklo Sunnyvale, CA USA 2 SFR * heat pipes
Dunedin Energy Systems ? Canada 6 LWR cermet fuel
Gen4 Energy Denver, CO USA 25 LFR *
Seaborg Copenhagen DK 25 MSR
StarCore Nuclear Montreal, QC Canada 30 HTGR
NuScale Power (Fluor) Portland, OR USA 50 LWR
X-energy Greenbelt, MD USA 50 HTGR
Kairos Power Oakland, CA USA 100 FHR natgas
@clumma
clumma / loopz.js
Last active January 9, 2017 07:42
Don't write loops?
var range = function(min, max) {
arr = [];
for (var i = min; i <= max; i++) {
arr.push(i);
}
return arr;
}
var fbMod = function(n) {
var msg = '';
var result = new Array(n);
@clumma
clumma / generators.ss
Last active January 8, 2017 20:25
generators for a rank-2 temperament
;; computes TE-optimal generators for a pair of vals
;; e.g. (generators '(1 2 4) '(0 -1 -4) '(2 3 5)) => (1201.397 504.348)
(define generators
(lambda (val1 val2 basis)
(let* ((square (lambda (x) (* x x)))
(log2 (lambda (x) (/ (log x) (log 2))))
(mean (lambda (ls) (/ (apply + ls) (length ls))))
(w1 (map / val1 (map log2 basis)))
(w2 (map / val2 (map log2 basis)))

How complexity scales with...

damage prime limit
JI Ω(1) Ω(π(p))
rank 1 Ω(1/d) Ω(π(p))
rank 2 Ω(1/d) Ω(π(p)2)
@clumma
clumma / reactors-new.md
Last active May 6, 2023 17:20
Newest Power Reactors

Newest U.S. power reactors by construction start:

reactor construction start first criticality
Vogtle 3 2013-03-12 2023-03-06
Summer 2 2013-03-09
Wolf Creek 1977-05-31 1985-05-22
River Bend 1 1977-03-25 1985-10-31
Vogtle 2 1976-08-01 1989-03-28
Seakbrook 1 1976-07-07 1989-06-13