Fork me on GitHub
#data-science
<
2020-04-27
>
blueberry11:04:26

Deep Learning for Programmers | 0.17.0 | Tensors and ND arrays chapter (with Deep Diamond) https://aiprobook.com/deep-learning-for-programmers?release=0.17.0&amp;src=cslack

sheepy 16
🚀 4
val_waeselynck15:04:03

Hi there! Oz question: is there any reason why it would be impossible to use oz/view! on a remote machine via an SSH tunnel? I need to work this way because the source data I'm working on does not fit on my machine.

metasoarous15:04:46

Should be able to

metasoarous15:04:17

Just don't send all the data over 😉

daveliepmann15:04:26

Are you running oz/view! on the remote machine, or just storing the data remotely, grabbing it with clojure, and running oz/view! locally?

daveliepmann15:04:59

I feel like you mean the former (otherwise the data has to be in local memory anyway), which makes me suspect Oz would start the webserver on the remote machine, which might not work?

val_waeselynck16:04:32

@U05092LD5 the 1st one indeed, with an ssh tunnel to the Oz port

daveliepmann16:04:08

Let me know how it goes, sounds fun 🙂

val_waeselynck17:04:35

@U05092LD5 Well, for now, it goes absolutely nowhere, as os/view! just hangs. I'm suspecting it's trying to open a browser, which might be disappointing on an EC2 instance

val_waeselynck17:04:25

@U05100J3V do you confirm it should work, now that I've clarified how I'm using oz/view! as per @U05092LD5's question?

val_waeselynck17:04:50

@U05092LD5 @U05100J3V OK I got it to work, I probably had an issue of how I configured my SSH tunnel. Let me investigate the exact cause of the 1st failure I had and come back to you.

val_waeselynck18:04:42

OK, I haven't been able to reproduce the initial issue, so I'm guessing oz/view! hanging was due to an initial error I had (missing an xdg-open lib on the OS) which probably put Oz in a bad state. Aside from that, working over the SSH tunnel works well. One thing that tripped me over was that I needed to load the webpage before calling oz/view! , which is a problem you don't have on a local machine as it will open the webpage for you in a browser.

val_waeselynck18:04:55

I'm already in love with the reactive "plot from your REPL" UX, thanks for the good work @U05100J3V!

metasoarous23:04:45

Awesome! That's great to hear. Thanks for the feedback! 😊

daveliepmann10:04:53

@U06GS6P1N How did you configure the browser? Did you configure xdg_open to open a browser back over the tunnel?

val_waeselynck16:04:02

No I didn't configure anything. I just manually open the browser at the right time on my dev laptop.