Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^7: Perl Golf Ethics

by thospel (Hermit)
on Jan 06, 2007 at 15:55 UTC ( [id://593303]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Perl Golf Ethics
in thread Perl Golf Ethics

No actually. There was a second way of winning: make up your own secret. Nothing stops anyone from thinking of the magic formula for himself. It's also perfectly possible there is an even better way to go from number to roman that nobody discovered yet.

And if a person would also have found the magic formula if he hadn't known the existing one, I don't think you can say he got an unfair advantage from it. I know I would have found it, and Juho might or might not have, but at least he has come up with magic formulas before. And third place was easily possible without the magic formula.

And let's be very clear that all this was an accident. When making up golf challenges, one tries very hard to come up with new ones where old golfs cannot be reused. Nobody wants a perl golf where the real work consists of searching the web instead of programming.

Replies are listed 'Best First'.
Re^8: Perl Golf Ethics
by eyepopslikeamosquito (Archbishop) on Aug 27, 2018 at 22:31 UTC

    There was a second way of winning: make up your own secret. Nothing stops anyone from thinking of the magic formula for himself. It's also perfectly possible there is an even better way to go from number to roman that nobody discovered yet.

    For the record, Ton was proved right - a better formula was indeed available, as beautifully demonstrated by primo.

Re^8: Perl Golf Ethics
by petdance (Parson) on Jan 06, 2007 at 17:22 UTC
    Nobody wants a perl golf where the real work consists of searching the web instead of programming.

    Which was my entire point from the beginning.

    xoxo,
    Andy

      Andy, As one of the fellow spongs who didn't look for or find the magic formula, I feel I might be in a better position to commiserate. I've been playing at this perl golf for several years now, and sure, I've learned some tricks along the way. But mostly I play to the level of my abilities. If I come up with a good algorithm, I usually do well. In this case I did OK. In other contests I've done very badly.

      I've taken a peek at your final answer, and it is short. There is nothing that strikes me as obvious as to where you can remove characters. Therefore, and I think this is the important bit, it's a bad algorithm.

      I haven't had the time to look through all your solutions, from your first entry to the last one, but how many different algorithms did you try? Me, I tried it four or five different ways until I stumbled upon one that seemed shorter. Heck, I thought I was a freaking genius when I thought of y/IVXLC/XLCDM/ for multiply by ten. And having spent some time post-mortem with Ton's magic formula, I believe that I'd have only saved 3, maybe 4 (at a stretch) characters with it. The other parts of Ton's (and everyone who beat me) winning entry were the majority of the difference between him and me.

      Of all the entries that beat you into 28th place, how many used the magic formula? Not as many as you seem to think. There are certainly a number of 'in the know' people (Yanick, Michael Wrenn, tybalt89, Honza - me!) who didn't use/find the magic formula. There are also people (experienced golfers, too) who did use it and didn't get within 40 characters of Ton.

      Take a step back and think about how you sound by suggesting that your final position is far away from where you would have finished. Because it's probably not true.

      Jasper

      p.s. sorry this is waaaay late in the day - someone only just pointed out this thread to me - perhaps if I'd kept an eye on perlmonks, I'd have done far better!
      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://593303]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-03-29 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found