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
JSON is the ubiquitous data format on the Internet. There is a lot of JSON that needs to be parsed and validated. As we just released the latest version of ourContinue...Daniel Lemire From Daniel Lemire's Blog | August 2, 2019 at 11:57 AM
JSON is a ubiquitous data exchange format. It is found everywhere on the Internet. To consume JSON, software uses tools called JSON parsers. Earlier this year,Continue...Daniel Lemire From Daniel Lemire's Blog | August 1, 2019 at 05:34 PM
There are thick ice deposits on the Moon. Water in space is important as it can be used to create fuel and to sustain life. Most animals do not suffer heart attacks...Daniel Lemire From Daniel Lemire's Blog | July 27, 2019 at 10:51 AM
In an earlier post, I asked how fast the getline function in C++ could run through the lines in a text file. The answer was about 2 GB/s. That is slower than some...Daniel Lemire From Daniel Lemire's Blog | July 26, 2019 at 01:41 PM
Colm MacCárthaigh is organizing a programming competition with three 3 prizes: $500, $300, $200. The objective? Produce the most readable, easy to follow, and well...Daniel Lemire From Daniel Lemire's Blog | July 23, 2019 at 02:58 PM
Modern processors have fast instructions that can operate on wide registers (e.g., 128-bit). ARM processors, the kind of processors found in your phone, have such...Daniel Lemire From Daniel Lemire's Blog | July 23, 2019 at 01:26 PM
Researchers solve the Rubik’s cube puzzle using machine learning (deep learning). There has been a rise in the popularity of “deep learning” following some major...Daniel Lemire From Daniel Lemire's Blog | July 20, 2019 at 09:28 AM
Drinking juice increases your risk of having cancer. College completion rates are increasing and this may have to do with lower standards. Australia is going to...Daniel Lemire From Daniel Lemire's Blog | July 13, 2019 at 11:08 AM
I own an inexpensive card-size ROCKPro64 computer ($60). It has a ARM Cortex-A72 processors, the same processors you find in the recently released Raspberry PiContinue...Daniel Lemire From Daniel Lemire's Blog | July 11, 2019 at 10:21 AM
Most modern processors have “SIMD instructions“. These instructions operate over wide registers, doing many operations at once. For example, you can easy subtract...Daniel Lemire From Daniel Lemire's Blog | July 9, 2019 at 09:00 PM
Jim Keller, the vice president of silicon engineering at Intel, is optimistic regarding the continued exponential progress in computing: “It’s going to keep going...Daniel Lemire From Daniel Lemire's Blog | July 6, 2019 at 12:35 PM
In software, we often need to generate random numbers. Commonly, we use pseudo-random number generators. A simple generator is wyhash. It is a multiplication followed...Daniel Lemire From Daniel Lemire's Blog | July 2, 2019 at 10:00 PM
Consuming pornography has no effect on sexual desire for one’s partner. Exercise may increase the likelihood that a woman will become pregnant. Consuming more protein...Daniel Lemire From Daniel Lemire's Blog | June 29, 2019 at 10:32 AM
Consider the scenario where you are given a small sorted array of integers (e.g., [1,10,100]) and a large sorted array ([1,2,13,51,…]). You want to compute theContinue...Daniel Lemire From Daniel Lemire's Blog | June 27, 2019 at 01:45 PM
An implemented chip can improve long-term memory. It is currently impractical, but a start-up company will try to bring this technology to market. Never beforeContinue...Daniel Lemire From Daniel Lemire's Blog | June 22, 2019 at 11:49 AM
A standard way to read a text file in C++ is to call the getline function. To iterate over all lines in file and sum up their length, you might do as follows: while...Daniel Lemire From Daniel Lemire's Blog | June 18, 2019 at 04:08 PM
Java is a mature programming language. It was improved over many successive versions. Mostly, new Java versions did not break your code. Thus Java was a great,Continue...Daniel Lemire From Daniel Lemire's Blog | June 17, 2019 at 10:26 AM
We know that naked mole rats are ageless mammals, in the sense that their mortality rate appear constant (not increasing with age). We believe that many sea creatures...Daniel Lemire From Daniel Lemire's Blog | June 15, 2019 at 10:37 AM
There is a new drug reaching phase-3 clinical trials (the last phase) for knee osteoarthritis. It seems to be able to regrow cartilage. Bank of America analysts...Daniel Lemire From Daniel Lemire's Blog | June 8, 2019 at 01:47 PM
It is common in software to need random integers within a range of values. For example, you may need to pick an object at random in an array. Random shuffling algorithms...Daniel Lemire From Daniel Lemire's Blog | June 6, 2019 at 06:28 PM