Reputation
69,305
Next tag badge:
100/100 score
20/20 answers
Badges
5 168 389
Impact
~791k people reached

Apr
21
revised How do I call a function that has a default parameter value?
deleted 46 characters in body
Apr
21
comment How can I rename the local kernel without causing issues?
I don't know. To be honest, I don't really see the point of doing this. If it breaks Mathematica, don't do it.
Apr
21
comment How to force Return[] to return from an arbitrary point (like in C++)?
See the doc page of Return under Possible Issues. Due to how expressions are evaluated, "function call boundaries" are not as clear as in C++.
Apr
21
comment How can I rename the local kernel without causing issues?
Probably because "Local" is the default for new notebooks.
Apr
21
revised Mathematica doesn't italicise a function's argument in the function's body if it appears in the denominator and the denominator is edited. A bug?
added 10 characters in body
Apr
21
comment Mathematica doesn't italicise a function's argument in the function's body if it appears in the denominator and the denominator is edited. A bug?
Yes, bug, report it. I've reported this at least twice already and it's been there since 10.0.0.
Apr
21
comment ParallelSubmit and WaitNext: check if a job is done before calling WaitNext
I'm not going to post an answer because this is all just guesses from some experimentation, usage message of QueueRun this doc topic: ParallelTools/tutorial/ConcurrencyManagingParallelProcesses.
Apr
21
comment ParallelSubmit and WaitNext: check if a job is done before calling WaitNext
I think you need to use QueueRun[] before DoneQ will know that the job has finished. The first time you evaluate QueueRun[], the job will be submitted, but at this point it is not done yet. Of course just a fraction of a second later is finishes running on the subkernel. But the main kernel (where you use DoneQ) does not know this until we trigger a communication with another QueueRun[]. Now DoneQ[job] is True. Try submitting many jobs and looking at their status as they're displayed in blue, green, grey in the notebook. The status changes only on QueueRun[] calls.
Apr
21
revised Read a compressed ascii data file?
added 34 characters in body
Apr
21
revised Integrate using \[Esc] int \[Esc]
edited tags
Apr
21
answered Integrate using \[Esc] int \[Esc]
Apr
21
comment Integrate using \[Esc] int \[Esc]
Try Ctrl-5. On a US English keyboard the % sign is above 5. What is your keyboard layout?
Apr
21
answered Read a compressed ascii data file?
Apr
21
comment Solving fifth order polynomial equation
What have you tried? Have you tried searching the web about solving equations with Mathematica?
Apr
21
revised Exchange variable value between Mathematica and Autohotkey script
edited tags
Apr
20
awarded  Nice Answer
Apr
19
comment Assignments in ParallelDo when using indexed variables
@VladimirMatveev If you like, treat it as goto . When people ask about doing such things on this site, in the majority of cases it turns out to be a bad idea. It doesn't mean that there's no room for SetSharedFunction and it's always a bad idea.
Apr
19
comment Assignments in ParallelDo when using indexed variables
@VladimirMatveev It's up to you to find out. If there isn't in this case, there might be any time you use zeros (after SetSharedFunction) in a different parallel computation. In general it is a good idea to avoid modifying the same variable from different kernels in Mathematica. If you need to assign to zeros, you can do it after you've returned a result from a parallel computation, and avoid ever setting zeros as shared.
Apr
19
answered Assignments in ParallelDo when using indexed variables
Apr
19
comment Assignments in ParallelDo when using indexed variables
longComputation(n) is not correct Mathematica syntax for a function call. In this case you would need SetSharedFunction as you are dealing with DownValues. However, the communication overhead you introduce with this is likely going to negate any benefits or parallelization. Try to write parallel code that never requires write access to the same variable from different threads. Reformulate your problm in terms of ParallelMap or ParallelTable.