Happy Programmer's Day!

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

:wink:

James Edward G. II

On 9/13/06, James Edward G. II [email protected] wrote:

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

http://en.wikipedia.org/wiki/Programmer’s_day

:wink:

Neat.

p ((Time.now - Time.local(2006)) / (60 * 60 * 24)).ceil

—John

James G. wrote:

http://en.wikipedia.org/wiki/Programmer’s_day

And nobody got me anything! -cries-

On 9/13/06, James Edward G. II [email protected] wrote:

Couldn’t have told us in the morning eh? :wink:
Nice thing anyway.

Robert


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

This wouldn’t include Rails developers ?

Stuart

On 9/13/06, William C. [email protected] wrote:

James G. wrote:

http://en.wikipedia.org/wiki/Programmer’s_day

And nobody got me anything! -cries-

James did. But it seems to have overflowed into the bit bucket,
leaving nothing behind. What a character!


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


Stuart Yarus

Robert D. wrote:

James Edward G. 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 B.

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 B. 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 F. wrote:

walk off the end of an array.
Software pirates keep throwing exceptions, too, because of
too many arrrrgs.


James B.

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.

On Thu, 14 Sep 2006, James Edward G. II wrote:

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

http://en.wikipedia.org/wiki/Programmer’s_day

:wink:

What totally amazes me is there has been over 500 edits of that simple
half page!

John C. Phone : (64)(3) 358 6639
Tait Electronics Fax : (64)(3) 359 4632
PO Box 1645 Christchurch Email : [email protected]
New Zealand

“We have more to fear from
The Bungling of the Incompetent
Than from the Machinations of the Wicked.” (source unknown)