Switch branches/tags
Nothing to show
Commits on Feb 22, 2012
  1. stuff

    jessehattabaugh committed Feb 22, 2012
Commits on Feb 17, 2012
  1. forgot this file

    jessehattabaugh committed Feb 17, 2012
  2. stashing changes

    jessehattabaugh committed Feb 17, 2012
  3. this is one of those points that's hard for me. I have some amount of…

    jessehattabaugh committed Feb 17, 2012
    … functionality, but I see fundamental changes that need to be made. I'm diving into these headfirst; offloading cluster loading to ajax so the request time doesn't matter as much, and saving clusters to the DataStore so they don't have to be recomputed so often. These two steps feel necessary before I can do the thing that this site needs to do most; compare the clusters of two people. Sigh, so much work to do.
Commits on Feb 15, 2012
  1. fuck git

    jessehattabaugh committed Feb 15, 2012
Commits on Feb 9, 2012
  1. I've added geographical clustering data and a google map which displa…

    jessehattabaugh committed Feb 9, 2012
    …ys squares around the clusters. Obviously a few of the clusters are too large to be useful. I have a square that goes from Arkansas to Redwood City. This is a result of the kmeans algorithm's preference for evenly sized groups over proximity. A simple solution would be to throw away groups that cover too wide an area, or perhaps groups which have the lowest checkins per sq-mile. I could also filter checkins by proximity to the user's current location. Users may also wish to limit to checkins made after a certain date. Adjusting the number of groups can have an impact, and I may way to give users control over this so they can help me find the ideal setting.
    Though there is obviously much work to be done to the clustering to improve it there are still two things I need to turn my attention to; the first is combining two users' checkins which will yield clusters that fit both users (the point of the site), and the second is loading Venues for the clusters I've found. After that I need to enable, switching between timespans.
    Finally, as the data gets bigger I need to start thinking about speeding it up. First I will move data loading to ajax calls. This will allow the interface to load immediately while the data loading spins. Second I need to start pre-processing checkin loads, and clustering in the TaskQueue. After all that I think it will be necessary to implement kmeans in MapReduce along with improvements to the centroid selection algorithm. Why is this so fun?
Commits on Feb 8, 2012
  1. So this is my first time using and I just figured out that …

    jessehattabaugh committed Feb 8, 2012
    …response and request are like globals which means I can use them in Models and Templates. That's sort of a game changer. So I moved my authentication code to a User class method. I figure it belongs there since it's main purpose is to return the currently authenticated User. That's so sick it feels wrong!
  2. Since I have a User data stored locally I am no longer doing a user a…

    jessehattabaugh committed Feb 8, 2012
    …pi request on every page view. Thus the oauth token doesn't get invalidated immediately. My checkin calls were failing, but my authentication checks were passing. So I decided to start raising an ApiException when the api calls fail. I'm not a big user of exceptions, but this is one of those cases where it's handy.
Commits on Feb 7, 2012
  1. I've decided I need to throw away my brilliant memcaching scheme and …

    jessehattabaugh committed Feb 7, 2012
    …store checkins in DataStore so I can query for them by lat/lng range. So I'm going to have to add a User Model and store the user_id from the auth call. Honestly I've been meaning to do that for a while, but it seemed so much simpler to store checkins stringified the way they come from the API since I could only hang onto them for 30 days. Now I'll have to have a maintenance script that dumps checkins that are older than 30 days and reloads them.But considering all the ways I'm going to need to combine checkins, this is necessary. Shouldn't take more than a day or two.
  2. Foursquare checkins have a timestamp in UTC time. Added pytz to conve…

    jessehattabaugh committed Feb 7, 2012
    …rt to to the correct timezone
  3. Upgraded to Bootstrap 2 and HTML5 Boilerplate 3. Also added cluster m…

    jessehattabaugh committed Feb 7, 2012
    …odule, and memcaching of checkin requests
Commits on Feb 3, 2012
  1. missing files

    jessehattabaugh committed Feb 3, 2012
Commits on Feb 2, 2012
Commits on Feb 1, 2012
  1. git is weird

    jessehattabaugh committed Feb 1, 2012
Commits on Jan 31, 2012
  1. gae template

    jessehattabaugh committed Jan 31, 2012