Re: [SLUG] Unix Giga-Party

2001-02-15 Thread Rick Welykochy
Herbert Xu wrote: Jeff Waugh [EMAIL PROTECTED] wrote: I was hoping to receive a few more contributions! :) OK, can't leave gawk out can we, gawk 'BEGIN { print strftime("%c", 10^9) }' This is really a scripting job. MySQL is handy for

Re: [SLUG] Unix Giga-Party

2001-02-15 Thread Jeff Waugh
quote who="Rick Welykochy" MySQL is handy for quick numeric calcs, but giga seconds is messy: Sick puppy. Mind you... echo -e "? echo date('D M j H:i:s Y', 10) . '\n'; ?" | php -q - Jeff -- [EMAIL PROTECTED] --- http://linux.conf.au/ -- It's

Re: [SLUG] Unix Giga-Party

2001-02-15 Thread Tom Massey
5 REM With the recent talk about BASIC being useless 6 REM I just had to demonstrate the utility of BASIC 7 REM in the modern Linux community. 9 LET DAY$="" 00010 LET DATE$="" 00011 LET TIME$="" 00012 LET YEAR=0 00020 GOTO 50010 00030 LET DATE$=" September" 00040 GOTO 00600 00050

Re: [SLUG] Unix Giga-Party

2001-02-15 Thread Rick Welykochy
begin ... upon a time: Rick Welykochy wrote: On Thu, 15 Feb 2001, Ken Yap wrote: That's what I mean by powers of 2. We could have "clock bit 12 changed state" parties. :-) Geek overload detector: RED ALERT! RED ALERT! Scotty: Captain, the computer's holo-matrix is imploding. I

Errata [was: re:re: ReRe: [SLUG] Unix Giga-Party]dorka]]

2001-02-15 Thread Rick Welykochy
In the INTERCAL giga-second script V0. , the --help option is incorrect. Replace with this non-patch file: bada-bing -- Rick Welykochy || Praxis Services Pty Limited "Tired of being a crash test dummy for Microsoft? Try Linux" -- SLUG - Sydney Linux User Group Mailing List -

Re: Errata [was: re:re: ReRe: [SLUG] Unix Giga-Party]dorka]]

2001-02-15 Thread Jeff Waugh
quote who="Rick Welykochy" In the INTERCAL giga-second script V0. , the --help option is incorrect. GAR! I thought the only penance worthy of my PHP one-liner was to hack something up in INTERCAL. You know that X Files (probably the only one I remember very well) with the dude who has to go

Re: [SLUG] Unix Giga-Party

2001-02-15 Thread Matthew Dalton
Tom Massey wrote: 5 REM With the recent talk about BASIC being useless 6 REM I just had to demonstrate the utility of BASIC 7 REM in the modern Linux community. [cut] 50050 REM (Yes, I am seeking counselling) Rick Welykochy wrote: [cut] #!/bin/bash STOPTHISTHANG=1

Re: [SLUG] Unix Giga-Party

