Reputation
76,543
Next tag badge:
606/400 score
77/80 answers
Badges
5 189 431
Newest
 Nice Answer
Impact
~924k people reached

Aug
29
revised Challenge: Creating Compilable Permutations Function
added 1 character in body
Aug
28
awarded  Nice Answer
Aug
28
comment Creating “detached” plots
Here are some comments/suggestions: 1, WindowFrame -> "ThinFrame" has no title bar and its not closeable or movable on OS X. 2, 3D graphics can't easily be rotated without SphericalRegion -> True or RotationAction -> "Clip". 3, You could also set $DisplayFunction globally. (But non-plotting functions don't apply DisplayFunction without Show) 4, I really like DocumentNotebook instead of CreateDocument here because it doesn't pop out the window immediately but it does give a popout button. (@denfromufa)
Aug
27
comment Can I code a conditional jump between cells in a notebook?
Note that Mathematica doesn't depend on the notebook interface either, it can function without it. Programs can be (and are) written in plain text. Making a program dependent on notebook magic will make it impossible to transfer it to plain text (e.g. a package) and will make it difficult to transfer it between notebooks.
Aug
27
comment Can I code a conditional jump between cells in a notebook?
It can be done, but don't do it. If you want to make it accessible to your students, don't do it. Instead do what Patrick suggests. "Easy to do in Fortran, Python, etc but I'd like to do it in Mathematica - which is more accessible to my students." <- Python and Fortran don't have cells, and Python doesn't have goto. Do you mean a conditional, like if? If so, it works the same in Mathematica, just don't split it into multiple cells. Expressions cannot be split between cells.
Aug
27
revised Creating “detached” plots
edited tags
Aug
27
answered Creating “detached” plots
Aug
27
comment Can I code a conditional jump between cells in a notebook?
I would not try to do this at the notebook level. You can define two functions, then call the appropriate one based on the condition. This is easier and more flexible than trying to evaluate a certain cell based on the condition. Also, it doesn't depend on one particular notebook and its structure.
Aug
27
comment Reading NIfTI-1 files
Well, I was wrong, it does read my files correctly. This looks to be a large package with some very complete bits. Implementing the NifTI importer must have taken quite a bit of time.
Aug
27
answered Reading NIfTI-1 files
Aug
27
comment Reading NIfTI-1 files
@Sektor Sorry, no answer yet. I'm looking at Neurotica but it doesn't handle my files. I might end up doing it from scratch. Either way, I thought it would be a good idea to have a question on this.
Aug
27
asked Reading NIfTI-1 files
Aug
27
comment How can I make a summary of all the commands of Mathematica?
It's a bit weird that WolframLanguageData downloads the whole dataset every time I use it, instead of caching it like some *data functions used to do.
Aug
26
revised GraphDistance gives incorrect result in weighted multigraph
edited tags
Aug
26
comment How can I evaluate untrusted Mathematica code in a sandbox?
You could also run it on Linux in VirtualBox (free). It might be overkill though. Also relevant: stackoverflow.com/questions/4249063/…
Aug
26
comment How can I evaluate untrusted Mathematica code in a sandbox?
I wonder if the security features the CDF player uses can be enabled in any way. There's more than these functions that can be used for harm, though I don't know which ones of those use one of these internally.
Aug
26
comment GraphDistance gives incorrect result in weighted multigraph
I think this is directly related: mathematica.stackexchange.com/questions/92014/… I do think that multigraphs are near-unusable un Mathematica and should not have been introduced in this state. It is in everyone's interest to have these bugs fixed. But for that to happen, you need to talk to Wolfram. I voted to close this post because it is clearly not a question but a complaint and thus unsuitable for this site. I suggest rephrasing it as a question to prevent closing.
Aug
26
revised GraphDistance gives incorrect result in weighted multigraph
edited title
Aug
26
comment GraphDistance gives incorrect result in weighted multigraph
If you want this fixed, please report it to Wolfram. This website is not affiliated with Wolfram. They might not notice that you complained about this here. This website is not for complaints, it's for questions. If they do notice, and they do create a bug report, it might not receive the same weight as if you had reported it yourself.
Aug
21
comment How to write crash-robust code?
You have Mma 10.3?