Reputation
29,122
Next tag badge:
467/400 score
65/80 answers
Badges
2 61 142
Newest
 Nice Answer
Impact
~269k people reached

Apr
24
comment Can this be written well, without loops?
@JadeNB that was the spirit :)
Apr
22
awarded  Nice Answer
Apr
5
awarded  Nice Answer
Mar
30
awarded  Nice Answer
Mar
19
awarded  Nice Answer
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]