Here is a way to execute particular Jupyter Notebook from command line:
jupyter nbconvert --to notebook --execute mynotebook.ipynb --output mynotebook.ipynb
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 ) )
req. install_opener (opener )
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.
Last November was part of great conference in Antwerp, Belgium, believe most
Java developers know it’s a Devoxx.
First of all thanks to organizers for such a great event and especially for the ability to free and almost instantly to access
Here are some my takeaways to deep dive further.
The most interesting theme for me was attention to security, this topic was important and is becoming more and more important nowadays. So there are several related sessions to check out:
Fabric8 and OpenShift 3 was already on my radar, however Devoxx made me think more eagerly of it and here is a quicky on it https://www.youtube.com/watch?v=DCQ9SEdteHs
The next topic I’d like to deep dive a bit more is surprisingly
There was also huge attention to data streaming and related architectures
One more important point of software development is documentation and there was also attention to it: