Reputation
66,273
Next tag badge:
209/100 score
19/20 answers
Badges
6 195 286
Newest
 Nice Answer
Impact
~419k people reached

Apr
14
awarded  Nice Answer
Apr
14
comment Is it possible to `Protect` a dynamic programming process?
@Santi This is surely possible. The simplest is to have a list of functions and automate this, like Scan[Function[sym, Pattern[call,Blank[sym]] /; MemberQ[Attributes[sym], Protected]:= withCodeAfter[Unprotect[sym];call, Protect[sym]]], {func1,func2,func3}] (untested, but you get the idea).
Apr
14
awarded  Good Answer
Apr
12
comment Programmatic formatting for Mathematica code - possible?
@HyperGroups Well, first of all, CodeFormatterMakeBoxes takes an expression (just like MakeBoxes), not a boxed form, while your cells contains already boxed form of an expression. So, you still need to provide a wider context of what you need, preferably in that question (not here). As to overriiding HoldAllComplete, one possibility is to do what Kuba suggested: CodeFormatterMakeBoxes[#]&[expr].
Apr
12
comment Programmatic formatting for Mathematica code - possible?
@HyperGroups What is the exact expression you want to convert to boxes? What is in cells variable? You don't give enough information to answer your question.
Apr
2
comment Why is a symbol still found after changing its context?
As for 2: I have not seen mentions of this in the docs, but this has certainly been noticed and discussed here on SE before. In particular, I made use of this effect here, where also the comments below that answer refer to earlier discussions regarding this topic. In fact, those comments also mention the first point in your question, although give no answer for it.
Mar
30
awarded  Guru
Mar
30
awarded  Guru
Mar
30
comment How do I get my equation to have the form $(x-a)^2 + (y-b)^2 + (z-c)^2-d = 0$?
@Kuba In general, it is. The first form relegates the default value to the function where you use the pattern, the second one specifies it explicitly.
Mar
27
comment DatePlus and DayPlus perform much worse than my user-defined-function
Have you seen some of the past questions / answers on this topic, involving Java, like this discussion for instance? I found that for date functions, and when you need to perform operations in a bulk, this approach works well.
Mar
27
comment Ordered associations
Apparently, this seems to not be mentioned in the docs explicitly, at least not on the main Association doc page. One can sort of figure this out by the fact that one can use Part with numerical indices on associations, but such fundamental property should be mentioned explicitly. I will file a suggestion report.
Mar
27
comment Ordered associations
Associations are ordered.
Mar
26
answered Testing a package in Mathematica 9
Mar
24
revised Why can I not replace a Dataset using a rule?
Correction to my last statement
Mar
24
revised Why can I not replace a Dataset using a rule?
Added a note why this method might be better
Mar
24
comment Why can I not replace a Dataset using a rule?
+1. Apparently, more complex solutions are always late.
Mar
24
answered Why can I not replace a Dataset using a rule?
Mar
24
revised How to find out where an error occurs?
Generalized the functionality of debug
Mar
24
answered How to find out where an error occurs?
Mar
24
comment How to find out where an error occurs?
I wrote a function, debug, which implements some of the suggestions given to you in comments. You can try using it, it has been one of the best debugging tools for me. I have also included it in RLink, so you can call Needs["RLink`"], and then call RLink`Developer`debug[your-code].