7,321 reputation
2348
bio website wolfram.com
location Chesterfield, MO
age 42
visits member for 2 years, 7 months
seen yesterday

I've been with Wolfram Research in some capacity since 1993, and have worked on the Mathematica front end since 1996. While Wolfram tolerates and even occasionally encourages my appearances in user forums like this one, my words (especially the stupid ones) are my own, and I don't speak for Wolfram in an official capacity.

Fun facts: I also like games of all sorts, and I'm a competitive Scrabble® player. I've written various sorts of crossword game-related utilities (some fun, some dead ends, some serious) in Mathematica, and consulted briefly on Wolfram|Alpha's word game content. I also contributed UI code to an open source crossword game simulator called Quackle which is quite the thing in the competitive player community.


Aug
3
comment Unexpected Setter Bar Behavior when Manipulate Nested in Dynamic Module
As the question is currently posed (it's been through several dramatic edits...hopefully my comment will still be relevant for a while), the code should work. That it doesn't is a bug. I've fixed it for a future release of Mathematica.
Aug
3
comment Unexpected Setter Bar Behavior when Manipulate Nested in Dynamic Module
Different DynamicModule instances must have their variables tracked separately in the kernel. Why doesn't the kernel just use the same names and clean everything up afterwards? Because the kernel participates in the system which determines when a Dynamic needs to be updated. It does so by tracking changes to named variables. So these variables have to have a kernel footprint. And if there are two identical DynamicModules hanging about, we're going to have to differentiate their variables. So, we chose to do so using a name decoration not unlike the one Module uses.
Aug
3
comment Unexpected Setter Bar Behavior when Manipulate Nested in Dynamic Module
For anyone who cares about the underlying implementational details mentioned here (which should not be necessary or relied upon for top-level use of DynamicModule), it's useful to explain why variables have two representations. Imagine if you take a DynamicModule object and copy it. It should be a precise copy, which includes copying the variable names precisely. And the FE has no problem isolating duplicate variable names in different instances of DynamicModule. But, sometimes, to resolve a Dynamic, the FE must send something to the kernel. (to be continued)
Aug
3
comment Unexpected Setter Bar Behavior when Manipulate Nested in Dynamic Module
This answer says many things which are correct, but some things which are either incorrect or misleading. Chief among them is the notion that I have ever said that mixing Dynamic and/or DynamicModule with Manipulate is a bad idea. I have never said or implied that. Yes, it is true that this particular usage of DynamicModule with Manipulate does not work, but it's a fluke, not a sign of a systemic issue or misunderstanding. Attempts to mix Module and Manipulate, on the other hand, inevitably result from a systemic misunderstanding of the system and should be avoided entirely.
Aug
1
answered Want actual cell data from CellEvaluationFunction
Aug
1
comment Unexpected Setter Bar Behavior when Manipulate Nested in Dynamic Module
It occurred to me when looking at this that I neglected to add syntax coloring for Module/Manipulate conflicts. I.e., for the purpose of syntax coloring scope conflicts, Mathematica should treat the first argument of Manipulate exactly as if it were the first argument of Dynamic. Fixing that for a future version...
Jul
29
answered how to make cursor jump automatically to next input cell after evaluating previous one?
Jul
24
answered Replace content of selected cells, each getting different new content
Jul
21
comment How to find pieces of code responsible for syntax errors?
I'm not certain how this structure got created, but the FE definitely should be highlighting the mismatched delimiters here. And even legitimate structures which you could easily type (e.g., in a new cell type a right paren followed by a superscript) don't show mismatched delimiter highlighting. I consider that a bug which I just fixed for the next release of Mathematica.
Jul
21
answered Can I make the subsection CounterBox continue counting across section boundaries?
Jul
2
comment How to syntax highlight a code cell in another language?
Sorry, Mathematica doesn't support pluggable syntax coloring modules.
May
21
awarded  Excavator
May
21
answered Question about usage of Style as Dynamic object
May
21
comment What is the complete list of valid Front End Tokens?
The original version of my code was missing a Dynamic (it still appears to work, the code was wrong). I edited the answer to fix that.
May
21
revised What is the complete list of valid Front End Tokens?
The code attributed to me had a minor bug in it; it was missing a Dynamic around the font variable.
May
20
comment Cell brackets on left side?
The answer is, indeed, no.
May
9
awarded  Enlightened
May
9
awarded  Nice Answer
Apr
22
comment How often does Mathematica contact its license server?
@rm-rf Sorry, no options at the present for this. Hoping to be able to give you more satisfaction in a not-too-distant version release...
Apr
22
comment On Reverting Code that Mma Switches to Raw Input Form Back to Standard Form
The package editor is going to tend to do this. The possibilities...if you don't have to edit the package, then the code should still work (produce a styled message when evaluated). Or work in a notebook file and Save As->Package file to export, but use the notebook as the main way of storing your source code. Or use auto-generated packages, which are turned off by default in v9, but can be turned back on using the AutoGeneratedPackage option in the option inspector.