Re: option to have "calculator" in GUI and display conventional operators

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: option to have "calculator" in GUI and display conventional operators

Art Kendall
For example with spss syntax to use ROT13 to produce crypt code that would still parse and run producing the same results the only thing you could do is  extract all of the variable names and rot13 them leaving everything else intact.
Art Kendall
Social Research Consultants
On 10/23/2013 6:50 AM, David Marso [via SPSSX Discussion] wrote:
" =========> In Python 2 you can use rot13 encoding to obfuscate code. This is legal, for instance:

 # -*- coding: rot13 -*-
qrs fbzrShap(*netf, **xjnetf):
    cevag("Uryyb jbeyq!")

fbzrShap(1, 2, 3)

===================== "


UNIVERSAL TRANSLATOR ==>
All Klingons proceed to battle stations...


Albert-Jan Roskam wrote
your example could be
         even worse by dropping out white space that is not
 needed for
         the machine to parse the text.


       do if(blah=blue).
       compute mynewvar=somemacrofunction a b c .
       else if(blah=green).
       compute mynewvar=anotherfunction d e f .
       else.
       compute mynewvar=-999.
       end if.

  =========> "sparse is better than dense!"

       In the olden days there actually a was
 a FORTRAN
         program UNPRETTY that did the opposite of PRETTY.

         The purpose of UNPRETTY was to generate code that
 would result
         in the same numerical results and formatting, but
 that would be
         more difficult to adapt or translate to another
 language.

  =========> In Python 2 you can use rot13 encoding to obfuscate code. This is legal, for instance:

 # -*- coding: rot13 -*-
qrs fbzrShap(*netf, **xjnetf):
    cevag("Uryyb jbeyq!")

fbzrShap(1, 2, 3)

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"



To start a new topic under SPSSX Discussion, email [hidden email]
To unsubscribe from SPSSX Discussion, click here.
NAML

Art Kendall
Social Research Consultants