4,901 karma · joined Sep 13, 2020 (6y ago) · 1,641 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
But naive binary search can also be improved upon by dividing the searched space into 3 subranges instead of 2[2].
[1]: <https://www.pvk.ca/Blog/2012/07/03/binary-search-star-elimin...>
[2]: <https://www.pvk.ca/Blog/2012/07/30/binary-search-is-a-pathol...>
comment 2y ago · link · parent
comment 2y ago · link · parent
We can do that at best 2/7 days a week. In reality, modern life forces us to dedicate even less time to that.
I've done that many times. The feeling at the end of the day is always unlike any other. Wouldn't swap those experiences for anything else.
> You seem to be framing the search for food as a low-stakes endeavor.
Have you ever picked mushrooms? Do you know how little time it takes to get enough mushrooms for weeks to come? And then how much meat there is in a deer?
I agree that the risk of being murdered is higher. Although I think you overestimate the frequency of encounters. There weren't a lot of people back then on Earth. I also don't think this decreases happiness all that much. The slow senseless willowing away in an office everyday seems like a much less happy existence, even if it's a longer one.
comment 2y ago · link · parent
https://play.rust-lang.org/?version=stable&mode=debug&editio...
comment 2y ago · link · parent
comment 2y ago · link · parent
> During this time, shutter sounds will be produced.
[1]: <https://helpguide.sony.net/ilc/2010/v1/en/contents/TP0003229...>
comment 2y ago · link · parent
atime is the most useless filesystem feature I’ve heard of. But on most Unix-like systems it’s enabled by default and the main thing it does is turn reads into writes, degrading performance. All the while ctime isn’t a standard Unix filesystem feature. And ctime to me always seemed infinitely more useful (and cheaper!) than atime.
</rant>
comment 2y ago · link · parent
That's true only for CLI apps. My most frequently used GUI apps on Mac:
- MailMate
- Affinity Photo
- ACDSee Photo Studio
- NetNewsWire
- ApolloOne
- Textual
- Transmit
- iA Writer
None of them are available on Linux. Most of them are Mac-only (i.e. no Windows version either).
comment 2y ago · link · parent