John Pearson

About

Publications

Research

Teaching

cv

Lab Website

Google Scholar

ResearchGate

GitHub

LinkedIn

Signal and Noise
22 September 2015

You know why nobody likes statisticians? Because we’re the lawyers of science.

— name withheld

Keep reading...


Teaching Programming
20 March 2015

I just finished teaching another short course in programming, this time for our undergraduate neuro majors at Duke. As mentioned elsewhere, I’m excited by the work Software Carpentry has been doing, especially in designing lessons for programming novices. However, when it came time to run my own class, I found myself doing some redesign.

Keep reading...


Dear Undergrads: How to win at research (or at least get a good rec letter) Pt. 3
21 December 2014

Welcome to part 3 of my series on how to win at undergraduate research. Bottom line: I’ve been arguing that if you want to have a successful research project (or simply be remembered come recommendation letter time), you should consider not being a flake and spending time in lab. In this final installment, I’ll be focusing on the research side of the equation, dispensing all my accumulated wisdom on the process of scientific discovery.

Keep reading...


Thinking With Data by Max Shron; O'Reilly Media
17 December 2014

Disclaimer: I received a free copy of this work under the O’Reilly Blogger Review Program.

Keep reading...


A minimal curriculum for learning R
26 November 2014

I like R. At least, well enough. I find the common lore to be true: the language is inconsistent and crufty, objects are bizarre, the data structures can be hard to work with. But the package system is excellent, with significantly better support for advanced statistical methods and analysis of categorical data. It’s clear that several of my favorite Python packages, pandas and statsmodels in particular, deliberately borrow from the best R has to offer, and ggplot2 produces, in my opinion, the best-looking off-the-shelf plots available. So collected here for the benefit of my friends learning R, is my shortlist of R learning recommendations.

Keep reading...


21st Century C (Second Edition) by Ben Klemens; O'Reilly Media
24 November 2014

Disclaimer: I received a free copy of this work under the O’Reilly Blogger Review Program.

Keep reading...


Dispatches from the front
14 November 2014

I’m at Day 2 of the second Human Single Unit conference, this time held at Johns Hopkins. It’s been a strong program, and inspiring, given that I’m trying to get a related manuscript of my own out the door. Highlights from today:


Dear Undergrads: How to win at research (or at least get a good rec letter) Pt. 2
07 November 2014

This is the second part of a series on how to have success as an undergraduate researcher. It’s somewhat in the spirit of the much better How to Be a Good Graduate Student, albeit a little more tongue-in-cheek. Mostly, I’m trying to be honest about two infrequently acknowledged truths about undergraduate research:

Keep reading...


Dear Undergrads: How to win at research (or at least get a good rec letter) Pt. 1
04 November 2014

Yes, it’s rec letter season again. Grad school, internships, fellowships, and the great Hunger Games that is medical school admissions. As a senior member of a large lab with a higher-than-average contingent of undergraduate volunteers, I count somewhere in the neighborhood of a dozen students I’ve personally mentored over the last several years, and that means even have to write a letter now and then in the service of former students.

Keep reading...


This kid gets it
31 October 2014

From an undergraduate at my institution who was selected as a BRAIN Initiative Grand Challenge Scholar and interviewed on whitehouse.gov:

Kevin: The best way to become a valuable member in nearly any scientific field is to learn to code. Software developers are needed across all types of industry (private, university, government). It has been my experience that nearly every lab could use another pair of hands to perform data analysis or machine learning techniques that you can learn with at least some coding background. There are practically an infinite number of ways to learn to code, most of them you can do in your free time.


Data Science at the Command Line by Jeroen Janssens; O'Reilly Media
29 October 2014

Disclaimer: I received a free copy of this work under the O’Reilly Blogger Review Program.

Keep reading...


All hail Octocat!
29 October 2014

As of today, this blog has moved to GitHub pages, where I can take advantage of Jekyll to write posts in glorious low-tech Markdown. Plus equations \(\nabla \cdot \mathbf{B} = 0\) ! And code:

def get_crunk():
    print "hello, cleveland!"
    break_everything()

This is almost embarrassingly exciting.


Angular JS: Up and Running by Brad Green and Shyam Seshadri; O'Reilly Media
04 October 2014

Disclaimer: I received a free copy of this work under the O’Reilly Blogger Review Program.

Keep reading...


Learning PHP, MySQL, JavaScript, CSS & HTML5 by Robin Nixon; O'Reilly Media
22 July 2014

Disclaimer: I received a free copy of this work under the O’Reilly Blogger Review Program.

Keep reading...


Fluent Conference 2014 Complete Video Collection; O'Reilly Media
16 June 2014

Disclaimer: I received a free copy of this work under the O’Reilly Blogger Review Program.

Keep reading...


Further adventures in Pythonism
05 June 2014

Over the last year or so, I’ve been porting all my analysis over to Python. Why, you ask? Perhaps because it’s a pleasure to use a language that’s clean and consistent. Perhaps because I’m tired of dying a little inside every time I have to process strings in Matlab. Either way, to borrow a concept used by Bible translators, one could almost say that I’ve discovered in Python my heart language for coding.

Keep reading...


Eye Tracking in User Experience Design by Jennifer Romano Bergstrom and Andrew Jonathan Schall; Elsevier/Morgan Kaufmann
26 May 2014

Disclaimer: I received a free review copy of this work through the O’Reilly Blogger Review Program.

Keep reading...


High Performance Python by Micha Gorelick and Ian Ozsvald; O'Reilly Media
14 April 2014

Disclaimer: I received a free review copy of this work through the O’Reilly Blogger Review Program.

Keep reading...


Learning Web App Development by Semmy Purewal; O'Reilly Media
27 March 2014

Disclaimer: I received a free review copy of this work through the O’Reilly Blogger Review Program.

Keep reading...


Regular Expressions Cookbook by Jan Goyvaerts and Steven Levithan; O'Reilly Media
15 February 2014

Some people, when confronted with a problem, think, “I know, I’ll use regular expressions.” Now they have two problems.

— Old Regex Proverb

Keep reading...


In which I justify shilling for O'Reilly
15 February 2014

Given that I have proven almost wholly incapable of sustaining a blog, it might come as a surprise to my “legions” of readers that I would break a long silence just to start posting book reviews. Programming book reviews at that.

Keep reading...


What I do: Upgoer Five edition
21 January 2013

Courtesy of Randall Munroe’s xkcd and Theo Sanderson’s handy text editor, a description of what I do using only the ten hundred most common words:

Keep reading...


Stats snobbery
04 January 2013

Sean Taylor has a great post up about what your choice of stats software says about you. Some of it’s a little harsh, and it’s all tongue-in-cheek, but I do have to admit to doing this sort of profiling. Graphs made in Excel do not exactly inspire confidence in yours truly.

Keep reading...


Is this mouse depressed?
02 January 2013

It’s high times in the land of neuroscience. In the last two weeks, we’ve had three high-profile papers from the wizards of optogenetics, all related to depression, all linked to dopamine.Now, by this point, everyone in the blogosphere has covered the gee whiz aspect of this story, so I thought I’d delve into a couple of problematic issues these studies raise for those of us who think about neuroscience for a living.

Keep reading...


On not being in Kansas anymore
16 December 2012

Long, long ago, in a galaxy far, far away, I was a physicist. Or at least I trained as one. And even now, far removed from anything like what I did in grad school, I still wouldn’t trade that background for anything. But by this point, I’ve been a neuroscientist long enough that the hours I spent staring forlornly at equations on chalkboards have begun to seem like they happened to someone else.

Keep reading...


Why don't journalists write about scientists the way they write about chefs?
11 December 2012

I make no secret of the fact that I love to read The New Yorker. Truth be told, I’ve probably read more than 95% of the long features published in the last seven years. And of those many, many pieces, my favorite category is the profile. Maybe because I’m fixated on high-achievers and the rarefied air in which they seem to live. (The academic’s version of tabloid-reading? Bernard-Henri Lévy as Lindsay Lohan?) Maybe just because humans are the most intensely human primates on the globe, and we love nothing better than gossip. Either way, as I was walking back from lunch after having enjoyed Jane Kramer’s piece about Yotam Ottolenghi, a thought struck me: why don’t journalists write about scientists the way they write about chefs? Or visual artists, for that matter? Or musicians?

Keep reading...


Most Requested
09 December 2012

I’m uploading here three presentations for which I still get requests from time to time.

Keep reading...


In Medias Res
08 December 2012

Aristotle teaches us that the most auspicious beginning for any story is in the middle of the thing. Elmore Leonard says leave out the parts readers tend to skip.

Keep reading...