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 bashun
\r\nwhile echo '*shun*';do :;done|head -50\r\n
\r\n\r\n

39 characters.

--\r\n
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n
[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n
What part of "gestalt" don't you understand?\r\n
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n
\r\n
   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
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]
New Re: bashun II
\r\nyes '*shun*'|head -50\r\n
\r\n\r\n

21 characters. Best I can tell, invoking an interpreter from the\r\nnext shortest solution involves more characters (that would be Scott's\r\nPython solution).

\r\n\r\n\r\n
--\r\n
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n
[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n
What part of "gestalt" don't you understand?\r\n
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n
\r\n
   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
New woah... I like it...
b4k4^2
[link|mailto:curley95@attbi.com|greg] - Grand-Master Artist in IT
[link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!]   [link|http://pascal.rockford.com:8888/SSK@kQMsmc74S0Tw3KHQiRQmDem0gAIPAgM/edcurry/1//|ED'S GHOST SPEAKS!]
[link|http://www.eweek.com/article2/0,3959,857673,00.asp|Writing on wall, Microsoft to develop apps for Linux by 2004]
Heimatland Geheime Staatspolizei reminds:
These [link|http://www.whitehouse.gov/pcipb/cyberstrategy-draft.html|Civilian General Orders], please memorize them.
"Questions" will be asked at safety checkpoints.
New Reading trouble?
If you read the rest of the thread, the shortest existing solution was [link|http://z.iwethey.org/forums/render/content/show?contentid=64997|mine]. I beat Scott for nice output using Ruby, tied you for just satisfying the rules (albeit with ugly output), and if you make a judgement call just right, I beat you as well. :-P

But that is a nice answer...

Cheers,
Ben
"good ideas and bad code build communities, the other three combinations do not"
- [link|http://archives.real-time.com/pipermail/cocoon-devel/2000-October/003023.html|Stefano Mazzocchi]
Expand Edited by ben_tilly Feb. 17, 2003, 10:36:52 AM EST
New bitch, etc
-YendorMike

[link|http://www.hope-ride.org/|http://www.hope-ride.org/]
New Re: bashun III

Turns out the quotes aren't necessary at least in bash. Need to find\r\nout more about what the globbing rules are.

\r\n\r\n
\r\nyes *shun*|head -50\r\n
\r\n
--\r\n
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n
[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n
What part of "gestalt" don't you understand?\r\n
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n
\r\n
   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
New Very nasty
It works...unless there is a file in the directory that matches the pattern *shun*.

Still good enough that I consider it a winner. :-)

Cheers,
Ben
"good ideas and bad code build communities, the other three combinations do not"
- [link|http://archives.real-time.com/pipermail/cocoon-devel/2000-October/003023.html|Stefano Mazzocchi]
New You can lose a character
Pointed out by a co-worker...

yes '*shun*'|sed 50q

Or lose the quotes if no files have shun in the name.

Cheers,
Ben
"good ideas and bad code build communities, the other three combinations do not"
- [link|http://archives.real-time.com/pipermail/cocoon-devel/2000-October/003023.html|Stefano Mazzocchi]
     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)

And even if we were to live in that alternate universe where they would be right, they'd still be wrong.
99 ms