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

Feb
27
comment How can I overload a function with multiple bracket-slots so f[a][b] and f[a] can coexist?
@sacratus: just as an advice, I think you really should think about the last sentence in Leonids answer before building "prodution code" that relies on Stack...
Feb
25
answered Defining functions when there are a lot of parameters
Feb
25
comment FilterRules with pattern for name
+1, but you probably want to add the information that you can use SymbolName instead of ToString if you want to also match symbols from contexts currently not on $ContextPath, e.g. rules={test`linx->45} (in case one wants that...).
Feb
25
comment Defining functions when there are a lot of parameters
while one can do what you describe I hardly can believe it really is what you want. Doesn't Davids answer do exactly what you want? You probably should describe more clearly what your ultimate goal is...
Feb
25
comment ParallelTable and global variables
which version do you use? May it be that you have set CellContext to something different than "Global`"? Or are you evaluating the above from a Documentation notebook? I think with the default settings $Context==="Global`" and you shouldn't see the prefix in either case. Despite that I would suggest to not generate symbols on the fly with ToExpression as you do except for some very special cases. Doing that means asking for exactly the kind of problem you are facing...
Feb
25
answered How to track Part of Symbol or How to symbolize Parts of Symbol without copying data
Feb
23
comment Running PowerShell commands in Mathamatica
@Murta: I think the best solution for your actual problem would be to invest in your ssh client config. On a windows client using the putty/pageant combination does work best for me. You would just have to configure git so that it makes use of a ssh-client which asks peageant for the key. I have such a config working but use mercurial instead of git. But I can hardly imagine that git wouldn't let you configure it so that it can also be called from cmd.exe. You probably want to ask that on a git specific forum...
Feb
23
comment Can I use Mathematica 9.0 to open an MX file produced by Mathematica 10?
I have no indication that the release difference matters but I also cannot exclude that, especially since I think there were at least some fixes done for InterpolatingFunctions between those releases. I'd suggest to either extract the grid and values and save those or use the Compress/Uncompress cycle to transfer the results...
Feb
23
comment Running PowerShell commands in Mathamatica
Can you explain why you insist on PowerShell? Git could certainly be run from cmd.exe just as well. Not having made active use of PowerShell I think the outstanding feature of it (compared to cmd.exe or cygwin) is that commandlets can return (collections) of objects instead of just "text". If you'd want to take advantage of that I think NETLink would be the way to go, there are several easy to find recipes which show code on how to start a PowerShell-engine and run commands in it and I think it shouldn't be difficult to make these working from Mathematica...
Feb
22
comment Built in function to convert list of numbers into list of binary numbers
I think you should explain more clearly what exactly you mean with "list of binary numbers". You probably want to explain what you want to do with such a list...
Feb
22
comment Can I use Mathematica 9.0 to open an MX file produced by Mathematica 10?
to check the version evaluate $VersionNumber and $ReleaseNumber. What happens if you just evaluate the variable on the laptop that should hold the interpolating function? Does that show something and if so, what?
Feb
22
comment Can I use Mathematica 9.0 to open an MX file produced by Mathematica 10?
Are you using the same releases on both machines? Have you tried to load the mx file on the workstation, just as an additional check? What exactly is not working, are you seeing error messages or just not getting the definitions you expect? It's quite difficult to remote debug these kind of problems, so you'd need to provide as much information as possible. Are you sure that both are actually using a 64bit Mathematica? I think that should nowadays always be the case but as that still makes a difference it might be worth to check...
Feb
21
comment Can I use Mathematica 9.0 to open an MX file produced by Mathematica 10?
@lxy: you are welcome, and in case you get this working: I wanted to assure you are aware that it is common and welcomed on this site that you answer your own question and accept it so others can participate in what you learned...
Feb
21
comment How to use Get on a folder
@Kuba: I think Murta just wanted to note that name/Kernel/init.m is another file which Mathematica tries to open when you use Get["name`"]. I think that this is the older convention for where Mathematica looks for such a file and it will use that before name/init.m if both exist. The answer to "why" is of course pure convention, but I guess it has to do with the fact that WRI wants you to be able to distinguish between FrontEnd/init.m and Kernel/init.m within your package...
Feb
21
comment Can I use Mathematica 9.0 to open an MX file produced by Mathematica 10?
@lxy: that is indeed what Szabolcs meant, something like Save[filename,Compress@expr] to save and Uncompress@Get[filename] should do the trick. Unfortunately not only file formats but also some implementation details of InterpolatingFunction have changed between version 9 and 10 so there might be problems to read a v10 InterpolatingFunction with v9. You probably need to extract the grid and values and save those if you need to transfer a NDSolve solution vom v10 to v9...
Feb
20
comment Updating Manipulate output from within a Button
@PhilipMaymin: thanks for the accept. I would like to draw your attention to the Method->"Queued" setting, you almost certainly will find that necessary for your real problem...
Feb
20
comment Can Mathematica's random number generation be improved?
If you feel hostility I think that might have to do with the fact that you chose to use a quite aggressive title, which also isn't in line with your actual question. You might realize that many readers would be seriously concerned about broken random number generators while they are neither surprised nor worried to hear that Mathematica is slow for this kind of task. They might (as I did) feel being tricked into reading your (lengthy) question in the first place...
Feb
20
comment Resizing or moving Notebook window causes Manipulate to update its argument
very good finding, much appreciated...
Feb
20
revised Resizing or moving Notebook window causes Manipulate to update its argument
added 343 characters in body
Feb
20
revised Resizing or moving Notebook window causes Manipulate to update its argument
added 522 characters in body