Reputation
12,361
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
20 49
Newest
 Nice Answer
Impact
~108k people reached

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
Jun
6
comment Monitoring the Evaluation of NDSolve: time to finish estimation
is there a good reason why you don't just use the documented SetOptions[EvaluationNotebook[],WindowStatusArea->status] but the undocumented LinkWrite[_,SetNotebookStatusLine[...]]? I have a suspicion but am not sure...
Jun
2
revised Connect to SQLite database
added some notes about failing SQLResultSetOpen
Jun
2
comment Connect to SQLite database
@cormullion: thanks, it is by large parts yours as well :-)
Jun
1
answered Connect to SQLite database