-
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 2 years ago
- RT @DepressedDarth: The fake news media is blaming the stormtroopers for the Battle of Endor, but nobody is talking about the violent Ewoks 3 years ago
- RT @graphikjunkie: Today is Amazon S3 dependency awareness day 3 years ago
- First post in a while. Drawing a bounding box over an image in C#/.net/WinForms. chrisheydrick.com/2016/10/27/dra… 4 years ago
- RT @SwiftOnSecurity: Blue Bell manufacturing plants are dirtier than an NTFS volume after an unclean shutdown 4 years ago
Monthly Archives: June 2012
Project Euler 10
I put my old implementation of Project Euler 10 into my new implementation. I’m so glad I wrote in my old journal post about the printf formatting problem I had. It bit me again.
Posted in Uncategorized
Leave a comment
Project Euler 9
I did some lunch time coding to get my old Project Euler 9 solution put into the newer “all in one” program. “Stand alone” solution – http://chrislearnsc.blogspot.com/2011/09/project-euler-9-solution.html Integrated solution – https://github.com/cheydrick/Project-Euler I went over my PE10 implementation, and think I can integrate … Continue reading
Posted in Uncategorized
Leave a comment
How to read serial data from an Arduino in Linux with C: Part 4
Parts one, two, and three dealt with non-canonical reading of serial data coming from an Arduino. Part 4 is how to do it in canonical mode. I programmed the Arduino to wait until it receives a byte from the PC and … Continue reading
Posted in Hobbies, Programming
14 Comments
Figured it out…
I figured it out. There were basically two subtle errors on my part that threw it into an in-deterministic state. I walked away from it for the afternoon and I picked out what was wrong almost immediately after I looked at it … Continue reading
Posted in Uncategorized
Leave a comment
More info on canonical serial transmission failure
This screenshot illustrates both problems: The first run shows problem 1: read returns 0. It shouldn’t do that in canonical mode…. right? Problem number 2 is that when it DOES return something, it’s gibberish. I modified the program to display … Continue reading
Posted in Uncategorized
Leave a comment
Canonical mode serial reading failure
Man, I just can’t get my head around this one. My Arduino is running a simple call/response program. If you sent it a byte, it will send back “Hello”. The Serial.read() is to pop off the byte in the buffer … Continue reading
Posted in Hobbies, Programming
Leave a comment
Ported fill and stroke Cairo drawing example on Zetcode.com to GTK+3
If you do any searching for Cairo or GTK+ tutorials, you’ll eventually wind up on zetcode.com. I’d be content with only a fraction of this guy’s talent for explaining difficult subject matters with such brevity and clarity. It’s not coincidence … Continue reading
Posted in Hobbies, Programming
3 Comments
Another way to receive serial data from an Arduino
I stumbled across this: http://stackoverflow.com/questions/7276797/reading-from-an-arduino-tty-with-file?rq=1 I’d very much like to subscribe to that guy’s newsletter.
Posted in Hobbies, Programming
Leave a comment
How to read serial data from an Arduino in Linux with C: Part 3
Preface: Part 1 covered the sketch the Arduino will run for this example, and part 2 covered the resources and other people’s code I used to make sure everything works as expected. In part 3 I’m going to go through … Continue reading
Posted in Hobbies, Programming
16 Comments
How to read serial data from an Arduino in Linux with C: Part 2
Edit: Part 3 and Part 4 of the writeup. Preface: In Part 1 I covered the Arduino sketch that will output serial data to read on the PC it’s connected to. Next I’ll go over the resources I used to … Continue reading
Posted in Hobbies, Programming
1 Comment