More on Geeky Proposals

Mark Pilgrim, author of Dive Into Python (Python’s analogue of the “Camel Book”, IMHO), tells me that my prediction from this entry
has been fulfilled. Yesterday, he was in an IRC channel where various
Python programmers were discussing the errors in the Python Marriage
Proposal (not to be confused with Python Enhancement Proposals).


Summer at Iridesce Sent pointed me to this proposal that is also working Perl code:
#!/usr/bin/perl -w
use strict;

my$f= $[;my
$ch=0;sub l{length}
sub r{join"", reverse split
("",$_[$[])}sub ss{substr($_[0]
,$_[1],$_[2])}sub be{$_=$_[0];p
(ss($_,$f,1));$f+=l()/2;$f%=l
();$f++if$ch%2;$ch++}my$q=r
("\ntfgpfdfal,thg?bngbj".
"naxfcixz");$_=$q; $q=~
tr/f[a-z]/ [l-za-k]
/;my@ever=1..&l
;my$mine=$q
;sub p{
print
@_;
}

be $mine for @ever

Awww.


I remind you that this is working Python if you’ve made the appropriate definitions:
from Russia import bride
Joey deVilla

View Comments

Recent Posts

Sunday picdump for Sunday, February 1 — part 3

The ridiculousness continues. So much that this is just the third of three Sunday picdumps…

2 days ago

Sunday picdump for Sunday, February 1 — part 2

The ridiculousness continues. So much that this is just the second of three Sunday picdumps…

2 days ago

Sunday picdump for Sunday, February 1 — part 1

The ridiculousness continues. So much that this is just the first of three Sunday picdumps…

2 days ago

Venue check, 11 years ago today

A quick blast from the past: 11 years ago today, Anitra and I did a…

3 days ago

The Boston gig where you get paid to watch “Melania” has been canceled

I’ll let the updated posting in Craigslist explain: *******UPDATE PLEASE READ******* Thank you for your…

3 days ago

A last-minute country music recording session

On Wednesday afternoon, I got this text from Tom Hood, ukulele player extraordinaire and leader…

4 days ago