Reputation
12,416
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
20 50
Impact
~108k people reached

Jun
19
awarded  Mortarboard
Jun
19
revised Change value associated with keys using alternatives
added 2 characters in body
Jun
19
revised Change value associated with keys using alternatives
added 160 characters in body
Jun
19
answered Change value associated with keys using alternatives
Jun
19
comment Dynamic does not update when wrapped in DynamicModule
No, Block and With won't help or work for these. You can make the symbols used as function names local to DynamicModule, the code in the Initialization option is also having access to the local variables. Doing that seems to work alright, but I'm not sure if I can forsee all the consequences that would have, though. An alternative would be to put them in an own namespace (Context), e.g. one which is unique to the cell in which that DynamicModule lives...
Jun
19
revised Dynamic does not update when wrapped in DynamicModule
added 6 characters in body
Jun
19
revised Dynamic does not update when wrapped in DynamicModule
added 6 characters in body
Jun
19
answered Dynamic does not update when wrapped in DynamicModule
Jun
19
comment Wolfram Script Not Completing when ran as cron job
you might want to test your script directly on a text console to see/verify that the missing X access really is why Export doesn't work...
Jun
19
comment Wolfram Script Not Completing when ran as cron job
have you tried running your script on the console as root or with sudo? Setting up a cron job to be started as user pi and then use sudo in the command seems a bit odd, is there a good reason why you do that? Other than that, for UserFrontEnd to work I think you would need to make available an X server to the cron job (at least thats what you have to do for webMathematica), see documentation here but that seems a little overdressed for your use case...
Jun
19
revised How can I use NDSolve with a variable parameter?
added 453 characters in body
Jun
19
comment How can I use NDSolve with a variable parameter?
@belisarius: I could verify that error message with version 9. Seems to be a bug which is corrected in at least 10.0.2 and also 10.1.0 (I haven't checked whether the result is numerically correct, though). I will probably add a note about that.
Jun
19
revised How can I use NDSolve with a variable parameter?
added 11 characters in body
Jun
19
comment How can I use NDSolve with a variable parameter?
for me with 10.1 on Windows 7 64bit it gets slow, but seems work. Of course if you run into the update interval limit it might cause aborts. Which version are you running?
Jun
19
answered How can I use NDSolve with a variable parameter?
Jun
19
comment Memory usage optimization for a large Association/SparseArray
As for storing data: I have not checked recent versions but WDX has a tradition to be slow and memory demanding, since MX nowadays will even work cross platform in many ways I'd suggest to export as that...
Jun
19
comment Memory usage optimization for a large Association/SparseArray
I'm somewhat surprised that On["Packing"] does in this case not trigger an unpack message. It looks like Associations are somewhat inefficient to construct with AssociationThread for that many keys even though no message is shown. The alternatives I know will show similar problems. If working with data of that size Mathematica will usually only perform well if you can avoid unpacking and it seems impossible or at least difficult to avoid unpacking here. I even suspect that it is just the final Association which is huge. Can you work with the packed arrays directly?
Jun
18
answered SetDirectory[NotebookDirectory[]] in one notebook causes Directory[] to change in a different notebook
Jun
18
comment Why is Thread[{ a, b }] the same as Transpose[{ a, b }]?
{a,b} is just a shortcut for List[a,b], and Thread then does with List just what it would do with any other symbol...
Jun
18
answered AJAX-style HTTP calls triggered by a variable change