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
When thinking about “parallelism”, most programmers think about having multiple processors. However, even a single core in a modern processor has plenty of parallelism...Daniel Lemire From Daniel Lemire's Blog | November 25, 2019 at 01:05 PM
Many businesses today run “in the cloud”. What this often means is that they have abstracted out the hardware entirely. Large corporations like Amazon, Google,Continue...Daniel Lemire From Daniel Lemire's Blog | November 20, 2019 at 03:24 PM
We have new technology to do genetic engineering on human beings (CRISPR). In a small clinical trial, the researchers tested it on live human subjects and found...Daniel Lemire From Daniel Lemire's Blog | November 16, 2019 at 12:23 PM
Modern processors predict branches (e.g., if-then clauses), often many cycles a ahead of time. When predictions are incorrect, the processor has to start again,...Daniel Lemire From Daniel Lemire's Blog | November 12, 2019 at 03:39 PM
Software is full of “branches”. They often take the form of if-then clauses in code. Modern processors try to predict the result of branches often long before evaluating...Daniel Lemire From Daniel Lemire's Blog | November 5, 2019 at 07:07 PM
When programming, we often want to convert strings (e.g., “1.0e2”) into numbers (e.g., 100). In C++, we have many options. In a previous post, I reported that it...Daniel Lemire From Daniel Lemire's Blog | October 31, 2019 at 03:07 PM
People who were the oldest in the classes in school tend to be more confident and to take more risks. At the University of Montreal, about 32% of the students are...Daniel Lemire From Daniel Lemire's Blog | October 26, 2019 at 10:52 AM
In software, we frequently have to parse numbers from strings. Numbers are typically represented in computers as 32-bit or 64-bit words whereas strings are variable...Daniel Lemire From Daniel Lemire's Blog | October 26, 2019 at 09:55 AM
A lot of software is an intricate of branches (if–then clauses). For performance reasons, modern processors predict the results of these branches. In my previous...Daniel Lemire From Daniel Lemire's Blog | October 15, 2019 at 10:05 PM
Modern processors are superscalar, meaning that they can execute many instructions at once. For example, some processors can retire four or six instructions per...Daniel Lemire From Daniel Lemire's Blog | October 15, 2019 at 06:02 PM
In many countries, like Canada, there is relatively little private (business) research. Meanwhile, other research indicates that private research is precisely the...Daniel Lemire From Daniel Lemire's Blog | October 12, 2019 at 10:50 AM
Apple sells identical laptops worldwide. There might be small differences with respect to power adaptors and so forth, but the laptops are the same internally.Continue...Daniel Lemire From Daniel Lemire's Blog | October 7, 2019 at 11:22 AM
Researchers have effectively rejuvenated the damaged skin of mice by using “exosomes”. These are packages that cells send in their environment, and it appears that...Daniel Lemire From Daniel Lemire's Blog | September 28, 2019 at 12:21 PM
The standard way in C++ to generate a random integer in a range is to call the std::uniform_int_distribution function. The current implementation of std::uniform_int_distribution...Daniel Lemire From Daniel Lemire's Blog | September 28, 2019 at 10:34 AM
Amputees suffer from lack of sensory feedback from the missing limbs. Researchers found it beneficial to provide artificial sensory feedback. More economicallyContinue...Daniel Lemire From Daniel Lemire's Blog | September 21, 2019 at 12:46 PM
Though I was a straight-A student for most of my high school and college years, I failed kindergarten. I have told this story many times but I realize that I have...Daniel Lemire From Daniel Lemire's Blog | September 20, 2019 at 05:41 PM
The binary search is the standard, textbook, approach when searching through sorted arrays. In a previous post, I showed how you can do multiple binary searches...Daniel Lemire From Daniel Lemire's Blog | September 20, 2019 at 05:14 PM
Streaming music makes up 80% of the revenue of the music industry. Revenue is up 18% for the first six months of 2019. This follows a record year in 2018 when the...Daniel Lemire From Daniel Lemire's Blog | September 14, 2019 at 01:53 PM
Given a long list of sorted values, how do you find the location of a particular value? A simple strategy is to first look at the middle of the list. If your value...Daniel Lemire From Daniel Lemire's Blog | September 14, 2019 at 01:30 PM
In a small clinical trial, scientists administered some “anti-aging” therapies to people between their fifties and sixties. They used growth hormone to regenerate...Daniel Lemire From Daniel Lemire's Blog | September 7, 2019 at 11:11 AM