Happy Programmer's Day!

$ ruby -r date -e 'p Date.today.yday'
256

:wink:

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'
256

Programmer's Day - Wikipedia

:wink:

James Gray wrote:

Programmer's Day - Wikipedia

And nobody got me anything! -cries-

路路路

--
Posted via http://www.ruby-forum.com/\.

Nice thing anyway.

Robert

路路路

On 9/13/06, James Edward Gray II <james@grayproductions.net> wrote:

$ ruby -r date -e 'p Date.today.yday'
256

Programmer's Day - Wikipedia

:wink:

James Edward Gray II

Couldn't have told us in the morning eh? :wink:

--
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'
256

Programmer's Day - Wikipedia

:wink:

This wouldn't include Rails developers ?

Stuart

路路路

On 9/13/06, William Crawford <wccrawford@gmail.com> wrote:

James Gray wrote:
> Programmer's Day - Wikipedia

And nobody got me anything! -cries-

--
Posted via http://www.ruby-forum.com/\.

James Gray wrote:
> Programmer's Day - Wikipedia

And 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'
256

Programmer's Day - Wikipedia

:wink:

James Edward Gray II

Couldn't have told us in the morning eh? :wink:

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
Ruby Code & Style - 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
Ruby Code & Style - 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. :slight_smile:

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.