25,960 reputation
252122
bio website
location Argentina
age
visits member for 2 years, 3 months
seen 1 hour 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


Jan
29
comment CUDA 5.5 and Mathematica 9 code problem
The code itself is fine. Compiles here
Jan
27
comment Selecting every last element of a nested list
Actually Map[Last, list]
Jan
27
comment Saving data inside a notebook so that I don't have to run it again?
let us continue this discussion in chat
Jan
27
comment What are the most common (usual) ways to make palettes with non-trivial functionality?
I hope the bug of NotebookDynamicExpression not firing in new kernel sessions gets fixed soon
Jan
27
comment Saving data inside a notebook so that I don't have to run it again?
@SteveD, GetFromNotebook[name] doesn't make sense if it's outside the function as you pasted
Jan
27
comment Saving data inside a notebook so that I don't have to run it again?
@SteveD doesn't StoreInNotebook receive symbols and not strings? Furthermore, without a parenthesis there, your function ends at StoreInNotebook[name].
Jan
27
comment Saving data inside a notebook so that I don't have to run it again?
@SteveD can you create some short reproducible example?
Jan
27
comment How to reset the $ModuleNumber?
@Silvia my weird behaviour was due to the fact that I had $HistoryLength set to 1
Jan
27
comment How to reset the $ModuleNumber?
@Silvia When the output of your module is the variable, the variable get's associated with Out's downvalues if $HistoryLength is not zero. So, regardless of the $ModuleNumber, it gets skipped until a free symbol is found.
Jan
27
comment How to reset the $ModuleNumber?
@Silvia he's right
Jan
27
comment How to reset the $ModuleNumber?
From the front end, 9.0.1, W8.0
Jan
27
comment How to reset the $ModuleNumber?
If I put them in separate lines in the same cell, I get always {x$17, 18}
Jan
27
comment How to reset the $ModuleNumber?
When I try it in a loop, the first time I get {x$17, 18}, the second {x$18, 19}, and then back to {x$17, 18} in a loop between the two
Jan
25
comment About auto-compiling and performance between Do and Fold
You can try with SetSystemOptions["CatchMachineUnderflow" -> False] to avoid the low numbers
Jan
25
comment Poor CUDALink performance, when calling a kernel multiple times
Perhaps with some spelunking some of the checks and automation can be skipped and you get a good speedup
Jan
25
comment Poor CUDALink performance, when calling a kernel multiple times
I think the MMA overhead of calling a CUDAFunction is slightly under 1ms for you. This can be negligible if your computation takes way more than that, but for a fast addition example such as this one of 64K threads, the overhead ends up representing most of the time.
Jan
25
comment How can I calculate a jigsaw puzzle cut path?
It is already draggable and rotateable I guess. Slightly easier if one adds the option ContentSelectable -> True. It would be nice to prevent stretching though. Nice one +1
Jan
25
comment How do I extend (prepend or append to) an existing TagSetDelayed rule?
You should check the function UpValues
Jan
23
comment How is the mysterious Raw function used?
Thanks for the question :)
Jan
23
comment List of dangerous functions
@Mr.Wizard Now what's that Raw thing? This software has many secrets