108,866 reputation
16192454
bio website
location Oregon, USA
age
visits member for 2 years, 7 months
seen 6 mins ago

Version 10 empowered!


(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


Project Euler


Aug
29
comment WordData [ ] returns ReplaceAll::reps error message
Possibly related: (29216), (39110). No solutions there, unfortunately.
Aug
29
comment WordData [ ] returns ReplaceAll::reps error message
Please include the details of your system, e.g. Mathematica version, platform, etc.
Aug
29
comment Splitting strings at lower case characters and numbers
@s0rce Thanks for the Accept.
Aug
29
comment Splitting strings at lower case characters and numbers
A powerful use of regular expressions. Is it possible to write this as a StringExpression? I can't think of a way at the moment.
Aug
28
awarded  Nice Answer
Aug
28
revised Splitting strings at lower case characters and numbers
I left a useless Pattern and rule in my example in the comment; I removed these now.
Aug
28
comment Splitting strings at lower case characters and numbers
There is a precision about this that I like, and I can see the effort that you put into it. +1 One could replace the second part with: StringCases[string, DigitCharacter .. | elements] if desired. Also, these string functions are set up to work with lists of patterns so I believe you can drop the Apply[Alternatives, part.
Aug
28
comment Purpose of construct `With[{var=myComputation[…]}, var/;True]`?
Sorry, I should not have ignored that. Those questions are already addressed in various posts, including: (18), (5059), (16485), (24988)
Aug
28
revised File-name completion for custom functions
edited tags
Aug
28
comment Splitting strings at lower case characters and numbers
ybeltukov I am happy to see you posting again! Unfortunately you fell into the same trap I did; see the edit history of my answer. :^)
Aug
28
comment How to get Symbol[“x”]=3 to work
@Mark It occurs to me that for programmatic applications your _?StringQ is probably necessary as you may not have a literal string but rather an expression that evaluates to a string. I changed my code above to reflect this.
Aug
28
comment How to get Symbol[“x”]=3 to work
@Mark Rather than modifying Set I recommend that you use an UpSet on a special head as WReach did here and I did here. Proposal: Set[svar[s_?StringQ], R_] ^:= MakeExpression@s /. _[L_] :> (L = R) now svar["x"] = 5 works. You should probably then Protect[svar] to prevent unwanted assignments.
Aug
28
comment How to get Symbol[“x”]=3 to work
@Mark regarding "Clear is not useful"` that is not true; see: (37755)
Aug
28
comment Purpose of construct `With[{var=myComputation[…]}, var/;True]`?
It is known as the "Trott-Strzebonski method for In-Place Evaluation." If you search for the word "Strzebonski" you will find numerous references. I am closing this question as this is well explained already. (See the link in the header.)
Aug
28
comment Splitting strings at lower case characters and numbers
@RunnyKine Thanks! :-) Hopefully it makes up for my earlier blunder.
Aug
28
revised Splitting strings at lower case characters and numbers
added 191 characters in body
Aug
28
revised Splitting strings at lower case characters and numbers
added 89 characters in body
Aug
28
answered Splitting strings at lower case characters and numbers
Aug
28
comment Data paste in piecewise table
As far as I know the copied expression needs to be in GridBox format to paste into multiple selected Placeholders, meaning that what you request may be impossible without intermediate conversion. This at least works, though it may not be applicable to your situation: Table[{a^i}, {i, 3}] // Grid. Note that you must select only the column of vales and not the entire grid or it will still fail; this may be accomplished by drag-selection from within the column rather than from outside it.
Aug
28
reviewed No Action Needed Data paste in piecewise table