May 2013
4 posts
Hospital Prices →
Comparison of the different prices of procedures looking at the differences in prices at different hospitals optionally by state and also looking at the difference between the amount charged and the amount insurances payed.
May 10th
3 tags
Demographic changes in D3
I haven’t done much with D3 lately so I threw together this map of population, households, and employment forecasts. I made it in CoffeeScript and it really reminded me why I love CoffeeScript so much.
May 10th
4 tags
Updates to Communist.js
I did a lot of work on web workers in April leading up to entering the Mozilla Dev Derby (as an aside my favorite one, besides mine, has got to be Zen Photon Garden), I’ve taken what I’ve learned made a few updates to communist. Dropped node, it just didn’t make sense for communist to be used server side, none of the problems you have are they same, the final nail in...
May 7th
3 tags
State of the Web Worker (api)
Quick write up I did on web workers you can view the raw gist if it doesn’t show up below. https://gist.github.com/calvinmetcalf/5495466
May 1st
2 notes
April 2013
1 post
6 tags
ASM (updated)
I was talking to Ryan Westphal the other day and he was saying how he’d been playing round with ASM.js and you could hand code it fairly easily and it was FAST. I’ve been playing around with a crazy fractal generating map so I figured that would be as good a place as any to try out ASM.js. The code for the different fractal types was already stored in an object so switching it to be...
Apr 27th
4 notes
February 2013
2 posts
Let's make a map with Leaflet and d3
I made this map on Friday, today I wrote a detailed post on how I used  leaflet and d3 to make it, actual post is over on github because tumblr sucks for code. I was planning on writing this on earlier, but then I got 30 inches of snow (not me) lost power for 20 hours, and brewed bathrobe beer. (me, and yes I’m aware it looks like poop)
Feb 11th
6 tags
Let's build a Pouchdb app we aren't ashamed of &...
The previous post, while it showed the basics of pouch produced an app that is frankly not ready for prime time. So in this post we refactor the app and turn it into something less embarrassing. We are going to use the fantastic library backbone.js, written by the authors of a little language that turns into JavaScript, to tidy the app up, which will require an explanation of backbone.  ...
Feb 6th
1 note
January 2013
4 posts
8 tags
Lets make an app: PouchDB
This is part 3 in a series, you can (and should) checkout part 1 and part two, we’ll wait.  So we’re going to make an app, first remember that class we made last time, I had to make a few changes to get it to work, so overall it looks like this https://gist.github.com/4648986 Why you ask? A couple of indentations errors (that nobody caught) but mostly the stop and start methods...
Jan 29th
5 tags
In which we explain how to use PouchDB
This is a follow up to my previous PouchDB post, so if you can’t read that you probably are going to want to.  PouchDB is local storage primarily using IndexedDB, but with a WebSQL fallback, even if you arn’t doing crazy replications PouchDB may still be a easier to use because, do you understand IndexedDB? Because I don’t. Pouch on the other hand has an API based on...
Jan 14th
6 tags
PouchDB: an intro
So I’ve been hacking around with PouchDB a bit lately and I’m going to explain why I think it is so awesome. Before we discus PouchDB we’re going to need to talk about CouchDB which Pouch is based on. CouchDB is an open source nosql document database written in Erlang that grew out of Lotus Notes of all things. I’m personally a fan of CouchDB but of it’s features the ones that matters here...
Jan 7th
3 tags
On Communist.js improved
Two quick notes about Communist.js a library for working with web workers I wrote about in a previous post. I totally blanked and forgot to put in a license, it’s MIT btw and that’s now reflected. Added a default function if you don’t specify it that makes it more RPC like, so if you invoke it without an argument, then you can use the method add which takes 2 parameters a name...
Jan 3rd
December 2012
1 post
4 tags
On web workers and Communist.js →
Alright so this isn’t actually about maps, it’s about JavaScript, which I end up using to make maps most of the time anyway, so that’s why it’s related. I’ve been working on library to help make JavaScript web workers easier to use. First off, the idea with web workers is to be be able to do stuff on a webpage without blocking. On a web page everything is done in the...
Dec 30th
October 2012
4 posts
the @avidgeo folks upon learning the osgeo summer code sprint was going to be in boston
Oct 26th
3 tags
CouchDB Presentation →
I gave a presentation at avid geo yesterday about couchdb and what it’s good (and not good) for.
Oct 19th
Density →
Quick link to a map i made of ma population density by 2010 census blocks
Oct 17th
2 tags
Street types by voter
Totally forgot that there is another source of street types, the voter record and yes I do have a copy of the 2010 voter record, all 3883893 records, so street types by how many people were registered to vote at them in 2010 But the voter file, now that has some other stats we can work off of, like party That N stands for unenrolled FWI and the reason it’s so popular is that unenrolled...
Oct 2nd
September 2012
2 posts
3 tags
Full List
Haven’t had as much time as I’d like today but here is the full list of things that roads are called in MA, there are over 300 and some are weird
Sep 6th
1 note
2 tags
road lengths
so after reading bostonography’s awesome post on Boston road types, was inspired to do some figures for road vs street vs lane but across the commonwealth.  First we can look at by count. you’ll notice “street” is the top followed by “road” and “avenue”. But if we look by length (in km) then “road” is first followed by...
Sep 5th
1 note