From Schneier on Security
Artificial intelligence (AI) has been billed as the next frontier of humanity: the newly available expanse whose exploration
…
B. Schneier| February 29, 2024
We completed the sequencing of the human genome. AstraZeneca’s drug Lynparza cut combined risk of recurrence of breast cancer or death by 42% among women in study...Daniel Lemire From Daniel Lemire's Blog | June 12, 2021 at 12:51 PM
I my previous blog post, I documented how one might proceed to compute the number of digits of an integer quickly. E.g., given the integer 999, you want 3 but given...Daniel Lemire From Daniel Lemire's Blog | June 3, 2021 at 03:18 PM
Suppose I give you an integer. How many decimal digits would you need to write it out? The number ‘100’ takes 3 digits whereas the number ’99’ requires only two...Daniel Lemire From Daniel Lemire's Blog | May 28, 2021 at 03:03 PM
All models are wrong, but some are useful is a common saying in statistics. It does not merely apply to statistics, however. It is general observation. Box (1976)...Daniel Lemire From Daniel Lemire's Blog | May 26, 2021 at 03:33 PM
Most computer chips today in flagship phones and computers use a process based on a 5 nm or larger resolution. Finer resolutions usually translate into lower energy...Daniel Lemire From Daniel Lemire's Blog | May 22, 2021 at 11:19 AM
Suppose that you give me two ASCII strings having the same number of characters. I wish to compute efficiently the number of matching characters (same position,...Daniel Lemire From Daniel Lemire's Blog | May 21, 2021 at 09:55 AM
Programmers often need to write integers as characters. Thus given the 32-bit value 1234, you might need a function that writes the characters 1234. We can useContinue...Daniel Lemire From Daniel Lemire's Blog | May 17, 2021 at 04:46 PM
There were rainforests near the south pole 90 million years ago. Though commercial exchanges are typically win-win for both the buyer and the seller, people tend...Daniel Lemire From Daniel Lemire's Blog | May 15, 2021 at 11:30 AM
It is not uncommon that we need to represent an array of Boolean (true or false) values. There are multiple ways to do it. The most natural way could be to construct...Daniel Lemire From Daniel Lemire's Blog | May 5, 2021 at 10:29 AM
Modern computers have several layers of memory, from fast cache (sometimes called L1) all the way to main memory (RAM). A lot of performance-critical code relies...Daniel Lemire From Daniel Lemire's Blog | May 3, 2021 at 06:57 PM
Growing your own food could lower your carbon footprint by 3-5%. In recent years, we have acquired the ability to measure biological age: your chronological age...Daniel Lemire From Daniel Lemire's Blog | May 1, 2021 at 12:47 PM
The division instruction is one of the most expensive instruction in your CPU. Thus optimizing compilers often compile divisions by known constants down to a multiplication...Daniel Lemire From Daniel Lemire's Blog | April 28, 2021 at 12:14 PM
In my blog post, My programming setup, I stressed how important regular expressions are to my programming activities. Regular expressions can look intimidatingContinue...Daniel Lemire From Daniel Lemire's Blog | April 22, 2021 at 04:09 PM
I like to separate intellectual work among three categories: Emulation: the reproduction or direct application of existing ideas. Most academic work and maybe most...Daniel Lemire From Daniel Lemire's Blog | April 19, 2021 at 02:00 PM
Moderna built their COVID 19 vaccine without having the virus on site. They viewed it as a software problem. Human and mice with red hair have elevated pain thresholds...Daniel Lemire From Daniel Lemire's Blog | April 17, 2021 at 12:01 PM
Programming languages come with sorting functions by default. We can often do much better. For example, Downs has showed that radix sort can greatly surpass default...Daniel Lemire From Daniel Lemire's Blog | April 9, 2021 at 10:31 AM
As my GitHub profile indicates, I program almost every single working day of the year. I program in C++, C, Go, Java, JavaScript, Python, R, Swift, Rust, C#; even...Daniel Lemire From Daniel Lemire's Blog | April 4, 2021 at 01:18 PM
Scientists, including climate-science researchers, often travel to faraway places for conferences. Attending a live conference is time consuming and expensive.Continue...Daniel Lemire From Daniel Lemire's Blog | March 27, 2021 at 03:47 PM
When benchmarking software, we often start by measuring the time elapsed. If you are benchmarking data bandwidth or latency, it is right measure. However, if you...Daniel Lemire From Daniel Lemire's Blog | March 24, 2021 at 05:13 PM
If I multiply two 64-bit integers (having values in [0, 264)), the product requires 128 bits. Intel and AMD processors (x64) can compute the full (128-bit) product...Daniel Lemire From Daniel Lemire's Blog | March 17, 2021 at 07:12 PM