Reputation
4,904
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
2 20 55
Newest
 Necromancer
Impact
~160k people reached

May
19
comment How to compile a function whose arguments are lists containing strings?
You could convert input strings to integers and convert them back to strings in the output of the compiled function, if the strings are not supposed to change in the program.
May
16
comment What are the most common pitfalls awaiting new users?
Just as a comment on a syntax issue that caused me problems when I had less experience, === and =!= allow to compare expressions of different types, like a number and a list, whereas == and != would return unevaluated in 2 == {} . Using TrueQ in this case garantees to get a boolean TrueQ[2 == {}]
May
15
comment Using SendMail with new Google Security Rules
I confirm what Sjoerd said about app specific password, it just worked for me.
May
10
comment Debugging a $RecursionLimit error?
This helps, thanks Kuba
May
9
comment Save a C compiled function without losing the blessing of C compiler
Yes, CreateLibrary is practical to know where to export the library.
May
9
comment Save a C compiled function without losing the blessing of C compiler
C compiled is not Mathematica code. There's a function CreateLibrary or something like this to create a dll from mm code. Unfortunately you cannot compile many functions in a single dll.
May
4
comment Recommended settings for git when using with Mathematica projects?
As a note if you use wolfram workbench the eclipse plugins egit and mylyn with the github connector work very well. They allow to integrate github and issues tracking directly into eclipse as GUIs. Mylyn allows to track tasks and contexts (files open and current lines viewed for a given task!)
Apr
28
comment V10's Operator Forms - what are they good for?
@Mr.Wizard , I think your last example is even simpler to understand written this way because operations are written in the same order they are processed: Range@9//partition[3]//Map[Append[11]]//Map[SortBy[mod@5]] . I use the style described in this post mathematica-guide.blogspot.co.uk/2011/12/…
Apr
28
comment Best way to represent a complex time schedule?
This is intersting but I need a need a regular schedule involving week days.
Apr
14
comment Compiling more functions that don't call MainEvaluate
As a comment having learned some Python recently, the solution presented above is similar to what Cython brings (a big acceleration to normal Python code) except that you don't need here to define local variables in a special manner, everything is basic Mathematica code. This solution should be useful to a lot of people should they find this post ...
Apr
9
comment Shaving the last 50 ms off NMinimize
Yes it has, I'm using it.
Apr
9
comment Shaving the last 50 ms off NMinimize
The code in this miminizer contains many methods I haven't seen anywhere else, plus it works well, this is one of my favorite post on this site.
Apr
5
comment Filtering Query Nested Data (Dataset and Association)
In fact each # in the Select is an association, so this is not a special syntax. Useful post anyway !
Apr
5
comment Filtering Query Nested Data (Dataset and Association)
Indeed, after reading this useful answer, I haven't found a reference for this syntax in the documentation. Maybe it exists, but it's likely not easy to find.
Mar
16
comment How to evaluate a function on a list until stable?
There's a FixedPoint function.
Mar
13
comment Missing elements using FinancialData
this will help mathematica.stackexchange.com/q/46760/66
Mar
9
comment Where can I find examples of good Mathematica programming practice?
Ok, I've found another source for the doc and updated the list.
Feb
13
comment Wolfram Workbench - Mathematica Development Alternatives
Wolfram Workbench is still useful for big projects involving several packages. I don't think you can rename a function accross several packages with notebooks in one command.
Feb
7
comment Smart pointer for Mathematica?
My goal would be to do Class[object].delete[] when the reference would be garbage collected. So even if Temporary were a solution, I would still need to know when the deletion of the temporary symbol happens.
Feb
1
comment Using up-values and down-values
Thanks but G[2,e] can be an intermediate state. An object e[2] might call the definition of f stored in G, the call will then be G[2,e].f[]. But if I return just the object, I want it to be returned as e[2], ie it's main representation.