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

Sep
6
comment Input field that appends to a list
@Mr.Wizard: it seems that an additional Deploy would make your version with Row instead of Grid also work. I'm not sure whether that is intended, version dependent or documented...
Sep
6
comment Input field that appends to a list
@PlatoManiac: your use of Block is to my understanding not doing anything, especially it doesn't really localize y in any relevant way. Most probably you meant to use DynamicModule instead. It would probably also be more conventional to clear the input field with y=Null instead of Clear[y], but that is more a matter of taste. Other than that I like that your solution unlike the others should work independent on what else is contained in the gui, so +1 anyway...
Sep
6
comment Input field that appends to a list
@Mr.Wizard: I just tried this with version 7.0.1 and it seems to work alright (without the FieldHint of course). What exactly is not working for you?
Sep
6
comment Input field that appends to a list
@Mr.Wizard: it probably should be mentioned that it is just by accident that this will work with Tab. With Tab the input is submitted and focus is moved to the next "focusable" input element. Only if there is no other such element as here focus will be reset to the same element. If you have e.g. another InputField in the same cell, the focus will move to that. For the exact specification of the OP of course that doesn't matter...
Sep
3
comment Script with command line argument
@jorgen: I think it would be best if you provide an answer and accept it. It is common and welcomed to answer one's own questions and also to accept it. You might want to refer to Anons comment in this case...
Sep
1
comment Removing commented lines of text in a string
Although it hasn't been specified clearly I think it might be more robust to use ___ instead of just __ to also discard empty comment lines, which otherwise well might cause problems when trying to interpret the remaining lines. The RE equivalent would be .* instead of .+
Aug
28
comment Remote Kernel and CUDALink
If I remember correctly then /etc/profile is for settings of interactive sessions and might not be read when just executing the script /usr/local/bin/math. You could either try /etc/bashrc or ~/.bashrc (assuming your default shell is bash). I think there might also be differences in initialization whether you explicitly call bash or whether you call justsh, so it might also depend on the shebang in /usr/local/bin/math. I suggest to check the documentation of your shell and linux distribution as I think these things might even slightly differ for various distributions and shells...
Aug
15
answered Mathematica9: NDSolve slows down after repeated calls
Jul
30
comment Using WhenEvent for derivative of discontinuous function
for me with 9.0.1 this gives the error "NDSolve::disder: Cannot take the derivative of discrete variable u." which seems quite self explaining. Other than that it seems to work, although as the squareWave only depends on time you wouldn't really need a WhenEvent. Which version/OS are you using?
Jun
28
comment How to pop out of a subsection in a notebook
sorry, I didn't check it, here is something that hopefully will work as intended, including the formatting: mathgroup-question
Jun
27
comment How to pop out of a subsection in a notebook
I think this question has been answered on (mathgroup )[groups.google.com/d/msg/comp.soft-sys.math.mathematica/… recently...
Jun
24
comment Excel column label from integer
Another link of potential interest: matlab implementation
Jun
17
comment Effect of Block[] on iterators in Manipulate[]
@VincentTjeng: I only would search for another solution than DynamicModule if you really see that it is too slow. If it is and you can be reasonably sure it is the datatransfer between frontend and kernel causing it, I probably would use the Module approach. Another possibility would be to use "global" symbols e.g. in a specific Context (namespace) reserved for that purpose which I think is about as "local" as a local variable that leaks from a Module. Either way, you'll need to handle the cleanup manually to not leave behind symbols potentially containing large data...
Jun
15
comment Exporting multiple arrays in a single HDF5 file in Mathematica 7
seems to be a bug in the export of version 7 only. It works for me with 6.0.2,8.0.4,9.0.1 on windows but not with 7.0.1. Import/Export seems to be done using an external executable connected with MathLink. Maybe one could try to exchange just that in version 7...
Jun
15
comment Adapting “Find and Replace” functionality to work with Patterns
It doesn't exactly answer your question, but you probably should know that such functionality is available in the Wolfram Workbench, but restricted to the package files if I remember correctly. It will also search a whole directory, if you want. As that is basically a Mathematica plugin for eclipse, you'll also have access to a search with regexes.
Jun
15
revised Effect of Block[] on iterators in Manipulate[]
added 15 characters in body
Jun
15
comment Effect of Block[] on iterators in Manipulate[]
@MichaelE2: yes, sure. I meant the memory size. I'll edit the answer. Thanks for the clarification...
Jun
14
answered Effect of Block[] on iterators in Manipulate[]
Jun
10
comment Correct behavior of lock file in hsqldb connection
of course, I just did that. It's good to hear it helped (although I'd rather consider it a workaround than a "solution")...
Jun
10
answered Correct behavior of lock file in hsqldb connection