in reply to Re^3: Let The Games Begin!
in thread Let The Games Begin!

Thanks for the positive reply. I was afraid I was making more enemies, quickly, and I really don't have any intention of that. I've learned a couple lessons. Such as, never publicize an inside-joke, or at least make one of the words link to the context. And try to keep the english as clear as possible, because people read quickly and often it makes more sense to assume negativity than to analyze otherwise. And of course, try to remain positive in general.

Your original code change was ok, in the sense that the obfuscation is very basic and unoriginal. There were a number of little things I could have used to hide the code a bit better, but most of them are futile and often come across as cheap tricks. I did refer to it as "humble" in the original post, at least. As for your reshaping, nothing wrong with that. I modelled mine fairly well after the knights of my chess set.

Replies are listed 'Best First'.
Re^5: Let The Games Begin!
by chargrill (Parson) on Sep 22, 2006 at 07:28 UTC

    Well, if you can get yourself to YAPC::NA 2007, I can buy you a Labatt. Or if you're not of drinking age (in the U.S. - I notice your location is the University of Waterloo, so I figure there's about a 50% chance you'll be at least 21 in June '07, unless you're in graduate school, in which case it's the beer or other beverage of your choice), I'll give you the opportunity to properly trounce me in a game of chess :)

    I did notice a few things that helped along your obfuscation (hex chars, etc, but perl -MO=Deparse cleared those up without any thinking), but the more cheap tricks you can employ, the better. I don't think it was unoriginal, as I can't recall any that have spelled out a chess board(!), further in the shape of a knight. But there are a few (s///e) ways ($_='...'; s/crud/code/g;) to not let B::Deparse spoil all your fun.

    s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
      Unfortunately I will only be 19 then, which is perfectly legal anywhere in Canada. More unfortunately, I think with YAPC::NA 2007 being very shortly before the beginning of the fall term it will probably not be a good time for me to travel to Texas. So I will have to take a rain check on a beer and/or chess game.

      B::Deparse, my age old foe. I should look at those methods (and perhaps find my own) and put a good effort into it, as oppose to just submitting to its victory as I did in this case.

      I quite liked your Playfair cipher, and still do. It, like many of your other obfuscations, is an inspiration.

      A reply falls below the community's threshold of quality. You may see it by logging in.