12,253 reputation
12765
bio website
location
age
visits member for 2 years, 3 months
seen yesterday

The "WR" in my name has nothing to do with the company that develops Mathematica.


2d
comment RLink Java(TM) platform has stop working
Milos: FYI, if you address a comment to someone other than the poster of a response, you should address them using "@" syntax. For example, your previous comment was directed to Leonid, so you should include @LeonidShifrin in the comment text. He will receive a notification now because of this comment.
2d
comment Can TreeForm be displayed “sideways”?
@belisarius Thanks for the pointer... I've updated my response.
Apr
13
comment Creating centered inline cell in text cell
Oops, I somehow missed the comments to this effect under the question. I'm afraid I am not aware of a good resource for this. Judging from the source that ships with Mathematica, it would seem that WRI frequently writes box language directly to obtain finicky formatting -- bypassing not only the UI but also functions like Grid, etc.
Apr
13
comment Understanding Transpose
Transpose[$m, {3, 2, 1}] === Flatten[$m, {{3}, {2}, {1}}], so you might find this discussion of Flatten useful.
Apr
13
comment Programming paradigm change
@Mr.Wizard I do indeed love your new method. I rest my case comparing writing Mathematica to writing poetry.
Apr
13
comment Programming paradigm change
@rasher Naaahhh, wait for the movie. We are hoping to get Steven Seagal to play Java, and Christopher Lloyd for Mathematica. I'm not too sure about the love triangle added to the shooting script involving Julia (Amanda Seyfried), but the climactic battle royale ought to make up for it... if we can secure the production funding for the CGI.
Apr
12
comment Programming paradigm change
@Mr.Wizard Of that, there is no doubt. I bow to the king.
Apr
11
comment Can TreeForm be displayed “sideways”?
I've simplified the code used to recover the TreePlot.
Apr
6
comment Multiplayer game in Mathematica: how to communicate between kernels?
@Silvia Yes, corrected. Thanks.
Apr
5
comment workbench: how to see values of global variables during debugging
@zorank Yes, a private variable would need to be fully qualified. For example, packageName`Private`globalVariable (from the question).
Apr
1
comment workbench: how to see values of global variables during debugging
OK, I've added an answer to explain more fully.
Mar
26
comment workbench: how to see values of global variables during debugging
closely related: Inspecting non-variable state from a breakpoint in Workbench
Mar
26
comment Multiplayer game in Mathematica: how to communicate between kernels?
@OleksandrR. Thanks for that very useful information. I have updated my answer to incorporate it.
Mar
24
comment list of vectors with prescribed sum
The filtering is done in the call to FreeQ. We could add another pattern, e.g. FreeQ[#, z|u]&, where u = z + 1.
Mar
23
comment Returning a value from a Module
@enzotib The documentation is well hidden. Also see the discussion here.
Mar
23
comment list of vectors with prescribed sum
@rasher Much nicer, thanks. I have incorporated your suggestion as an addendum. For setPartitions[{3, 5, 7}, 5], the main function still dominates the run time as the helper optimization only shaved off about 0.12s off total time on my machine.
Mar
15
comment Web Browser Screen Shot
@LiamWilliam Yes, we have to add browser@ScriptErrorsSuppressed = True. I have updated my answer.
Mar
15
comment Web Browser Screen Shot
@LiamWilliam You might also get a speed-up by extracting the bytes from the .NET bitmap and constructing the Mathematica image directly in memory. This would avoid writing the bitmap to disk and then importing it (Import can be slow).
Feb
28
comment Replacing parts of a held expression with held parts of another expression
@LeonidShifrin I guess that all roads in Mathematica lead to metaprogramming :)
Jan
11
comment Formatting Excel Borders with .Net
@BlueMac Sorry, I have no insight on that behaviour. I just now tried to assign multiple formulas from an array using VBA directly inside Excel (2007, in my case). It didn't work either, although it failed in a slightly different way from when I performed the operation through COM from Mathematica. Perhaps formula array assignment is broken in Excel?