IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Python still the one to beat at 31 characters.
Oh, btw, Mike: *shun*
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Well I Wouldn't want to shun Mike, but...
if I simply had to shun somebody, maybe:

fort=1to50:?"*shun* ";:next

would be the way to do it on a Commodore 64 (Vic, 128, whatever) in 27 characters.

(Edit: Formatting)
John. Busy lad.
Expand Edited by Meerkat Nov. 25, 2002, 06:40:33 PM EST
New Oooers...
Nice and... cramped. I like. ;-)
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Not you, too!
Bitch.
-YendorMike

[link|http://www.hope-ride.org/|http://www.hope-ride.org/]
New Nice, but a wee problem...
If you ever LISTed the code, it would expand out the '?' to PRINT IIRC...

I'm getting an urge to write an auto*SHUN*ner in Brainf**k - anybody else tempted?
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
New Not any more it ain't
ruby -e'puts"*shun*\\n"*50'

Clocks in at 26.

And your Python golf sucks. Here is 29.

python -c"print'*shun*\\n'*50"

But if the goal is just to get *shun* to appear 50 times, I think the following is pretty decent.

ruby -e'p"*shun*"*50'


21 chars.

The following is probably cheating...

ruby -e'p"*shun"*51'

Cheers,
Ben

PS Why not Perl? Use the right tool for the job and all that. Ruby was a better choice this time. :-)

PPS Peter: Learn to loop over ranges already? No need to make Perl look like it sucks more than it does already. :-)
"Career politicians are inherently untrustworthy; if it spends its life buzzing around the outhouse, it\ufffds probably a fly."
- [link|http://www.nationalinterest.org/issues/58/Mead.html|Walter Mead]
New Perl range answer
perl -e "for(1..50){print\\"*shun*\\n\\";}"


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Blog]
New Now inline it
perl -e'print"*shun*
"for 1..50'

Or using Scott's trick:

perl -e'print"*shun*
"x50'

(Both assume a Unix-like shell.)

Cheers,
Ben

PS Ruby still wins at 25:

ruby -e'puts"*shun*
"*50'

PPS OK, there is a shorter entry, but it didn't include invoking the language etc. The Ruby program proper is 16 chars.
"Career politicians are inherently untrustworthy; if it spends its life buzzing around the outhouse, it\ufffds probably a fly."
- [link|http://www.nationalinterest.org/issues/58/Mead.html|Walter Mead]
     Mike-Shunning Competition - (pwhysall) - (48)
         Bitches. - (Yendor)
         Shunning Mike with the Snake: - (admin) - (7)
             Bitch -NT - (Yendor) - (6)
                 *shun* -NT - (admin)
                 *shun* -NT - (pwhysall)
                 self.idle("stop"); self.shun("Mike"); self.idle("start"); -NT - (drewk) - (3)
                     Bitch -NT - (Yendor) - (2)
                         Stop yer bitchin', bitch. -NT - (CRConrad) - (1)
                             Who asked you? - (Yendor)
         bashun - (kmself) - (15)
             Python still the one to beat at 31 characters. - (admin) - (7)
                 Well I Wouldn't want to shun Mike, but... - (Meerkat) - (3)
                     Oooers... - (admin)
                     Not you, too! - (Yendor)
                     Nice, but a wee problem... - (inthane-chan)
                 Not any more it ain't - (ben_tilly) - (2)
                     Perl range answer - (pwhysall) - (1)
                         Now inline it - (ben_tilly)
             Re: bashun II - (kmself) - (6)
                 woah... I like it... -NT - (folkert)
                 Reading trouble? - (ben_tilly)
                 bitch, etc -NT - (Yendor)
                 Re: bashun III - (kmself) - (1)
                     Very nasty - (ben_tilly)
                 You can lose a character - (ben_tilly)
         The undisputed master? - (CRConrad) - (2)
             Nope, invalid entry. - (admin)
             Not only that... - (Yendor)
         Bigger, badder, better... - (Yendor) - (6)
             Obfuscated, test cases included. - (Yendor) - (5)
                 /me thinks Mike has entirely too much free time - (drewk) - (4)
                     Absolutely. - (admin)
                     Not much else to do... - (Yendor) - (2)
                         Level 33 - (pwhysall) - (1)
                             Yeah, what's your point? - (Yendor)
         Re: Mike-Shunning Competition - (jake123) - (5)
             Well, if we're running in the interpreter: - (admin) - (2)
                 Yeah, it's called rexxtry - (jake123) - (1)
                     way back in the stone ages... - (cforde)
             Bitch. - (Yendor) - (1)
                 I am honoured. - (jake123)
         Gotta do an Icon version... - (static)
         Re: Mike-Shunning Competition - (deSitter) - (4)
             What, no prize?? -NT - (deSitter) - (3)
                 Well... - (ben_tilly) - (2)
                     Re: Well... - (deSitter) - (1)
                         Perhaps an example would help clarify - (ben_tilly)
         Clearly: this is how MAN entries are edited.__All explained. -NT - (Ashton)

We're... the Three Amigos!
162 ms