134,480 reputation
17243545
bio website
location Oregon, USA
age
visits member for 3 years, 2 months
seen 57 mins ago

(also known as Spartacus)


See those two pins? Well today I'm going to... stick them in you.


Ok, let me come clean: Mr.Wizard is actually an alias of mine... I'm glad I can finally confess. ― Sjoerd C. de Vries

No, I'm Spatac... I mean, Mr.Wizard! ― R.M

I'm Mr.W, and so's my wife! ― acl


@Spartacus, it was not fixable. ― rcollyer

check again; I just fixed it. :-p ― Spartacus


"This is the internet, where the men are men, the women are men and the children are FBI agents..." ― yoda Dec 18 '11 at 6:06


"My main purpose of being here is in collecting the votes. I'd even go further and say that this is my main purpose in life." ― Leonid Shifrin


"I am making some voodoo dance and invoking the rain God while we talk" ― belisarius


Some people are fortunate. Others get married. ― belisarius


It's not that easy to do the untangling even manually though. – Szabolcs

Maybe you could turn it into a puzzle and let other people do the untangling :-) – Heike

I could make a web based game, and feed all my graphs to the visitors.
SE is a big game, isn't it? :D – Szabolcs


"ListContourPlot crush on simple 5-points data" (Question title)

"Yes, this must be love at first sight."ruebenko


... but I am working with a large body of code written by an incompetent fool (i.e. myself, several years ago...) – Simon Woods


I was tempted to edit your title: "Do rules rule?" But my nose is still bleeding as a result of a limerick. – belisarius


No, but they nowadays let me turn off the lights at night; 24 hours of fluorescence was really starting to make me feral. Brett says I should also mention the tip jar... – Daniel Lichtblau Mar 13 '12 at 20:48


Project Euler


48m
comment Is this 30% slowdown in Mathematica 10 due to DownValues lookup time?
So version 10 finally gets (some) of the bug fixes it needs but only in a paid upgrade? Yuck!
1h
comment How to insert a Matrix into a larger matrix
@MrZ (1) I hadn't thought about it but yes I guess in this case the result is the same even without the level parameter of MapThread. In fact MapThread can be eliminated. You can control placement by using the forth parameter of PadLeft, e.g. PadLeft[#, Dimensions@#2, #2, 1], or by using PadRight instead. ArrayPad could also be used but its padding specification is additive rather than absolute.
4h
comment Why does Simplify ignore an assumption?
@Sjoerd Yes, and Adam explicitly states exactly that. I think it's kind of the point: to consider all variable orderings gets very expensive very quickly. I suppose optimization may be possible but I am just the messenger here.
20h
comment How can I get from a list of characters representing a permutation to graphics showing the cycles?
letter is undefined
23h
comment How to check if two nested lists have the same structure?
@rcollyer I always appreciate the help checking my work. I voted for yours too by the way. I included an update that should be somewhat more efficient but it is not as clean as I would like. I may return to this later.
23h
comment How to check if two nested lists have the same structure?
@rcollyer Are you referring to the code with Inner or the correction with MapThread?
1d
comment How to check if two nested lists have the same structure?
I believe this question is a duplicate or at least a version of an earlier one. Can anyone recall?
1d
comment How do I prune a list of pairs of numbers so that each number occurs on only one pair?
By the way Unevaluated @ Sequence[] is so mundane; all the cool kids use ##&[] now. ;^) (3705)
1d
comment How do I prune a list of pairs of numbers so that each number occurs on only one pair?
The opening is a bit terrifying, but +1 nevertheless...
1d
comment How do I prune a list of pairs of numbers so that each number occurs on only one pair?
Related: (8154)
1d
comment ListLogLinearPlot for the whole real numbers
Related: (9674)
2d
comment Using Map sequentially
@user23438 You're welcome. I'm kind of notorious for using ~infix~ syntax; personally I find it very useful to reduce the stacking of [[[brackets]]] which I find very hard to read; other people think the infix is hard to read. My advice it to experiment for yourself and see what you find more readable after experience with several styles. See also: (56504)
Mar
29
comment ListLogLinearPlot for the whole real numbers
"I know that logarithm is defined on the positive numbers. I only need log scale in both directions." -- okay, but what would happen in the area around zero? Should it simply be omitted from the plot?
Mar
29
comment Calling dynamic functions multiple times
You are using Module with Dynamic; don't do that. Replace it with DynamicModule and try your code again. Does it work?
Mar
29
comment realtime audio processing possible?
@Szabolcs I would like to close and merge this as a duplicate of (13656) to keep all relevant answers in one place. That question could be edited to be more general of necessary. Do you agree?
Mar
29
comment speeding up creation of SparseArray
Please register an account. It only takes a few minutes. I am going to convert this "answer" to a comment now.
Mar
29
comment How to parse string to expression?
This doesn't make sense. Your UPDATE 2 now reads as if a // ToExpression is your solution. I am sorry but I am going to stop trying to understand this problem. Perhaps someone else will have an easier time interpreting your needs. :-/
Mar
29
comment How to parse string to expression?
Yes, but you did not provide it in Mathematica code therefore one cannot tell what parts of it are Strings and what parts are not, etc.
Mar
29
comment How to parse string to expression?
The input shown in UPDATE 2 is not a String. Your output is still ambiguous, unless you actually want a bitmap image as output. Please provide the real input and real output that you want it to produce.
Mar
29
comment How to parse string to expression?
2/3 cm contains cm which would be parsed as a Symbol; {1, 2, 3} would be parsed as a List; is this correct? Please see my comment below the answer also.