News for hackers. Stuff that matters.
Re:Show HN: Earthquakes on Leaflet, Crossfilter and D3 by zjonsson on Saturday February 02, 2013 @04:07PM (#5157327)
Server-side crossfilter, eliminating the need to download the full dataset to the browser (https://github.com/ZJONSSON/crossfilter).

Maps from LMI.is, which just released it's geographic data free of charge (http://www.lmi.is/stafraen-kort-og-landupplysingar-lmi-gerd-...)

Re:Show HN: Earthquakes on Leaflet, Crossfilter and D3 by milroc on Saturday February 02, 2013 @08:11PM (#5158080)
hey Zjonsson, I think this is awesome, have you considered having a webworker run in the background to send the data to the browser and then switch once it has finished? The time to interactivity (and visibility) of crossfilter is a problem, and I think you did a great job solving that problem, I just don't find the interactivity to be as great as I was expecting (then again I'm on a slow connection currently).
Re:Show HN: Earthquakes on Leaflet, Crossfilter and D3 by zjonsson on Saturday February 02, 2013 @09:19PM (#5158269)
A great idea, however the web workers would have to be semi-persistent as the initial build of the crossfilter object takes some time (i.e. I wouldn't spawn a new worker on a new request). Here I simply increased the heroku nodes to respond smoothly to Hackernews traffic. I'm pretty happy with the results.
Re:Show HN: Earthquakes on Leaflet, Crossfilter and D3 by maximz on Saturday February 02, 2013 @06:25PM (#5157792)
Cool app! Besides crossfilter, is the source available somewhere? Thanks.
Re:Show HN: Earthquakes on Leaflet, Crossfilter and D3 by zjonsson on Saturday February 02, 2013 @09:15PM (#5158258)
Thanks for the comments, I copied to github for cleaner access to the source. Let me know if this is helpful: https://github.com/ZJONSSON/icequake.herokuapp.com