Mathematica command that allows it to read my intentions Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Classify command in Mathematica 10Rapid density estimation and rendering of decision regionsDateObject for current date skips a day when crossing the date line with TimeZoneIs there any decent deep learning library in Mathematica?RNN in Mathematica?radial basis function network in Mathematica 11Mathematica 11.1 - Issue with Training Function for Sequence DataMathematica Machine Learning (Method “NeuralNetwork”)Approximation with radial basis functionsHow can I see the predictor function that Mathematica produces?

What are the motives behind Cersei's orders given to Bronn?

Were Kohanim forbidden from serving in King David's army?

ListPlot join points by nearest neighbor rather than order

Is there any avatar supposed to be born between the death of Krishna and the birth of Kalki?

How to recreate this effect in Photoshop?

Letter Boxed validator

Should I discuss the type of campaign with my players?

How much radiation do nuclear physics experiments expose researchers to nowadays?

What is the musical term for a note that continously plays through a melody?

Sorting numerically

3 doors, three guards, one stone

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

Output the ŋarâþ crîþ alphabet song without using (m)any letters

How can players work together to take actions that are otherwise impossible?

How do I keep my slimes from escaping their pens?

How can I make names more distinctive without making them longer?

How to bypass password on Windows XP account?

Gastric acid as a weapon

How to find all the available tools in macOS terminal?

What LEGO pieces have "real-world" functionality?

Do I really need recursive chmod to restrict access to a folder?

Check which numbers satisfy the condition [A*B*C = A! + B! + C!]

How do I mention the quality of my school without bragging

What do you call a phrase that's not an idiom yet?



Mathematica command that allows it to read my intentions



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Classify command in Mathematica 10Rapid density estimation and rendering of decision regionsDateObject for current date skips a day when crossing the date line with TimeZoneIs there any decent deep learning library in Mathematica?RNN in Mathematica?radial basis function network in Mathematica 11Mathematica 11.1 - Issue with Training Function for Sequence DataMathematica Machine Learning (Method “NeuralNetwork”)Approximation with radial basis functionsHow can I see the predictor function that Mathematica produces?










45












$begingroup$


In version 2.0 of Mathematica there was a command, ReadProgrammerIntentions[ ] which allowed it rapidly compose code that could solve problems simple to complex, based on my requirements. Understand it was deprecated in later versions. Is there a similar functionality available in maybe a hidden package?










share|improve this question











$endgroup$







  • 6




    $begingroup$
    (not sure if April Fools joke or real)
    $endgroup$
    – user6014
    Apr 1 at 15:37






  • 6




    $begingroup$
    The desire is real.
    $endgroup$
    – MikeY
    Apr 1 at 15:47







  • 8




    $begingroup$
    To get this to work, you need to write all your code in Eton-accented English. The system will recognise you and put you into SW-mode, allowing you to simply write code by employing dozens of programmers to do so for you. (/s)
    $endgroup$
    – Carl Lange
    Apr 1 at 16:07







  • 10




    $begingroup$
    The feature of early Mathematica that I really miss is support for the Klingon Language character set.
    $endgroup$
    – bill s
    Apr 1 at 16:07







  • 13




    $begingroup$
    We had to deprecate it before it deprecated us (I began here near the beginning of the 2.1 development cycle).
    $endgroup$
    – Daniel Lichtblau
    Apr 1 at 22:51















45












$begingroup$


In version 2.0 of Mathematica there was a command, ReadProgrammerIntentions[ ] which allowed it rapidly compose code that could solve problems simple to complex, based on my requirements. Understand it was deprecated in later versions. Is there a similar functionality available in maybe a hidden package?










share|improve this question











