Win32 I/O character encoding part 2: chcp 65001

In a previous post, I summarized the character encodings used by Windows console mode programs. This is a short post about a not-very-good mitigation technique for some of the resulting problems. In a future post, I'll go over some better solutions. [Edit 2020-05: Unfortunately, I've had to walk back the advice in this post a … Continue reading Win32 I/O character encoding part 2: chcp 65001

Examining the SHA-1 collision files

SHA-1 is a cryptographic hash function. You give it a computer file, and it produces a 160-bit hash that is completely determined by the input file, but not in any obvious way. In early 2017, a group of researchers, using advanced mathematics and 6500 CPU-years of computer searching, found the first ever SHA-1 collision: two … Continue reading Examining the SHA-1 collision files

Summary of some Win32 I/O character encoding behavior

This is the first of a series of post. Here are the others: Part 2Part 3Supplement 1Supplement 2 This post is about programming a Windows Win32 application, mainly one that uses the console (command line). It summarizes the results of some tests I performed. Maybe you ported a Unix utility to Windows, but you find … Continue reading Summary of some Win32 I/O character encoding behavior

True AI would definitely destroy us

I've never seen a single credible reason why an artificially intelligent computer program (AI), one comparable to a human brain, wouldn't spell doom for humanity. (Please note that I'm talking about true, strong AI, which by all accounts does not yet exist. I'm not talking about a neural network that beats you at chess, or … Continue reading True AI would definitely destroy us