7,645 reputation
1031
bio website 12000.org
location the great state of Wisconsin
age
visits member for 1 year, 4 months
seen Mar 12 at 19:57
stats profile views 533

Jan
30
comment how to easily find location of hidden characters that causes hard to find syntax error in notebook?
You are right, what it is called is important. But I meant what is important for me is how to find the location of this, not to argue about what it is called. That is what I meant. Thanks.
Jan
30
comment how to easily find location of hidden characters that causes hard to find syntax error in notebook?
Regadring the slowness part when cell gets large. I know about that. But I found if I un-select the Enable automatic syntax coloring from preferences, then the notebook is no longer as slow as before, and this really helped allot, otherwise, I would not be able to do this. When I need to check something, then I enable this back
Jan
30
comment how to easily find location of hidden characters that causes hard to find syntax error in notebook?
Ok, then how to find location of bad box structure? what it is called is not really important for me, what is important, is how to find such location. Regarding the initialization code, it is about 6,000 lines of code. The UI control code is about 4,000 or so. I have both in one cell now. But even if make the initialization code a separate cell, it is still too large. The demo stylesheet does not allow one to break things so that each function is in one cell on its own. I wish that was possible, it will make life much easier. thanks
Jan
30
comment how to easily find location of hidden characters that causes hard to find syntax error in notebook?
However, a simple way to maybe clean your code (at least in this case) is to copy it as plain text or input text. Thanks for the suggestion. But I can't really do this, I have 10,000 line of code cell. If I copy it to notepad and copy it back to the Mathematica notebook, it will break all sort of formatting I had? I tired such things before in the past, they do not really work for me. The problem is how to find location of bad characters in the code in the first place. Once the location is found, then the solution is easy.
Jan
30
revised how to easily find location of hidden characters that causes hard to find syntax error in notebook?
update
Jan
30
revised how to easily find location of hidden characters that causes hard to find syntax error in notebook?
update
Jan
30
asked how to easily find location of hidden characters that causes hard to find syntax error in notebook?
Jan
29
comment Finding a subsequence in a list
may be you can look at SequenceAlignment and the other related sequence alignments. There is also multiple alignment. I think SmithWaterman is supposed to be a good algorithm for this.
Jan
29
accepted How to make TraditionalForm display the same in the Manipulate output as in a notebook?
Jan
29
comment How to make TraditionalForm display the same in the Manipulate output as in a notebook?
Brilliant Leonid. I do not think I would have guessed this one. So it was just the font family. Thanks!
Jan
29
revised How to make TraditionalForm display the same in the Manipulate output as in a notebook?
clean up
Jan
29
asked How to make TraditionalForm display the same in the Manipulate output as in a notebook?
Jan
29
awarded  Enlightened
Jan
29
awarded  Nice Answer
Jan
28
revised why I see the error “only assignments to symbols are allowed” in Module context and not in global?
update
Jan
28
comment why I see the error “only assignments to symbols are allowed” in Module context and not in global?
I used the non-localized trick in a Module, and it worked, I am still testing it, but the demo did upload with no error! So will use this trick. Please see screen shot of result in my update.
Jan
28
accepted why I see the error “only assignments to symbols are allowed” in Module context and not in global?
Jan
28
comment How do I clear all user defined symbols?
on the subject, Was just viewing a video by the author of CleanSlate at WRI blog site (I think it is Joel Klein). He said he wrote this package in late 80's early 90's when the kernel and the front end were still one process and needed a way to clean things as restarting kernel meant shutting down everything as they were not separate then and were one process.
Jan
28
asked why I see the error “only assignments to symbols are allowed” in Module context and not in global?
Jan
28
comment How do I clear all user defined symbols?
Quit[] does not clear all the variables if you have a Dynamic in view. see mathematica.stackexchange.com/questions/654/… I found Remove["Global`*"] to work best for me.