Reputation
28,386
Next tag badge:
149/100 score
18/20 answers
Badges
2 60 130
Impact
~138k people reached

Aug
5
answered ToExpression processing errors
Aug
5
comment Windows command line arguments, stdin & stdout
@William Streams named "stdout" and "stderr" are available, e.g. WriteString["stderr", "bad news!"]. As to re-using a session using only streams and strings, the only approach that comes to mind at the moment is to implement a Telnet-like protocol where Mathematica and the other process take turns sending commands and responses back and forth. MathLink would give complete fine-grained control but would take more effort to set up.
Jul
31
comment Creating a generic empty list with JLink
@mfvonh If you are referring to implementing a Java interface in JLink, and the API requires the implementations to carry annotations then, yes, we are out of luck. JLink has no current support for implementing annotations.
Jul
31
comment Creating a generic empty list with JLink
@mfvonh The generic type arguments are inaccessible to such APIs -- even in Java. In the absence of source preprocessing or other out-of-band information, those APIs will require us to pass class objects as explicit method arguments somewhere along the line. JLink allows us to pass class arguments provided we recover the native class objects using JLinkClassLoader. For example, see (22730). [...continued...]
Jul
28
comment Visualizing Type System Operations
@Leonid I look forward to the prospect.
Jul
26
answered How to discover a Java Class Path used by LoadJavaClass?
Jul
26
awarded  Good Answer
Jul
26
awarded  Curious
Jul
26
awarded  Nice Answer
Jul
26
awarded  Nice Question
Jul
25
asked Visualizing Type System Operations
Jul
25
answered Visualizing Type System Operations
Jul
25
awarded  Nice Answer
Jul
24
comment Dataset seems to break Information
@StefanR You have an incoming "feedback" email from me as well, CASE:3391689 :) With more details coming.
Jul
24
comment Dataset seems to break Information
@StefanR Indeed, that was my point about the similarity to Graphics. In fact, Dataset is a little better than Graphics in that it only renders when it is the outermost head. That is why the original problem is surprising: a Dataset is being rendered even though it appears in a non-top-level context, namely the right-hand-side of a definition. This is potentially dangerous, and a regression from v10.1.
Jul
24
revised Dataset seems to break Information
Added the similarity to `Graphics`.
Jul
24
revised Dataset seems to break Information
added an update about evaluation leaks
Jul
24
revised Dataset seems to break Information
added the note about an interaction bug
Jul
24
answered Dataset seems to break Information
Jul
24
revised Using Merge[Identity] and Transpose on a Dataset
deleted 1 character in body