Reputation
30,093
Next tag badge:
480/400 score
65/80 answers
Badges
3 66 146
Impact
~297k people reached

Mar
9
awarded  Nice Answer
Feb
19
comment How do I find all the possible events that work with EventHandler?
Now you can also look at the autocomplete list when you write CurrentValue[" and some starting letter
Feb
13
comment Most efficient way of splitting a file into length-prefixed blocks
@LeonidShifrin I had tested it without the last copy to remove the $Failed, but I doubt it makes a difference and if it did, it is easy to avoid. The chunk size dependence makse sense.
Feb
11
comment Most efficient way of splitting a file into length-prefixed blocks
@Mr.Wizard So far I am finding Haskell really interesting. My guess is you would like it, very terse. You don't even need brackets to call a function ;)
Feb
11
revised Most efficient way of splitting a file into length-prefixed blocks
added 4 characters in body
Feb
11
revised Most efficient way of splitting a file into length-prefixed blocks
added 12 characters in body
Feb
11
revised Most efficient way of splitting a file into length-prefixed blocks
deleted 45 characters in body
Feb
11
comment Most efficient way of splitting a file into length-prefixed blocks
No functional benefit, and not really a stylistic preference either. It is what came to mind first. I am not sure which I prefer. I think your last offer is my favourite
Feb
11
comment Nested mapping of a function
Are you certain that you want a neat version of the first construct? Honest question
Feb
11
comment Most efficient way of splitting a file into length-prefixed blocks
I thought of not answering because the OP asks for "most efficient". However, when I saw that a naive implementation worked x1.6 slower than a solution which is 200x faster than the OP's, I thought it might be useful anyway.
Feb
11
revised Most efficient way of splitting a file into length-prefixed blocks
added 28 characters in body
Feb
11
revised Most efficient way of splitting a file into length-prefixed blocks
added 28 characters in body
Feb
11
answered Most efficient way of splitting a file into length-prefixed blocks
Feb
9
comment How to split a Dataset into training and testing for machine learning?
@TaliesinBeynon that's neat, thanks! Nice to see you back around
Feb
8
comment Creating a TeXForm/TraditionalForm/etcForm - like function
They include the PrintForms which include the BoxForms. I did some digging at the time. Thanks! I think the output forms are those heads that end up showing applied to the cell label such as in mmaOut[34]//InputForm. Try Unprotect@$OutputForms;AppendTo[$OutputForms, la]; la[5]
Feb
1
comment Why Mathematica chooses bracket for function arguments over parenthesis?
@rm-rf A few days ago I did a rm * accidentally (I meant rm *.pdf) and lost about 15GB of stuff :)
Jan
26
awarded  Popular Question
Jan
26
comment What's real analogue for FromDigits?
What's the format of the input? If its a simple string, ToExpression or some Interpreter, or Internal`StringToDouble
Jan
26
comment Generating a Variable Number of Dynamic Variables
If for your application it might make sense to use p[1], p[2], ... instead of p1,p2, then all becomes easy
Jan
25
comment Is the divergence between Round and setting an explicit precision intentional or a bug?
As to the extension, yes, you should round at the end with the min of the input precisions (or use SetPrecision perhaps) instead of using the automatic precision tracking of Mathematica. Because the Mathematica precision tracking does not work as you intend (but in a smarter way that makes sense in general)