Skip to content

Instantly share code, notes, and snippets.

View chrishwiggins's full-sized avatar

chris wiggins chrishwiggins

View GitHub Profile
find . | grep '\.py' | grep -v -e '/venv/' -e '(' -e ')' | xargs -I % grep import % | sed -e 's/^[ ]*//' | grep -e '^from ' -e '^import ' | awk '{print $2}' | sed -e 's/^[\.]*//' | cut -d\. -f1 | tr '[A-Z]' '[a-z]' | sort -bfd | uniq -c | sort -nr | head -20
find . | grep '\.py' | grep -v -e '/venv/' -e '(' -e ')' | xargs -I % grep import % | sed -e 's/^[ ]*//' | grep -e '^from ' -e '^import ' | awk '{print $2}' | sed -e 's/^[\.]*//' | cut -d\. -f1 | tr '[A-Z]' '[a-z]' | sed -e 's/,$//' | sort -bfd | uniq -c | sort -nr | grep -n -e numpy -e scipy -e matplotlib -e ipython -e pandas -e sympy -e nose | tr ':' '\t'

Data Science Lecture @ Brown: references/links

Talk delivered 2015-12-04

Slideshare link

context

a good ask:

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
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
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,"
@chrishwiggins
chrishwiggins / VU.md
Created March 4, 2016 16:22
referneces from VU talk 2016-03-04
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