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
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
Developers often believe that software performance follows a Pareto distribution: 80% of the running time is spent in 20% of the code. Using this model, you can...Daniel Lemire From Daniel Lemire's Blog | April 27, 2023 at 12:38 PM
A French graduate student reached out by email yesterday with the following problem. Consider a format such as TOML which has line comments: when a ‘#’ character...Daniel Lemire From Daniel Lemire's Blog | April 25, 2023 at 09:51 PM
There are many theories regarding what biological aging. Animals can differ by up to six orders of magnitude (100000x) in longevity. Some animal species like the...Daniel Lemire From Daniel Lemire's Blog | April 22, 2023 at 02:50 PM
Bryan Caplan, an economist, raised an interesting question on Twitter: why aren’t people celebrating the fact that tools like GPT might soon allow us to produce...Daniel Lemire From Daniel Lemire's Blog | April 21, 2023 at 10:29 AM