shogarth.com

shogarth.com

Primary menu

  • Home
  • Software Projects
    • Project List
    • Featured Projects
      • Reflectance Transformation Imaging in Daguerreotype Investigation
      • RTI Image Processing: Sneak Peek
      • Northern Lights Forecaster
    • Public Code Repository
  • Photography
  • Contact
    • email
    • LinkedIn

Tag Archives: C++

SQLite Optimizations: Query Planning

Posted on December 5, 2016 by shogarth — Leave a reply

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 →

Posted in Software Snippets | Tagged C++, SQL | Leave a reply

Custom Debug Visualizers

Posted on December 5, 2016 by shogarth — Leave a reply

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 →

Posted in Software Snippets | Tagged C++ | Leave a reply

RTI Image Processing: Sneak Peek

Posted on February 10, 2016 by shogarth — Leave a reply

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 →

Posted in Software Projects | Tagged C++ | Leave a reply

Processes, Symlinks, & Windows 10

Posted on January 18, 2016 by shogarth — Leave a reply

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 →

Posted in Software Snippets | Tagged C++ | Leave a reply

Sending Unicode through Windows Pipes

Posted on October 18, 2015 by shogarth — Leave a reply

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 →

Posted in Software Snippets | Tagged C++ | Leave a reply

Line Counts by Command Line

Posted on July 4, 2015 by shogarth — Leave a reply

For line counting in c/cpp/h source files: find . -name '*.[c|h]' -o -name '*.cpp' | xargs wc -l

Posted in Software Snippets | Tagged C++ | Leave a reply

Mouse Buttons in Win32

Posted on June 15, 2015 by shogarth — Leave a reply

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 →

Posted in Software Snippets | Tagged C++ | Leave a reply

Reading wide characters with wifstream

Posted on June 15, 2015 by shogarth — Leave a reply

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 →

Posted in Software Snippets | Tagged C++ | Leave a reply

C2143 in cstdio

Posted on February 12, 2015 by shogarth — Leave a reply

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 →

Posted in Software Snippets | Tagged C++ | Leave a reply

About Stephen

Stephen is a hard working software engineer who is highly motivated to develop cutting-edge software systems. Specializing in engineering, and scientific computing, he enjoys inventing solutions for complex technical applications.

Here you can find more details on his projects, and a few interesting tidbits he’s learned along the way. If you would like further details, or would like to connect, he would be pleased to hear from you.

Categories

  • Photography
  • Software Projects
  • Software Snippets
  • Uncategorized

Recent Posts

  • Converting Mercurial Repositories to Git
  • Canon MP Navigator “Scan Failed”
  • Reflectance Transformation Imaging in Daguerreotype Investigation
  • SQLite Optimizations: Query Planning
  • Custom Debug Visualizers

Tags

AndroidC++JavaJava SwingRuby GemRuby on RailsSQLSysAdminToastmasters

Archives

  • April 2020
  • May 2017
  • December 2016
  • June 2016
  • March 2016
  • February 2016
  • January 2016
  • October 2015
  • September 2015
  • July 2015
  • June 2015
  • April 2015
  • March 2015
  • February 2015
  • May 2014
  • February 2014
  • January 2014
  • April 2012
  • January 2012
  • August 2011
  • December 2010

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • Linkedin
  • Email
Copyright © 2021 shogarth.com All Rights Reserved.
Theme: Catch Evolution by Catch Themes