Reputation
29,683
Next tag badge:
474/400 score
65/80 answers
Badges
2 64 143
Newest
 Enlightened
Impact
~286k people reached

Jul
1
comment Programming a recursive FFT with Mathematica
@M.R. I just tried your code on Linux, 10.1, clean kernel, and it worked. Weird
Jun
7
comment Is there a built-in equivalent to Python's enumerate?
Thanks @Leonid, this will be useful! Perhaps now I can stop saving for a new PC with 32GB RAM and settle for 8 :) I've been playing around with Haskell lately and grown fond of it and its lazy data structures; glad to see some of that around here. In a related note, earlier I was counting, given a random permutation of Range@n, the distribution of the number of elements whose value coincides with their position. Had to stop at n=7 or 8 aprox due to RAM. Perhaps with this I could have gone a couple of nums higher
Jun
6
comment Is there a built-in equivalent to Python's enumerate?
Niiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiice
Jun
5
awarded  Enlightened
Jun
5
awarded  Nice Answer
May
29
comment How can I effectively performance-profile Dynamics?
@episanty I don't have the code fresh in my head, but, probably, I thought the following at the time. It's not important to lose state between kernel sessions. DynamicModule wouldn't be any use (on the contrary) if we are using a multi-cell and multi-notebook apprach, and the new cell isn't spawned from a button inside the containing DynamicModule such that InheritScope works. As it is right now, if changing Module to DynamicModule works (haven't tried it) I think its because of a leak and it shouldn't
May
16
awarded  Good Question
May
9
comment How do I access the parameters in Classify using Support Vector Machine as method?
@chris I don't recall exactly, sorry. Hopefully, they will get documented
May
9
awarded  Good Answer
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