1,755 karma · joined Jul 10, 2011 (15y ago) · 224 submissions
comment 1mo ago · link · parent
comment 1mo ago · link · parent
comment 1mo ago · link · parent
comment 1mo ago · link · parent
One thing to note is that I deliberately had to reject some of the potential optimizations to keep the library small, so that bundle size doesn't blow up — for most practical applications (e.g. Mapbox GL JS), it's already fast enough (and 4.1k min/gz). Curious how big the WASM build of Earstrip is.
On the C++ side, Mapbox now uses a hybrid approach where small polygons are processed with earcut.hpp, while big and complex polygon switch to a different algorithm based on monotone decomposition, because while it has higher constants in algorithmic complexity, it scales much better with input size.
comment 3mo ago · link · parent
comment 3mo ago · link · parent
9.
Show HN: SunCalc v2 – a tiny JavaScript library for sun and moon calculations(github.com ↗)
3 points · by mourner · 5mo ago · discuss
comment 5mo ago · link · parent
comment 10mo ago · link · parent
comment 10mo ago · link · parent
I see this from the perspective of a Ukrainian living in Kyiv. Your ignorance is mind-boggling, and after the laughable mention of "NATO biolabs" there's truly no sense in further conversation. These tinfoil-head "I do my own research" people are something else.
comment 10mo ago · link · parent
Sevastopol nuclear base is irrelevant to modern warfare, and the fleet (both ships and subs) is either on the bottom of the sea (like the flagship Moskva) or gone to hiding in Novorossiysk because they can't defend against cheap Ukrainian naval drones.
Capture of cities not on the agenda — of course every time they fail spectacularly at something they'll claim they didn't plan it anyway, lol. They attempted and failed the capture of Kyiv, Kharkiv, Chernihiv, Sumy & Mykolaiv, then had to flee from Kherson & much of the Kharkiv oblast, and they are no longer strategically able to attempt capturing any more — only slow creep over obliterated rubble of small towns by sacrificing a thousand people a day in meat grinders.
I can't believe you can be so delusional, it's just amazing what russian propaganda does to people.
comment 10mo ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
Any timeline on bringing the new format to the Web editor? For me, the biggest draw of Observable is being able to instantly start exploring and visualizing some data without ANY setup (creating some local files, installing dependencies, launching a dev server etc.) — just click "New notebook" and off you go, frictionless. I hope this remains a priority.
Also worth mentioning the data viz community aspect, which I used to enjoy a ton — it's a bummer that things like being able to follow certain users and see their new notebooks in a feed were phased out, and that trending notebooks are now hidden under the Help menu instead of being featured on the user's homepage. This might be one of the reasons I stopped coming back to the platform as often, although I realize building a community is very difficult and hard to monetize — just thought I'd share.
comment 1y ago · link · parent
comment 1y ago · link · parent
23.
When Does the Barbell Tip Over?(observablehq.com ↗)
1 points · by mourner · 2y ago · discuss
comment 2y ago · link · parent
comment 3y ago · link · parent
Discussed on HN here: https://news.ycombinator.com/item?id=21891919
comment 3y ago · link · parent