» About

» Downloads

» GitHub

» GitLab

Mottek Blog

» Mottek

» Archive

2024 2023 2022 2020 2019 2018 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004 2003


Ruby, Ruby, Ruby, Ruby

Ruby, Ruby, Ruby, Ruby

I’ve been working on and off with Ruby in the past, and really like the language. There are some quirks and inconsistencies, but overall, it’s still the best of the lot. I’m working with Mac OS X, Windows and Linux, and Ruby bridges the platforms quite nicely, including the user interface layer. Only threads and IO are a bit tricky. nn nnThe project I recently spent most time on is a framework for communicating with the Newton via the regular Dock protocol (it works over serial, Bluetooth or TCP/IP connections). It is in spirit a replacement of the Desktop Connection Library, written in Ruby. I’m using the 40Hz repository on SourceForge to host the Subversion repository in case you want to check it out. It’s nowhere usable yet though :) But I can connect cleanly to the Newton, and the next step is to fill in the missing commands to do something useful. nn nnThe purpose of such a framework is to help with the basic use cases of installing packages and dumping data from the Newton, but in a wider context, it would be nice to use it as the basis for synchronization or backup/restore.