Is this a reasonable application for Ruby?

J

Joe Percival

I have a box that retrieves data from a weather station as well as a
number of video cameras. I would also like to grab some graphics files
from external FTP sites and execute some gimp comands to generate
animated graphics. There are a number of other data sources that I
would like to access, parse into xml files and upload to my web app.

Also, I have to develop some routines to deal with recovery from
unexpected program termination (we live in an area with unreliable
power). I need to develop routines that figure out what time it is when
they wake up, and execute specific applications at required times.

Are these reasonable applications of ruby? Since I am going to be
learning Ruby anyway for RoR, I thought maybe I could use Ruby for this
kind of task rather than trying to do it all in MS Dos Batch files
(which would require re-learning the intracacies of DOS).

Thanks,
joe
 
J

James Britt

Joe said:
...
Are these reasonable applications of ruby? Since I am going to be
learning Ruby anyway for RoR, I thought maybe I could use Ruby for this
kind of task rather than trying to do it all in MS Dos Batch files
(which would require re-learning the intracacies of DOS).

Yes. The devil is in the details, but overall these are reasonable
tasks for Ruby.

There are nice libraries for working with ImageMagick (not sure about
GIMP), plus Ruby ships with the REXML XML parser. (And you can use
libxml as well, if you prefer, thanks to recent reactivation of that
project.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,667
Latest member
DaniloB294

Latest Threads

Top