Skip to content

Instantly share code, notes, and snippets.

@willirath
Last active July 19, 2019 12:37
Show Gist options
  • Save willirath/2170e47fdb711b5f74a10a3f3134bb06 to your computer and use it in GitHub Desktop.
Save willirath/2170e47fdb711b5f74a10a3f3134bb06 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lesteve
Copy link

lesteve commented Jul 19, 2019

@willirath, it looks like you .ipynb is not valid json. AFAICT, it is the concatenation of two identical json files. Look at https://gist.github.com/lesteve/7d5bae082457153573861dd45dfc7d9d for the fixed json and feel free (of course) to copy it and update your gist accordingly.

If you end up doing something interesting with actors, I'd be interested to know more about it by the way.

@willirath
Copy link
Author

Thanks a lot! I didn't notice this. Probably just hit paste twice and then went somewhere else before the renderer could tell me that this wasn't valid. :)

Re using actors elsewhere: I'm quite excited about them right now. Opens cool new (for me at least...) ways of playing with concurrency. Over here, I tried separating particles from the spatial domain + data and the RNG needed to move the particles, have the spatial domain + data living on a worker, the random state on another, and the particles on the front end.

@willirath
Copy link
Author

This https://github.com/benbovy/dask-pregel also looks interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment