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 are many ways in software to represent a set. The most common approach is to use a hash table. We define a “hash function” that takes as an input our elements...Daniel Lemire From Daniel Lemire's Blog | March 13, 2018 at 05:49 PM
The Audi A8, which goes on sale this year, will be the first car to offer Level 3 autonomy, which means that as a driver, you are expected to be able to relinquish...Daniel Lemire From Daniel Lemire's Blog | March 9, 2018 at 05:49 PM
Suppose that you have a long sequence of bits 10101011100000… you want to visit all the bits set to 1. That is, given 10101011100000, you would like to get theContinue...Daniel Lemire From Daniel Lemire's Blog | March 7, 2018 at 08:09 PM
Flashing lights might cure Alzheimer’s, according to Nature. There is no paradox: being obese is definitively bad for you. Class attendance predicts success inContinue...Daniel Lemire From Daniel Lemire's Blog | March 2, 2018 at 05:24 PM
Our processors are all equipped with vector instructions also called SIMD (single instruction multiple data). One common instruction is the “shift”. Roughly speaking...Daniel Lemire From Daniel Lemire's Blog | February 28, 2018 at 03:47 PM
Samsung is manufacturing and will sell 30TB hard drives. That’s huge. It is enough to record everything you see and hear for three years. Of the cases of early-onset...Daniel Lemire From Daniel Lemire's Blog | February 24, 2018 at 01:14 AM
A common problem in my line of work is to iterate over the set bits (bits having value 1) in a large array. My standard approach involves a “counting trailing zeroes...Daniel Lemire From Daniel Lemire's Blog | February 20, 2018 at 10:58 PM
In all countries, in all years–without exception–girls did better than boys in academic performance (PISA) tests. Vinod Khosla said: There are, perhaps, a few hundred...Daniel Lemire From Daniel Lemire's Blog | February 16, 2018 at 07:40 PM
We shed 50 million skin cells every day. A mutant crayfish reproduces by cloning. To my knowledge, this might be the largest animal to reproduce by cloning. Before...Daniel Lemire From Daniel Lemire's Blog | February 9, 2018 at 07:23 PM
I’m a little nerdy. According to my wife, I even look like a nerd. I am not very big. I have a long resume posted online, and I’ll proudly post my follower count...Daniel Lemire From Daniel Lemire's Blog | February 5, 2018 at 04:57 PM
Most mammals, including human beings, age according to a Gompertz curve. It is a fancy way of saying that your risk of death goes up exponential with age. Naked...Daniel Lemire From Daniel Lemire's Blog | February 1, 2018 at 11:33 PM
Suppose you want to choose m distinct integers at random within some interval ([0,n)). How would you do it quickly? I have a blog post on this topic dating back...Daniel Lemire From Daniel Lemire's Blog | January 31, 2018 at 03:05 PM
We have reached “peak coal” meaning that coal usage is going to diminish in the coming years. McGill professor Ishiang Shih has been accused by the US government...Daniel Lemire From Daniel Lemire's Blog | January 25, 2018 at 08:10 PM
Swift is Apple’s go-to programming language. It is the new default to build applications for iPhones. It also runs well on Linux. It is not as low-level as C or...Daniel Lemire From Daniel Lemire's Blog | January 23, 2018 at 11:16 AM
To better understand software performance, we often use small controlled experiments called microbenchmarks. In an earlier post, I remarked that it is hard to reason...Daniel Lemire From Daniel Lemire's Blog | January 20, 2018 at 08:25 PM
The Raspberry Pi 3, a $15-dollar computer that I use for various fun projects, is 15 times more powerful than the Cray-1 supercomputer, but it is 130,000 timesContinue...Daniel Lemire From Daniel Lemire's Blog | January 19, 2018 at 01:08 PM
Computers store data as streams of bits. Binary files like image, audio or video files are allowed to contain just about any sequence of bits. However, we alsoContinue...Daniel Lemire From Daniel Lemire's Blog | January 17, 2018 at 03:16 PM
Programmers use software benchmarking to measure the speed of software. We need to distinguish system benchmarking, where one seeks to measure the performance of...Daniel Lemire From Daniel Lemire's Blog | January 15, 2018 at 10:33 PM
A few years ago, researchers in Danemark expressed concerns regarding high concentrations of pesticides that are showing up in urine samples of Danish mothers and...Daniel Lemire From Daniel Lemire's Blog | January 12, 2018 at 10:03 AM
In a previous post, I asked how fast one could interleave the bits between two 32-bit integers. That is, given 0b1011 (11 in decimal) and 0b1100 (12 in decimal)...Daniel Lemire From Daniel Lemire's Blog | January 9, 2018 at 06:13 PM