Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Let The Games Begin!

by zshzn (Hermit)
on Sep 22, 2006 at 06:43 UTC ( #574333=note: print w/replies, xml ) Need Help??


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 zshzn.pl 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.



    --chargrill
    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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-05-22 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (80 votes). Check out past polls.

    Notices?