In responding to recent comments on a paper, I went looking for information on how prevalent Twitter is across the world.  Based on my work using geolocated images from Twitter, I had a sense that it tracks population and per capita GDP closely.  But I have not had the time to investigate the relationship more […]

[Most recent update: 11.21.2019.] The purpose of this post is to catalogue advice from the internet about how to achieve tenure at a research university. When I was a PhD student, one method of calming my anxiety was to read advice from professors to PhD students; The Professor is In, Fabio Rojas, and Chris Blattman are particularly helpful.  Now […]

It is common for academic articles to have a Supplementary Material section to provide evidence or discussion in support of the main argument that space constraints do not allow to be published with the article.  The Supplementary Materials in turn often have their own citations separate from the manuscript.  This post details how to create […]

I recently had a large dataset where I wanted to make a series of plots with different variables on the y-axis.  I remembered that a few years ago I great frustrated that I could not do this with ggplot, so I moved on.  This time, I was successful. The key, as this Stack Overflow answer […]

That headline misleads slightly: the 30L backpack is a good everyday bag if photography is part of your everyday.  If your everyday involves traditional office work and commuting, I suggest looking elsewhere for a bag.  That is what I did, and I own happily the Nomatic Backpack. The internet world is in love with all […]

While I have my issues with the tidyverse, one feature I am enamored with is the ability to assign values to observations in grouped data without aggregating the data.  This assigning is done by using the mutate() command instead of summarize().  I am in the middle of some data processing in a Python pipeline where I […]

This one took me about 20-30 minutes to figure out today and required stringing together some SO answers, so I’m putting what I learned here for future reference. The scenario: searching if 1 of multiple strings exists in a longer string.  In this case, some possible Twitter clients in the source field of a tweet […]

This entry is a reminder for myself more than anything, as it documents a very popular SO answer that is one of the first returns from Google when searching “nohup multiple out files”. nohup.out is a file created automatically when you use type “nohup” in a bash terminal.  (“nohup” is short for “no hangup”, which […]

Following my highly successful – I liked it, I mean – 2017 end of year book list, I have decided to make the post a tradition.  What follows is the list, in chronological order, of books I finished in 2018.  If I put an asterisk after the title, it means I started the book in 2017. American […]

My wife has supernatural face memory and always sees celebrities when we are together. I am sure I saw many more celebrities without realizing it.  Overall, fun sightings, but not as awesome as 2017 (Fred Armisen, Jemaine from New Zealand and Flight of the Conchords, Abbi from Broad City). The following entries are in chronological order. Josh Flagg (January) […]