Reputation
11,141
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
20 47
Newest
 Nice Answer
Impact
~100k people reached

May
22
revised How to replace a variable that was assigned a value before
added 23 characters in body
May
22
comment How to replace a variable that was assigned a value before
@bills: when you start to write code which you or even others try to reuse, then it is in general best to try to make as few changes to the global state of your session as possible. If you e.g. call a function which clears certain global variables with Clear that might not be what the caller expects and break the callers session/code. When writing packages and making use of name spaces, you also might need to take extra care to Clear the correct symbols.
May
22
revised How to replace a variable that was assigned a value before
added some remarks and examples
May
22
comment How to replace a variable that was assigned a value before
@Mr. Wizard: good point, it is somewhat more elegant, but as I have now added, it also is somewhat less explicit about how exactly it changes the evaluation order. Not a problem if you have a firm grasp of it, as I guess is the case for you :-). I added it to my answer...
May
22
answered How to replace a variable that was assigned a value before
May
22
answered A simple StringCases problem
May
21
comment Light syntax parser for Mathematica?
You probably want to mention the possibility to do the same in a platform independent way using VNC. That can also be somewhat simpler to setup and in my experience often gives better performance -- all depending on the details of the connection between the two computers (I have no experience in how it compares to sebhofers suggestion to use nx). Also a VNC session will survive an interrupted connection, while I remember X programs don't like such interrupts.
May
21
comment Problem with the Plot of Functions and PlotLegends
@JoseECalderon: There is an answer that most probably solves your problem already, but I think your question would be much better if you state what it is that you expect (or more precisely want) to get from that input. I understand that the output is not what you want, but it seems to be what can be expected with some knowledge about the evaluation order and scoping quirks of Mathematica (where the latter is IMHO not exactly its strongest part)...
May
15
awarded  Enlightened
May
15
awarded  Nice Answer
May
14
comment What is $ sign in Mathematica?
@Ajasja: thanks for the link, I remember now that I read that once, but couldn't remember...
May
14
answered What is $ sign in Mathematica?
May
7
comment Put webMathematica folder outside Tomcat webapps folder?
For the URL part I think this and no.4 in this should get you started...
May
6
answered Import matrices side-by-side separated by TAB
May
6
answered Refresh dynamic variable when used with Get
May
6
comment Import matrices side-by-side separated by TAB
I think it should be possible to tweak the import so that it will import the data as you expect. Something like Import["~/R1", "Table", "FieldSeparators" -> {" ", ",", "\t"}] should do the job...
May
6
comment Working with a database
it unfortunately is quite difficult to understand what exactly you are trying to do. It sounds as if you store the binary content of your .mx file in the database. That sounds like an abuse of the idea behind using a database but in certain circumstances could be reasonable. If you want to reimport such data to Mathematica you would at some place need something like a ImportString[x,"MX"] to convert the binary content back into a Mathematica expression. Depending on what your select statement is and how the data is stored in the database additional conversions might be necessary...
May
5
awarded  Civic Duty
May
5
comment How can this AbsoluteTime call be made faster?
both StringSplit and ToExpression will work for a list of strings without the Map which isn't only slightly shorter but also a little faster than your version: AbsoluteTime /@ ToExpression[StringSplit[dateStrings, {" ", "-", ":"}]]
May
5
answered What does `: Hold[$IterationLimit]` mean?