Disk Icon

The MSU Engineering Jupyterhub server provides 2GB of disk storage space for each student. It can be helpful to learn some disk management so you can use this space effectively.

For example, pip install uses a temporary folder when downloading packages. Periodically, deleting this folder can significantly free up space.

rm -rf ~/.cache

Also, some functions in the scikit learn and seaboarn libraries download their own data folders. You may also want to have them delete those once they are no longer using those packages.

rm -rf  ~/scikit_learn_data
rm -rf ~/seaborn-data

Another good command to learn is the “dh” command. I like to run the following in my home directory to see which of my folders are taking up the most space:

du -sh ~/*

To include hidden folders use:

du -sch .[!.]* *

To also sort the results (may take a while):

du -sch .[!.]* * | sort -h

  • Dirk

Accessing a computer's camera inside of jupyter without installing OpenCV (Also works in Jupyterhub)

Fri 21 December 2018 by Dirk Colbry

The following code lets you take pictures inside of jupyter notebooks. It uses Javascript inside of jupyterhub to access the client computers camera and transfer images back into python.

I am particularly proud of this code because of the following features:

  • Does not require the installation of OpenCV (This can be tricky)
  • read more

Migration from Blogger to Pelican

Fri 10 August 2018 by Dirk Colbry

Today I was showning someone my old Blogger website and one of the reasons I moved away from blogger is that it was hard to edit and did not work well with my workflow. It occured to me that it may be easy to migrate from Blogger to my new Pelican Blog.

read more

Jupyter Accessibility Project

Thu 17 May 2018 by Dr. Dirk Colbry

My university (Michigan State University) plans to scale up the use of Jupyter in our classrooms but we need to address accessibility issues before we can adopt the platform for wide scale use.  On behalf of MSU I had an external group conduct a preliminary audit of our current jupyterhub …

read more