Author Archives: Matt Kwan

Scraping Facebook Private Messages

Facebook allows you to download a dump of your data, which is supposed to include private messages. For some reason it was extremely incomplete for me (less than 1% of a particular thread with about 10000 messages). This Python script … Continue reading

Posted in Uncategorized | Leave a comment

Cute Combinatorial Problem

This was question 9 in the¬†Sydney University Mathematical Society Problem Competition 2012. My solution was quite different to the model solution — I use a decomposition technique common in graph theory and algorithm runtime analysis. Problem: For a permutation of … Continue reading

Posted in Uncategorized | Leave a comment