MODBUS ASCII LRC Computation in C++

In C++, IoT by timfanelli

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 …

Monty Hall Problem

In C++, Programming by timfanelli

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

In Java, JavaEE, Programming by timfanelli

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

In C#, Programming, WPF by timfanelli

‘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

In C#, WPF by timfanelli

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 …