Reputation
12,721
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
22 50
Newest
 Necromancer
Impact
~114k people reached

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
Jun
18
answered Why are dictionary keys reordered upon JSON import?
Jun
18
revised Extract all Values from nested Association
deleted 5 characters in body
Jun
18
comment Why are dictionary keys reordered upon JSON import?
@MichielvanMens: one more note. I think it would turn out that the code for your analysis could very well be simpler, easier to read and less error prone if you'd not convert the nested Associations into flat tables. Depending on what you are doing it might even make sense to convert the list of nested Associations into a Dataset and use the new Query functionality for your analysis, but it might need some extra learning to make good use of that...
Jun
18
comment Why are dictionary keys reordered upon JSON import?
@MichielvanMens: I have seen that question and IMHO it confirms that you are doing things wrong. If you really need that data as a plain table you should not construct it with Kubas solution but rather extract with something like I have shown in an answer to that other question -- and voila: field order doesn't play a role anymore...
Jun
18
answered Extract all Values from nested Association