As a commenter noted as well, you can perform the swap using two std::rotate calls vs. three (less than 2N operations). This said, Raymond’s use of reverse is still most efficient at N operations (not considering paging/caching issues).
To swap B and D, with intervening C (i.e. B C D), what he his doing is individually reversing each of B C, and D (= total N swaps), then reversing the combined B' C' D' (= another N swaps).
Surprised that Apple didn’t acquire Sky. Raycast might be an acquisition target if their code can become a service / extension for Spotlight in macOS. Usability win for macOS users if done right and Apple puts the right guardrails & privacy protections in place.
Maybe they tried but the founders rejected. The founders created another company that was acquired by Apple and worked there for a few years. Probably not a fun place to work for ambitious engineers who want to build AI products.
I feel like they just wanted to work on new thing to make macOS better with no guard rails. If Tim Pool was worth his salt he would hire them to let them do that, Apple needs a skunkworks for macOS. They should “overpay” them for it. If it yields superior internal products whats not to love?
Apple _should_ have acquired them. They've worked with the people behind it before (Shortcuts) and the demo videos I saw a few months ago were light years ahead of what Apple has demoed.
First tranche sold at 93c to the dollar; second sold at 98c to the dollar, with a surprise from X which covered the 2c loss, so essentially dollar for dollar.
Morgan Stanley and Bank of America came out on top of this trade. Musk's government involvement was not known with any certainty when he bought X.
Every provider / system is different. My wife is a physician who works urgent care shifts over the weekend to serve patients as described above. These are in addition to her M-Friday routine. She is part of the Kaiser system. This is systemwide for Kaiser, so my wife’s weekend engagement isn’t a one-off.
Why is the answer to offset MTA ticket revenue an additional tax on those making $100K+ or those traveling through the city (airport taxes) who don’t use the service? In a city with super high cost of living and almost no auditable way to connect taxes collected with service delivered, this sounds like a penalty to anyone making six figures or connecting through the airport.
There has to be another, more sustainable way for a rich city like NYC to make a service truly accessible and free without another tax. It’s like how the Bay Area bridge tolls have increased by $1 this year to fund the BART system => we still don’t know what was done with the last increase in tolls, yet we have to pony up the extra cash this year.
Smarter folks than me on HN might have an idea other than, “let’s tax folks who make more than an arbitrary dollar amount annually” that has worked in other large metropolitan areas.
1. https://apps.apple.com/us/app/ublock-origin-lite/id674534269...