News for hackers. Stuff that matters.
Re:Microsoft Broke a Chrome Feature to Promote Its Edge Browser by hcs on Wednesday May 03, 2023 @12:44AM (#35798107)
> dependencies on _write time to the registry_, adding arbitrary retry loops to overcome time resolution

For what it's worth, around this time Microsoft's own API (which will only set Edge as default) messed this up occasionally if you ran it on the edge of a minute. When I implemented the equivalent feature for Firefox I checked the time, only one retry instead of Chrome's 5 and it's still not perfect, though my approach doesn't write the potentially out of date values first. That was already sufficiently stable that I couldn't make it fail.

Re:Microsoft Broke a Chrome Feature to Promote Its Edge Browser by raggi on Wednesday May 03, 2023 @11:38AM (#35803712)
The design seems pretty wild, I have much sympathy for you implementers