JuliaParallel / Dagger.jl

A framework for out-of-core and parallel execution
Other
629 stars 67 forks source link

DaggerWebDash: Use gethostname and getipaddr #451

Closed jpsamaroo closed 9 months ago

jpsamaroo commented 10 months ago

We were using MemPool.host (which no longer exists), when really we should just call gethostname() or getipaddr().

mofeing commented 10 months ago

gethostname() returns a String but a Sockets.IpAddr is required.

Replacing it with Sockets.getipaddr() solves the problem.

jpsamaroo commented 9 months ago

I had to widen the internal IP/host cache type to accommodate String. I also decided to vendor d3.js, since it's annoying to need an internet connection just to use a purely-local visualizer.