News for hackers. Stuff that matters.

kocheez75

Re:How to build vector tiles from scratch on Thursday September 04, 2025 @11:34AM (#45128450)
If your data is already in GeoJSON, you can use tippecanoe to produce a tileset in either MBTiles or PMTiles format: https://github.com/felt/tippecanoe.

Or if your data is more dynamic, you can also use the ST_AsMVT extension to query PostGIS, which will generate tiles on-the-fly: https://postgis.net/docs/ST_AsMVT.html

Re:Radar Maps: $0.50 per 1K map loads on Tuesday September 26, 2023 @11:19PM (#37669569)
The maps are based on MapLibre (Mapbox fork) so any valid Mapbox style can also be applied.
Re:I built a vector map from scratch on Thursday August 18, 2022 @11:01PM (#32517220)
Ah, sorry to hear about that! I actually just pushed a fix for a similar crashing issue in Firefox, would be curious to hear if that resolved your issues as well.
Re:I built a vector map from scratch on Thursday August 18, 2022 @10:59PM (#32517209)
Thanks!
Re:I built a vector map from scratch on Thursday August 18, 2022 @10:43PM (#32517149)
I moved the createBuffer call out of the render loop, and I think the memory issues on FF should be working better (at least on FF 103).
Re:I built a vector map from scratch on Thursday August 18, 2022 @06:59PM (#32515836)
Great pointers, I’ll give these a shot. Still new to this so appreciate the suggestions!
Re:I built a vector map from scratch on Thursday August 18, 2022 @05:17PM (#32515023)
I believe Protomaps[1] might be what you’re looking for.

[1]: https://protomaps.com/

Re:I built a vector map from scratch on Thursday August 18, 2022 @05:05PM (#32514890)
Good callout, I’ll add that in. Most map libs add that automatically, so an oversight on my part.
Re:I built a vector map from scratch on Thursday August 18, 2022 @05:02PM (#32514860)
Yeah, that’s precisely why I didn’t tackle that. I was wondering though, does it render text in GL on the web, or leverage the DOM? (I’m just using absolute positioning for the tile labels)
Re:I built a vector map from scratch on Thursday August 18, 2022 @03:32PM (#32513889)
Interesting, my hunch would be something about the webgl buffers not getting freed, since they’re running in a tight loop. I’ll do some digging.
Re:I built a vector map from scratch on Thursday August 18, 2022 @01:28PM (#32512519)
Ah, was afraid that might happen. I’m doing some pretty aggressive CF caching, but it’s running on a very small (single instance) server :(

—- update

Looks like I hit the CF worker limit. Should be back up and running. Thanks for the heads up!

Re:I built a vector map from scratch on Thursday August 18, 2022 @12:56PM (#32512160)
Mostly just because I was using https://webglfundamentals.org/ as my main resource. Will probably take a stab at implementing with WebGPU at some point.
Re:I built a vector map from scratch on Thursday August 18, 2022 @12:34PM (#32511836)
Yeah, I think this is a known issue with hammer.js[1]. I noticed it too, but didn't spend too much time digging in.

[1]: https://stackoverflow.com/questions/42872774/hammer-js-exhib...

I built a vector map from scratch

https://ckochis.com/building-a-vector-map-from-scratch

Hi HNI've used a lot of vector maps in the past, and was always fascinated by the technology, so I decided to try and build one from scratch as a way to learn more about how it works, and also as a reason to (finally) learn WebGL.I've uploaded the source to GitHub https://github.com/kochis/webgl-mapHope someone finds it useful / informative, and open to any feedback or tips as well. Cheers!

( Read More... | 41 comments | 228 points | on HN )
Re:Ask HN: Who is hiring? (January 2021) on Monday January 04, 2021 @12:37PM (#25634908)
Radar | Senior Front End Engineer | New York | Full-time | https://radar.io About us: Radar is location data infrastructure. We help product and growth teams build location-aware app experiences. Over the past 12 months, the Radar SDK has been installed on > 100M devices. We're ~35 employees based out of New York. Well-funded Series B startup.

Radar is looking for a Senior Frontend Engineer to build and help design the Radar web application, including api explorers, open source UI Kits, storybook components, dashboards, documentation, landing pages, and more. The Radar web app allows engineers to build and debug location-based product experiences and explore Radar APIs.

Apply: https://boards.greenhouse.io/radarlabs/jobs/4090484003 Jobs: https://radar.io/jobs

Re:Ask HN: Who is hiring? (October 2020) on Thursday October 01, 2020 @12:28PM (#24652882)
Radar | Senior Front End Engineer | New York | Full-time | https://radar.io

About us: Radar is location data infrastructure. We help product and growth teams build location-aware app experiences. Over the past 12 months, the Radar SDK has been installed on > 100M devices. We're ~35 employees based out of New York. Well-funded Series B startup.

Radar is looking for a Senior Frontend Engineer to build and help design the Radar web application, including api explorers, open source UI Kits, storybook components, dashboards, documentation, landing pages, and more. The Radar web app allows engineers to build and debug location-based product experiences and explore Radar APIs.

Apply: https://boards.greenhouse.io/radarlabs/jobs/4090484003 Jobs: https://radar.io/jobs

Re:Ask HN: Who is hiring? (July 2019) on Monday July 01, 2019 @01:36PM (#20327728)
Radar | Product Engineer (Web), Lead iOS Engineer | New York, NY | ONSITE | FULL-TIME | https://radar.io/ Radar (https://radar.io) is the location context platform. We help companies build better products and make better decisions with location context.

Radar is defining a new category of app platform. If Stripe is for payments and Twilio is for communications, Radar is for location.

Radar processes 100B+ locations per year from 50M+ devices worldwide. In April 2018, TechCrunch named us a top 12 up-and-coming enterprise startup in NYC (https://techcrunch.com/gallery/up-and-coming-enterprise-star...).

We're based in DUMBO, Brooklyn, New York City.

Apply here: https://radar.io/jobs

Re:Learn iOS development by building apps on Wednesday May 21, 2014 @03:36PM (#7780277)
In the past, I worked for a firm that had a fairly strict testing culture, and that applied to ios as well. We used kiwi specs, which have more-or-less the same syntax as rspec. In the end though, I think it was probably more trouble than it was worth, due to the ridiculous stubs and mocks you need to accomplish testing certain things (stubbing alloc, for instance).