logo       

putting practice: msg#00051

Subject: putting practice
Okay, so I've decided to practise my golfing before the next apocalypse (after
steadfastly refusing to try -n0 //m in my last outing, and just discovering
~$&). I thought maybe I should devise my own problem to golf. But then not 5
minutes later I stumble across an excellent candidate due to Christian
Neukirchen. The problem is a text scrambler which does this:

#    (1)  Only letters will be encrypted.
#    (2)  Words with less than 3 letters will be reversed.
#    (3)  Words with more than 3 letters will be scrambled this way:
#           * All letters on even locations move to the left-hand side.
#           * All letters on odd locations move to the right-hand side.
#           * A "`" gets between the both sides if the word has more
#             than 4 characters.

e.g.
#    The only time anyone has tried to make a problem for me was those
#    owners, so called, self-styled owners of Gosling Emacs.
#            -- RMS "Lecture at KTH", 30. October 1986
#    =>
#    ehT olny tmie ayn`noe sah tid`re ot mkae a polm`rbe rof em saw toe`hs
#    onr`wes, os cle`ald, slef-sye`tld onr`wes fo Gsig`oln Eas`mc.
#            -- SMR "Lcue`etr ta HTK", 30. Otbr`coe 1986

post your best encoder to the list... my feeble effort soon.

Greg


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe