17,698 reputation
342107
bio website wolfram.com
location United States
age 37
visits member for 3 years
seen 21 mins ago

The gravatar was made with Mathematica, and inspired by this.

The contents of my posts are my own opinion, and do not reflect the opinions of my employer.


4h
comment Mathematica style guide?
@LeonidShifrin quite often, the code is viewed as a plain-text file (like in a browser), so while it is a failure of the IDE in the strict sense, people will use what is convenient. That said, I agree, there is no real distinction between a system symbol and a user symbol.
4h
comment Mathematica style guide?
@LeonidShifrin this has more utility for someone reviewing your code who is not familiar with it, i.e. it helps answer the question, "is this a system function I don't know about, or one of yours?" I encounter this a lot when I'm writing utilities to assist in my testing, so maybe it is unique to my role as I deal with areas someone might not be familiar with. For general deployment, though, I favor initial capitalization, and using lots and lots of packages.
5h
comment Mathematica style guide?
Personally, I think this should be broken into single topics like the pitfalls question. This limits "debate" to a single focused topic, so the parts we agree on become quickly stable.
5h
revised TransformedRegion, RegionPlot broken in 10.0.2.0?
added correct option name
5h
comment TransformedRegion, RegionPlot broken in 10.0.2.0?
On recent sources, I don't see the error messages. But, I do see more "interesting" things ...
5h
comment Mathematica style guide?
@Nasser while I've disagreed with you in the past about this, I've come to the conclusion you might be right. The key benefit that pushed me over is not avoiding eventual conflicts with system symbols, but in differentiating your functions from system functions. So, at a glance you can tell that foo[blah] is a call to a package function, while Foo[blah] is a call to a system function. This provides an immediate incentive to start with lower-case.
6h
comment Mathematica style guide?
I must disagree with (3). For longer function calls, the short forms make it more difficult to read, so they should be used inline only. Instead, the full form can be made readable by using multiple lines and indentation. I'll try to put up an example, later.
7h
comment TransformedRegion, RegionPlot broken in 10.0.2.0?
I don't contest those conclusions, just the conclusion that it is a damaged installation. You can verify that it is the PlotRange by setting PlotRange -> {{-1, 0.6}, {0, 1.4}} for the first example and PlotRange -> {{-8, 15}, {-4, 8}} for the second.
8h
comment TransformedRegion, RegionPlot broken in 10.0.2.0?
A damaged installation, likely not. It's a miscalculated default PlotRegion, that's all.
2d
comment Incorrect use of Scaled causes crash
Well that's interesting. I'll write it up in the morning.
2d
comment Largest matrix size supported by Mathematica 10
@OleksandrR. here I was hoping you could get a single motherboard with that much RAM, but alas, 512GB seems to be the limit.
2d
comment Mollweide maps in Mathematica
I appreciate lazy, +1.
2d
comment Largest matrix size supported by Mathematica 10
@OleksandrR. where do you get a computer that has that much physical RAM? I want one, or two ... dozen.
Jan
23
comment How to simplify -a*z+a*z to 0 where “a” is an expression
Well, hey, that's something I did not know about Expand, nifty. +1
Jan
22
comment Generalization to AllTrue, AnyTrue and NoneTrue
I see; vanishing patterns necessitates the inclusion of 1 in 1 n + m. Also, clever use of Length@Select[..., n + 1] to test for exactly n length. +1
Jan
22
comment Horizontal BoxWhiskerChart
@stephenwade that's what the link to BarOrigin is for; it demonstrates its use. But, simple experimentation would get you there: BoxWhiskerChart[list, BarOrigin -> Left].
Jan
22
revised Why does Mathematica add Hold to the result of my user defined symbol?
made code readable without scrolling
Jan
22
comment Bug in associated Legendre Polynomials?
bugs is reserved for community verified bugs.
Jan
22
revised Bug in associated Legendre Polynomials?
edited tags
Jan
22
comment Horizontal BoxWhiskerChart
This is in the documentation, and is quite easy to find as the first example under "Applications" shows it, and the example for BarOrigin demonstrates the effect of different values. Note the difference between Left and Right.