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
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
Increasing schooling does not improve social outcomes at a population level. Venitian glass was made near Venice as early as 450 BC. It spread worldwide through...Daniel Lemire From Daniel Lemire's Blog | March 6, 2021 at 02:17 PM
The ubiquitous IEEE floating-point standard defines two numbers to represent zero, the positive and the negative zeros. You also have the positive and negativeContinue...Daniel Lemire From Daniel Lemire's Blog | March 4, 2021 at 01:46 PM
Programmers often write out numbers as strings (e.g., 3.1416) and they want to read back the numbers from the string. If you read and write JSON or CSV files, you...Daniel Lemire From Daniel Lemire's Blog | February 22, 2021 at 05:23 PM
Researchers make inexpensive transparent wood. Our cells produce energy using their mitochondria. Researchers show that you can efficiently enrich cells with mitochondria...Daniel Lemire From Daniel Lemire's Blog | February 13, 2021 at 01:57 PM
Many programming languages like Java, JavaScript and C# represent strings using UTF-16 by default. In UTF-16, each ‘character’ uses 16 bits. To represent all 1Continue...Daniel Lemire From Daniel Lemire's Blog | February 9, 2021 at 03:18 PM
You can use artificial intelligence and satellite images to count the number of elphants found in the wild. It appears that a billion people on Earth now use an...Daniel Lemire From Daniel Lemire's Blog | February 6, 2021 at 11:01 AM
Computers typically rely on binary floating-point numbers. Most often they span 64 bits or 32 bits. Many programming languages call them double and float. JavaScript...Daniel Lemire From Daniel Lemire's Blog | January 29, 2021 at 12:43 PM