I’m currently working on a project interfacing a BeagleBone Black to a drive control unit, which communicates using MODBUS ASCII over RS-232. The biggest challenge with the communication protocol is …
Asynchronous, Event-Driven UART in C++ for BeagleBone Black
I just posted the first iteration of Serialzzz, a C++ library which provides asynchronous, event-driven I/O for interacting with UART devices on BeagleBone Black. Today’s code drop is just the …
Monty Hall Problem
I read a very interesting article on the NY Times today, linked from this /. article, about the Monty Hall Problem. The problem has apparently caused much embarrassment among mathematicians, …
Your First EJB3 Session Bean
I just recently started playing with EJB3, and found it extremely tricky to get through my very first EJB3 Session Bean. While significantly simpler than EJB 2, the online resources …
Adding Custom Controls to XAML
‘s often useful to either extend WPF controls or create custom controls to supplement to functionality provided to you by the WPF classes. In this brief tutorial, we’ll refactor the …
Drawing a RubberBand in WPF
Overview Rubber-banding is a very simple and familiar concept in most graphical applications where the outline of a shape to be drawn is painted to the screen, following the mouse …
Never Write Pure Virtual Methods Again
Pure virtual, or abstract, methods are those that are defined with a signature and no body, and must be implemented by some base class definition before you can instantiate an …
Getting Started with Struts Shale
Struts Shale is a proposal for a next-generation web development framework. I’ve spent a couple days scouring the internet trying to find a simple getting started guide to build a …
Intro to Ruby: A Developer’s Quick Start
Ruby is a very powerful, fun, and expressive language – I thought instead of continuing my sometimes long winded Intro To XXX series this morning, I’d post a cheat sheet …
Intro to Ruby: Hello World
I recently decided I was going to take up Ruby programming as a hobby. Prior to that I had taken on Python, which has quickly become one of my favorite …