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 Source Code
      • GitHub
      • VTK
  • Photography
  • Contact
    • email
    • LinkedIn

Tag Archives: C++

PreProcessor Overloading

Posted on January 26, 2022 by shogarth — Leave a reply

While it is simple to overload methods in C++, the preprocessor doesn’t work the same way. To define overloaded methods in the preprocessor, we need to define a method for Continue Reading →

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

DebugTools

Posted on June 18, 2021 by shogarth — Leave a reply

Debugger Configs for MSVC Provides config files which improve debugging with MSVC. When working with STL containers, smart pointers, and boost signals, it is nice to debug directly into your Continue Reading →

Posted in Software Projects, Software Snippets | Tagged C++, Software Engineering, Software Tools | Leave a reply

Invoker

Posted on June 18, 2021 by shogarth — Leave a reply

Example for invoking back to the main thread in MFC. Some code, including direct UI updates, needs to run directly on the main application thread. When application code becomes increasingly Continue Reading →

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

Leaky Destructors

Posted on June 18, 2021 by shogarth — Leave a reply

When dealing with inheritance, it is possible that the destructors for our objects may never be called if the class has virtual functions, but the base class has a non-virtual Continue Reading →

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

BiDirectional Pimpl Pattern

Posted on November 18, 2020 by shogarth — Leave a reply

While the Pimpl pattern is commonly used to hide implementation and private methods and variables from public interfaces, the common implementations often require a large amount of boilerplate code. This Continue Reading →

Posted in Software Snippets | Tagged C++, Design Patterns, Software Engineering | Leave a reply

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

Post navigation

← Older posts

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

  • PreProcessor Overloading
  • DebugTools
  • Invoker
  • Leaky Destructors
  • SourceTree Password Change

Tags

C++Design PatternsJavaJava SwingRuby GemRuby on RailsSoftware EngineeringSoftware ToolsSQLSysAdminToastmasters

Archives

  • January 2022
  • June 2021
  • December 2020
  • November 2020
  • 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
  • August 2011
  • December 2010

Meta

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