2,395 reputation
1135
bio website
location
age
visits member for 2 years, 9 months
seen Nov 10 at 21:16

Oct
24
comment Is there a way to hide or toggle the visibility of code?
A special case of this, I'd like to make some buttons in a notebook which is used ans GUI for some package. After the buttons are made, the code producing them should be hidden. What's the proper way to achieve this?
Oct
24
comment Is there a way to hide or toggle the visibility of code?
How to save the palette for future re-use?
Oct
23
comment How to let CellMargins inherit the container section's width?
Sections, subsections, subsubsections etc. of notebooks, which could have different widths.
Oct
23
comment Solarized stylesheet and other goodies. Feedback welcome!
The Dark environment part of your style sheet needs some update for M10 I think. In some cases, the background and foreground use dark colors that don't differentiate.
Oct
23
comment How can I change the default font size of the Virtual Book?
How to find the available options such as Editable -> True, Saveable -> True, Magnification?
Oct
15
comment What's the complete list of file name extensions used by Mathematica?
With the advent of .wl, is there a test file analogue to .mt? Is it .wlt?
Sep
17
comment How to overwrite a private symbol value temporarily?
Yes, I'm well aware.
Sep
17
comment How to overwrite a private symbol value temporarily?
Yes. ClearAttributes[FooBarPrivatetmp, Protected]. Also Quiet[Get["mypackage"], Set::wrsym].
Sep
17
comment How to overwrite a private symbol value temporarily?
Only thing I added is after Get[], I do SetAttributes[FooBarPrivate`tmp, Unprotected]
Sep
16
comment How to overwrite a private symbol value temporarily?
@xzczd I amended original post to clarify it.
Sep
16
comment How to overwrite a private symbol value temporarily?
@Yi Wang, your suggestion is incorrect if you mean Block[{tmp = 3}, Get["mypackage.m"]]. Also your comment is too undetailed to be understandable or helpful.
Aug
28
comment Purpose of construct `With[{var=myComputation[…]}, var/;True]`?
Ok, so the other half of the question is also refused?
Jul
15
comment How to run an external notebook from another notebook?
NotebookEvaluate[] works. As for the questions, it's not suitable either the init.m or an exported package file.
Mar
26
comment How to create .ico file in Mathematica?
I just did an experiment which seems to confirm that ImageSize -> {256, 256} is not necessary, at least for Mathematica 9.0.1 in Mac.
Mar
26
comment How to create .ico file in Mathematica?
So, ImageSize -> {256, 256} in Jens' program above is not necessary, right?
Nov
16
comment How to make a notebook not savable?
Is there a way to make it saveable but not to the original file name?
Sep
27
comment Automatically dealing with “disable dynamic updating”
No; How to set DynamicEvaluationTimeout and DynamicUpdating as part of my program and resetting them to default right before the program is complete? I'd like to avoid using GUI.
Aug
26
comment What's the best way to select compatible options?
The documenation for FilterRules says it try to match against the LHSs: ("FilterRules[rules,patt] filters the list rules by picking out only those rules >whose left-hand sides match patt. FilterRules[rules,{Subscript[patt, 1],Subscript[patt, 2],[Ellipsis]}] picks out >rules whose left-hand sides match any of the Subscript[patt, i].") So should not the usage be Sequence@@FilterRules[{opts}, Options[f][[All,1]]] instead of Sequence@@FilterRules[{opts}, Options[f]] ?
Jun
26
comment How to debug Mathematica crash?
I'm curious about how "... involves running Mathmatica in a debugger ..." works. Basically i want to attempt to do this.
Jun
26
comment How to debug Mathematica crash?
What is the core file and how to get it? Searching Mathematica documentation finds nothing relevant.