Reputation
29,678
Next tag badge:
474/400 score
65/80 answers
Badges
2 64 143
Newest
 Enlightened
Impact
~285k people reached

Jun
22
revised How to Set parts of indexed lists?
added 20 characters in body
Jun
22
comment How to manipulate 2D plots?
@IstvánZachar, great that you're improving this :) :). It seems I lose all interactivity after replotting. Am I doing something wrong?
Jun
22
comment How to Set parts of indexed lists?
Leonid, this got me thinking about how I would have done it. Posted it as an answer because the code got long for a comment, with the appropriate warnings, and an extra idea to ease my conscience on posting it as an answer
Jun
22
answered How to Set parts of indexed lists?
Jun
22
comment How to Set parts of indexed lists?
Right, and furthermore you avoid creating a different symbol every time a certain index is reassigned a new value, leaking memory. My yet-non-DownValues-user instinct would have led me to tackle both issues differently. Using explicit DownValues is something that doesn't come straight to mind
Jun
22
comment How to Set parts of indexed lists?
+1, nice one! What's the purpose of setting the DownValue by hand only when there's no other downvalue associated with the symbol, versus simply sym[index]=ref?
Jun
22
comment Happy 2K prime question
Hehe, can't fight knowledge with brute force. +1!
Jun
21
revised Dialog inside dialog not DialogReturn-ing properly
added 21 characters in body
Jun
21
comment Dialog inside dialog not DialogReturn-ing properly
What did that change?
Jun
21
comment Dialog inside dialog not DialogReturn-ing properly
That doesn't seem to work... I'm on 8.0.0 right now, and that prevents the failed return but doesn't prevent the early return. Changes $Failed to Null
Jun
21
asked Dialog inside dialog not DialogReturn-ing properly
Jun
21
comment ShearingTransform and Dynamic
Naive InheritScope->True doesn't seem to survive the full synch. How would you deal with that? DynamicModule[{x}, {Slider@Dynamic@x, Button["h", CreateDialog@DynamicModule[{}, Dynamic[x], InheritScope -> True]]}]
Jun
21
comment Happy 2K prime question
Thanks @Szabolcs, fixed
Jun
21
revised Happy 2K prime question
deleted 2 characters in body
Jun
21
comment Happy 2K prime question
You just made me look for an alternative to Total[IntegerDigits[#]^2], and since what I found seems to be faster than that one, I used it myself, hehe. But I hereby, on the record, grant you the exclusive license to use it #.#&[IntegerDigits[#]]
Jun
21
awarded  Nice Answer
Jun
21
revised Happy 2K prime question
deleted 1 characters in body
Jun
21
comment How to manipulate 2D plots?
This is great, +1! Now we need to extend it to allow for a replotting event in all cases possible
Jun
21
comment Happy 2K prime question
By the way, weren't you about a month ago making Mr.Wizard repeat "I will not use AbsoluteTiming to measure timings"? Hehe
Jun
21
comment Happy 2K prime question
You tested the boringer simpler version of my edit?