$endgroup$







  • 6




    $begingroup$
    (not sure if April Fools joke or real)
    $endgroup$
    – user6014
    Apr 1 at 15:37






  • 6




    $begingroup$
    The desire is real.
    $endgroup$
    – MikeY
    Apr 1 at 15:47







  • 8




    $begingroup$
    To get this to work, you need to write all your code in Eton-accented English. The system will recognise you and put you into SW-mode, allowing you to simply write code by employing dozens of programmers to do so for you. (/s)
    $endgroup$
    – Carl Lange
    Apr 1 at 16:07







  • 10




    $begingroup$
    The feature of early Mathematica that I really miss is support for the Klingon Language character set.
    $endgroup$
    – bill s
    Apr 1 at 16:07







  • 13




    $begingroup$
    We had to deprecate it before it deprecated us (I began here near the beginning of the 2.1 development cycle).
    $endgroup$
    – Daniel Lichtblau
    Apr 1 at 22:51













45












45








45


6



$begingroup$


In version 2.0 of Mathematica there was a command, ReadProgrammerIntentions[ ] which allowed it rapidly compose code that could solve problems simple to complex, based on my requirements. Understand it was deprecated in later versions. Is there a similar functionality available in maybe a hidden package?










share|improve this question











$endgroup$




In version 2.0 of Mathematica there was a command, ReadProgrammerIntentions[ ] which allowed it rapidly compose code that could solve problems simple to complex, based on my requirements. Understand it was deprecated in later versions. Is there a similar functionality available in maybe a hidden package?







machine-learning date-and-time neural-networks






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 1 at 18:53


























community wiki





MikeY








  • 6




    $begingroup$
    (not sure if April Fools joke or real)
    $endgroup$
    – user6014
    Apr 1 at 15:37






  • 6




    $begingroup$
    The desire is real.
    $endgroup$
    – MikeY
    Apr 1 at 15:47







  • 8




    $begingroup$
    To get this to work, you need to write all your code in Eton-accented English. The system will recognise you and put you into SW-mode, allowing you to simply write code by employing dozens of programmers to do so for you. (/s)
    $endgroup$
    – Carl Lange
    Apr 1 at 16:07







  • 10




    $begingroup$
    The feature of early Mathematica that I really miss is support for the Klingon Language character set.
    $endgroup$
    – bill s
    Apr 1 at 16:07







  • 13




    $begingroup$
    We had to deprecate it before it deprecated us (I began here near the beginning of the 2.1 development cycle).
    $endgroup$
    – Daniel Lichtblau
    Apr 1 at 22:51












  • 6




    $begingroup$
    (not sure if April Fools joke or real)
    $endgroup$
    – user6014
    Apr 1 at 15:37






  • 6




    $begingroup$
    The desire is real.
    $endgroup$
    – MikeY
    Apr 1 at 15:47







  • 8




    $begingroup$
    To get this to work, you need to write all your code in Eton-accented English. The system will recognise you and put you into SW-mode, allowing you to simply write code by employing dozens of programmers to do so for you. (/s)
    $endgroup$
    – Carl Lange
    Apr 1 at 16:07







  • 10




    $begingroup$
    The feature of early Mathematica that I really miss is support for the Klingon Language character set.
    $endgroup$
    – bill s
    Apr 1 at 16:07







  • 13




    $begingroup$
    We had to deprecate it before it deprecated us (I began here near the beginning of the 2.1 development cycle).
    $endgroup$
    – Daniel Lichtblau
    Apr 1 at 22:51







6




6




$begingroup$
(not sure if April Fools joke or real)
$endgroup$
– user6014
Apr 1 at 15:37




$begingroup$
(not sure if April Fools joke or real)
$endgroup$
– user6014
Apr 1 at 15:37




6




6




$begingroup$
The desire is real.
$endgroup$
– MikeY
Apr 1 at 15:47





$begingroup$
The desire is real.
$endgroup$
– MikeY
Apr 1 at 15:47





8




8




$begingroup$
To get this to work, you need to write all your code in Eton-accented English. The system will recognise you and put you into SW-mode, allowing you to simply write code by employing dozens of programmers to do so for you. (/s)
$endgroup$
– Carl Lange
Apr 1 at 16:07





