906 karma · joined October 11, 2022
typedef xor_combine_engine<
xor_combine_engine<
linear_feedback_shift_engine<uint32_t, 32, 31, 13, 12>, 0,
linear_feedback_shift_engine<uint32_t, 32, 29, 2, 4>, 0>, 0,
linear_feedback_shift_engine<uint32_t, 32, 28, 3, 17>, 0> taus88;I understand for the authors particular application the probability of collision is small, but this makes this encoding completely impractical for filenames generally.
This is very common for archive files. It lets you easily append a file to the end of the archive (overwriting the directory) followed by the updated directory. If it were at the start, you’d have to rewrite the entire contents of the archive to grow the directory.
Indeed modern GPUs still use fixed-point rasterizers.
I would presume most people buying a thinkpad don’t want to buy “the vast majority” of laptops.
[1]: https://en.wikipedia.org/wiki/Terminal_mode https://www.linusakesson.net/programming/tty/
Call the API every day, when the age bracket changes you can infer the date-of-birth.
I was listening to someone say they write fast code in Java by avoiding allocations with a PoolAllocator that would "cache" small objects with poolAllocator.alloc(), poolAllocator.release(). So just manual memory management with extra steps. At that point why not use a better language for the task?
There are so many discussions about "X language is so weird about it handles numbers!" and it's just IEEE 754 floats.