529 reputation
412
bio website bandes-storch.net
location Portland, OR
age 21
visits member for 2 years, 3 months
seen yesterday

Computer & math geek, programmer, etc.
Twitter: @jtbandes.

Harvey Mudd ’14
upthere.com


Jul
17
comment How to estimate the matrix condition number in the 2-Norm?
That sounds reasonable; the threshold would of course be up to you, based on the computational speed you need.
Jul
17
comment What kind of object results from RegionIntersection function?
I still think it's a bug; if you type out a simple Polygon that has points in the wrong order, you still can compute the area.
Jul
17
comment Implementing efficient multiple undo
Awesome! First complaint: I should be able to hold down ⌘Z or ⇧⌘Z and have it repeatedly undo/redo :)
Jul
17
comment What kind of object results from RegionIntersection function?
DiscretizeRegion seems to behave consistently on empty regions, but Area not working here is probably a bug. With RegionIntersection[Disk[{0, 0}, 1], Disk[{5, 5}, 1]] // Area you get 0.
Jul
17
comment How to get the new font in Mathematica 10?
This is neat, but not the same font used in Wolfram Cloud (Source Sans Pro).
Jul
17
comment How to get the new font in Mathematica 10?
Mathematica has never been a programming environment where the programmer takes great care to align things between different lines of code — this is by nature of the variable spacing around operators, size of operators, etc.… So, there is no reason why a fixed-width font should be worthwhile in Mathematica. The environment can and already does typeset things The Way They Should Be™… modernize, I say!
Jul
17
comment Mathematica 10 Notebook Fonts Look Bad
Perhaps the hinting changed, but regardless, it is being antialiased (you can see if you zoom in on OP's image)... I'm just happy that v10 finally supports retina displays :)
Jul
17
comment How to estimate the matrix condition number in the 2-Norm?
By the way, SingularValueList returns a sorted list, so you can use First@#/Last@#&.
Jul
17
comment How to estimate the matrix condition number in the 2-Norm?
Interestingly, though it appears in blue, LinearAlgebra`MatrixConditionNumber works (with the same problem as OP)
Jul
17
comment How to estimate the matrix condition number in the 2-Norm?
The former doesn't work for me in Mathematica 10. Did you need to import anything for it to work?
Jul
17
comment How to estimate the matrix condition number in the 2-Norm?
You can compute it yourself with Norm[mat,2]Norm[Inverse@mat,2], but this is unsatisfying...
Jul
14
comment Equivalent of ReplaceAll for Associations?
Actually...is that even documented?
Jul
14
comment Equivalent of ReplaceAll for Associations?
It's cool that functions like ^ work on the association's values.
Jul
14
comment Equivalent of ReplaceAll for Associations?
Neat. The really interesting part of this isn't that adding a key replaces an existing one, but that you can merge by putting the whole association inside another like <|#, ...|>.
Nov
27
comment How is OptionsPattern[] defined? Can I replicate this?
Thanks for the answer. Why did you use pt and b and not pt_ and b_? I was under the impression that pt : ptrn would just specify a default value; is something else happening here?
Nov
27
comment How is OptionsPattern[] defined? Can I replicate this?
I don't really want Options — specifying -> rules for each argument will be even messier than the current definition using named patterns like var_. I just want a way to decrease the number of times I have the whole argument list written out.
Nov
24
comment How can I create some shorthand notation for a custom control?
Thanks, this lead me to find InputAutoReplacements which was what I wanted. Do you have any idea why it selects a random field/object in the box instead of highlighting the first text field when the replacement happens?
Nov
23
comment How can I create a custom control which evaluates to a list of values or replacements?
This works great, thanks! But what is the purpose of the DynamicSetting and Evaluate? It seems that if I remove them, it works just the same way. Also, I would expect to need Dynamic[vars] instead of vars at the end...
Oct
26
comment Better solution than returning a list of 3 values?
Why is this prone to leaking memory? What could cause a leak there?
Oct
26
comment Better solution than returning a list of 3 values?
@belisarius Yes, technically, but that's not helpful because using [[n]] makes it hard to see what's actually going on.