Profile cover photo
Profile photo
Matthew Might
CS prof
CS prof

Matthew's posts

So, why did latex disappear from my $PATH when I upgraded to El Capitan?

Hey multimonitor folks, what's your favorite way to take advantage of the real estate?

For example, I like Email + Calendar, Vim/Terminal + PDF.

What do you like?

Post has attachment

Post has shared content
One sometimes hears political activists complain of "suspiciously convenient timing" when media coverage of an important and controversial event related to their cause is drowned out by some unrelated news event dominating the headlines.  For instance, in domestic US politics, there were suspicions raised recently in some quarters that the various votes to give fast-track authority to the US president to negotiate the Trans-Pacific Partnership (TPP) agreement were deliberately timed to coincide with other headline-grabbing events, such as the multiple shootings in Charleston, or the recent significant Supreme Court decisions on the Affordable Care Act and marriage equality.

But actually, the laws of probability predict such "convenient" coincidences to occur with a surprisingly high frequency, even in the absence of any conspiracy to co-ordinate timing (for reasons similar to those behind the birthday paradox, linked below).  To oversimplify things slightly, if

* a controversial event that the authorities would prefer not to draw attention to occurs every X days on average; and

* a spectacular event dominating the headlines occurs every Y days on average;

then just from random chance, we would have

* a coincidence in which a controversial event conveniently occurs on the same day as a spectacular event will occur every XY days on average.

The frequency of such coincidences also rapidly increases if one widens the window defining such a coincidence, for instance

* a controversial event will occur within a day of a spectacular event every XY/3 days on average;

* a controversial event will occur on the same week of a spectacular event every XY/7 days on average;

and so forth.

For instance, in this month of June in domestic US media, "controversial" events included two votes for TPP and one vote to reauthorise the Patriot act, while "spectacular" events included the Charleston shooting, two major Supreme Court decisions, a celebrity very publicly becoming transgender, and an extensively covered prison break, among others.  This suggests values of X and Y comparable to 10 and 5 respectively,  so that same-day coincidences should be expected about once every two months, and within-a-day coincidences once every two to three weeks.  This is admittedly a very back-of-the-envelope calculation involving a fairly short time interval of analysis and a rather subjective interpretation of what is "controversial" or "spectacular", but I expect these numbers to be of about the right order of magnitude.

One could in principle try to set up a more careful test to see if there is a statistically significant correlation between the timing of "controversial" and "spectacular" events, though given human nature I would expect that a negative result for such a test would do little to change the minds of someone who sees such a coincidence and is convinced that it is not purely due to chance.

EDIT: the same analysis suggests that a day with two or more spectacular events should occur about once every 2Y^2 days, on the average.  It seems that today could be one of these days, at least as far as the US media is concerned.

Post has attachment
For any fellow academics that have been frustrated with manual re-extraction of data from their .bib file for CVs, reports, web sites, etc:

Parsing BibTeX into S-Expressions, JSON, XML and (back to) BibTeX with Racket:

What's your favorite workflow / app for marking up a PDF for giving feedback on a manuscript to a student?

Post has shared content

It's time to dump iPhoto in favor of a simple, directory-backed structure. Are there any photo managers happy to use a set up like this?

Anyone have recommendations for an SSL cert provider?

Post has attachment
Wait while more posts are being loaded