28,992 reputation
261139
bio website
location Argentina
age
visits member for 3 years, 2 months
seen 7 hours ago

My email:

StringTake[ ExampleData[{"Text", "Hamlet"}] <> "@", List /@ {45, 114, 132, 134, 138, 142, 2933, 2939, -1, 2994, 3184, 3189, 3213, 3305, 3364, 3427, 3446, 3473}] // StringJoin


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]
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