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
Many recent Intel processors benefit from a new family of instructions called AVX-512. These instructions operate over wide registers (up to 512 bits) and follow...Daniel Lemire From Daniel Lemire's Blog | May 25, 2022 at 05:27 PM
There are various ways in software to handle error conditions. In C or Go, one returns error code. Other programming languages like C++ or Java prefer to throwContinue...Daniel Lemire From Daniel Lemire's Blog | May 13, 2022 at 11:58 AM
I refer to “bitset decoding” as the action of finding the positions of the 1s in a stream of bits. For example, given the integer value 0b11011 (or 27 in decimal)...Daniel Lemire From Daniel Lemire's Blog | May 10, 2022 at 05:38 PM
In software, we often use ‘bitsets’: you work with arrays of bits to represent sets of small integers. It is a concise and fast data structure. Sometimes you want...Daniel Lemire From Daniel Lemire's Blog | May 6, 2022 at 04:45 PM
In software, it is a common problem to want to remove specific characters from a string. To make the problem precise, let us consider the removal of all ASCII control...Daniel Lemire From Daniel Lemire's Blog | April 28, 2022 at 12:53 PM
In practice, computer code is constantly being transformed. At the beginning of a project, the computer code often takes the form of sketches that are gradually...Daniel Lemire From Daniel Lemire's Blog | April 21, 2022 at 01:55 PM
In programming languages like JavaScript or Python, numbers are typically represented using 64-bit IEEE number types (binary64). For these numbers, we have 15 digits...Daniel Lemire From Daniel Lemire's Blog | April 13, 2022 at 01:31 PM
Most strings in software today are represented using the unicode standard. The unicode standard can represent most human readable strings. Unicode works by representing...Daniel Lemire From Daniel Lemire's Blog | April 5, 2022 at 11:50 AM
In most systems, integers are stored using a fixed binary representation. It is common to store integers using 32-bit or 64-bit words. You sometimes need to convert...Daniel Lemire From Daniel Lemire's Blog | March 28, 2022 at 05:50 PM
Programmers often need to write data structures to disk or to networks. The data structure then needs to be interpreted as a sequence of bytes. Regarding integer...Daniel Lemire From Daniel Lemire's Blog | March 18, 2022 at 06:25 PM
At my university, one of our internal software systems allows a professor to submit a revision to a course. The professor might change the content or the objectives...Daniel Lemire From Daniel Lemire's Blog | February 23, 2022 at 08:54 PM
Most Canadian academics have to write their resumes using a government online tool called the Common CV. When it was first introduced, it was described as a time...Daniel Lemire From Daniel Lemire's Blog | February 18, 2022 at 06:36 PM
We often represent integers with digits. E.g., the integer 1234 has 4 digits. By extension, we use ‘binary’ digits, called bits, within computers. Thus the integer...Daniel Lemire From Daniel Lemire's Blog | February 10, 2022 at 12:00 AM
Except maybe in totalitarian states, you cannot ever have a single publisher. Most large cities had multiple independent newspapers. In recent years, we saw a surge...Daniel Lemire From Daniel Lemire's Blog | February 7, 2022 at 12:40 PM
It is common to want to parse long strings of digits into integer values. Because it is a common task, we want to optimize it as much as possible. In the blog post...Daniel Lemire From Daniel Lemire's Blog | January 21, 2022 at 05:51 PM
In programming, we often represent numbers using types that have specific ranges. For example, 64-bit signed integer types can represent all integers between -9223372036854775808...Daniel Lemire From Daniel Lemire's Blog | January 17, 2022 at 04:52 PM
Our most important goal in writing software is that it be correct. The software must do what the programmer wants it to do. It must meet the needs of the user.Continue...Daniel Lemire From Daniel Lemire's Blog | January 3, 2022 at 06:47 PM
Becoming a physician increases the use of antidepressants, opioids, anxiolytics, and sedatives, especially for female physicians. When trying to reproduce results...Daniel Lemire From Daniel Lemire's Blog | December 19, 2021 at 04:01 PM
It used to be that all the exciting new processors came from Intel and AMD, and they were meant for your PC. The mobile revolution changed that: it lead to theContinue...Daniel Lemire From Daniel Lemire's Blog | December 4, 2021 at 11:18 AM
In C as well as many other programming languages, we have 32-bit and 64-bit floating-point numbers. They are often referred to as float and double. Most of systems...Daniel Lemire From Daniel Lemire's Blog | November 30, 2021 at 06:25 PM