Skip to content

Instantly share code, notes, and snippets.

Carl Lumma clumma

Block or report user

Report or block clumma

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View GoldenEras.md

Ages of Growth

Notable 'golden eras' may be caused by contact with steep energy gradients that are eventually depleted.[1] The Dutch golden age, which gave us Huygens, Sweelinck, and Vermeer, was powered by wind and peat. The Victorian era, which gave us Bosanquet among many others, coal.[2] Postwar business cycles are closely associated with changes in the price of oil.[3]

The average YoY growth rate of world oil production 1974-2013 was 1%. Minimum 1961-1973 was 5% (average was 7%).[4]

[1a] http://lumma.org/econ/AgesOfGrowth.txt
[1b] http://www.inscc.utah.edu/~tgarrett/Economics/
[2a] https://books.google.com/books?id=oQdZAAAAYAAJ
[2b] https://gist.github.com/clumma/2ffed4289963dec56d39

View cerebellum.txt
2017-09-18
d4 0.11
Nf6
c4
e6
Nf3
d5 Nc3
c6 e3 Nbd7 Qc2 Bd6 Bd3 O-O O-O dxc4 Bxc4 a6 Rd1 b5 Bd3 | 0.11 Semi-Slav
Bb4 cxd5 exd5 Bg5 h6 Bh4 Bf5 | 0.14 Ragozin
View apollo.md

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

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

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 Mar 13, 2018
Tree of Life
View TreeOfLife.md
  • 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 Feb 26, 2017
Fission startups
View FissionStartups.md
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 Jan 9, 2017
Don't write loops?
View loopz.js
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 Jan 8, 2017
generators for a rank-2 temperament
View generators.ss
;; 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)))
You can’t perform that action at this time.