20,561 reputation
12870
bio website
location
age
visits member for 2 years, 8 months
seen yesterday

Jul
20
comment How to enter chemical equations?
I would use Latex. tex.stackexchange.com/questions/142865/… . Use the right tool for the right job.
Jul
20
comment How to make Mathematica save all open files, or automatically ask to save each file when closing
I just found out, this is not the behavior I wanted at all. This has caused me problems. There are times I make a change to the notebook, but then decide I do not want the cnahges, and close the notebook without saving by clicking on "X" corner of the window. It turns out Mathematica now still saves the changes I made ! as it never asks me if I want to save it first as it used to before. This is not what I wanted. I wanted it to ask me if I want to save the changes. So I have rolled out this option back to the way it was. AutoSave is not what I want actually.
Jul
20
comment How to make use of Associations?
Is there any advantage to doing AppendTo[pinfoIm, "lastName" -> "Brezhnev"] vs. pinfoIm["lastName"] = "Brezhnev"? thanks.
Jul
20
comment Invert 3D objects (shape) to 3D patterns objects (shape)?
what exactly do you mean by negative model ? and what is the pattern object?
Jul
19
comment Interactively Manipulate SparseArrays or Lists
{params[c], 0, 50} here param[c] is not a control variable. This sould be a symbol, like x, c, y, etc.. not a function.
Jul
19
comment Excluding region with `RegionDifference`
yes. I just stopped local kernel and started again. still works here.
Jul
19
comment Excluding region with `RegionDifference`
windows 7, V 10.0 : !Mathematica graphics
Jul
18
comment Why does ImportString[“1c”, “Table”] eat the letter c?
Also notice what it says in help if the format specification is not given: "attempts to determine the format of the string from its contents." the keyword is attempt. I do not think this is a good way to make functions. This is all fuzzy type programming. What does "Attempt" actually mean? How do I grade this attempt? A grade? B grade? 85% attempt? A function should be clear. It should tell exactly what is the input and what is the output.
Jul
18
comment Why does ImportString[“1c”, “Table”] eat the letter c?
This is because it is SMILES :). Try this StringFormat["123c"] !Mathematica graphics
Jul
17
comment Possible bug: SparseArray Part assignment loses default value?
on version 9, I get same thing. I think it has to do with the way you build it in first place. Compare to data = Table[1, {20}];s = SparseArray[data]; s[[All]] = 1; s // Normal and now it is ok.
Jul
16
comment Mathematica 10 Notebook Fonts Look Bad
It is because you used UpperCaseFirstLetter. These are meant to be used by Mathematica only. Try it with lowerCaseFirstLetter as in foo[] instead of Foo[], it will look much better !
Jul
16
comment ListPlot[] code for CSV file not working
I do not get it. Lets say i=2, ok? So the first column is the x-values, fine. Now the y-values you are saying come from the rows of the (i-1) column? but this is 1 in this case? But that is supposed to be the x-values for all the other columns. Are you simply trying to plot columns 2-9 against the first column?
Jul
16
comment Add contour lines to Graphics3D
what is toPoint ? not defined. You are not even using pts at all in the example above.
Jul
16
comment Replace distinct values of list with values of another list
fyi, instead of posSelect = Position[data, a_ /; a == 100, {3}, Heads -> False]; you just write posSelect = Position[data, 100, {3}, Heads -> False];
Jul
16
comment how to write string to file without Quotation mark
@Algohi First, it is WriteString[file, "\n"] where file is the file handle returned from the OpenAppend call. Second, yes, you can do "\n" on its own, it will go to the end of the last written string and make new line. WriteString does not add "\n" on its own. The user has control on that. You can write WriteString[file,"A\nB\n"] if you want.
Jul
16
comment Overloading ClearAll[] to take no arguments
corrected what I meant above. I typed it wrong.
Jul
16
comment Overloading ClearAll[] to take no arguments
OP might have issued the SyntaxInformation.. command after doing the Protect like you did?
Jul
16
comment Kernel crash after idle in version 10.0
amazing bug. Kernel crashes because it can't connect to the internet !
Jul
16
comment Is there a bug in AssociatePairs?
is GeneralUtilities supposed to be an official thing? or some kind of still-in-work package? If it is official, where to find official documentation about it? When I type reference.wolfram.com/search/?q=GeneralUtilities I do not see it?
Jul
16
comment Overloading ClearAll[] to take no arguments
But if you defined ClearAll[] in global context, would not then calling ClearAll[] first time clears your own ClearAll[] that you just defined? Since ClearAll from the system is in the system context Context[ClearAll]. I agree with you, it will be nice to have a system command to clear all, without having to specify the context. I always mixes up the * and the ` order