Reputation
31,721
Next tag badge:
171/100 score
19/20 answers
Badges
2 70 140
Newest
 Enlightened
Impact
~158k people reached

Nov
30
awarded  Good Answer
Nov
26
answered Strange behavior of UpSetDelayed together with MakeBoxes
Nov
24
comment Run Command Not Executing Node
I tried a number of experiments using various other applications in place of Mathematica or node, and all of them worked. Only the Mathematica/node combination failed. The fact that the "synch" work-around is effective offers some sort of clue, but I'm stumped as to what it means. I spent a few minutes in PROCMON trying to spot something unusual, but to no avail. Most interestingly, using the command line version of the Mathematica kernel works -- only the notebook interface fails.
Nov
17
comment With “named row” nested Datasets: How to Select or Filter rows by row key with criteria from another Dataset?
@Edmund No, I would use the method if it fills your needs. My question may be rhetorical but it is genuine (as is my praise). I am only musing upon the subtle changes in Query behaviour that we have seen with each 10.x release to date. I'm hopeful that such changes are becoming less frequent.
Nov
17
comment With “named row” nested Datasets: How to Select or Filter rows by row key with criteria from another Dataset?
+1 Wow, a tip o' the hat for jamming so much cleverness into a single query. Kudos for figuring out that Dataset["x"]@Dataset[<|"x" -> <|"a" -> 1|>, "y" -> <|"a" -> 2|>|>], will cause the inner expressions like <|"a"->1|> to be treated as plain data instead of as operators. But also using this to flip the query/data relationship: mind-blowing. I wonder how stable such subtle behaviour will be between releases?
Nov
16
answered Run Command Not Executing Node
Nov
16
comment Run Command Not Executing Node
This is a known problem with nodejs on Windows. As a work-around, try writing synchronously to file descriptor 1: Import["!node.exe -e require('fs').writeSync(1,'test')", "Text"].
Nov
16
comment Run Command Not Executing Node
I can reproduce this problem in Version 10.3 on Win7/x64.
Nov
12
revised Can't inject EncryptedObject
added a work-around
Nov
12
comment Can't inject EncryptedObject
I added a workaround section, with thanks to @SimonWoods.
Nov
11
comment Understanding Part and Span operating on expressions with heads that are not List
similar: (2449), (95763).
Nov
9
comment Difference between AbsoluteTiming and Timing
@JacobAkkerboom I have added a new section that makes the difficulty of measuring CPU time more explicit, with a reference to the Q&A you linked. I do not have access to Mathematica on OSX. It may be just coincidence with only two data points, but the times reported are proportional to the Pause duration (at about 2% CPU/real time, a surprisingly large ratio). I wonder if this overhead is real, or if it is just an artifact of measurement and/or threading?
Nov
9
revised Difference between AbsoluteTiming and Timing
added a link to another question which notes a specific example where CPU timing cannot be tracked reliably
Nov
4
comment Path Names Longer Then 256 on Windows
So it would seem. The "2" you see is the file byte count. If you have control over such policy, I would recommend turning short names back on. Many Microsoft-supplied components rely upon them, and some 3rd party applications do as well (especially cross-platform ones).
Oct
30
comment StringMatchQ and Alternatives throws message in init.m
related: Uncaught Throw generated by JLink or UseFrontEnd and Possible Bug of loading Package @ Mathematica 10.1.
Oct
30
awarded  Enlightened
Oct
29
awarded  Nice Answer
Oct
29
revised Struggling to understand Query
some minor reformatting and a new example contrasting the `/*` function and operator
Oct
29
revised Struggling to understand Query
emphasized the distinction between the `/*` function and the `/*` query operator
Oct
29
revised Struggling to understand Query
added 207 characters in body