This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%% little code to compute steady state "q" from creation+decay "wp,wm" | |
% wp=creation | |
% wm=destruction | |
function q=qdef(wp,wm); | |
% 1) most important line p=\Pi (wp_j/wm_{j+1})=S^+_n/S^-/n | |
p=cumprod( wp(1:(end-1)) ... | |
./ ... | |
wm((1+1):end) ... | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%% parameters | |
% forget what you know | |
clear | |
% set max N | |
N=500; | |
% set "turnover n", aka n0 | |
n0=10; | |
% plotting parameters: | |
zmax=.2; | |
xmax=60; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import random | |
u_Health = 10 | |
t_Health = 10 | |
while u_Health*t_Health > 0: | |
they_attack=random.randint(0,1) | |
if they_attack == 0: | |
print ("they attack!") | |
u_Health=u_Health-1 | |
#print (u_Health,t_Health) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
long ago @wbialek pointed out to me the irony of his 2 most infamous quotes | |
- 1) "If your result needs a statistician then you should design a better experiment." and | |
- 2) "All science is either physics or stamp collecting." | |
is that, | |
- in the first case, his field of particle physics ended up | |
becoming far and away the most statistics-dependent of any subfield in physics, and | |
- in the second case, that his Nobel prize ended up being in chemistry not physics |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On S'engage; Et Puis, On Voit | |
Allegedly a favorite saying of Napoleon’s. Later, Lenin. | |
- t1: "You commit yourself; and then, you see." | |
- t2: "First engage in a serious battle and then see what happens." | |
- t3: "One jumps into the fray, then figures out what to do next," |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm doit.out ; touch doit.out ; yes | head -200 | awk '{print "echo "NR" `lynx -dump '"'"'https://en.wikipedia.org/wiki/"NR"_(number)'"'"' | wc -l` >> doit.out"}' > ! /tmp/doit.sh ; source /tmp/doit.sh ; sort -n -k 2 < doit.out | head -5 |
a good ask to a person (target) should
- include a warm intro to target from someone trusted by the target
- provide evidence of similarity or social connection to target
- show understanding of target's perspective
- explain how target was selected
- show evidence you understand the field you are asking about
Talk delivered 2015-12-04