-
Recent Posts
Archives
- October 2016
- March 2016
- February 2016
- February 2015
- December 2014
- September 2014
- August 2014
- June 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- October 2013
- September 2013
- August 2013
- June 2013
- May 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
Categories
Twitter Updates
- RT @tonroosendaal: Blender Internal (render) just got removed from the 2.8 branch. Bye bye, you served us well! #b3d https://t.co/4ixOZ8JmcX 1 year ago
- RT @DepressedDarth: The fake news media is blaming the stormtroopers for the Battle of Endor, but nobody is talking about the violent Ewoks 2 years ago
- RT @graphikjunkie: Today is Amazon S3 dependency awareness day 2 years ago
- First post in a while. Drawing a bounding box over an image in C#/.net/WinForms. chrisheydrick.com/2016/10/27/dra… 3 years ago
- RT @SwiftOnSecurity: Blue Bell manufacturing plants are dirtier than an NTFS volume after an unclean shutdown 3 years ago
Author Archives: Chris Heydrick
Drawing a bounding box over an image with C#/.net and WinForms
Most of the info in this post can be found between the following two links: http://stackoverflow.com/questions/2065162/filled-rubber-band-in-winforms-application https://msdn.microsoft.com/en-us/library/3t7htc9c(v=vs.110).aspx Drawing a bounding box over an image to select a region took me longer to figure out than I expected. Here’s a brief bare-bones … Continue reading
Posted in Uncategorized
Leave a comment
Control a power strip with an Arduino
I’m running some tests at the office that require cycling the power to a device. After spending a few days doing this manually by flipping the switch on a power strip, I started searching for a better way. Some Googling … Continue reading
Posted in Uncategorized
1 Comment
Passing a ctypes array of struct from Python to .dll
I’m working on a small project that requires interfacing Python to a C .dll. I’ve never had to pass an array of structures by reference before with ctypes, so here’s a quick sanity check I did to make sure I … Continue reading
Posted in Hobbies, Programming, Technology
Leave a comment
ADXL335 Accelerometer on an Arduino
I picked up an ADXL335 accelerometer in a packaging designed to fit onto a solder-less breadboard so that I could interface it to my Arduino. I had a few time-consuming problems interfacing with it because I’m not used to reading chip … Continue reading
Brief Example of Calling .dll Functions in C#
I don’t like C#, but the free version of Visual Studio only lets you use the interface builder in C#/.net programs, so here we are. My goal was to cheat and write the interesting parts of the program in C/C++, … Continue reading
C# Struct Sizes
I’ve been banging my head against trying to get C# to talk to a .dll written in straight C for the past few days. I finally got a grip on passing basic data types, and pointers to basic data types, … Continue reading
Posted in Uncategorized
Leave a comment
File Open Dialog Box in Python
I’m putting the finishing touches on a side project at work that requires opening a file as an argument at the command line, or through a file open dialog box. Here’s a snippet that demonstrates how I implemented it. … Continue reading
Posted in Programming
Leave a comment