Reputation
Next tag badge:
226/100 score
19/20 answers
Badges
2 51 104
Newest
 Enlightened
Impact
~116k people reached

Feb
16
answered Change Values in Dataset under Condition
Feb
16
comment Windows command line arguments, stdin & stdout
@William I have added a section detailing the use of a cmd file to emulate the CYGWIN example in your response. Hopefully this version will get you closer to your goal. I have left out the pesky details concerning error handling, escaping, etc. The offer of a bounty is appreciated, but not necessary.
Feb
16
revised Windows command line arguments, stdin & stdout
Added a variation that uses a _cmd_ file.
Feb
16
comment Windows command line arguments, stdin & stdout
@William Fair enough. I've always avoided DOSKEY because it is not recognized anywhere but at the start of interactive command input. I would just use a normal cmd file (e.g. create _.cmd somewhere in the PATH). But we have now firmly left Mathematica and are well into superuser :)
Feb
15
revised Windows command line arguments, stdin & stdout
added the section about DOSKEY
Feb
15
comment Windows command line arguments, stdin & stdout
@William What was the nature of the failure? It all seemed to work for me when I tried it just now on Windows 7: stdin, stdout, command line arguments. I had to avoid breaking the command across lines since DOSKEY uses different escaping conventions than the command processor. Double-check that the defined macro takes the form you expect by inspecting DOSKEY /m.
Feb
15
awarded  Enlightened
Feb
15
awarded  Nice Answer
Feb
14
answered Windows command line arguments, stdin & stdout
Feb
14
comment Can I sum or mulitply 2 columns in a list of associations
@Mr.Wizard I gave it a shot.
Feb
14
answered Best way to modify values in a list of rules?
Feb
7
comment Convert recursive RegularExpression to StringExpression?
@Leonid +1. I started to write a comment pointing out the absence of {1, 24} from the solution, along with a revised expression to correct it. The revision proved to be difficult to find (for me, at least). So I have posted a TL;DR response describing my woes. Perhaps you (or someone else) can spot the flaw in my reasoning and present a simple solution.
Feb
7
answered Convert recursive RegularExpression to StringExpression?
Feb
5
comment Indexed Thread on dataset and list
@soandos An evaluation leak is a type of bug where a function evaluates an expression that should remain unevaluated. In the current example, the expression First@#2 is part of a function body and should not be evaluated until that function is called. Unfortunately, the type system accidentally evaluates that expression prematurely while trying to identify the type of the expression. This causes the message we see.
Feb
5
comment Indexed Thread on dataset and list
+1 We can dodge the warning message in 10.0.2 using something like ds[MapThread[Append[#, "age" -> #2 ] &, {#, ages}] &]. Messages like this are due to some serious evaluation leaks in the 10.0.2 type system code :(
Feb
4
answered Creating an autokey cipher function
Feb
4
comment Headings, subheadings, text cells etc and Alt+n
@Mr.Wizard I am unaware of any documentation for such key sequences. I somehow found out about it years ago (V5 or V6 maybe?), but I cannot remember if I read about it somewhere or it was just a lucky typing accident.
Feb
2
revised Can I sum or mulitply 2 columns in a list of associations
added 316 characters in body
Feb
2
answered Can I sum or mulitply 2 columns in a list of associations
Feb
2
comment Can I sum or mulitply 2 columns in a list of associations
similar How can I add a column into a existing Dataset?.