Posted in software by Christopher R. Wirz on Tue Aug 03 2021
The release and flavor of linux you use is less important than the kernel.
Read MorePosted in software by Christopher R. Wirz on Mon Apr 12 2021
There are many tutorials to compile PGAudit on Windows, but using Visual Studio and an installed version of PostgreSQL, it is dead simple.
Read MorePosted in software by Christopher R. Wirz on Sun Apr 04 2021
The rust language can be used to create a high-performance HTTP server.
Read MorePosted in software by Christopher R. Wirz on Fri Aug 21 2020
Net SNMP 5.9 includes blumenthal-aes, which provides cisco compliant AES256 for SNMP testing.
Read MorePosted in software by Christopher R. Wirz on Thu Jun 20 2019
The interrupt pattern is often viewed as less performant than graceful checking... But what if the exception case rarely happens?
Read MorePosted in software by Christopher R. Wirz on Fri Jan 18 2019
C++ performs efficient data processing, and Excel helps with data exploration. For Visual Studio 2019, you can still use C++ to call the Excel API.
Read MorePosted in software by Christopher R. Wirz on Sat Dec 29 2018
Sometimes System.Drawing doesn't work in your runtime environment. ImageMagick is an alternative.
Read MorePosted in software by Christopher R. Wirz on Fri Dec 28 2018
With the latest iOS12+, new image assets have been added to support iPhone X+ resolutions. You can make these images easily in an AWS Lambda function using DotNetCore 2.0.
Read MorePosted in software by Christopher R. Wirz on Sat Dec 22 2018
Some libraries produce image convolutions assuming the kernel is rotated 180 degrees - OpenCV does not.
Read MorePosted in software by Christopher R. Wirz on Tue Nov 27 2018
With Work Item Tracking Administration (witadmin), you can modify XML definition files to support the On-premises XML process model. For an overview of process models and what is supported.
Read MorePosted in software by Christopher R. Wirz on Thu Nov 15 2018
PInvoke is fine if you only have one DLL, but what if you have a PlugIn Architecture?
Read MorePosted in software by Christopher R. Wirz on Mon Oct 15 2018
Using shared object files, dynamic linking at runtime can be used to create a PlugIn architecture.
Read MorePosted in software by Christopher R. Wirz on Wed Oct 10 2018
Using a compiled DLL with a C-Style API, you can create a PlugIn architecture using the Windows API.
Read MorePosted in software by Christopher R. Wirz on Tue Sep 25 2018
Using a pointer wrapper, set/get logic can be added to array-like classes which implement the bracket [] operator.
Read MorePosted in software by Christopher R. Wirz on Wed Sep 12 2018
Using a multi-stage build, you can run ActiveMQ in a Windows NanoServer Docker container.
Read MorePosted in software by Christopher R. Wirz on Tue Sep 11 2018
Using a multi-stage build, you can take certain benefits of a larger image and use select features on the image which ultimately gets deployed.
Read MorePosted in software by Christopher R. Wirz on Wed Jul 04 2018
In C++ objects can be passed by value or reference. But what if the object holds reference to allocated memory?
Read MorePosted in software by Christopher R. Wirz on Thu Jun 28 2018
Fixing the "The specified type was not recognized: name=" bug.
Read MorePosted in software by Christopher R. Wirz on Wed Jun 06 2018
SimpleImageCache allows a UIImageView to update when an image is downloaded or retrieved from disk.
Read MorePosted in software by Christopher R. Wirz on Sun May 27 2018
Newer CUDA versions allow for C++ style template kernels, but this capability needs to be wrapped to enable templated C style API functions.
Read MorePosted in software by Christopher R. Wirz on Fri May 25 2018
When you deploy docker containers on edge networks, it is helpful to keep the install files with them - but you also have to include all dependencies.
Read MorePosted in software by Christopher R. Wirz on Tue May 22 2018
Windows Communication Foundation (WCF) services in docker containers.
Read MorePosted in software by Christopher R. Wirz on Fri May 04 2018
The ffmpeg-windows-build-helpers allows you to easily configure and run the FFmpeg build chain.
Read MorePosted in software by Christopher R. Wirz on Mon Apr 02 2018
Using java to make HTTPS requests using raw TCP SSLSockets.
Read MorePosted in software by Christopher R. Wirz on Sun Feb 18 2018
Pointer incrementing moves differently through memory based on the structure you are pointing to.
Read MorePosted in software by Christopher R. Wirz on Mon Feb 12 2018
Certain C APIs use the much-dreaded triple pointer to return an array of strings (character arrays).
Read MorePosted in software by Christopher R. Wirz on Thu Feb 08 2018
Using PowerShell, a VM can have an install CD automatically attached.
Read MorePosted in software by Christopher R. Wirz on Tue Feb 06 2018
VMWare PowerShell Command Line Interface (CLI) can be used to automate VM deployment.
Read MorePosted in software by Christopher R. Wirz on Sun Jan 28 2018
In C++ bit shift operators help show bytes and bits are laid out low to high (on x86 anyway).
Read MorePosted in software by Christopher R. Wirz on Sat Jan 13 2018
These commands make use of the Docker Command Line Interface (CLI) to build up and take down a Docker environment.
Read MorePosted in software by Christopher R. Wirz on Mon Dec 18 2017
EnvDTE lets you debug into processes by attaching them to an already-running debug application.
Read MorePosted in software by Christopher R. Wirz on Fri Oct 13 2017
AzureML allows for Python Execution modules, which can be used to fetch Web Data.
Read MorePosted in software by Christopher R. Wirz on Sun Sep 24 2017
Using reflection, you can generate the C# code used to reproduce an instance of your class objects' public members.
Read MorePosted in software by Christopher R. Wirz on Sun Sep 17 2017
Labelizer turns categorical data into numerical columns that can be modeled in sykit learn.
Read MorePosted in software by Christopher R. Wirz on Sat Sep 16 2017
Inheritance has gaunted precedence for memory layout in C++.
Read MorePosted in software by Christopher R. Wirz on Fri Sep 15 2017
It is best practice to normalize the data, but these methods aren't exposed out-of-the-box.
Read MorePosted in software by Christopher R. Wirz on Mon Sep 11 2017
C++ uses sequential memory, which is fast by provides access to private fields - whether you like it or not.
Read MorePosted in software by Christopher R. Wirz on Mon Aug 14 2017
Using reflection, it is possible to create a singleton for any class or call any method (it's a feature).
Read MorePosted in software by Christopher R. Wirz on Mon Jul 24 2017
Using reflection, it is possible to determine if a given type has a specified constructor or an implicit constructor.
Read MorePosted in software by Christopher R. Wirz on Sat Jul 08 2017
Byte arrays are foundational in C#, but can be exchanged with native and re-usable C++ code.
Read MorePosted in software by Christopher R. Wirz on Wed Jun 28 2017
SiteSearch is expensive, but using a NodeJS server you can easily wrap a web request.
Read MorePosted in software by Christopher R. Wirz on Tue Jun 06 2017
Adding a Shimmer effect to UIView through inspectable extensions.
Read MorePosted in software by Christopher R. Wirz on Sat Jun 03 2017
For large data sets, canceling an iteration may have performance implications that are important to consider.
Read MorePosted in software by Christopher R. Wirz on Fri Jun 02 2017
The method by which you iterate on collections may have performance implications. Arrays are faster than lists, but their enumerators are not.
Read MorePosted in software by Christopher R. Wirz on Mon May 22 2017
Visual Studio allows for C++ unit tests, but there is a major catch when trying to debug. Fortunately, we can capture stdout printf statements.
Read MorePosted in software by Christopher R. Wirz on Wed May 17 2017
Swift Foundation libraries do not come with a queue, but a custom queue can be powerful and easy to implement.
Read MorePosted in software by Christopher R. Wirz on Wed Mar 08 2017
The preferred approach to serialization in C# is to use XmlSerializer. While extremely convenient, there are a few small draw-backs.
Read MorePosted in software by Christopher R. Wirz on Mon Feb 13 2017
Node JS offers an advantage over other server types because you can elect to keep certain contents in the cache (in memory). This allows for faster transactions of static data as there are fewer read write operations to disk or database.
Read MorePosted in software by Christopher R. Wirz on Fri Feb 03 2017
Does reflection beat string comparison for type identification?
Read MorePosted in software by Christopher R. Wirz on Thu Feb 02 2017
Does bookmarking your type using strings get you anything?
Read MorePosted in software by Christopher R. Wirz on Wed Dec 28 2016
WeakLists allow for a collection of class objects to self manage - or at least garbage collect regardless of inclusion in the WealkList.
Read MorePosted in software by Christopher R. Wirz on Tue Nov 08 2016
Byte arrays (byte[]) are preferred over strings for handling passwords and other sensitive data in memory over string object types.
Read MorePosted in software by Christopher R. Wirz on Tue Oct 18 2016
Using a weak reference collection, explicit cast operators can function like implicit cast operators.
Read MorePosted in software by Christopher R. Wirz on Wed Sep 28 2016
Extension methods must be in static classes, and static classes can't have operator overloads.
Read MorePosted in software by Christopher R. Wirz on Sun Sep 18 2016
Some C# 3 features can be used in .NET 2.0 with a declaration. Extension methods require an attribute which is normally part of .NET 3.5.
Read MorePosted in software by Christopher R. Wirz on Fri Sep 02 2016
A developer can still hook onto an event, but now can return a value from the added execution body within a client method.
Read MorePosted in software by Christopher R. Wirz on Wed Aug 03 2016
Javascript allows for prototype methods, but define properties can take place on the prototype as well.
Read MorePosted in software by Christopher R. Wirz on Tue Jun 28 2016
Running a test outside of MS Test allows for an application to have a Built-In-Test (BIT).
Read MorePosted in software by Christopher R. Wirz on Fri Apr 15 2016
Using the user32.dll library, C# can be used to simulate keystrokes.
Read MorePosted in software by Christopher R. Wirz on Wed Apr 13 2016
C# is managed code, but parts of the Windows API were built before the introduction of C#. Fortunately, there are InteropServices to call the API
Read MorePosted in software by Christopher R. Wirz on Sun Mar 13 2016
Encoding file information into a base-64 URI can easily be done in javascript
Read MorePosted in software by Christopher R. Wirz on Sat Mar 12 2016
Image data can be directly inserted into a HTML document using data URIs. This allows an entire HTML document to be loaded in a single request.
Read MorePosted in software by Christopher R. Wirz on Thu Feb 18 2016
Using different serialization paradigms, one single set of extension methods can handle them all.
Read MorePosted in software by Christopher R. Wirz on Sun Feb 14 2016
A styled grid splitter can be accomplished in a single style resource using Windows Presentation Foundation (WPF).
Read MorePosted in software by Christopher R. Wirz on Sat Feb 13 2016
When creating a WPF application, laying out design is easy, but making it look good with data doesn't have to be hard.
Read MorePosted in software by Christopher R. Wirz on Wed Feb 10 2016
The DataContext of a user control is important for its interaction, but his can become even more dynamic when it is a dependency property.
Read MorePosted in software by Christopher R. Wirz on Wed Feb 03 2016
For simple cases, MS Excel macros can be used to make web requests - an even provide access to the Document Object Model (DOM).
Read MorePosted in software by Christopher R. Wirz on Thu Jan 28 2016
A C/C++ API can be written using pointers or references, since the conversion is loss-less.
Read MorePosted in software by Christopher R. Wirz on Thu Jan 21 2016
With NodeJS, you don't have htaccess, but there are other ways of protecting files.
Read MorePosted in software by Christopher R. Wirz on Wed Jan 13 2016
Redmine is a great tool for project management. While the source code is free, there are a limited number of options for hosting it affordably. Luckily, Openshift has a reasonable free tier that can support an instance of Redmine.
Read MorePosted in software by Christopher R. Wirz on Wed Jan 13 2016
Due to a long standing bug with InnoDB in MySQL, disk space on the database container may be exhausted and it's time to attach a new container to your application.
Read MorePosted in software by Christopher R. Wirz on Mon Jan 11 2016
Sometimes you don't need to initialize a pointer when working with string arrays, you can set it to NULL.
Read MorePosted in software by Christopher R. Wirz on Mon Dec 28 2015
The await keyword provides a non-blocking way to start a task, then continue execution when that task completes, but don't nest too many tasks.
Read MorePosted in software by Christopher R. Wirz on Tue Dec 22 2015
Task cancellation must be handled inside the task, but you can either interrupt the task with a throw or exit gracefully, completing the task.
Read MorePosted in software by Christopher R. Wirz on Sun Dec 20 2015
The delegate of a task should utilize the cancellation token in order to be effective.
Read MorePosted in software by Christopher R. Wirz on Sat Dec 12 2015
MS Access has changed its API over the years, and it's time to future-proof your connection classes.
Read MorePosted in software by Christopher R. Wirz on Wed Nov 04 2015
XmlSerializer cannot serialize interfaces, yet SOLID principles implies that one should code to interfaces, not concrete types.
Read MorePosted in software by Christopher R. Wirz on Wed Oct 14 2015
The resource dictionary can combine multiple resource dictionaries through the MergedDictionaries declaration.
Read MorePosted in software by Christopher R. Wirz on Tue Oct 13 2015
Javascript allows for defining properties in many ways, including set and get logic.
Read MorePosted in software by Christopher R. Wirz on Thu Oct 08 2015
Abstract classes and Interfaces serve different purposes, but neither allows for instantiation.
Read MorePosted in software by Christopher R. Wirz on Mon Sep 14 2015
System.Configuration.ConfigurationManager.ConnectionStrings is a ConnectionStringSettingsCollection populated by the App.config. But, what if you don't want to share that file.
Read MorePosted in software by Christopher R. Wirz on Sun Sep 13 2015
Entity is an object-relational mapper that allows your code to work the same regardless of the database back end - but you don't need the designer to get started.
Read MorePosted in software by Christopher R. Wirz on Fri Aug 14 2015
If using MS SQL Server, this is how to setup a trigger.
Read MorePosted in software by Christopher R. Wirz on Thu Aug 13 2015
Forget expensive join operations. Your MySQL database needs to call materialized views.
Read MorePosted in software by Christopher R. Wirz on Thu Jul 30 2015
C# code generated from a schema is going to have many custom attributes. Sometimes, these attributes modify the behavior of serialization.
Read MorePosted in software by Christopher R. Wirz on Tue Jun 30 2015
Programmatic binding offers a slight advantage over XAML in that it will check the property names at compile time.
Read MorePosted in software by Christopher R. Wirz on Wed Apr 08 2015
Windows Presentation Foundation (WPF) controls have both an IsEnabled boolean property and a Click RoutedEventHandler which can be consolidated in the Command ICommand property.
Read MorePosted in software by Christopher R. Wirz on Tue Jan 13 2015
Expression bodied members are a feature of C# 6.0 and provide an inline expression for properties (get only properties) and methods.
Read MorePosted in software by Christopher R. Wirz on Sat Jan 03 2015
These steps will help create an SSL certificate quickly for your server. Once complete, your website will support HTTPS.
Read MorePosted in software by Christopher R. Wirz on Wed Oct 15 2014
Renaming a database should be done with caution - and backups are advised before performing any database operations.
Read MorePosted in software by Christopher R. Wirz on Mon Aug 04 2014
XML serialization is a common technique for storing and transacting data objects when programming in C# but sometimes it is hard to understand the data hierarchy.
Read MorePosted in software by Christopher R. Wirz on Mon Jun 16 2014
Mac OS provides a scripting environment within the terminal to automate tasks such as downloading the latest SDK and updating it
Read MorePosted in software by Christopher R. Wirz on Sun May 11 2014
Having SSL enabled on your website helps with Search Engine Optimization, is recommended for membership, and is required to process financial transactions.
Read MorePosted in software by Christopher R. Wirz on Tue Feb 18 2014
Do not use code cleanup on using statements where writers are involved.
Read MorePosted in software by Christopher R. Wirz on Fri Sep 13 2013
If a broker is over-loaded, it will be slow - but in most cases, remote services are executed in environments with more resources than local clients.
Read MorePosted in software by Christopher R. Wirz on Mon May 13 2013
The goal of a PlugIn framework is to allow library files (DLLs) to be placed in a given given directory and become available to the main application.
Read MorePosted in software by Christopher R. Wirz on Fri Apr 12 2013
There are many collection types in Java. Knowing which to use when can have several implications.
Read MorePosted in software by Christopher R. Wirz on Thu Mar 28 2013
The user32 API and an extension method can be used to detect mouse position over a control.
Read MorePosted in software by Christopher R. Wirz on Thu Feb 28 2013
The internet host table specification is available in all operating systems. You can use it for ad blocking.
Read MorePosted in software by Christopher R. Wirz on Fri Aug 03 2012
Javascript allows for filtering and sorting of arrays.
Read MorePosted in software by Christopher R. Wirz on Sun Apr 15 2012
Shared network folders provides interoperability between Linux and Windows, and mapping from each is equally easy.
Read MorePosted in software by Christopher R. Wirz on Sat Apr 07 2012
To transition from waterfall project management to kanban, schedule must be derived from work and not the other way around.
Read MorePosted in software by Christopher R. Wirz on Mon Apr 02 2012
C++ doesn't include a trim() method for std::string, but making one is easy.
Read MorePosted in software by Christopher R. Wirz on Thu Mar 22 2012
Linq allows for interaction with collections of objects, but lacks a way to remove elements based on a given criteria.
Read MorePosted in software by Christopher R. Wirz on Thu Mar 15 2012
Linq allows for interaction with collections of objects, but is missing the IndexOf feature.
Read MorePosted in software by Christopher R. Wirz on Sat Mar 03 2012
You don't have to go the distance to make an excel AddIn, just register for COM to expose all the functionality you need.
Read MorePosted in software by Christopher R. Wirz on Sat Mar 03 2012
C#'s Type object does not have an IsNumeric method or property. This is how to make one using extension methods.
Read MorePosted in software by Christopher R. Wirz on Sat Feb 18 2012
Do not use the using statement on class members if you can avoid it.
Read MorePosted in software by Christopher R. Wirz on Thu Feb 02 2012
C++ doesn't come with properties, but there are ways to add them
Read MorePosted in software by Christopher R. Wirz on Wed Jan 25 2012
There are many ways to define a Matrix in C++, but maybe it makes more sense to do it one row at a time.
Read MorePosted in software by Christopher R. Wirz on Sun Aug 14 2011
Really Simple Syndication (RSS) is xml that can be easily read using jQuery.
Read MorePosted in software by Christopher R. Wirz on Wed Aug 10 2011
Distinct() returns distinct elements from a sequence using the default equality comparer to compare values - preferably the methods of the IEquatable interface.
Read MorePosted in software by Christopher R. Wirz on Thu Aug 04 2011
Cast and OfType are two methods provided by Linq - however their behaviors are significantly different.
Read MorePosted in software by Christopher R. Wirz on Wed Jun 29 2011
C# adds some modern flair with the ability to have inline constructor chains as well as constructor bodies and optional parameters.
Read MorePosted in software by Christopher R. Wirz on Fri Jun 24 2011
Were you expecting an API here? This site is written Node JS so that content is in memory!.
Read MorePosted in software by Christopher R. Wirz on Sun Aug 03 2008
Batch files (.bat) can be used for automated tasks or running programs with no user interface.
Read More