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.
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.
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...
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
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...
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)
Let's build a Pouchdb app we aren't ashamed of &...
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...
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...
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...
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...
On web workers and Communist.js →
the @avidgeo folks upon learning the osgeo summer code sprint was going to be in boston
CouchDB Presentation →
I gave a presentation at avid geo yesterday about couchdb and what it’s good (and not good) for.
Quick link to a map i made of ma population density by 2010 census blocks
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...
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
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...