$begingroup$
To get this to work, you need to write all your code in Eton-accented English. The system will recognise you and put you into SW-mode, allowing you to simply write code by employing dozens of programmers to do so for you. (/s)
$endgroup$
– Carl Lange
Apr 1 at 16:07





10




10




$begingroup$
The feature of early Mathematica that I really miss is support for the Klingon Language character set.
$endgroup$
– bill s
Apr 1 at 16:07





$begingroup$
The feature of early Mathematica that I really miss is support for the Klingon Language character set.
$endgroup$
– bill s
Apr 1 at 16:07





13




13




$begingroup$
We had to deprecate it before it deprecated us (I began here near the beginning of the 2.1 development cycle).
$endgroup$
– Daniel Lichtblau
Apr 1 at 22:51




$begingroup$
We had to deprecate it before it deprecated us (I began here near the beginning of the 2.1 development cycle).
$endgroup$
– Daniel Lichtblau
Apr 1 at 22:51










5 Answers
5






active

oldest

votes


















35












$begingroup$

Indeed, this functionality still exists, but it has been moved into its own package.



Load the package:



Needs["aBetterProgrammer`"]


You will have access to such functions as




  • GimmeDaCodez (answers any nebulous MMA.SE question by guessing the unspoken needs of the asker)


  • WizardForm (an output wrapper; produces perfectly terse code; all function calls are infix)


  • JMstyle (deals with special functions; sometimes works even without a computer)

... and many others.






share|improve this answer











$endgroup$








  • 2




    $begingroup$
    Is there a Haiku option?
    $endgroup$
    – MikeY
    Apr 1 at 16:21






  • 7




    $begingroup$
    @MikeY HaikuForm is drafted // the future will see it // so meta
    $endgroup$
    – MarcoB
    Apr 1 at 16:32



















22












$begingroup$

Since version 11 most commands finally support the Interpretation option: Interpretation -> "Literal" being the classical (default) way of operation, and Interpretation -> "Guess" using advanced machine learning to get much better results than ReadProgrammerIntentions ever achieved. Makes programming a lot easier. You can emulate the old behavior with a simple Return["the result", Interpretation -> "Guess"].






share|improve this answer











$endgroup$








  • 1




    $begingroup$
    doesn't return anything for me !? can you correct the code please !
    $endgroup$
    – Alrubaie
    Apr 1 at 16:14






  • 1




    $begingroup$
    @Alrubaie you need version 11 for the advanced Machine Learning (Artificial Intelligence) stuff.
    $endgroup$
    – Roman
    Apr 1 at 16:25







  • 15




    $begingroup$
    @Alrubie, whichever version you have, you need the next one.
    $endgroup$
    – MikeY
    Apr 1 at 16:31






  • 3




    $begingroup$
    Roman, whenever I try your code with the Guess option set, my 10-year old gets an email.
    $endgroup$
    – MikeY
    Apr 1 at 17:40






  • 3




    $begingroup$
    Yes @MikeY, Mathematica is probably aware that s?he knows best and needs to be consulted. Same at my place.
    $endgroup$
    – Roman
    Apr 1 at 17:51


















17












$begingroup$

I tend to use a pattern matching approach:



myCode/.x_?BugQ:>BugStrip[x],x_?TypoQ:>Detypo[x],x_?WrongSignQ:>-x,x_?OffBy2PiQ:>x*2[Pi]


With the usual caveat that pattern matching can be slower than other methods, but conceptually easier to understand. Hopefully someone will aggregate the answers to compare performance. Good luck!






share|improve this answer











