Posts on C++, data compression, algorithms, and more!
- Jul 17, 2018
You can try to beat a compression challenge by hiding data in the filesystem itself - inadvertently or not. I give an example of how one might do that here.
- Oct 19, 2014
This article describes the use of arithmetic coding in data compression, illustrated with C++ source. (This is an update to my 1991 article.)
- Sep 11, 2014
The C++14 standard has been ratified, I walk through some of the new features that have been added to the language. These include return type deduction, generic lambdas, initialized lambda captures, binary literals, digit separators, and the deprecated attribute.
- Jul 2, 2014
New C++ features such as the is_base_of template help bridge the gap between OOP and template programming. I explain how this works and provide some sample C++ code that helps with bit-oriented I/O, a common task in the world of data compression.
- Apr 20, 2014
Debugging Windows services is problematic. It's even more difficult to debug them when they have startup issues. I provide some C++ code that helps you through the process.
- Mar 26, 2014
I get an interview call from a tech giant which includes an online coding test of my C++ skills.
- Mar 3, 2014
A frequently cited rule in the C++ standard is the One Definition Rule. In this article, I'll show you how I inadvertently blundered into an ODR problem, found my way out, and uncovered a deeper truth about the language standard.
- Nov 4, 2012
RackMaster is a free wordplay training program that gives you a fresh puzzle every day. Your goal is to make the best scores out of five racks of letters, using the scoring rules from games like Scrabble and Words for Friends.
- Oct 9, 2012
I revisit my random data compression challenge after ten years with no winners. Compressing the million digits created by the RAND think tank could be an impossible task.
- Jun 24, 2012
I take a look at the new unique_ptr<> template that's been added to C++. This finally makes it safe to store smart pointers in a container.