91,186 reputation
15157392
bio website
location Oregon, USA
age
visits member for 2 years, 3 months
seen 47 mins ago

Happy New Year!


(also known as Spartacus)

Project Euler


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



Apr
15
comment How do I randomly select 'k' positions in a list and shuffle their respective elements without effecting the other elements?
Funny, I've always written this operation listA[[set]] = RandomSample @ listA[[set]] -- it never occurred to me to shuffle the indices though the effect is equivalent.
Apr
15
revised Initialize table in a Module but Break if criteria not met
added 759 characters in body
Apr
15
comment Initialize table in a Module but Break if criteria not met
+1 for answering the question as written, but I'm guessing that brama cannot test only the end-points of the Table iterator.
Apr
15
revised Initialize table in a Module but Break if criteria not met
added 759 characters in body
Apr
15
answered Initialize table in a Module but Break if criteria not met
Apr
15
comment Need to create a function to generate all permutations of Range[$n$]
@Leonid I would prefer that you copy and paste.
Apr
15
awarded  Good Answer
Apr
15
comment Need to create a function to generate all permutations of Range[$n$]
@Leonid The emphasis on the old question is: "Question: Is there a different way to generate the permutations that avoids this problem?" Will you consider moving your new answer?
Apr
15
comment Need to create a function to generate all permutations of Range[$n$]
Related: (9537), (21584)
Apr
15
comment Need to create a function to generate all permutations of Range[$n$]
Note to all posters: please take the time to look for duplicates before you answer. This question was almost certainly asked before, and finding a duplicate was easy.
Apr
15
revised Why are my recursive functions running so slowly? And how do I fix them?
simplify code; I overlooked that k is never used in the calculation itself
Apr
15
comment Why are my recursive functions running so slowly? And how do I fix them?
@Leonid I missed that one. +1 on your answer there.
Apr
14
comment Find the longest constant sublist
It looks like this question is almost a duplicate of Selecting a sublist based on Length, which shamefully the system had to point out to me. :-o
Apr
14
revised Find the longest constant sublist
added 141 characters in body
Apr
14
answered Find the longest constant sublist
Apr
14
revised Why are my recursive functions running so slowly? And how do I fix them?
added 780 characters in body
Apr
14
answered Why are my recursive functions running so slowly? And how do I fix them?
Apr
14
comment Manipulating a sublist based on position
Closely related: Elegant operations on matrix rows and columns and How to make MapAt work with Span?
Apr
14
comment Pass by reference for an option argument
Related: How to modify function argument?
Apr
14
comment Vector-calculus
I have now marked this as a duplicate because by the only way that I can interpret this it is, apart from Partition which you were shown in answer to your prior question. If this is not what you want you can still edit this question to clarify.