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
Most people think that they are more intelligent than average. Lack of vitamin C may damage the arteries. Make sure you have enough! A difficult problem in software...Daniel Lemire From Daniel Lemire's Blog | July 16, 2023 at 02:00 PM
Suppose that I give you a long list of string tokens (e.g., “A”, “A6”, “AAAA”, “AFSDB”, “APL”, “CAA”, “CDS”, “CDNSKEY”, “CERT”, “CH”, “CNAME”, “CS”, “CSYNC”, “DHC...Daniel Lemire From Daniel Lemire's Blog | July 13, 2023 at 11:11 PM
The strategy for winning is simple: do good work and tell the world about it. In that order! This implies some level of stealth as you are doing the good work.Continue...Daniel Lemire From Daniel Lemire's Blog | July 8, 2023 at 12:43 PM
Suppose that I give you a short string of digits, containing possibly spaces or other characters (e.g., "20141103 012910"). We would like to pack the digits into...Daniel Lemire From Daniel Lemire's Blog | July 7, 2023 at 01:19 PM
The C++11 standard introduced used-defined string suffixes. It also added regular expressions to the C++ language as a standard feature. I wanted to have fun and...Daniel Lemire From Daniel Lemire's Blog | July 5, 2023 at 05:38 PM
In software, it is common to represent time as a time-stamp string. It is usually specified by a time format string. Some standards use the format %Y%m%d%H%M%SContinue...Daniel Lemire From Daniel Lemire's Blog | July 1, 2023 at 05:38 PM
Suppose that you want to reorder, arbitrarily, the bits in a 64-bit word. This question was raised on Twitter by @experquisite. Formally, you might want to provide...Daniel Lemire From Daniel Lemire's Blog | June 29, 2023 at 11:59 AM
Women in highly religious relationships report the highest levels of relationship quality. US politics is largely divided into two parties (Republicans and Democrats)...Daniel Lemire From Daniel Lemire's Blog | June 25, 2023 at 01:32 PM
Similar species can have vastly different lifespan. Researchers have been looking for the limiting factors that explain these differences. As we age, our genesContinue...Daniel Lemire From Daniel Lemire's Blog | June 11, 2023 at 03:45 PM
Most of us are familiar with IP addresses: they are strings of the form “ddd.ddd.ddd.ddd” where ddd is a decimal number of up to three digits in the range 0 toContinue...Daniel Lemire From Daniel Lemire's Blog | June 8, 2023 at 04:47 PM
There are fewer serial killers these days. Some suggests it is due to better forensic techniques: we catch the killers faster and more efficiently. Between theContinue...Daniel Lemire From Daniel Lemire's Blog | June 3, 2023 at 04:41 PM
How much is a degree from a prestigious university worth? The answer is a bit difficult to answer because there are many cofounding factors: people from the connected...Daniel Lemire From Daniel Lemire's Blog | June 1, 2023 at 12:40 PM
A hash function is a function that maps a value (such as a string) to an integer value. Typically, we want random-looking values. A Bloom filter is a standard data...Daniel Lemire From Daniel Lemire's Blog | May 26, 2023 at 04:36 PM
The Go programming language makes it easy to call C code. Suppose you have the following C functions: char* allocate() { return (char*)malloc(100); } void free_allocated...Daniel Lemire From Daniel Lemire's Blog | May 19, 2023 at 10:57 AM
While most of our software relies on Unicode strings, we often still encounter legacy encodings such as Latin 1. Before we convert Latin 1 strings to Unicode (e...Daniel Lemire From Daniel Lemire's Blog | May 15, 2023 at 11:46 AM
Modern processors can execute several instructions per cycle. Because processors cannot easily run faster (in terms of clock speed), vendors try to get their processors...Daniel Lemire From Daniel Lemire's Blog | May 12, 2023 at 11:56 AM
Artificial intelligence (ChatGPT) can provide better answers to patients than physicians. Eating chocolate might affect your brain and cognitive functions. It may...Daniel Lemire From Daniel Lemire's Blog | May 6, 2023 at 11:00 AM
Whenever you enter a URL into a system, it must be parsed and validated. It is a surprisingly challenging task: it may require hundreds of nanoseconds and possibly...Daniel Lemire From Daniel Lemire's Blog | May 3, 2023 at 11:22 AM
Many modern programming languages like Java produce useful error messages when they fail. Some indicate where in the program (e.g., down to the line of source code)...Daniel Lemire From Daniel Lemire's Blog | May 1, 2023 at 04:16 PM
Ovaries age quickly in women. By the age of 40, most ovaries are poorly functional. However, there is an ongoing clinical trial to check whether the drug rapamycin...Daniel Lemire From Daniel Lemire's Blog | April 29, 2023 at 06:16 PM