1,168 reputation
17
bio website
location
age
visits member for 5 months
seen 15 mins ago
stats profile views 94

1h
comment Every second evaluation in notebook front end is slow
Evaluate $AllowInternet = False and see if that changes anything.
1d
answered Dynamic graph visualisation using JLink/Java and GraphStream
2d
comment At what point should MLSetMessageHandler() be called?
@Szabolcs Well, that's what I get for looking at an old .tm.c file instead of a newer one. You are correct, the current prototype has ints for those arguments.
May
20
comment At what point should MLSetMessageHandler() be called?
Whether your handler function is right depends on what the myabort() function does. The default stdhandler simply sets the values of the globals MLAbort and MLDone, which are examined by the mprep-created code at the end of each call into your program. If MLAbort is 1, then the mprep code sends back Abort[] instead of the result of your function. Therefore, your myabort() function should set MLAbort = 1. If your function is a Manual return type, then things are different, and you are sending back the Abort[] yourself, so there is no need to manage the value of MLAbort.
May
20
comment At what point should MLSetMessageHandler() be called?
The standard way to define a message handler function is with the MLMDEFN macro, and I recommend that you use it: MLMDEFN(void, msghandler, (MLINK mlp, unsigned long message, unsigned long n)) { ... }. Note that the two parameters are longs.
May
14
answered Cannot call custom function loaded from script using C/C++ MathLink
Apr
16
comment Help bogged down at first query
This is likely the same problem and solution as this question.
Apr
16
comment How to do http POST in Mathematica?
Here's an example: URLFetch["http://foo.bar.com/myService", "Method"->"POST", "BodyData"->"{ \"myJsonStuff\" : {\"number\" : 1} }"]
Apr
4
answered Unencoding encoded URLs in a function
Apr
2
answered Wolfram Workbench problem with JLink
Apr
2
answered CreateCOMObject doesn't work on home edition
Mar
12
awarded  Editor
Mar
12
revised Documentation searches hang frequently: Anyone else dealing with this?
Additions from WRI developer
Mar
12
suggested suggested edit on Documentation searches hang frequently: Anyone else dealing with this?
Mar
12
comment Documentation searches hang frequently: Anyone else dealing with this?
Thanks for posting this. When we talked I promised I would do it myself, but it slipped my mind. I've edited your answer to include some more comments.
Mar
7
awarded  Commentator
Mar
7
comment How can I get all the results from a Wolfram | Alpha query?
Fora slightly condensed form, you can group all four "More" requests into a single string: WolframAlpha["city in orange county, california", {{"Cities:USCountyData", 1}, "ComputableData"}, PodStates -> {"4@Cities:USCountyData__More"}]
Mar
6
answered Running .NET/Link on Mono (On MacOS or any UNIX or Linux Distro)
Feb
1
answered MathLink C API: sending a List[] of so far unknown length
Jan
30
comment Using LinkSnooper for monitoring the communication with an installable MathLink program
Great, halirutan beat me by 20 minutes! Plus, he said it better.