https://www.nngroup.com/articles/ten-usability-heuristics/
http://www.usabilitybok.org/principles-for-usable-design
https://medium.com/@nirbenita/the-10-design-heuristics-for-developers-1e70a9dc58a7
https://blog.prototypr.io/10-usability-heuristics-with-examples-4a81ada920c
https://speakerdeck.com/pybay2016/alex-martelli-the-tower-of-abstraction
http://www.usabilitybok.org/principles-for-usable-design
https://www.slideshare.net/choult/your-api-is-a-ui
http://queue.acm.org/detail.cfm?id=1071731
https://www.reddit.com/r/Python/comments/48q804/whats_the_worst_package_youve_ever_worked_with/
http://www.aleax.it/europ11_adap.pdf
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Running code with jupyter_client and saving outputs""" | |
# LICENSE: CC-0 (public domain) | |
from binascii import a2b_base64 | |
from jupyter_client.manager import start_new_kernel | |
def handle_output(msg): | |
msg_type = msg['header']['msg_type'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from subprocess import PIPE | |
from jupyter_client import KernelManager | |
import time | |
try: | |
from queue import Empty # Py 3 | |
except ImportError: | |
from Queue import Empty # Py 2 | |
km = KernelManager(kernel_name='ir') | |
km.start_kernel() |
Tested with
Python 2.7, OS X 10.11.3 El Capitan, Apache Spark 1.6.0 & Hadoop 2.6
Download Apache Spark and build it or download the pre-built version.