12 votes
Accepted

Memory leak with Mathematica Graph functions

Here is another possible way to eliminate the impact of history, etc. The following code aborts on my machine after printing to the console three times. ...
Victor K.'s user avatar
  • 5,156
8 votes

Adding computer vision datasets?

It seems that Wolfram Data Repository can be used to share data using ResourceObject. Here is a simple example: ...
xslittlegrass's user avatar
8 votes

Find and load all ResourceFunctions as top level functions?

There is a helpful function named PersistResourceFunction that permanently stores a function. Here is what I did: ...
Peter Burbery's user avatar
7 votes

Find and load all ResourceFunctions as top level functions?

I dug and found where the names for the autocomplete are cached: ...
b3m2a1's user avatar
  • 46.9k
7 votes

How to keep downloaded curated data

In Mathematica 10.4.0 (February 26, 2016), StarData[] and similar, e.g. MinorPlanetData[], is now cached. It downloads only once,...
Andrzej Odrzywolek's user avatar
6 votes
Accepted

Optimal parallelization on Apple Silicon

There are several reasons why parallelization does not scale. Memory bandwidth bottlenecks are one of them (see my comment above). However, I don't think that this problem is really memory bound. I ...
Henrik Schumacher's user avatar
5 votes

Resource management in Mathematica

Version 12.2 introduced WithCleanup, an experimental but documented function to ensure safe resource disposal. The example from the question would look like this when using ...
WReach's user avatar
  • 68.9k
5 votes
Accepted

Plotting "on the fly" possible?

This solution uses the "RingBuffer" data structure. Dynamic[ds]; npts = 16; xticks = Transpose[{Range[1, npts], ToString /@ Range[-npts, -1]}]; ...
Syed's user avatar
  • 54.1k
4 votes

List of all image based ResourceObjects?

You can try using this method: ResourceData; ResourceSearch[{"ContentTypes"->"Image"}]
Mega Mind's user avatar
3 votes

Plotting "on the fly" possible?

Here is an example using "Dynamic". We simulate the long calculation by "Pause": ...
Daniel Huber's user avatar
  • 51.8k
3 votes
Accepted

GaussianFilter Slow Behaviour when std. Deviation in set to 0

Timing We can chart the effectiveness of the two methods with RepeatedTiming[] ...
Feyre's user avatar
  • 8,597
2 votes

Find and load all ResourceFunctions as top level functions?

I'll post how I did it by scraping, but it's not a great solution: ...
M.R.'s user avatar
  • 31.5k
2 votes

Find and load all ResourceFunctions as top level functions?

Just do DynamicMap = ResourceFunction["DynamicMap"] and now you can use DynamicMap[# + 1 &, Range[100]] as expected.
Carl Lange's user avatar
  • 13.1k

Only top scored, non community-wiki answers of a minimum length are eligible