Vadim Graboys

Results 8 comments of Vadim Graboys

Yeah, the backwards-incompatibility of ES6 iterators with mine is a bit unfortunate. I'll have to think for a bit about how to best solve this. For now, it's not really...

## Ok, here's the plan: - Bump up the version to 2.0.0 - By default, iterator() will work the ES6 way - There will be a global compatibility flag you...

Yes, this is possible to do for a binary tree. Unfortunately, I don't have the time to implement every method someone requests, so if you want it, you'll have to...

To get an item at a specific index, you could do ``` js function getByIndex(i) { var item; var j = 0; tree.each(function(data) { if (j === i) { item...

However, if you are doing these types of operations often, I would suggest a built-in array (`[]`) would be much more performant and easier to use.

Most of the time, we panic when something that should never happen occurs. There are 2 times where we panic for other reasons: - Creating a Decimal from a float...

I'm still thinking about this... Python's decimal.Decimal allows for NaN and Inf values, but I am not sure this is a good idea for our purposes. If NaN or Inf...

Unfortunately, the map is created via an automated process by manipulating data from sfgov: http://propertymap.sfplanning.org Maybe it would be possible to add extra polygons that override the sfgov data, for...