HNHacker News
TopNewBestAskShowJobs

molind

202 karma · joined February 3, 2014

CEO of: https://gurumaps.app https://globus.software
submissionscomments
molind··on Faster than earcut: triangulating 3.7M map polygons in 489 ms
Mobile GPUs use tile-based rendering. A long thin triangle touches more tiles, so it costs more. That could make you think you need to use Delaunay all the time. But the gain from nicer Delaunay triangles on the GPU is small relative to the time you pay for Delaunay on the CPU. I've measured time profiles on map data. It could be that for games it pays off.
molind··on Faster than earcut: triangulating 3.7M map polygons in 489 ms
Numbers without benchmarks are useless. :) During vector map generation we make sure that all data is valid. But our users can import custom GeoJSON layers and they could contain all sorts of self-intersections.

  == world.bin
  56472 polygons
  whole file, best of 7: earstrip 453.4 ms, delaunay32 1696.9 ms
  up to 4          14455 polygons: earstrip 0.3 ms, delaunay32 14.4 ms
  5-8               8328 polygons: earstrip 0.6 ms, delaunay32 14.5 ms
  9-32             18019 polygons: earstrip 6.8 ms, delaunay32 83.7 ms
  33-256           13511 polygons: earstrip 66.6 ms, delaunay32 366.9 ms
  257 and more      2159 polygons: earstrip 376.8 ms, delaunay32 1209.4 ms
  delaunay32: rejected 3039 (by class 0/28/365/1671/975), empty outer ring 0, area off on 0 covered, 1930016 triangles
  earstrip: exact 56338, constrained 134
molind··on Faster than earcut: triangulating 3.7M map polygons in 489 ms
Hey! Thanks for Leaflet, earcut and all your other work. I hope some of these ideas turn out useful. Take a look at the branch-free dent count: it's what let us outperform earcut, and it's a big part of why the wasm build is that fast. The wasm module is 27 KB gzipped, about 41 KB with the base64 wrapper in the npm package.
molind··on Passkeys are a trap
Hmm. Passkeys are advertised as secure because they are difficult to hack. And since they use the same API as hardware security keys, I can store passkeys on my YubiKey for critical infrastructure.

They’re secure, stored in iCloud, and can be used from any of my Apple devices. And if I need extra security, I can use a hardware key instead. What more could I ask for?

I understand why passkeys are being promoted so heavily. They’re secure by design. Otherwise, companies have to think about all the possible ways their authentication systems could be compromised. And even then, they can still get hacked.

Passwords are weak. People can be tricked into revealing time-based authentication codes. But passkeys? They just work. Your grandma can’t read one out over the phone or write it on a sticky note next to her monitor.

molind··on Apple has added persistent 'ads' to iOS, and it's driving users crazy
Funny to read claims like that on techradar, that showed multiple pop-up frames around the 'article' and on top of it. But they haven't added an image of that 'ads'. No you have to read and try to understand what happened.
molind··on Rsync and outrage
What I miss there is specifics about bugs. One side says: „oh there are new commits authored by Claude and I see new bugs. rsync is dooomed”, Andrew replies: „I’d better be sailing, but we’ve refactored test framework with Claude and I know how it works and I’ve been cautious.” It would be great to see analysis about those bugs. Why, how and when fix is expected. Only this part is important IMHO.
molind··on Show HN: Gaming Couch – a local multiplayer party game platform for 8 players
Not necessarily ads. It could be patron style funding. In lichess style, when patron receives only badge, or patreon style, with extra games, skins, stats for patrons. Good luck with a great platform.
molind··on Texas is suing all of the big TV makers for spying on what you watch
After this article I installed AdBlock Home to my HA unit and moved DHCP to it. Filtered LG domains and few thousands others. Apparently LG TV actively uses internet even in switched off state.
molind··on Apple bans accounts of developers from Belarus
Initially my account was registered for sole proprietor in Belarus. I’ve changed linked legal entity when moved to Poland. That was almost a year ago.
molind··on Apple bans accounts of developers from Belarus
But there is no sanctions against all citizens of Belarus. Yes some companies that support regime of lukashenko are under sanctions. But not everyone. I moved from Belarus due to lawfulness in my country, living in Poland and now I’m under sanctions? That’s insane.
molind··on Apple bans accounts of developers from Belarus
Moreover, I’m citizen of Belarus, but living in Poland, tax resident of Poland. My developer account is tied with legal entity in Poland and bank account in Poland. I was banned too. :/
molind··on Apple bans accounts of developers from Belarus
I’d prefer to remove my app from being used in Belarus than being banned myself.
molind··on Million requests per second with Python
There is no pure python out there. It's python with bindings to the highly optimized C code. It would be fair to say it's C gives you almost million of RPS in some tweaked tests.
molind··on H.264 is Magic
Wow, now tell me how H.265 works!
molind··on Dropbox Deprecating the Sync and Datastore APIs
Any alternatives for Dropbox Sync API?
molind··on Show HN – Get Your Own Maps – Pixel Perfect
We're based in Minsk, Belarus. I was in Karlsruhe on SotM-EU'14 recently, and I like shape of the city centre. It's looks beautiful on map. :)
molind··on Show HN – Get Your Own Maps – Pixel Perfect
It's custom msgpack based tile format + sqlite.
molind··on Show HN – Get Your Own Maps – Pixel Perfect
GLMap.framework made for offline maps on mobile devices. Most of it written in C++11, and we can't port it to JavaScript + WebGL.

As far I know Mapbox works on WebGL map rendering solution.

molind··on Show HN – Get Your Own Maps – Pixel Perfect
Yes, we'll add Android support later this year.
molind··on Show HN – Get Your Own Maps – Pixel Perfect
Glad, you like it. And thanks for MapCSS. ;)
molind··on Show HN – Get Your Own Maps – Pixel Perfect
I'll add it.
molind··on Show HN – Get Your Own Maps – Pixel Perfect
We are small team from Belarus. Developers of Galileo Offline Maps (http://galileo-app.com), and framework was made from vector rendering engine developed originally for Galileo.
molind··on US, without a hint of irony, warns US travelers about privacy threats in Sochi
It is allowed only to NSA. :)
molind··on It’s Time to Make OpenStreetMap Your Only Street Map
Thanks! I'll correct mistake with "less points".

But I disagree with whole country download. From one side it's good to have map of all country, but you'll have to download 2Gb, it will take 4Gb on your device, we'll pay much more for traffic, and finally you'll never visit all states in USA. :)

Waiting for more feedback.

molind··on It’s Time to Make OpenStreetMap Your Only Street Map
May be later this year. Now we focused on best possible iOS app. Engine is written in C++, and relatively easy to port to Android, but app itself also requires lots of work.
molind··on It’s Time to Make OpenStreetMap Your Only Street Map
Glad, you like it. :)

We use old icon for iOS6 devices. For those who don't like flat design we keep old good 3D icon.

And there is also a confusing bug in the App Store. It shows old icon for iOS7 devices, and new one for iOS6. But when app is installed it displays correct icon.

molind··on It’s Time to Make OpenStreetMap Your Only Street Map
There is a lot of OSM-based maps, free and paid. I'm developer of one of those apps: http://galileo-app.com It works offline. Sharing based on url-scheme and our service. Search result destroyed as soon as you clear search field. :) And many more features.

Check it and tell here or directly via email info@galileo-app.com your opinion or ideas about improvement. :)

p.s. It's iOS only.