Monthly Archives: May 2012

Unix sockets echo example

Some stuff that came up at the office got me curious about Unix network programming. Fortunately I have a few books here that touch on that topic (both Advanced Programming in the UNIX Environment and Advanced MAC OS X Programming), … Continue reading

Posted in Hobbies, Programming | Leave a comment

Random pixel animation with GTK+

I still want to make a proper write-up of this program, but for now a brief video with some commentary will do (mostly as a reminder to me!). The source is here: https://github.com/cheydrick/GTKPixBufTest Now that I have a basic grip on … Continue reading

Posted in Hobbies, Programming | Leave a comment

Seeing stars

There are several great leaps I think all newbie programmers make. The first is text input and output, then the next is reading to and from a file. One of my big leaps last year was GUI programming – escaping … Continue reading

Posted in Hobbies, Programming | Leave a comment

Ubuntu-ception

Running a GTK+ program through ssh with X forwarding (simply displaying a quickly drawn .png file). This ssh session is being run inside Ubuntu which is being run in a Virtualbox session hosted by Windows 7. One program being run … Continue reading

Posted in Hobbies, Technology | Leave a comment

Project Euler 7

My old online journal kept track of my progress through the Project Euler problems. I’m glad I kept track of them there (by posting the source) because the first 12 problems I solved were individual programs scattered across three computers … Continue reading

Posted in Hobbies, Programming | Leave a comment

termios structure sanity check

Some initial testing with setting up serial communication flummoxed me. I decided to work up a tool to give me a hand. https://github.com/cheydrick/ssanity Any evening you get to use the ternary operator is a good one, right? ssanity runs through … Continue reading

Posted in Hobbies, Programming | 1 Comment

One defining purpose

One of the biggest impediments to learning C is having to learn the different between things that are there because they are necessary, and things that are there because of good practice. I kept encountering tokens being defined in header … Continue reading

Posted in Hobbies, Programming | 1 Comment