Reputation
13,511
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
25 52
Newest
 Yearling
Impact
~133k people reached

Oct
24
comment ClickPane that shows or hides controls when clicked
good finding, ClickPane now does have the Method option as well, although not yet documented. That of course solves the OPs problem in the most straightforward way...
Oct
24
comment ClickPane that shows or hides controls when clicked
As Karsten found Clickpane does itself have a Method->"Queued" option which I think is the most simple and probably best to use for your example...
Oct
24
comment ClickPane that shows or hides controls when clicked
@ChristianMullon: it might be Mac OS but it also could be the Mathematica version you are using. I tried this with Mathematica 10.2 on Windows 7 and it does not run into the timeout as the clickplane version does...
Oct
23
comment How to respond to password prompt with StartProcess?
I would expect the process to just wait for the password on stdin. Have you tried to just WriteLine[process,password] after the Pause? It might well be that git behaves slightly different when it recognizes it isn't connected to a terminal on stdin (which I assume is what is happening in the background) and just doesn't send a prompt in that case...
Oct
23
answered ClickPane that shows or hides controls when clicked
Oct
19
comment Finding associations not having value Missing[“Unmatched”] in a list of associations
@MitchellKaplan: I just have addd the UnsameQ example for completeness (as comments should not be considered to be persistent). I think you should not change the acceptance, my answer is more for those readers who are interested in filtering out specific cases of Missing only and happen to find that question...
Oct
19
answered Finding associations not having value Missing[“Unmatched”] in a list of associations
Oct
19
comment What is the point of Refresh if Dynamic has an UpdateInterval option?
@Kuba: good points, absolutely helped me to understand that example better. I aggree that other names probably would have made that easier to understand, but that seems to depend on the users mindset: I would probably have got it at first read with abstract names like memoizingKernelFunction for memoize and guiHelpWrapper for f. Anyway, now John's example has convinced me that this is a very good if not the best pattern to solve such issues ...
Oct
16
comment Finding associations not having value Missing[“Unmatched”] in a list of associations
Although the OP accepted this, I think the version with UnsameQ would be a more correct answer to the question as it is formulated. Consider an entry which has "Factor" ->Missing["OtherReason"]. With MissingQ one would not see that in the result, with #Factor=!=Missing["Unmatched"] one would see it, and that would be what I understand the question asks for. So I think you probably should a) give an explict example for the UnsameQ variant also and b) explain the difference between the two...
Oct
15
comment Reading an ASCII file mixing text and numerics in Mathematica
I just tried and think that LAMMPS in a comment is not good enough to find that question when searching for LAMMPS. Why not add it to the title of body text? I don't know if adding a tag is justified, though...
Oct
8
comment What is the point of Refresh if Dynamic has an UpdateInterval option?
@JohnFultz: Am I correctly understanding that whenever you can't avoid side effects in a function (which one of course should avoid where possible) AND you expect it to be used in Dynamic then you would recommend to use a Refresh in such a function as shown? Is the developer/user responsibility really the only relevant difference between my TrackedSymbols approach?
Oct
8
comment ParametricPlot that worked in Mathematica 9 stops working in Mathematica 10
I think you just need to give a list of lists with two functions each, that is: {{x1[t], y1[t]},{ x2[t], y2[t]}} instead of the flat list of four functions. I wonder why that works in version 9 (which it does), I would not have expected it to: it is not mentioned anywhere in the docs that it would automatically partition a flat list...
Oct
8
comment What is the point of Refresh if Dynamic has an UpdateInterval option?
I have used an explicit TrackedSymbol:>{f} option for the Dynamic[Refresh[counter++,None];f[20]] in such cases which seems to achieve the same behavior. Can you explain what the advantage of the Refresh approach is? I find it somewhat problematic that the author of f has to take care of a Dynamic not refreshing which might make use of f which he probably not even knows about when he originally wrote f (hasn't that situation occured at WRI?). What is the overhead of such a Refresh, would you recommend to generally use such Refresh wrappers just in case of?
Sep
27
comment Resizing or moving Notebook window causes Manipulate to update its argument
@RolfMertig: just have seen your other comment which exactly answers my question...
Sep
27
comment Resizing or moving Notebook window causes Manipulate to update its argument
thanks @RolfMertig , I was hoping it would be helpful and left it here because of that. Have you tried if these unexpected updatesx are still an issue with the latest versions? I'm afraid that this behaviour will stay as it is as a fix might make necessary changes at a very deep level for use cases which WRI might classify as "too exotic" for such a change...
Sep
19
comment Troubles importing date and time from CSV file
OK, that sounds somewhat less demanding :-)
Sep
17
comment Is it reasonable to have both TemperatureUnit and TemperatureDifferenceUnit?
Just a note because the question makes it look like Mathematica would be doing something very special here: the use of extra units for TemperatureDifferences seems to be used elsewhere as well, e.g. modelica. I don't even want to enter the discussion about whether that is necessary/good/bad, but it certainly isn't a Mathematica specific question. I bet you'll find good explanations why the modelica community decided to use such units if you search for them...
Sep
17
comment Troubles importing date and time from CSV file
250 Gb, would that mean Giga-Bit or was it a type and would read like GB (Giga-Byte) or are it rather Mega-Bytes really? I would wonder on what machine Mathematica would be able to handle a 250 Gb (30GB ?) CSV file :-)
Sep
14
comment Is the arbitrary base that can be defined by IntegerLength[n,base] really limitless?
there is always a theoretical upper limit set by the memory of your computer. Then there are the limits that the underlying routines have, AFAIK Mathematica makes use of GMP for representing large numbers in general so these are certainly not limited by 2^64 on your computer, but there still are (much higher) limits. More difficult to answer is where the limits for the specific functions that you are going to use are, unfortunately such details are often not so well documented and a matter of experiments, but it is an area where Mathematica often does quite well...
Sep
9
comment What are the requirements for a well behaved indexed variable? Subscript, ToExpression, Downvalue?
That's what I tried to express: there is much going on under the hood and things become more complicated than they need to. My experience is that code doesn't become more reliable if it is more complicated then necessary. I think it is absolutely OK to use the Notation package if you have need for it but just wouldn't call it "most recommended" for all use cases...