Reputation
10,260
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 27 108
Impact
~132k people reached

Dec
8
comment How to export heterogeneous data to single file?
@AlbertRetey I want to export an association with heterogeneous data (including images) to a static file of some standard format, seems ridiculous but I still haven't found a way to do that!
Dec
8
comment How to export heterogeneous data to single file?
@AlbertRetey you're right doesn't work without compress
Dec
8
comment How to export heterogeneous data to single file?
That's true. So I should use CompressionLevel option in ExportString instead of Compress!
Dec
7
comment How to export heterogeneous data to single file?
@Szabolcs I don't believe #2 is true, if i copy paste the generated string into a file and rename to the extension .jpg, I can open the image directly on my mac with preview.
Dec
7
comment How to export heterogeneous data to single file?
Yes I know that, all in asking is if export string + compress is the way to go
Dec
7
comment How to construct a tree from a notebook?
@Kuba Right, just updated the question.
Dec
4
comment How to construct a tree from a notebook?
Nice, I like how this extracts the groupings graph, but in a real use case the contents of cells like input and program might be very complicated, it would be better to use references in the form of CellObjects, don't you think?
Dec
4
comment How to find alignments of interlocking shapes?
Thanks for your answer, how would you get tweak this to get all possible fits (there are 2 best)
Dec
4
comment Intersecting ellipsoids
Check the docs for ref/RegionIntersection under Possible issues, and it says RegionIntersection functionality in 3d is not complete.
Dec
4
comment Intersecting ellipsoids
Just checking, but you do know RegionIntersection is not implemented for MeshRegion objects embedded in 3D?
Dec
4
comment How to find alignments of interlocking shapes?
Ooops, my mistake, adding it now.
Dec
4
comment Why this upvalue doesn't escape from Sum?
What would you like Sum[x, {x, 1, f[3, a]}] to become?
Dec
4
comment Why this upvalue doesn't escape from Sum?
The f in the sum expression is inside a list and so it won't match your pattern.
Dec
3
comment Unescape Formatting in Strings
Can you give an example of the desired output? Do you want "FractionBox[SubscriptBox[x, max], t]" instead?
Dec
2
comment How to construct a tree from a notebook?
And also, I'm only considering the standard CellGroupingRules -> Automatic in my notebooks (with various stylesheet override) but not GroupTogetherGrouping nor GroupTogetherNestedGrouping, both of which complicate things as you noted.
Dec
2
comment Unescape Formatting in Strings
You mentioned evaluating in place doesn't work, seems to work for me, any other clues?
Dec
2
comment Save a Mathematica notebook evaluated
LocalSymbol might be what you need.
Dec
2
comment How to construct a tree from a notebook?
For simplicity let's assume that the first cell in any group of any type is the parent
Dec
2
comment How to construct a tree from a notebook?
correct, but I'm saying let's treat them as children of the first cell in their group
Dec
2
comment How to count number of small dots in a picture
Check out this blog post by the head of WRI's image processing team: blog.wolfram.com/2012/01/04/…