388 reputation
39
bio website bandes-storch.net
location Portland, OR
age 21
visits member for 2 years
seen 23 hours ago

I'm a college senior, computer geek/programmer, etc.
Twitter: @jtbandes.


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.