[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Happy Programmer's Day!

James Gray

9/13/2006 4:37:00 PM

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

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

;)

James Edward Gray II

9 Answers

jmg3000

9/13/2006 6:18:00 PM

0

On 9/13/06, James Edward Gray II <james@grayproductions.net> wrote:
> $ ruby -r date -e 'p Date.today.yday'
> 256
>
> http://en.wikipedia.org/wiki/Programmer...
>
> ;)
>

Neat.

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

---John

William Crawford

9/13/2006 6:19:00 PM

0

James Gray wrote:
> http://en.wikipedia.org/wiki/Programmer...

And nobody got me anything! -cries-

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

Dark Ambient

9/13/2006 6:31:00 PM

0

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...
>
> And nobody got me anything! -cries-
>
> --
> Posted via http://www.ruby-....
>
>

stuart yarus

9/13/2006 9:02:00 PM

0

On 9/13/06, William Crawford <wccrawford@gmail.com> wrote:
> James Gray wrote:
> > http://en.wikipedia.org/wiki/Programmer...
>
> 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-....
>
>


--
Stuart Yarus

<syarus at gmail dot com>

John Carter

9/13/2006 11:10:00 PM

0

James Britt

9/14/2006 12:19:00 AM

0

Robert Dober wrote:
> On 9/13/06, James Edward Gray II <james@grayproductions.net> wrote:
>
>>
>> $ ruby -r date -e 'p Date.today.yday'
>> 256
>>
>> http://en.wikipedia.org/wiki/Programmer...
>>
>> ;)
>>
>> 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.ru... - Ruby Help & Documentation
http://www.artima.c... - The Journal By & For Rubyists
http://www.rub... - The Ruby Store for Ruby Stuff
http://www.jame... - Playing with Better Toys

Hal E. Fulton

9/14/2006 12:37:00 AM

0

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


James Britt

9/14/2006 1:24:00 AM

0

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.ru... - Ruby Help & Documentation
http://www.artima.c... - The Journal By & For Rubyists
http://www.rub... - The Ruby Store for Ruby Stuff
http://www.jame... - Playing with Better Toys

Marcelo Alvim

9/14/2006 4:33:00 AM

0

> 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.