SQLite Optimizations: Query Planning
If a query is running really slowly in SQLite immediately after you have performed a large number of inserts, the query optimizer may be out of sync. If you run Continue Reading →
If a query is running really slowly in SQLite immediately after you have performed a large number of inserts, the query optimizer may be out of sync. If you run Continue Reading →
When working with custom data structures, the debugger can show too much information layered through how you’ve constructed it. To make it easier to debug, you can create a custom Continue Reading →
Recently I have invented several algorithms to extract more detail from Reflectance Transformation Imaging (RTI) images. Here is a sneak peek of the detail these algorithms can extract: RTI Comparison Continue Reading →
When starting external executables from C++ code, if we start them using SHELLEXECUTEINFO on Windows 10, we cannot maintain a process handle across symlinks like we can on Windows 8. Continue Reading →
Passing unicode data through Windows Pipes sometimes requires special handling to avoid having the pipes scramble the data. We can see this using the cmd prompt and navigating to a Continue Reading →
For line counting in c/cpp/h source files: find . -name '*.[c|h]' -o -name '*.cpp' | xargs wc -l
To respond to special mouse button actions in Win32, we need to register the virtual command actions with the callback loop to detect the special mouse button action. For example, Continue Reading →
Should we want to use wifstream to read unicode characters directly from a file, we will encounter an implementation quirk with newline detection in the standard library. Carriage returns and Continue Reading →
It is rather interesting when the standard library returns compile errors: 3>c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstdio(39) : error C2143: syntax error : missing '{' before ':' 3>c:\program files (x86)\microsoft Continue Reading →