|
How many days to Christmas?
 It's only 107 days to Christmas ... courses for next year have already been scheduled [here], the days are drawing in quite quickly, and a Ruby program I wrote to show hoe the Time class works told me. Source code [here].
What's lovely about Ruby is that it has the flexibility of Perl, and the togetherness of structure of Python. And I just love being able to dop a minus sign between two time objects and come up with a result which is the difference. An eloquent demonstration of a good use of operator override!
Image - from Ljublijana, Slovenia - where I gave a Python course a couple of years ago. (written 2011-09-09, updated 2011-09-11)
Associated topics are indexed under R119 - Ruby Miscellany [3622] Loading Ruby classes - where does Ruby look? - (2012-02-24) [3155] Rake - a build system using code written in Ruby - (2011-02-03) [1890] MySQL database from Ruby - an example - (2008-11-16) [1889] Ruby mixins, modules, require and include - (2008-11-16) [1720] Some Ruby lesser used functions - (2008-07-26) [1586] Variable types in Ruby - (2008-03-21) [1181] Good Programming practise - where to initialise variables - (2007-05-09)
Some other Articles
3 digit HTTP status codes - what are they, which are most common, which should be a concern?Ruby at both extremes of your websiteSigils - the characters on the start of variable names in Perl, Ruby and FortranSearching through all the files in or below a directory - Ruby, Tcl, PerlHow many days to Christmas?What is on the Melksham Agenda?Automed web site testing scripted in Ruby using watir-webdriverOur National Autograss Champion, from MelkshamDivide 10000 by 17. Do you get 588.235294117647, 588.24 or 588? - Ruby and PHP1 + 1 + 1 + 1 = 12?
|
3732 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75 at 50 posts per page
This is a page archived from The Horse's Mouth at
http://www.wellho.net/horse/ -
the diary and writings of Graham Ellis.
Every attempt was made to provide current information at the time the
page was written, but things do move forward in our business - new software
releases, price changes, new techniques. Please check back via
our main site for current courses,
prices, versions, etc - any mention of a price in "The Horse's Mouth"
cannot be taken as an offer to supply at that price.
Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).
|
|