Strings
Trimming spaces from strings faster with SVE on an Amazon Graviton 3 processor – Daniel Lemire’s blog
Programmers sometimes need to trim, or remove, characters, such as spaces from strings. It might be a surprising expensive task. In C, the following function is efficient: size_t trimspaces(const char *s, size_t len, char *out) { char * init_out{out}; for(size_t i = 0; i < len; i++) { *out = s[i]; out += (s[i] != …
Take a Break, Rent Free, in a Teepee – NBC 7 San Diego
Joe Cole and his family have lived in Carlsbad for five years. During that time, a U.S. Marine, a woman from Mozambique, a guy from New Hampshire, and a dreadlocked man from Georgia have lived with them. Well… not in their home. Those guests have lived in a Sioux-style teepee in their backyard for up …
For Landlords, a New Tax Break Comes With Strings Attached
Rental real estate is renowned for its many tax breaks, and the 2017 tax overhaul added a new one. Landlords who want to claim it for 2019 should be planning now, because they may need to send 1099 forms early next year. The benefit is the so-called 199A deduction of 20%. It applies to business …