2001-02-15 Thread John Clarke
On Fri, Feb 16, 2001 at 12:02:41AM +1100, Rick Welykochy wrote: output program using INTERCAL (see http://intercal.com). You're a very disturbed individual ... Must be time for a couple of assembler versions. The first one is a whopping 1240 bytes. It cheats by hard-coding the length of

Re: [SLUG] Unix Giga-Party

2001-02-15 Thread Rick Welykochy
John Clarke wrote: On Fri, Feb 16, 2001 at 12:02:41AM +1100, Rick Welykochy wrote: output program using INTERCAL (see http://intercal.com). You're a very disturbed individual ... Agreed. It is insane trying to convince a well-informed troup like the Penguinillas that a bash script is

Re: [SLUG] Unix Giga-Party

2001-02-15 Thread Crossfire
Rick Welykochy was once rumoured to have said: John Clarke wrote: On Fri, Feb 16, 2001 at 12:02:41AM +1100, Rick Welykochy wrote: output program using INTERCAL (see http://intercal.com). You're a very disturbed individual ... Agreed. It is insane trying to convince a

Re: [SLUG] Unix Giga-Party

2001-02-15 Thread John Clarke
On Fri, Feb 16, 2001 at 11:28:45AM +1100, Rick Welykochy wrote: John Clarke wrote: On Fri, Feb 16, 2001 at 12:02:41AM +1100, Rick Welykochy wrote: output program using INTERCAL (see http://intercal.com). You're a very disturbed individual ... Agreed. It is insane trying to

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Herbert Xu
Jeff Waugh [EMAIL PROTECTED] wrote: python -c 'import time ; print time.strftime("%c", time.localtime(10**9))' perl -e 'print scalar(localtime(10**9)), "\n"' ruby -e 'puts Time.at(10**9)' Bloat! Try date -d '1970/01/01 utc + 10 sec' or if you really hate typing 0's, try date

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Jeff Waugh
quote who="Herbert Xu" Bloat! Try date -d '1970/01/01 utc + 10 sec' I was hoping to receive a few more contributions! :) Hardly surprised to get a "Bloat!" rating from Herbert 'cut' Xu. ;) - Jeff -- [EMAIL PROTECTED] --- http://linux.conf.au/ --

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread James Wilkinson
This one time, at band camp, Jeff Waugh said: quote who="Herbert Xu" Bloat! Try date -d '1970/01/01 utc + 10 sec' I was hoping to receive a few more contributions! :) #include time.h #include stdio.h void main() { time_t time = 10; puts(ctime(time)); }

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Michael Lake
Herbert Xu wrote: Jeff Waugh [EMAIL PROTECTED] wrote: python -c 'import time ; print time.strftime("%c", time.localtime(10**9))' perl -e 'print scalar(localtime(10**9)), "\n"' ruby -e 'puts Time.at(10**9)' Bloat! Try date -d '1970/01/01 utc + 10 sec' date -d "1970/01/01 utc +

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Matthew Dalton
James Wilkinson wrote: Dammit, the binary still comes out to be 3k after stripping. Then obviously you need to read this: http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info:

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Howard Lowndes
...and whilst you are at it, some of you younger ones might wish to put the next important date in the diary: date -d "1970/01/01 utc + 1$(printf "%0.10d" 0) sec" -- Howard. LANNet Computing Associates http://lannetlinux.com "...well, it

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Howard Lowndes
Damn it, that one doesn't seem correct some how. -- Howard. (crawling back to his box) LANNet Computing Associates http://lannetlinux.com "...well, it worked before _you_ touched it!" On Thu, 15 Feb 2001, Howard Lowndes wrote: ...and

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Ken Yap
| ...and whilst you are at it, some of you younger ones might wish to put | the next important date in the diary: | date -d "1970/01/01 utc + 1$(printf "%0.10d" 0) sec" But as I pointed out in a similar thread long ago, decimal numbers mean nothing to computers. While you'll be celebrating, the

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Rick Welykochy
On Thu, 15 Feb 2001, Ken Yap wrote: But as I pointed out in a similar thread long ago, decimal numbers mean nothing to computers. While you'll be celebrating, the flip-flops in your computer will not. You should really be investigating interesting moments involving powers of 2. Something

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Ken Yap
| But as I pointed out in a similar thread long ago, decimal numbers mean | nothing to computers. While you'll be celebrating, the flip-flops in | your computer will not. You should really be investigating interesting | moments involving powers of 2. Something like the Unix 2^30-Party. :-) |

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Herbert Xu
Jeff Waugh [EMAIL PROTECTED] wrote: I was hoping to receive a few more contributions! :) OK, can't leave gawk out can we, gawk 'BEGIN { print strftime("%c", 10^9) }' -- Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page:

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Craige McWhirter
I think you all have your priorities wrong. You should be looking up excuses (like you need one) to party tonight, tomorrow, day after tomorrow etc etc ad infinitum (spelling correctors will be persecuted) not in 9mths, X years etc.. If there *must* be geek-like excuses, how about these: -

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Ken Yap
|I think you all have your priorities wrong. You should be looking up |excuses (like you need one) to party tonight, tomorrow, day after |tomorrow etc etc ad infinitum (spelling correctors will be persecuted) |not in 9mths, X years etc.. That's what I mean by powers of 2. We could have "clock

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread Rick Welykochy
On Thu, 15 Feb 2001, Ken Yap wrote: That's what I mean by powers of 2. We could have "clock bit 12 changed state" parties. :-) Geek overload detector: RED ALERT! RED ALERT! Scotty: Captain, the computer's holo-matrix is imploding. I think Ken's hit the geek event horizon! Capt: Scotty,

Re: [SLUG] Unix Giga-Party

2001-02-14 Thread James Wilkinson
This one time, at band camp, Craige McWhirter said: I think you all have your priorities wrong. You should be looking up excuses (like you need one) to party tonight, tomorrow, day after tomorrow etc etc ad infinitum (spelling correctors will be persecuted) not in 9mths, X years etc.. Ok, party