Hacker Newsnew | past | comments | ask | show | jobs | submit | molind's commentslogin

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.


Definitely, you have to understand where your bottlenecks are. That's why it's best just to author good models.

Nanite/triangulation can help relieve GPU bottlenecks but if you're already stomping your CPU it won't help. Whether it's a good fit depends on your workload.


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


ok interesting, thanks for actually running the comparison! looks like it clearly favors earstrip on this workload


Having triangulation conform to Delaunay is a big advantage though! You should also try out https://github.com/mapbox/earcut.hpp for the benchmark — it got a refine function recently that refines earcut output to Delaunay as well, and earcut+refine is still pretty fast.


thanks, good suggestion! earcut plus refine sounds like sensible comparison.

i’ve since reproduced the world dataset benchmark locally and found that polygon validation was taking about two-thirds of delaunay32’s time on the accepted inputs.


For practical data, a faster approach is usually to triangulate without validation, then just measure if triangulation is valid afterwards (which is simply comparing the sum of triangle areas with polygon area)


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.


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.


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.


You can use ublockorigin on firefox to solve the problem. You can do nothing about system ads on iphone


I thought the exact same thing. Of course, a key difference is that those of us who choose to pay for an iPhone, use iOS, and often pay for additional services are already giving Apple our money. They're trying to extract more and more from us and it's honestly insulting. I give techradar credit for providing us their user-hostile experience for free.


Yep, I had trouble reading this article because it was entirely covered in ads.


Using the internet without an adblocker is like refusing to use a condom


You are free to use an adblocker or the "reader" view in your browser.

This is a solved problem and you are not utilizing the solutions.


Tech radar has to keep the lights on somehow because they’re giving the article away for free.

Apple you paid a lot of money to already.


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.


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.


Thanks, that sounds like an interesting idea as well, need to give it some thought


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.


It's bonkers to say the least and unacceptable.


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.


The supreme irony is that these sanctions also apply to political dissidents than had to run away from Belarus. Corporate cost benefit analysis applied to shoddily written laws leads to unintended consequences.


Could be specific address or name, we would not know since the match in the list is not disclosed.

It can also be false positive, the compliance departments use specialized software do a non-exact match since it’s not a straightforward process because countries use different alphabets, address systems, naming conventions etc. So they identify potential risky clients and someone does an assessment and if they think that it could be a real match they pull the trigger.

Sometimes your names is Ahmad, other times it’s Yuri and and the life is not easy for you.


To add, Apple got in trouble when it did only do an exact match: https://www.wsj.com/articles/apple-settles-allegations-of-u-...

> On the day Mr. Stjepanovic and SIS were blacklisted, Apple ran the new designations against its app developer account holder names. But the company’s sanctions-screening tool failed to identify SIS as a blacklisted entity because Apple’s system listed the company as “SIS DOO,” rather than “SIS d.o.o” on OFAC’s list, according to the agreement.


Insane probably, but there is always going to be some friction and gap between policy and implementation. It is good to inquire and understand where the gaps are. You are doing the right thing but shining the sun light and trying to recruit people to make your case is good.

Let's see how Apple reacts.


Are there sanctions against Belarusian banks or other institutions which are necessary to functionally do business with people in Belarus?


This could be specific name.

Think in terms of apple employees.

If you over blacklist, then okay that is not ok. That is bad.

If you decide to under-blacklist, you might actually end up in jail for a long time.

So, over blacklisting it is.


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. :/


How were you linked to 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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: