Tag Archives: javascript

Radial Org Charts

As my department at work has grown over time, I’ve thought a few times about the tradition of maintaining organization charts in Visio. These charts typically display an increasingly awkward and messy collection of boxes and lines, showing which employees report to which manager. Apart from being difficult to effectively automate the layout once a […]

Javascript date selector in Rails

Many projects I work on require a user to select dates while entering information into a form. Rails makes it trivial to create date selectors and save the results into models via the date_select form helper. Here’s what it looks like by default: Functional, but hardly friendly to require the user to manipulate three different […]

Home automation via iPhone

When we had our house built a little over 10 years ago, we had a home automation system installed, which included a Lutron Homeworks lighting control system. This meant every light circuit in the house was wired to Lutron’s controller, which could be programmed with their custom Windows application. The installation company distributed multi-button keypads […]

Automatically activating a form field with JavaScript

I’m a firm believer that software developers should do everything possible to make the end-user experience as simple as possible—in other words, make the software do the hard work so I don’t have to. You probably come across negative examples of this all the time without thinking twice: the web form that requires you to […]