8,282 reputation
1439
bio website mertig.com
location Berlin, Germany
age
visits member for 2 years, 10 months
seen 1 hour ago

Being a trained physicist I learned Mathematica while developing FeynCalc. Since then I am stuck with Matheamtica. I do like some other programming languages like Fortran and Java.

I have my own company, GluonVision GmbH, in Berlin, doing mostly (web)Mathematica related consulting and projects.

Lately I became more and more insterested in CDF.

My Email is: Uncompress["1:ejxttmopcuznygaoys9jc8hnlsrjtndlzs8fafppb48="]


1h
comment Injecting list of controls into manipulate
@Nasser: I did not look at the link, just at your claim it would not be possible. Sorry. Clearly there should be a preprocessor or way better meta-programming features for the Wolfram Language. With is nice up to a point, but one can easily create quite unreadable code. Let's hope the language will actually evolve to something more usable for non-one-line-twitterable programs.BTW: I nearly always prefer DynamicModule over Manipulate.
2h
comment Injecting list of controls into manipulate
@Nasser why not? using With a lot is possible. Of course the code gets hard to read and to maintain once a bit bigger, but that's also doable in Workbench or IntelliJ plugin.
Nov
19
comment Writing a script in Mathematica like .m files of Matlab
Sure. Use Wolfram Workbench.
Nov
18
awarded  Outspoken
Nov
18
comment problems with loading a package
Try this: << GSKgeoPack`
Nov
17
comment How to implement kvo in Mathematica 10?
One idea would be to not use CompoundExpression in your programs, but, say, AngleBracket and do something like Unprotect[AngleBracket]; Precedence[AngleBracket] = 10.; SetAttributes[AngleBracket, HoldAll]; and then define AngleBracket[expr1_, expr2_, expri___] in such a way that after each evaluation of an argument a list of KVO pure function triggers would be checked. You could also add quite effective debugging this way I guess. Sorry to not work this out more, but time is short these days ...
Nov
15
comment How to remove “Null” from Timing output?
You could define myTiming = Function[expr, First[Timing[expr]], HoldFirst] and then myTiming @ Do[Integrate[x^i, x], {i, 10^4}]. Notice that myTiming = Composition[First, Timing] does not work, contrary to what one would expect.
Nov
11
reviewed Reject suggested edit on Cropping a Voronoi diagram
Nov
8
comment Insert a linebreak and character repeatedly into a matrix output which is in fortranForm
Yes. E.g. : feyncalc.org/FeynCalcBook/Write2
Nov
8
comment Output of matrix in FortranForm
feyncalc.org/FeynCalcBook/Write2
Nov
7
answered Output of matrix in FortranForm
Nov
4
comment Use Compile to speed up evaluation
ParallelTable may speed up a bit. As well as putting n=5000. and not n=5000
Nov
3
comment Adjusting axis and grid-line appearance in a polar plot
And this kind of works for the ticks: PolarTicks->{{\[Pi],180 \[Degree],{pl,0}},{\[Pi]/2,90 \[Degree],{pl,0}},{2 \[Pi]," 0\[Degree]",{pl,0}},{(3 \[Pi])/2,270 \[Degree],{pl,0}},{{1.1,Framed[Style[1.1,12,Bold],Background->White]},{2.,Framed‌​[Style[2.,12,Bold],Background->White]}}}
Nov
3
revised Manipulate in Manipulate
added 18 characters in body
Oct
31
comment How could I upload a XLS file to Cloud and then plot it?
This is a related question and still unanswered by WRI. I did ask at the WTC conference last week, sent a mail to a main developer, but never heard back (maybe it went into a Spam folder? Or they are very very busy fixing things. Probably.)
Oct
28
comment How to track Part of Symbol or How to symbolize Parts of Symbol without copying data
f=Function[var,DynamicModule[{var=1},Dynamic[{RandomReal[],var,Button["+",var++‌​]},TrackedSymbols:>{var}]],HoldFirst] and then f[a] does update.
Oct
25
comment Weird behavior of conditions when using OptionsPattern and OptionValue
Is this o.k. for you?Options[Foo] = {Bar -> True}; Foo[a_, b___, c_ /; ! OptionQ[c], OptionsPattern[]] := A /; OptionValue[Bar]; Foo[a_, b___, c_ /; ! OptionQ[c], OptionsPattern[]] := B /; ! OptionValue[Bar];
Oct
17
comment Upload a file using a WolframCloud WebForm
Why don't you contact Wolfram support? They should really be able to figure this out. If you don't get an answer by Tuesday let me know: I will be at the WRI conference and can ask around.
Oct
16
accepted What is special about 70.329862 and InputField and Number and Dynamic?
Oct
16
comment What is special about 70.329862 and InputField and Number and Dynamic?
@kirma: very nice analysis. But I am going to accept Michael E2's answer because it provides a fix ( the greatest thing of M is that knowledgable users can fix bugs way ahead of WRI).