Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
morganherlocker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
morganherlocker
8y ago
Generic insulins are already available over the counter at any pharmacy in the US. The newer insulin variants are significantly easier to use safely, since they require less frequent injections (long lasting insulin) and have a faster respo
62.
▲
by
morganherlocker
9y ago
> For example, while Mapbox use open source (OSM) tiles, other services - e.g. their search API - aren't open, as Mapzen's is(/was). The geocoding engine[1] powering the Mapbox Search API is open source, and has been since
63.
▲
by
morganherlocker
10y ago
> rock solid, lightning fast, and 100% accurate in all cases This is like the CAP theorem[1], but for computational geometry libraries. You cannot have all 3 if your truly are aiming for accuracy, speed, or robustness. There is always an
64.
▲
by
morganherlocker
11y ago
..or get the best of both worlds with a data mashup.
65.
▲
Dynamic walkability estimation with Turf
(mapbox.com)
2 points
by
morganherlocker
12y ago
|
0 comments
66.
▲
by
morganherlocker
12y ago
This reads a bit like early internet critics complaining about how there are too many voices online. "Why isn't the Times enough for everyone? Why do these bloggers need to be telling everyone what they think? Some of them don
67.
▲
by
morganherlocker
12y ago
Distance calculations account for this and geodesic buffer support is on the way. This is close to top of my priority list right now.
68.
▲
by
morganherlocker
12y ago
Wgs84 data is assumed for distance calculations. If you need to convert your data on the fly, I typically recommend proj4js.
69.
▲
by
morganherlocker
12y ago
Thanks for the heads up! Everything is back up now.
70.
▲
by
morganherlocker
12y ago
Here are some rough benchmarks[1] Performance will vary widely depending on which functions you are calling and characteristics of the data. Some types of analysis will quickly process 500 MB, and others you will probably want to use some s
71.
▲
by
morganherlocker
12y ago
> Have you thought about porting it to Meteor's Atmosphere We currently support npm, bower, and a CDN build on Mapbox. Additional package managers can be added if there is a community need. > I'm curious if this supports Lea
72.
▲
by
morganherlocker
12y ago
For those interested in this topic in the DC area, a couple of these are currently on display at the Smithsonian National Museum of American History. http://americanhistory.si.edu/press/releases/100-years-perso...
73.
▲
by
morganherlocker
12y ago
3 main reasons: - Runs in browser, for client-side indexing. - Based off of tiles, instead of s2's 6-faced-cube thing. This allows it to be used with a lot of well established tools and mathematical formulas. Also much easier to reason
74.
▲
by
morganherlocker
12y ago
Actually, PostGIS does not use s2. I believe it uses its own modified R-Tree index. The main downside to this is that the entire index must be kept in memory, which is one of the the primary motivations for libraries like s2. There are alte
75.
▲
by
morganherlocker
12y ago
Your average node module is 50-300 lines of code. A readme is just fine to document the 2 or 3 functions that are usually exposed. Beyond that, reading the source is not that onerous. Compare that to your typical doxygen-generated mega-doc
76.
▲
by
morganherlocker
12y ago
You can have both. Frameworks like turf (a geospatial analysis library that I authored) have one high level convenience module[1]. You can require('turf'), then run any function from a single object (ie: turf.buffer(), turf.smooth
77.
▲
by
morganherlocker
12y ago
Limechat shows image links inline, which is good enough for me anyway. In some ways it is even preferable to tying things to one particular storage solution like s3.
78.
▲
by
morganherlocker
12y ago
> Diabetes, I think in some cases restricting carbs can be fatal as diabetics can suffer from ketoacidosis, where the blood turns acidic due to an uncontrollable amount of ketones present. Ketoacidosis is extremely dangerous for diabetic
79.
▲
Turf Goes Modular – Modular GIS in JavaScript
(morganherlocker.com)
2 points
by
morganherlocker
12y ago
|
0 comments
80.
▲
by
morganherlocker
12y ago
The limit went up considerably with the introduction of 64-bit Excel. Also, there is a plugin called "Power Query" that allows the actual data to be stored in MSSQL. I have seen this work on tables with 100s of millions of records
81.
▲
by
morganherlocker
12y ago
OSM does have addresses, but coverage is far from perfect. Nominatum (the geocoder used by OSRM) will interpolate addresses if it does not have the exact parcel info, which is surprisingly accurate in many cases. Work is also being done to
82.
▲
by
morganherlocker
12y ago
Try out OSRM[1]. It is open source[2], so you can run it yourself, or you can use a public api for limited usage. The api has a JSON response with turn-by-turn[3], and it is remarkably fast. [1] http://map.project-osrm.org/
83.
▲
by
morganherlocker
12y ago
You could try the JOSM editor[1], but iD is about as lightweight as it gets, so I am not sure if it would be much better. For what its worth, I use iD regularly without performance issues, but YMMV on older machines. Unfortunately, vector r
84.
▲
by
morganherlocker
12y ago
OSM prefers user created data. Mass imports often contain errors all over the place (many going back unnoticed for years). OSM holds a general mindset that data should only be included if someone is fairly certain the data is correct (which
85.
▲
by
morganherlocker
12y ago
Just about everyone writes tests first. You have some sort of script that you are running against the real code you are working on to see if it is doing what it should be doing. The only real difference between true "TDD" and ever
86.
▲
by
morganherlocker
12y ago
Vector data has a much smaller footprint in most cases, but takes lots of processing to render, and even more if you need to be able to zoom around the map. Rendering the US down to z17 as raster tiles allows for efficient processing, but c
87.
▲
by
morganherlocker
12y ago
I use Spectacle with alt+cmd+up mapped to 100% window, which I tend to prefer to actual "fullscreen" (OSX is weird with fullscreen on multiple monitors).
88.
▲
by
morganherlocker
12y ago
This was one of the things that made OSX horrible for me when switching from Windows and Linux. I have since learned the tricks to get around many of OSX's windowing quirks, but I do wonder how things like this have not been fixed. I l
89.
▲
by
morganherlocker
12y ago
One biologist has attempted to create a test with dogs. The basic hypothesis is that dogs should be able to recognize their own urine if they can detect "self" through smell. The results so far have been inconclusive[1] [1] http:
90.
▲
by
morganherlocker
12y ago
> into a document viewer? DRM discussion aside, the browser has not been a simple "document viewer" for quite some time, despite its origins.
More ›