Python

  • questionnaire — a Python package that prompts users to answer a series of questions using a terminal GUI, and returns the answers. questionnaire makes it trivial to ask different questions based on previous answers, and it allows users to go back and answer questions again. It works with Python 2 and 3.

    The package currently has 3 core prompters that can ask multiple choice/single option, multiple choice/multiple option, and raw input questions. Extending the package is as simple as writing new prompters. Check it out here.

JavaScript

Sublime Text

Other

  • Notes — Notes for hackers. Notes provides a minimal syntax for quick access, editing capability, and search functionality to all notes under a directory of your choosing. notes).

  • Location History — Unless you’ve disabled location services on your phone, Google (or Apple or Microsoft) is probably tracking your location, in Google’s case once a minute and accurate to 5 or 10 meters. There used to be an API for accessing this data, but now the best you can do is download your raw location history for a range of dates as KML or JSON via Google Takeout. I did this, ran a clustering algorithm on the data to create visit, location and trip instances, and put them in a database.

    When run on about 18 months of my location data, this process turned up 4400 visits (clusters of points where I’d been stationary somewhere for more than 6 minutes) that correspond to 750 unique locations. Trips are the sequences of moving points that occur between visits. The data was a lot of fun to explore. Probed with simple queries it can answer interesting aggregate questions, like where are the top five places I spend time on Saturdays, or, over a period of 6 months, at what time on average did I leave work on each of the different weekdays.

    I built a front end for this data using the Google Maps API and some JS plugins. The data doesn’t reveal anything that makes me uncomfortable, so I made it available here.

  • Match It — An Android clone of the Spot it! card game, on Google Play Store here.

  • Tortas — Pon tu propio changarro de tortas. Genera un menú digno de los mejores puestos: sumamente variado, internacional y sin sentido alguno.