Reputation
70,783
Next tag badge:
215/100 score
20/20 answers
Badges
7 213 302
Newest
 Enlightened
Impact
~451k people reached

Mar
21
comment What tools can help in realizing tail recursion?
@rm-rf The biggest threat is to start thinking "it was never in threat" :-)
Mar
21
comment What tools can help in realizing tail recursion?
@RunnyKine Ok, great, I can now go to sleep and have nice dreams of conquering other lands, without a danger of being strangled in my sleep :-)
Mar
21
revised What tools can help in realizing tail recursion?
added 64 characters in body
Mar
21
comment What tools can help in realizing tail recursion?
+1, good stuff here. I generalized this a bit, see my answer :-).
Mar
21
comment What tools can help in realizing tail recursion?
@RunnyKine A good stuff here, I upvoted. But also see my answer :-).
Mar
21
answered What tools can help in realizing tail recursion?
Mar
21
comment How to punch a hole in some 3D distribution of points
@whuber Actually, I totally agree. Normally, I follow the practice you described. So, your answer really deserves to be accepted, not mine.
Mar
20
comment How to punch a hole in some 3D distribution of points
@whuber Thanks. The speedup comes from vectorization, to which functions such as Norm or EuclideanDistance are not directly amenable (Norm can be however compiled). I have been using similar constructs quite a bit in the past when dealing with similar problems.
Mar
20
comment How to punch a hole in some 3D distribution of points
@chris If you mean to allow points within some radial range to be kept or dropped probabilistically, then I can understand this, in such a formulation.
Mar
20
comment How to punch a hole in some 3D distribution of points
@Cham How do you define a notion to be inside or outside of such an object, for a given point?
Mar
20
comment How to punch a hole in some 3D distribution of points
@rm-rf The fact that my habits changed in the last few years does not mean that I don't have the relevant experience. In fact, you'd be surprised :-).
Mar
20
revised How to punch a hole in some 3D distribution of points
Added an illustration for the generalized problem
Mar
20
answered How to punch a hole in some 3D distribution of points
Mar
20
comment How to punch a hole in some 3D distribution of points
For speed,you can use my solution from here, which will be faster than using Norm or EuclideanDistance.
Mar
20
comment Data structure for a list of actions
What you seem to be after is a list (array) of nested hash-tables. A nested hash table can be implemented based on DownValues, SubValues, or System`Utilities`Hashtable - all of which is covered in various answers in the question linked by @m_goldberg.
Mar
20
comment Position with Except returns first item {0} and last item {}. Why?
It may be worth adding that the traversal is depth-first, head before elements, but the entire expression is considered last, not first. This would explain the ordering of the results.
Mar
20
comment Position with Except returns first item {0} and last item {}. Why?
+1. That was really fast, by the way.
Mar
19
comment How to anchor a Pane's scroll position to the bottom?
+1, This is really cool! I do need this sort of functionality myself for some things, so chances are that I will be using your findings!
Mar
19
comment Alternative updating of a dynamic expression
@István You don't have to explain your decisions regarding answer acceptance :-). Besides, I never thought of this answer as the solutiion, it feels more like a hack to me.
Mar
18
comment Alternative updating of a dynamic expression
@IstvánZachar Well, it just seems a bit of a round-about method. There may be a more direct one which I am not aware of.