From foxryan at gmail.com Thu Oct 15 16:31:23 2009 From: foxryan at gmail.com (Ryan Fox) Date: Thu, 15 Oct 2009 19:31:23 -0400 Subject: [kw-pm] Hello Message-ID: Hey guys, I just found out about the Perl Mongers group recently, and was hoping to introduce myself at the meeting tonight, but I see that it was canceled. Anyway, I'm a third-year computer engineering student at UW. I decided to learn Perl in January, and it's become my high-level language of choice for most things. Hopefully I'll remember to come to the meeting next month to meet you guys. Thanks, Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From abez at abez.ca Thu Oct 15 17:10:17 2009 From: abez at abez.ca (abez) Date: Thu, 15 Oct 2009 20:10:17 -0400 (EDT) Subject: [kw-pm] Hello In-Reply-To: (sfid-20091015_193514_703485_13C71227) References: (sfid-20091015_193514_703485_13C71227) Message-ID: Yes xfsh and abez have agreed to give short talks next month, so it should be good and we should have a meeting :D. Sorry we didn't have a meet this week, speakers had conflicts etc. We're also on IRC : irc.perl.org #uc We welcome you to our community and hope you can drag some of your interested friends to our talks (and maybe if you like it you can give one too). abram On Thu, 15 Oct 2009, Ryan Fox wrote: > Hey guys, > I just found out about the Perl Mongers group recently, and was hoping to > introduce myself at the meeting tonight, but I see that it was canceled. > > Anyway, I'm a third-year computer engineering student at UW. I decided to > learn Perl in January, and it's become my high-level language of choice for > most things. > > Hopefully I'll remember to come to the meeting next month to meet you guys. > > Thanks, > Ryan > From patrick_8 at yahoo.com Mon Oct 19 08:44:20 2009 From: patrick_8 at yahoo.com (patrick) Date: Mon, 19 Oct 2009 08:44:20 -0700 (PDT) Subject: [kw-pm] Scrambling Letters Within a Word In-Reply-To: References: (sfid-20091015_193514_703485_13C71227) Message-ID: <765805.42222.qm@web62407.mail.re1.yahoo.com> Hi guys, I saw this from a newsletter: http://www.gdssw.com/tools/scramble.html (It's in Python) I wonder if there can be a descrambler. I'm not familiar with random algorithms.? But I remember that if you reset two HP-11C calculators, then each parallel press of random number generator key on both will give identical numbers on both machines.? i.e. It's an identical pseudo-random algorithm with seed of 0 (I think), not like random.org's atmospheric pressure seeding to generate a bit more random integers. Abram, it (random)?reminds me of you when I saw this. Patrick From psema4 at gmail.com Mon Oct 19 09:07:43 2009 From: psema4 at gmail.com (Scott Elcomb) Date: Mon, 19 Oct 2009 12:07:43 -0400 Subject: [kw-pm] Scrambling Letters Within a Word In-Reply-To: <765805.42222.qm@web62407.mail.re1.yahoo.com> References: <765805.42222.qm@web62407.mail.re1.yahoo.com> Message-ID: <99a6c38f0910190907y36d58be0v4587f342476a4050@mail.gmail.com> On Mon, Oct 19, 2009 at 11:44 AM, patrick wrote: > Hi guys, > > I saw this from a newsletter: > http://www.gdssw.com/tools/scramble.html (It's in Python) My Python's not very good. For a perl version, check out Catalyst::Plugin::Acme::Scramble. (It's mentioned in chapter 4 of "The Definitive Guide to Catalyst".) Looks like it produces similar output anyway. http://bit.ly/1YIv3B or http://cpansearch.perl.org/src/ASHLEY/Catalyst-Plugin-Acme-Scramble-0.03/lib/Catalyst/Plugin/Acme/Scramble.pm > I wonder if there can be a descrambler. Not sure, but I suspect it wouldn't be possible to do accurately in a completely automated fashion. (At least until software is capable of understanding context and semantics in natural languages.) A simple program juggling letters around and referencing lookup tables could probably make some "educated" guesses though. $0.02 of course. :-) -- Scott Elcomb http://www.psema4.com/ @psema4 Member of the Pirate Party of Canada http://www.pirateparty.ca/ From abez at abez.ca Mon Oct 19 11:04:25 2009 From: abez at abez.ca (Abram Hindle) Date: Mon, 19 Oct 2009 14:04:25 -0400 Subject: [kw-pm] Scrambling Letters Within a Word In-Reply-To: <99a6c38f0910190907y36d58be0v4587f342476a4050@mail.gmail.com> (sfid-20091019_121415_386417_C258E0A4) References: <765805.42222.qm@web62407.mail.re1.yahoo.com> <99a6c38f0910190907y36d58be0v4587f342476a4050@mail.gmail.com> (sfid-20091019_121415_386417_C258E0A4) Message-ID: <4ADCAA29.6020607@abez.ca> One could piece together a breaker using this module: http://search.cpan.org/~fxn/Algorithm-Combinatorics/Combinatorics.pm And some dictionary look up. I trust the above module because it cites its reputable sources: [1] Donald E. Knuth, The Art of Computer Programming, Volume 4, Fascicle 2: Generating All Tuples and Permutations. Addison Wesley Professional, 2005. ISBN 0201853930. [2] Donald E. Knuth, The Art of Computer Programming, Volume 4, Fascicle 3: Generating All Combinations and Partitions. Addison Wesley Professional, 2005. ISBN 0201853949. [3] Michael Orlov, Efficient Generation of Set Partitions, http://www.informatik.uni-ulm.de/ni/Lehre/WS03/DMM/Software/partitions.pdf. What's great about this module is that it gives you an iterator interface so you don't need to use all your memory on the permutation of larger words :) abram Scott Elcomb wrote: > On Mon, Oct 19, 2009 at 11:44 AM, patrick wrote: >> Hi guys, >> >> I saw this from a newsletter: >> http://www.gdssw.com/tools/scramble.html (It's in Python) > > My Python's not very good. For a perl version, check out > Catalyst::Plugin::Acme::Scramble. (It's mentioned in chapter 4 of > "The Definitive Guide to Catalyst".) Looks like it produces similar > output anyway. > > http://bit.ly/1YIv3B or > http://cpansearch.perl.org/src/ASHLEY/Catalyst-Plugin-Acme-Scramble-0.03/lib/Catalyst/Plugin/Acme/Scramble.pm > >> I wonder if there can be a descrambler. > > Not sure, but I suspect it wouldn't be possible to do accurately in a > completely automated fashion. (At least until software is capable of > understanding context and semantics in natural languages.) A simple > program juggling letters around and referencing lookup tables could > probably make some "educated" guesses though. > > $0.02 of course. :-) > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: