:hammer: dev setup

:hammer: dev setup

- 4 mins

I just recently had to set up my new macbook and as some people asked me about my data science setup for R/ python-scripting, package and app development and working with remote serves, I decided to give a short overview within this post. This setup allows me to have full control over my projects, work with different languages in the same interface and seaminglessly switch to any cloud computing service that allows command line acces via SSH.

Basically, I use sublimetext3 as an editor and iterm2 with ipython or R for code execution locally as well as remotely. In the following, I will cover those basic issues:

  1. sublimetext 3
    1. sendcode for code execution
    2. different terminals (macOS, ubunut, windows)
    3. docstrings and code completion via anaconda package
    4. r-box for R
  2. setup miniconda for virtual environments
  3. work and sync on any remote server (SimpleSync)

sublimetext3

virtual environments

I use virtual environments for each project to reduce the hustle with different package dependencies etc.

remote work via ssh and code sync

My workflow is me coding on my macbook air and executing code on my private server (for dl stuff and data sets > dummy data sets). This is the setup that enables me to seaminglessly code on my low-power mba and in parallel execute and test the exact same code line-by-line on my high-power, gpu-equipped ubuntu tower. The neat thing is that I can plug in any remote server that enables ssh into this setup (aws, azure, gcloud, baidu…) without changing my workflow.

additional material

rss facebook twitter github gitlab youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora