61,034 reputation
18163290
bio website
location California, USA
age
visits member for 2 years, 7 months
seen 2 hours ago

5h
comment Export dataset to JSON
btw, the undocumented ToAssociation can also be used to convert imported json to associations.
21h
comment How to combine one or more rotated graphics objects?
No cows this time? ;)
Aug
17
comment How do I find the coordinates of pont and plot the coordinates?
@Mr.Wizard OP can upload images.
Aug
14
comment Missing functions in the Raspberry Pi V10 release
@bobthechemist Decimation is just lowpass filtering followed by downsampling. I have a decimation function in this answer.
Aug
14
comment Missing functions in the Raspberry Pi V10 release
@shrx I don't know. I typically use Names for this, not Information.
Aug
14
comment Test on classical guitar sound board vibrations of different brace pattern
What you're asking is basically worth two or three lecture classes in musical acoustics (maybe more). You should put in more effort into solving the question before asking here.
Aug
14
comment Missing functions in the Raspberry Pi V10 release
Something is incorrect here... Those functions are not exclusive to the Pi. They're all in my copy of v10.
Aug
13
comment How to plot data points in the form X, Y, E(X, Y) where X and Y coordinates are not ordered?
Link to the data from a deleted answer: dl.dropboxusercontent.com/u/47218763/em.dat
Aug
13
comment How to unprotect a variable in a package
@Nick As others have mentioned, there is a collision with a built-in function. I would not recommend clearing the definitions of the System` symbol to make way for yours, because you never know what depends internally on what (and it is a bad practice, period.) and you could be doing more damage than you think. Rather, you might want to look at using the full contexts, such as MyPackage`MySymbol and System`MySymbol. This way, you get to use both functions. You can also change the order in which the contexts appear in $ContextPath to determine which definition is used first.
Aug
13
comment How to unprotect a variable in a package
@AlexeyPopkov I don't think it does... all that OP needs to learn is some context management, which is not hard. I don't think that everyone needs to strictly adhere to this maxim for their packages.
Aug
13
comment Error with “Newton's method” in Wellin's Mathematica book
Yeah, the title and perhaps most of the question... To answer the question in your comment, yes, people do write code that way if necessary. The warning exists because more often than not, this is a mistake made by inexperienced users and is probably not what they want. If you know what you're doing, you're free to ignore the warning. There have been related questions such as this on syntax warnings.
Aug
12
comment Error with “Newton's method” in Wellin's Mathematica book
Simple errors and typos in books are best taken up with the author/publisher...
Aug
9
comment How to make use of Associations?
Thanks for the insight, Leonid. I agree that the operator forms are really useful. I've mostly been using Associations as the equivalent of a dict in python, but it is certainly capable of a lot more and I've been playing with it, trying to find out other uses. Re: "You probably still have to manage the Module-generated symbol" — do you mean that this symbol won't be garbage collected?
Aug
8
comment How to make use of Associations?
I found it quite fun to use Association as a circular linked list for cyclic repetitions. Sort of like how an Internal`Bag can hold itself, I think this is quite powerful and might have more practical uses beyond what I used it for. Do you see any other good applications for it?
Aug
8
comment Are there tools for getting Mathematica 9 Notebooks working in Mathematica 10?
This is an interesting and useful observation, but it isn't an answer to this specific question. I think it is worth a separate question that exposes the bug.
Aug
7
comment Does Mathematica have Month Range and Day range?
@Algohi There are only 7 days in a week... I'm sure you can type it out faster than hunting for DataPaclets`... (if it existed). I was just too lazy to type out all the months :) Here, use this: Thread[{"Sun", "Mon", "Tues", "Wednes", "Thurs", "Fri", "Satur"} ~~ "day"]
Aug
6
comment Incompatible Changes since Mathematica Version 7?
@Mr.Wizard I think we have (at least in the past) consistently been applying CW to anything that calls for a growing and collaborative "list of x" regardless of whether that list is presented as one post or many. It is a more recent phenomenon that such questions are not CW, but that seems more an oversight... I don't have a particular opinion on the format — I'm sure there are other equally useful formats that others might come up with. Your choice shouldn't prevent them from using theirs. I added my entry to yours in your format because I didn't think it warranted a new post.
Aug
6
comment Incompatible Changes since Mathematica Version 7?
Yup, I almost always write a space for implicit Times. Probably started doing that because I used to (and still do) write in code cells or with non-interactive editors such as vim/IDEA.
Aug
6
comment Incompatible Changes since Mathematica Version 7?
Writing #x and #"string" in versions < 10 to mean # x and # "string" respectively is bad form anyway (a habit propagated by the Church of the Tersists, no doubt ;)). Such code deserves to be broken :P
Aug
2
comment Speed of curated data calls in Version 10
@NickLariviere Thanks for the info. I'm aware that I can use QuantityMagnitude, but returning quantity/entity objects is a huge breaking change (and unnecessary, IMO), especially for functions that have been around since v7. My packages have several modules that use GeoPosition and they're all broken now and it was a pain to go through and fix them. It would've been nice to have a system option that could alter this behaviour.