Just recently got to know that it’s possible to leverage CUDA and cuDNN inside Docker.
Basically what is needed is corresponding Docker image that can be found here installation of Nvidia Docker runtime and to configure Docker daemon to use nvidia as a default runtime in /etc/docker/daemon.json. as it was described here and bellow there is an example of my config:
Recently found out a great extension for Jupyter Notebook autoreload. which allows to reload external Python code before execution of cell code and there is no need to restart a notebook.
Here is a way how to enable it:
Recently needed to create a script to make HTTP calls along with handling of cookies, here is a code:
import urllib.request as req
from urllib.error import HTTPError
import http.cookiejar as cookie
cookie_jar = cookie.CookieJar()
opener = req.build_opener(req.HTTPCookieProcessor(cookie_jar))
cookie_request = req.Request('url', method='POST')
resp = req.urlopen(cookie_request)
Some time ago I started to use Boxen to manage my laptop and here is a link and recently my MBP was stolen and it helped me a lot and saved lots of time. Also invested effort helped me a lot to bootstrap one more MBP provided by company I was working for.
However recently it was clearly visible that Boxen is not maintained and even GitHub switched to another tool which simplifies things a lot which is called Strap.
Strap is based on Homebrew and Homebrew Bundle using which it’s quite easy to manage installation of required software, set up services using Homebrew Services and even applications from Homebrew Cask and applications from AppStore using mas.
If there is an interest you can checkout my GitHub repositories homebrew bundle and dotfiles.
There were already a several years I’m practicing to work standing at least several hours a day. I used to approach this differently starting from simply putting boxes on top of a table. Another approach I was using is to have a special stand made in country where everything currently is made. I also had an attempt to build a self-rising table with linear motors. But all mentioned solutions were not kind of fit what I really would like to have.
So finally I’ve got a link to product from stiystil.com.ua and decided to try. So now I’m pretty confident this is what I need, I do not have to change my workplace set up, all I need is to put a stand on top of a table and I have a really easy to use standing/sitting desk. One more point is it really looks nice and quite convenient for day-to-day usage.
And finally here is an evidence: