Reputation
28,426
Next tag badge:
149/100 score
18/20 answers
Badges
2 60 131
Newest
 Excavator
Impact
~138k people reached

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
Jul
24
answered Using Merge[Identity] and Transpose on a Dataset
Jul
22
comment Using Merge[Identity] and Transpose on a Dataset
As @halirutan says, Transpose within a query is actually transformed to another function, namely GeneralUtilities`AssociationTranspose. We can see this by evaluating Query[Transpose] // Normal. Thus, we must write data[f] /. f -> GeneralUtilities`AssociationTranspose to get something essentially equivalent to data[Transpose] // Normal. Another way would be to write Unevaluated[data[f]] /. f -> Transpose, which would leave the result as a dataset.
Jul
21
comment How to Negate a Pattern Test and Transform a List of Strings to a JSON array
+1 Unrelated to "negating a pattern test", but incidentally it is unnecessary to check listEmptyQ for the pattern {__String} (two underscores) since it will only match non-empty lists. The pattern {___String} (three underscores) will match both empty and non-empty lists.
Jul
21
revised Inserting symbols' definitions during read time of the code
added the requirement from a comment that the package contents cannot be modified
Jul
21
comment Inserting symbols' definitions during read time of the code
@Kuba Yes, but testFunction as written is defined to use Test`Private`explicitvalue (I'm thinking defensively).
Jul
21
comment Inserting symbols' definitions during read time of the code
The example as written defines explicitvalue in the private part of the package. We need to reference it in the public part, e.g. add explicitvalue::usage = "..." before the private part.
Jul
21
comment Given the OneIdentity attribute why is GCD[a] evaluated to GCD[a]?
@Praan Yes, that is a better way to phrase the rule. I have adjusted the wording and added two more examples. Thanks.
Jul
21
revised Given the OneIdentity attribute why is GCD[a] evaluated to GCD[a]?
reworded the restriction following the advice of @Praan (and added examples)
Jul
20
revised 10.2 Dataset extraneous print using Transpose
added a note about the fix by paclet update
Jul
20
revised 10.2 Dataset extraneous print using Transpose
added information concerning the paclet update that fixed this problem
Jul
20
awarded  Nice Answer
Jul
19
comment 10.2 Dataset extraneous print using Transpose
@chris Personally, I think the patch is perfectly safe. But obviously WRI aren't going to support it.
Jul
18
comment Extracting values from nested rules in JSON data
+1 In 10.2, we can use Import[..., "RawJSON"] which automatically returns associations.
Jul
18
comment Streaming`LazyList`Testing may have a leak
@LeonidShifrin I've added a response that contains minimal reproduction steps, a speculative diagnosis and a partial work-around.
Jul
18
revised Streaming`LazyList`Testing may have a leak
added the _Diagnosis_ and _Partial Workaround_ sections