Time zone correct client side date and time display

Today’s post one covers one approach for displaying the correct timezone adjusted date and time in a web application. A common example for the problem being addressed is user A located in London, UK uploads a file to a central server located in New York City, US and then user B located in Seoul, SK views the file. When user B attempts to download the file we would like show the user when the file was uploaded in his or her current time zone. ...

May 26, 2014 · MichaelHughes

Create an object based dual list shuttle with Knockoutjs

A quick tip post on using Knockoutjs to create a certain type of common web UI component. The short and sweet summary is that I’ll show how to create a shuttle control using two select boxes that are bound to arrays of Javascript objects (instead of simple value types) using Knockoutjs. Before getting to that though I’ll provide some background on the various component used to create the UI. ...

May 24, 2014 · MichaelHughes

Fun with Kivy & drawing graphics

I recently starting using Kivy, a cross platform Python based native UI framework for a personal project. While searching forums, documentation, and Stackoverflow I have noticed several posts with code that takes the hard road to updating an on screen graphic. This post presents an example of using Kivy’s Kv language in combination with Python to draw an object that rotates in response to user input. ...

April 4, 2014 · MichaelHughes