61,337 reputation
6185278
bio website mathprogramming-intro.org
location St. Petersburg, Russia
age 38
visits member for 2 years, 11 months
seen 31 mins ago

Ok, an obligatory note: opinions expressed here are mine and not those of my employer.


Nov
27
comment Can a Trie be implemented efficiently?
@Mr.Wizard No problem :). This didn't take any time to check, in any case. I was actually a bit surprised with a speedup, given a small number of rules on every level.
Nov
27
comment Can a Trie be implemented efficiently?
@alancalvitti I have updated my post below. As to Dataset, I think it will be an overkill and actually not an appropriate thing to do to use it for a trie. It will also be much slower.
Nov
27
revised Can a Trie be implemented efficiently?
Updated with an implementation based on Associations
Nov
25
comment Programmatic formatting for Mathematica code - possible?
@Silvia Actually, I have no relation to that work. I think this is probably John Fultz's, given that he was mentioning his desire to have this a few times here on SE. That's an interesting bit of information, though, I wasn't aware of that. Thanks for letting me know!
Nov
25
comment Parsing RLink RObject for aovlist and other object types
Some concrete minimal example would be helpful, with the comments of what you are currently getting and what you'd like to be getting.
Nov
23
awarded  Guru
Nov
23
awarded  Enlightened
Nov
23
awarded  Nice Answer
Nov
22
awarded  Enlightened
Nov
22
awarded  Good Answer
Nov
22
awarded  Nice Answer
Nov
20
comment How to abort silently?
@JacobAkkerboom You are probably right. I guess I just used the mental pattern I had for $Pre, automatically.
Nov
20
comment How to abort silently?
Well, you can use something like this: $Post = Function[code,Unevaluated[code]/.$Aborted->Null, HoldAll].
Nov
20
awarded  Enlightened
Nov
20
awarded  Nice Answer
Nov
18
comment $Epilog does not work when exit
It might be possible, but that would require the knowledge of the specific Front End hooks, which would need to be defined instead of $Epilog, provided that such hooks exist (if they exist, I am not aware of them).
Nov
18
comment $Epilog does not work when exit
My guess is that for both of the two methods you mentioned last, the $Epilog hook is not triggered, because they quit the kernel via a different route. Presumably because they both are initiated by the Front End. Let's wait for someone with a deeper knowledge of this mechanism to comment on this.
Nov
18
revised $Epilog does not work when exit
added 12 characters in body
Nov
18
awarded  Nice Answer
Nov
16
answered Using a held option