$endgroup$




















    16












    $begingroup$

    This function was deprecated in V4.2, being succeeded by CellularAutomaton.



    Since your answer is hidden somewhere in rules like 110, why reinvent the wheel with ReadProgrammerIntentions?






    share|improve this answer











    $endgroup$








    • 7




      $begingroup$
      I tried using The Game of Life, but my answer was stuck with a Glider last seen wandering off towards Hoboken.
      $endgroup$
      – MikeY
      Apr 1 at 22:04


















    6












    $begingroup$

    In all seriousness you can achieve something similar by pressing the equal key once. It will turn input to "Free input" and display a big orange equal sign by the side. In this field you can type your calculation how you would said in English and it will generate the code to do it.



    Also if you press the key twice the it will show a star shape sign and your input will be send to Wolfram alpha to so you can get more complex answers involving data and stuff.






    share|improve this answer











    $endgroup$












    • $begingroup$
      In all seriousness are you talking Ctrl + =, or SemanticInterpretation?
      $endgroup$
      – Kai
      Apr 2 at 6:45












    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "387"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f194384%2fmathematica-command-that-allows-it-to-read-my-intentions%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    5 Answers
    5






    active

    oldest

    votes








    5 Answers
    5






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    35












    $begingroup$

    Indeed, this functionality still exists, but it has been moved into its own package.



    Load the package:



    Needs["aBetterProgrammer`"]


    You will have access to such functions as




    • GimmeDaCodez (answers any nebulous MMA.SE question by guessing the unspoken needs of the asker)


    • WizardForm (an output wrapper; produces perfectly terse code; all function calls are infix)


    • JMstyle (deals with special functions; sometimes works even without a computer)

    ... and many others.






    share|improve this answer











    $endgroup$








    • 2




      $begingroup$
      Is there a Haiku option?
      $endgroup$
      – MikeY
      Apr 1 at 16:21






    • 7




      $begingroup$
      @MikeY HaikuForm is drafted // the future will see it // so meta
      $endgroup$
      – MarcoB
      Apr 1 at 16:32
















    35












    $begingroup$

    Indeed, this functionality still exists, but it has been moved into its own package.



    Load the package:



    Needs["aBetterProgrammer`"]


    You will have access to such functions as




    • GimmeDaCodez (answers any nebulous MMA.SE question by guessing the unspoken needs of the asker)


    • WizardForm (an output wrapper; produces perfectly terse code; all function calls are infix)


    • JMstyle (deals with special functions; sometimes works even without a computer)

    ... and many others.






    share|improve this answer











    $endgroup$








    • 2




      $begingroup$
      Is there a Haiku option?
      $endgroup$
      – MikeY
      Apr 1 at 16:21






    • 7




      $begingroup$
      @MikeY HaikuForm is drafted // the future will see it // so meta
      $endgroup$
      – MarcoB
      Apr 1 at 16:32














    35












    35








    35





    $begingroup$

    Indeed, this functionality still exists, but it has been moved into its own package.



    Load the package:



    Needs["aBetterProgrammer`"]


    You will have access to such functions as




    • GimmeDaCodez (answers any nebulous MMA.SE question by guessing the unspoken needs of the asker)


    • WizardForm (an output wrapper; produces perfectly terse code; all function calls are infix)


    • JMstyle (deals with special functions; sometimes works even without a computer)

    ... and many others.






    share|improve this answer











    $endgroup$



    Indeed, this functionality still exists, but it has been moved into its own package.



    Load the package:



    Needs["aBetterProgrammer`"]


    You will have access to such functions as




    • GimmeDaCodez (answers any nebulous MMA.SE question by guessing the unspoken needs of the asker)


    • WizardForm (an output wrapper; produces perfectly terse code; all function calls are infix)


    • JMstyle (deals with special functions; sometimes works even without a computer)

    ... and many others.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    answered Apr 1 at 16:19


























    community wiki





    MarcoB








    • 2




      $begingroup$
      Is there a Haiku option?
      $endgroup$
      – MikeY
      Apr 1 at 16:21






    • 7




      $begingroup$
      @MikeY HaikuForm is drafted // the future will see it // so meta
      $endgroup$
      – MarcoB
      Apr 1 at 16:32













    • 2




      $begingroup$
      Is there a Haiku option?
      $endgroup$
      – MikeY
      Apr 1 at 16:21






    • 7




      $begingroup$
      @MikeY HaikuForm is drafted // the future will see it // so meta
      $endgroup$
      – MarcoB
      Apr 1 at 16:32








    2




    2




    $begingroup$
    Is there a Haiku option?
    $endgroup$
    – MikeY
    Apr 1 at 16:21




    $begingroup$
    Is there a Haiku option?
    $endgroup$
    – MikeY
    Apr 1 at 16:21




    7




    7




    $begingroup$
    @MikeY HaikuForm is drafted // the future will see it // so meta
    $endgroup$
    – MarcoB
    Apr 1 at 16:32





    $begingroup$
    @MikeY HaikuForm is drafted // the future will see it // so meta
    $endgroup$
    – MarcoB
    Apr 1 at 16:32












    22












    $begingroup$

    Since version 11 most commands finally support the Interpretation option: Interpretation -> "Literal" being the classical (default) way of operation, and Interpretation -> "Guess" using advanced machine learning to get much better results than ReadProgrammerIntentions ever achieved. Makes programming a lot easier. You can emulate the old behavior with a simple Return["the result", Interpretation -> "Guess"].






    share|improve this answer











    $endgroup$








    • 1




      $begingroup$
      doesn't return anything for me !? can you correct the code please !
      $endgroup$
      – Alrubaie
      Apr 1 at 16:14






    • 1




      $begingroup$
      @Alrubaie you need version 11 for the advanced Machine Learning (Artificial Intelligence) stuff.
      $endgroup$
      – Roman
      Apr 1 at 16:25







    • 15




      $begingroup$
      @Alrubie, whichever version you have, you need the next one.
      $endgroup$
      – MikeY
      Apr 1 at 16:31






    • 3




      $begingroup$
      Roman, whenever I try your code with the Guess option set, my 10-year old gets an email.
      $endgroup$
      – MikeY
      Apr 1 at 17:40






    • 3




      $begingroup$
      Yes @MikeY, Mathematica is probably aware that s?he knows best and needs to be consulted. Same at my place.
      $endgroup$
      – Roman
      Apr 1 at 17:51















    22












    $begingroup$

    Since version 11 most commands finally support the Interpretation option: Interpretation -> "Literal" being the classical (default) way of operation, and Interpretation -> "Guess" using advanced machine learning to get much better results than ReadProgrammerIntentions ever achieved. Makes programming a lot easier. You can emulate the old behavior with a simple Return["the result", Interpretation -> "Guess"].






    share|improve this answer











    $endgroup$








    • 1




      $begingroup$
      doesn't return anything for me !? can you correct the code please !
      $endgroup$
      – Alrubaie
      Apr 1 at 16:14






    • 1




      $begingroup$
      @Alrubaie you need version 11 for the advanced Machine Learning (Artificial Intelligence) stuff.
      $endgroup$
      – Roman
      Apr 1 at 16:25







    • 15




      $begingroup$
      @Alrubie, whichever version you have, you need the next one.
      $endgroup$
      – MikeY
      Apr 1 at 16:31






    • 3




      $begingroup$
      Roman, whenever I try your code with the Guess option set, my 10-year old gets an email.
      $endgroup$
      – MikeY
      Apr 1 at 17:40






    • 3




      $begingroup$
      Yes @MikeY, Mathematica is probably aware that s?he knows best and needs to be consulted. Same at my place.
      $endgroup$
      – Roman
      Apr 1 at 17:51













    22












    22








    22





    $begingroup$

    Since version 11 most commands finally support the Interpretation option: Interpretation -> "Literal" being the classical (default) way of operation, and Interpretation -> "Guess" using advanced machine learning to get much better results than ReadProgrammerIntentions ever achieved. Makes programming a lot easier. You can emulate the old behavior with a simple Return["the result", Interpretation -> "Guess"].






    share|improve this answer











    $endgroup$



    Since version 11 most commands finally support the Interpretation option: Interpretation -> "Literal" being the classical (default) way of operation, and Interpretation -> "Guess" using advanced machine learning to get much better results than ReadProgrammerIntentions ever achieved. Makes programming a lot easier. You can emulate the old behavior with a simple Return["the result", Interpretation -> "Guess"].







    share|improve this answer














    share|improve this answer



    share|improve this answer








    answered Apr 1 at 15:50


























    community wiki





    Roman








    • 1




      $begingroup$
      doesn't return anything for me !? can you correct the code please !
      $endgroup$
      – Alrubaie
      Apr 1 at 16:14






    • 1




      $begingroup$
      @Alrubaie you need version 11 for the advanced Machine Learning (Artificial Intelligence) stuff.
      $endgroup$
      – Roman
      Apr 1 at 16:25







    • 15




      $begingroup$
      @Alrubie, whichever version you have, you need the next one.
      $endgroup$
      – MikeY
      Apr 1 at 16:31






    • 3




      $begingroup$
      Roman, whenever I try your code with the Guess option set, my 10-year old gets an email.
      $endgroup$
      – MikeY
      Apr 1 at 17:40






    • 3




      $begingroup$
      Yes @MikeY, Mathematica is probably aware that s?he knows best and needs to be consulted. Same at my place.
      $endgroup$
      – Roman
      Apr 1 at 17:51












    • 1




      $begingroup$
      doesn't return anything for me !? can you correct the code please !
      $endgroup$
      – Alrubaie
      Apr 1 at 16:14






    • 1




      $begingroup$
      @Alrubaie you need version 11 for the advanced Machine Learning (Artificial Intelligence) stuff.
      $endgroup$
      – Roman
      Apr 1 at 16:25







    • 15




      $begingroup$
      @Alrubie, whichever version you have, you need the next one.
      $endgroup$
      – MikeY
      Apr 1 at 16:31






    • 3




      $begingroup$
      Roman, whenever I try your code with the Guess option set, my 10-year old gets an email.
      $endgroup$
      – MikeY
      Apr 1 at 17:40






    • 3




      $begingroup$
      Yes @MikeY, Mathematica is probably aware that s?he knows best and needs to be consulted. Same at my place.
      $endgroup$
      – Roman
      Apr 1 at 17:51







    1




    1




    $begingroup$
    doesn't return anything for me !? can you correct the code please !
    $endgroup$
    – Alrubaie
    Apr 1 at 16:14




    $begingroup$
    doesn't return anything for me !? can you correct the code please !
    $endgroup$
    – Alrubaie
    Apr 1 at 16:14




    1




    1




    $begingroup$
    @Alrubaie you need version 11 for the advanced Machine Learning (Artificial Intelligence) stuff.
    $endgroup$
    – Roman
    Apr 1 at 16:25





    $begingroup$
    @Alrubaie you need version 11 for the advanced Machine Learning (Artificial Intelligence) stuff.
    $endgroup$
    – Roman
    Apr 1 at 16:25





    15




    15




    $begingroup$
    @Alrubie, whichever version you have, you need the next one.
    $endgroup$
    – MikeY
    Apr 1 at 16:31




    $begingroup$
    @Alrubie, whichever version you have, you need the next one.
    $endgroup$
    – MikeY
    Apr 1 at 16:31




    3




    3




    $begingroup$
    Roman, whenever I try your code with the Guess option set, my 10-year old gets an email.
    $endgroup$
    – MikeY
    Apr 1 at 17:40




    $begingroup$
    Roman, whenever I try your code with the Guess option set, my 10-year old gets an email.
    $endgroup$
    – MikeY
    Apr 1 at 17:40




    3




    3




    $begingroup$
    Yes @MikeY, Mathematica is probably aware that s?he knows best and needs to be consulted. Same at my place.
    $endgroup$
    – Roman
    Apr 1 at 17:51




    $begingroup$
    Yes @MikeY, Mathematica is probably aware that s?he knows best and needs to be consulted. Same at my place.
    $endgroup$
    – Roman
    Apr 1 at 17:51











    17












    $begingroup$

    I tend to use a pattern matching approach:



    myCode/.x_?BugQ:>BugStrip[x],x_?TypoQ:>Detypo[x],x_?WrongSignQ:>-x,x_?OffBy2PiQ:>x*2[Pi]


    With the usual caveat that pattern matching can be slower than other methods, but conceptually easier to understand. Hopefully someone will aggregate the answers to compare performance. Good luck!






    share|improve this answer











    $endgroup$

















      17












      $begingroup$

      I tend to use a pattern matching approach:



      myCode/.x_?BugQ:>BugStrip[x],x_?TypoQ:>Detypo[x],x_?WrongSignQ:>-x,x_?OffBy2PiQ:>x*2[Pi]


      With the usual caveat that pattern matching can be slower than other methods, but conceptually easier to understand. Hopefully someone will aggregate the answers to compare performance. Good luck!






      share|improve this answer











      $endgroup$















        17












        17








        17





        $begingroup$

        I tend to use a pattern matching approach:



        myCode/.x_?BugQ:>BugStrip[x],x_?TypoQ:>Detypo[x],x_?WrongSignQ:>-x,x_?OffBy2PiQ:>x*2[Pi]


        With the usual caveat that pattern matching can be slower than other methods, but conceptually easier to understand. Hopefully someone will aggregate the answers to compare performance. Good luck!






        share|improve this answer











        $endgroup$



        I tend to use a pattern matching approach:



        myCode/.x_?BugQ:>BugStrip[x],x_?TypoQ:>Detypo[x],x_?WrongSignQ:>-x,x_?OffBy2PiQ:>x*2[Pi]


        With the usual caveat that pattern matching can be slower than other methods, but conceptually easier to understand. Hopefully someone will aggregate the answers to compare performance. Good luck!







        share|improve this answer














        share|improve this answer



        share|improve this answer








        answered Apr 1 at 20:22


























        community wiki





        N.J.Evans






















            16












            $begingroup$

            This function was deprecated in V4.2, being succeeded by CellularAutomaton.



            Since your answer is hidden somewhere in rules like 110, why reinvent the wheel with ReadProgrammerIntentions?






            share|improve this answer











            $endgroup$








            • 7




              $begingroup$
              I tried using The Game of Life, but my answer was stuck with a Glider last seen wandering off towards Hoboken.
              $endgroup$
              – MikeY
              Apr 1 at 22:04















            16












            $begingroup$

            This function was deprecated in V4.2, being succeeded by CellularAutomaton.



            Since your answer is hidden somewhere in rules like 110, why reinvent the wheel with ReadProgrammerIntentions?






            share|improve this answer











            $endgroup$








            • 7




              $begingroup$
              I tried using The Game of Life, but my answer was stuck with a Glider last seen wandering off towards Hoboken.
              $endgroup$
              – MikeY
              Apr 1 at 22:04













            16












            16








            16





            $begingroup$

            This function was deprecated in V4.2, being succeeded by CellularAutomaton.



            Since your answer is hidden somewhere in rules like 110, why reinvent the wheel with ReadProgrammerIntentions?






            share|improve this answer











            $endgroup$



            This function was deprecated in V4.2, being succeeded by CellularAutomaton.



            Since your answer is hidden somewhere in rules like 110, why reinvent the wheel with ReadProgrammerIntentions?







            share|improve this answer














            share|improve this answer



            share|improve this answer








            answered Apr 1 at 20:29


























            community wiki





            Chip Hurst








            • 7




              $begingroup$
              I tried using The Game of Life, but my answer was stuck with a Glider last seen wandering off towards Hoboken.
              $endgroup$
              – MikeY
              Apr 1 at 22:04












            • 7




              $begingroup$
              I tried using The Game of Life, but my answer was stuck with a Glider last seen wandering off towards Hoboken.
              $endgroup$
              – MikeY
              Apr 1 at 22:04







            7




            7




            $begingroup$
            I tried using The Game of Life, but my answer was stuck with a Glider last seen wandering off towards Hoboken.
            $endgroup$
            – MikeY
            Apr 1 at 22:04




            $begingroup$
            I tried using The Game of Life, but my answer was stuck with a Glider last seen wandering off towards Hoboken.
            $endgroup$
            – MikeY
            Apr 1 at 22:04











            6












            $begingroup$

            In all seriousness you can achieve something similar by pressing the equal key once. It will turn input to "Free input" and display a big orange equal sign by the side. In this field you can type your calculation how you would said in English and it will generate the code to do it.



            Also if you press the key twice the it will show a star shape sign and your input will be send to Wolfram alpha to so you can get more complex answers involving data and stuff.






            share|improve this answer











            $endgroup$












            • $begingroup$
              In all seriousness are you talking Ctrl + =, or SemanticInterpretation?
              $endgroup$
              – Kai
              Apr 2 at 6:45
















            6












            $begingroup$

            In all seriousness you can achieve something similar by pressing the equal key once. It will turn input to "Free input" and display a big orange equal sign by the side. In this field you can type your calculation how you would said in English and it will generate the code to do it.



            Also if you press the key twice the it will show a star shape sign and your input will be send to Wolfram alpha to so you can get more complex answers involving data and stuff.






            share|improve this answer











            $endgroup$












            • $begingroup$
              In all seriousness are you talking Ctrl + =, or SemanticInterpretation?
              $endgroup$
              – Kai
              Apr 2 at 6:45














            6












            6








            6





            $begingroup$

            In all seriousness you can achieve something similar by pressing the equal key once. It will turn input to "Free input" and display a big orange equal sign by the side. In this field you can type your calculation how you would said in English and it will generate the code to do it.



            Also if you press the key twice the it will show a star shape sign and your input will be send to Wolfram alpha to so you can get more complex answers involving data and stuff.






            share|improve this answer











            $endgroup$



            In all seriousness you can achieve something similar by pressing the equal key once. It will turn input to "Free input" and display a big orange equal sign by the side. In this field you can type your calculation how you would said in English and it will generate the code to do it.



            Also if you press the key twice the it will show a star shape sign and your input will be send to Wolfram alpha to so you can get more complex answers involving data and stuff.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            answered Apr 1 at 23:07


























            community wiki





            Alberto Di Biase












            • $begingroup$
              In all seriousness are you talking Ctrl + =, or SemanticInterpretation?
              $endgroup$
              – Kai
              Apr 2 at 6:45

















            • $begingroup$
              In all seriousness are you talking Ctrl + =, or SemanticInterpretation?
              $endgroup$
              – Kai
              Apr 2 at 6:45
















            $begingroup$
            In all seriousness are you talking Ctrl + =, or SemanticInterpretation?
            $endgroup$
            – Kai
            Apr 2 at 6:45





            $begingroup$
            In all seriousness are you talking Ctrl + =, or SemanticInterpretation?
            $endgroup$
            – Kai
            Apr 2 at 6:45


















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Mathematica Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f194384%2fmathematica-command-that-allows-it-to-read-my-intentions%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

            Tähtien Talli Jäsenet | Lähteet | NavigointivalikkoSuomen Hippos – Tähtien Talli

            Do these cracks on my tires look bad? The Next CEO of Stack OverflowDry rot tire should I replace?Having to replace tiresFishtailed so easily? Bad tires? ABS?Filling the tires with something other than air, to avoid puncture hassles?Used Michelin tires safe to install?Do these tyre cracks necessitate replacement?Rumbling noise: tires or mechanicalIs it possible to fix noisy feathered tires?Are bad winter tires still better than summer tires in winter?Torque converter failure - Related to replacing only 2 tires?Why use snow tires on all 4 wheels on 2-wheel-drive cars?