Nvidia GPU compute capabilities

NVIDIA TITAN Xp 6.1
NVIDIA TITAN X 6.1
GeForce GTX 1080 Ti 6.1
GeForce GTX 1080 6.1
GeForce GTX 1070 6.1

GeForce GTX 660 3.0

Reference: https://developer.nvidia.com/cuda-gpus

Posted in Uncategorized | Tagged , , | Leave a comment

Running jupyter in virtualenv

  • Requirements:
pip install virtualenv
pip install ipykernel
pip install jupyter
  • Create virtualenv with desired version of python
virtualenv -p /usr/bin/python3.6 my-venv
  • Switch to virtualenv
cd my-venv
source bin/activate
  • Add custom kernel (python in this case is from virtualenv)
python -m ipykernel install --name py-torch
  • Start jupyter
jupyter notebook
  • Select new kernel under menu: Kernel > Change kernel
Posted in Uncategorized | Tagged | Leave a comment

Install python3.6

  • On ubuntu 14 and 16
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
Posted in Uncategorized | Tagged , | Leave a comment

oxymorons

Great Depression
Jumbo shrimp
Cruel to be kind
Pain for pleasure
Clearly confused
Act naturally
Beautifully painful
Painfully beautiful
Deafening silence
Pretty ugly
Pretty fierce
Pretty cruel
Definitely maybe
Living dead
Walking dead
Only choice
Amazingly awful
Alone together
Virtual reality
Random order
Original copy
Happy sad
Disgustingly delicious
Run slowly
Awfully good
Awfully delicious
Small crowd
Dark light
Light darkness
Dark snow
Open secret
Passive aggressive
Appear invisible
Awfully lucky
Awfully pretty
Big baby
Tiny elephant
Wake up dead
Goodbye reception
Growing smaller
Least favorite
True myth
Typically weird
Typically odd
Naturally strange
Weirdly normal
Unpopular celebrity
Worthless gold
Sad joy
Liquid food
Heavy diet
Noticeable absence
Quiet presence
Short wait
Sweet agony

Read more at http://examples.yourdictionary.com/examples-of-oxymorons.html#dwFGxIwpCUgtZCL1.99

Posted in Uncategorized | Leave a comment

configure google’s smtp

http://www.shellhacks.com/en/Postfix-Gmail-as-Relay-Linux-Mint-Ubuntu-Debian

Posted in Uncategorized | Leave a comment

Docker

Today i figured it’s time to learn docker.

Docker operates with images. Containers can be spawned from image.

  • view images
docker images
  • delete images
docker rmi <image id>
  • delete container
docker rm <container id>
  • create image from modified container
docker build -t <image name>:<version or tag> .
  • start container (i for interactive, t for pseudo-tty)
docker -ti  bash 
Posted in Uncategorized | Leave a comment

bash history tricks

http://www.thegeekstuff.com/2011/08/bash-history-expansion/

Posted in Uncategorized | Tagged , , | 1 Comment