Reputation
30,108
Next tag badge:
480/400 score
65/80 answers
Badges
3 66 147
Impact
~298k people reached

Jun
23
comment Dialog inside dialog not DialogReturn-ing properly
+1 Yeah, it helped, thanks! Now I scrapped a solution that haven't tested intensely but I'm posting it as a self answer
Jun
22
comment How to Set parts of indexed lists?
@LeonidShifrin, nice one, and that could also allow me to remove the $guardOver from my version and make it more readable. Out of curiosity, Set doesn't seem to be recursive, so another alternative for cases where you've already messed with SetDelayed is something like #&[sym][index] = ...
Jun
22
revised How to Set parts of indexed lists?
edited body
Jun
22
comment Using a built-in symbol as a variable
@Jens, weird he hasn't put it in his own answer...
Jun
22
answered Using a built-in symbol as a variable
Jun
22
comment How to Set parts of indexed lists?
Thanks! @grw, I just saw a tiny bug in the first solution (the one with MakeExpression) and fixed it. Be sure to use the new one.
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