HNHacker News
TopNewBestAskShowJobs

kkaefer

136 karma · joined July 26, 2010

submissionscomments
kkaefer··on Lomuto's Comeback
Depends on the field, but it is very common in computer science and generally in natural sciences. Studying computer science, I don’t think I ever even wrote as much as a paper in German; everything’s English.
kkaefer··on Mapbox GL for the Web
This is the first time we're hearing performance in that magnitude, and it's definitely not the intended frame rate. It sounds like your system is switching to software OpenGL rendering, rather than running directly on your GPU. Could you please share more details about your system on Github? https://github.com/mapbox/mapbox-gl-js/issues/new
kkaefer··on Introducing Mapbox GL
This looks indeed odd. Can you please share more information about your computer, OS and browser?
kkaefer··on Introducing Mapbox GL
> I'm not sure why there's a bias factor of 2 in the "raster" fragment shader -- looks like it might have been added by accident.

Yes, that was an accident. Thanks for noticing! We definitely have a lot of information to share about the process. Regarding clipping, we're not sure yet whether what we have right now is the best thing; there will certainly be improvements in that area.

kkaefer··on New York City celebrates day without violent crime
Reminded me of http://www.theonion.com/articles/nation-celebrates-full-week...
kkaefer··on I had no idea how to make custom maps, so I learnt by doing. You should too.
TileMill has an export feature: You can design your map in TileMill, then export the style as Mapnik XML.
kkaefer··on TileMill — an application for making beautiful maps
Basically the answer to all of these questions is that it's easier to decode in the browser. A UTFGrid is just plain JSON, so we can just run it through JSON.parse(). PNG uses zlib compression, so we can get that benefit for free when sending gzip over HTTP. Here's some more design rationale: http://developmentseed.org/blog/2011/09/21/how-interactivity...
kkaefer··on JSON users: Avoid CSRFs by not using top-level arrays
Array() doesn't seem to be called when defining an array with [] in Chrome 12 and Firefox 3.6+