$ ruby -r date -e 'p Date.today.yday'
256
James Edward Gray II
$ ruby -r date -e 'p Date.today.yday'
256
James Edward Gray II
Neat.
p ((Time.now - Time.local(2006)) / (60 * 60 * 24)).ceil
---John
On 9/13/06, James Edward Gray II <james@grayproductions.net> wrote:
$ ruby -r date -e 'p Date.today.yday'
256http://en.wikipedia.org/wiki/Programmer鈥檚_day
Nice thing anyway.
Robert
On 9/13/06, James Edward Gray II <james@grayproductions.net> wrote:
$ ruby -r date -e 'p Date.today.yday'
256http://en.wikipedia.org/wiki/Programmer鈥檚_day
James Edward Gray II
Couldn't have told us in the morning eh?
--
Deux choses sont infinies : l'univers et la b锚tise humaine ; en ce qui
concerne l'univers, je n'en ai pas acquis la certitude absolue.
- Albert Einstein
What totally amazes me is there has been over 500 edits of that simple
half page!
John Carter Phone : (64)(3) 358 6639
Tait Electronics Fax : (64)(3) 359 4632
PO Box 1645 Christchurch Email : john.carter@tait.co.nz
New Zealand
"We have more to fear from
聽聽The Bungling of the Incompetent
聽聽Than from the Machinations of the Wicked." (source unknown)
On Thu, 14 Sep 2006, James Edward Gray II wrote:
$ ruby -r date -e 'p Date.today.yday'
256http://en.wikipedia.org/wiki/Programmer鈥檚_day
This wouldn't include Rails developers ?
Stuart
On 9/13/06, William Crawford <wccrawford@gmail.com> wrote:
James Gray wrote:
> http://en.wikipedia.org/wiki/Programmer鈥檚_dayAnd nobody got me anything! -cries-
--
Posted via http://www.ruby-forum.com/.
James Gray wrote:
> http://en.wikipedia.org/wiki/Programmer鈥檚_dayAnd nobody got me anything! -cries-
James did. But it seems to have overflowed into the bit bucket,
leaving nothing behind. What a character!
On 9/13/06, William Crawford <wccrawford@gmail.com> wrote:
--
Posted via http://www.ruby-forum.com/.
--
Stuart Yarus
<syarus at gmail dot com>
Robert Dober wrote:
On 9/13/06, James Edward Gray II <james@grayproductions.net> wrote:
$ ruby -r date -e 'p Date.today.yday'
256http://en.wikipedia.org/wiki/Programmer鈥檚_day
James Edward Gray II
Couldn't have told us in the morning eh?
Nice thing anyway.
Would be more fun if it was Talk Like a Programmer Day.
Or combine it without another September "holiday" and make it Talk Like a Pirate Programmer Day.
--
James Britt
http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - The Journal By & For Rubyists
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
James Britt wrote:
Or combine it without another September "holiday" and make it Talk Like a Pirate Programmer Day.
Talk like a software pirate?
I was once captured by software pirates. They made me
walk off the end of an array.
Hal
Hal Fulton wrote:
James Britt wrote:
Or combine it without another September "holiday" and make it Talk Like a Pirate Programmer Day.
Talk like a software pirate?
I was once captured by software pirates. They made me
walk off the end of an array.
Software pirates keep throwing exceptions, too, because of
too many arrrrgs.
--
James Britt
http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - The Journal By & For Rubyists
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
Software pirates keep throwing exceptions, too, because of
too many arrrrgs.
Made me laugh.
Thank God we just make jokes like these on this day, otherwise this
"holiday" would be totally unjustified and redundant... (Or do we?)
Grats to all,
Alvim.