Skip to content

Commit

Permalink
Merge branch 'main' of github.com:UBC-DSCI/dsci-310-student
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimbers committed Jan 3, 2024
2 parents a9a7b0e + 6dbf44e commit f4429f0
Show file tree
Hide file tree
Showing 6 changed files with 502 additions and 311 deletions.
95 changes: 73 additions & 22 deletions docs/check-setup-310.log
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# DSCI 310 setup check 2023.1
# DSCI 310 setup check 2024.1

## Operating system
ProductName: macOS
ProductVersion: 13.4
BuildVersion: 22F66

## System programs
MISSING rstudio 2023.06.*
OK rstudio 2023.12.0+369
OK R 4.3.2 (2023-10-31) -- "Eye Holes"
OK python 3.11.6
OK conda 23
Expand All @@ -19,67 +19,118 @@ OK docker 24.0.6, build ed223bc
OK code 1.85.0

## Python packages
OK otter-grader=5.2.2
OK pandas=2.1.1
OK nbconvert-core=7.8.0
MISSING playwright=1.*
OK playwright=1.40.0
OK jupyterlab=4.0.6
OK jupyterlab-git=0.41.0
OK jupyterlab-spellchecker=0.8.4
OK jupyterlab PDF-generation was successful.
MISSING jupyterlab WebPDF-generation failed. It seems like you did not run `pip install "nbconvert[webpdf]"`.
OK jupyterlab WebPDF-generation was successful.
OK jupyterlab HTML-generation was successful.

## R packages
OK tidyverse=2.0.0
OK markdown=1.7
OK rmarkdown=2.24
OK renv=1.0.2
OK IRkernel=1.3.2
OK tinytex=0.46
OK janitor=2.2.0
OK gapminder=1.0.0
OK readxl=1.4.3
OK ottr=1.1.3
OK canlang=0.0.1
OK rmarkdown PDF-generation was successful.
OK rmarkdown HTML-generation was successful.

## Environmental variables
R_TEXI2DVICMD=/opt/R/arm64/bin/texi2dvi
LN_S=ln -s
SED=/usr/bin/sed
GIT_PS1_SHOWDIRTYSTATE=1
TERM_PROGRAM=Apple_Terminal
TERM=xterm-256color
RSTUDIO_PANDOC=/Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools
R_INCLUDE_DIR=/Library/Frameworks/R.framework/Resources/include
RSTUDIO_CLI_HYPERLINKS=true
R_CLI_HAS_HYPERLINK_IDE_VIGNETTE=true
R_PDFVIEWER=/usr/bin/open
R_STRIP_SHARED_LIB=strip -x
RSTUDIO_PROJ_NAME=dsci-310-student
SHELL=/bin/bash
TERM=xterm-256color
R_PRINTCMD=lpr
CLICOLOR=1
TMPDIR=/var/folders/yx/296325p15r92zgg4zc7px5qh0000gp/T/
R_RD4PDF=times,inconsolata,hyper
R_SYSTEM_ABI=macos,gcc,gxx,gfortran,gfortran
CONDA_SHLVL=1
TERM_PROGRAM_VERSION=447
RS_SHARED_SECRET=da816983-43dc-4f9a-a617-fd6f3255ec8c
R_PAPERSIZE=a4
RSTUDIO_CHILD_PROCESS_PANE=terminal
CONDA_PROMPT_MODIFIER=(base)
TERM_SESSION_ID=AEF44705-253D-4AE4-A5F6-ED5FC1859015
MallocNanoZone=0
ORIGINAL_XDG_CURRENT_DESKTOP=undefined
RSTUDIO=1
GITHUB_COM_PAT=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
RSTUDIO_CONSOLE_WIDTH=211
USER=timberst
PYTHONIOENCODING=utf-8
COMMAND_MODE=unix2003
RETICULATE_PYTHON_FALLBACK=/Users/timberst/miniconda3/bin/python3
CONDA_EXE=/Users/timberst/miniconda3/bin/conda
TAR=/usr/bin/tar
ENV=
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.92mmfw0xBh/Listeners
R_ZIPCMD=/usr/bin/zip
__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x52
GITHUB_PAT=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
BASH_SILENCE_DEPRECATION_WARNING=1
PAGER=/usr/bin/less
RSTUDIO_SESSION_PID=31946
R_GZIPCMD=/usr/bin/gzip
_CE_CONDA=
LSCOLORS=ExGxFxdxCxDxDxxbaDecac
PATH=/Users/timberst/.cargo/bin:/Users/timberst/miniconda3/bin:/Users/timberst/miniconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/quarto/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
R_QPDF=/Library/Frameworks/R.framework/Resources/bin/qpdf
PATH=/Users/timberst/miniconda3/bin:/Users/timberst/miniconda3/bin:/Users/timberst/miniconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/quarto/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/timberst/miniconda3/bin:/Users/timberst/.cargo/bin:/Users/timberst/miniconda3/condabin:/Users/timberst/Applications/quarto/bin:/Library/TeX/texbin:/usr/texbin:/Applications/RStudio.app/Contents/Resources/app/bin/postback
R_RUNTIME=
RSTUDIO_USER_IDENTITY=timberst
XML_CATALOG_FILES=file:///Users/timberst/miniconda3/etc/xml/catalog file:///etc/xml/catalog
__CFBundleIdentifier=com.apple.Terminal
__CFBundleIdentifier=com.rstudio.desktop
CONDA_PREFIX=/Users/timberst/miniconda3
PWD=/Users/timberst/Documents/dsci-310/dsci-310-student
LANG=en_CA.UTF-8
R_SHARE_DIR=/Library/Frameworks/R.framework/Resources/share
RSTUDIO_WINUTILS=bin/winutils
EDITOR=code --wait
RSTUDIO_SESSION_ID=5f52da21
LANG=en_US.UTF-8
R_CLI_HAS_HYPERLINK_IDE_HELP=true
RSTUDIO_SESSION_PORT=13661
R_LIBS_SITE=/Library/Frameworks/R.framework/Resources/site-library
XPC_FLAGS=0x0
R_CLI_HAS_HYPERLINK_IDE_RUN=true
RSTUDIO_TERM=1A4DA7BB
XPC_SERVICE_NAME=0
R_BROWSER=/usr/bin/open
RMARKDOWN_MATHJAX_PATH=/Applications/RStudio.app/Contents/Resources/app/resources/mathjax-27
HISTCONTROL=ignoreboth
_CE_M=
HOME=/Users/timberst
R_ARCH=
RS_LOG_LEVEL=WARN
SHLVL=2
MAKE=make
RS_RPOSTBACK_PATH=/Applications/RStudio.app/Contents/Resources/app/bin/rpostback
R_STRIP_STATIC_LIB=strip -S
LOGNAME=timberst
R_UNZIPCMD=/usr/bin/unzip
CONDA_PYTHON_EXE=/Users/timberst/miniconda3/bin/python
LC_CTYPE=en_US.UTF-8
R_BZIPCMD=/usr/bin/bzip2
CLICOLOR_FORCE=1
MPLENGINE=tkAgg
CONDA_DEFAULT_ENV=base
R_HOME=/Library/Frameworks/R.framework/Resources
RSTUDIO_DESKTOP_EXE=/Applications/RStudio.app/Contents/MacOS/RStudio
PROMPT_COMMAND=history -a; echo
RSTUDIO_FALLBACK_LIBRARY_PATH=/var/folders/yx/296325p15r92zgg4zc7px5qh0000gp/T/rstudio-fallback-library-path-663885308
RSTUDIO_PROGRAM_MODE=desktop
DISPLAY=/private/tmp/com.apple.launchd.l13hPiudL2/org.xquartz:0
CANVAS_PAT=11224~Emah7Zet5Y4iuDzUL4tA8jfbFjQHyM1LPgNBsAHElKeBf92MRecO5qWanEqtv5uF
R_PLATFORM=aarch64-apple-darwin20
R_DOC_DIR=/Library/Frameworks/R.framework/Resources/doc
R_LIBS_USER=/Users/timberst/Library/R/arm64/4.3/library
RSTUDIO_CONSOLE_COLOR=256
R_SESSION_TMPDIR=/var/folders/yx/296325p15r92zgg4zc7px5qh0000gp/T/Rtmpjxqfyw
_=/usr/bin/env

## Content of .bash_profile
Expand Down
186 changes: 186 additions & 0 deletions docs/check-setup-mds.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
# MDS setup check 2023.1

## Operating system
ProductName: macOS
ProductVersion: 13.4
BuildVersion: 22F66

## System programs
OK psql (PostgreSQL) 15.4
MISSING rstudio 2023.06.*
OK R 4.3.2 (2023-10-31) -- "Eye Holes"
OK python 3.11.6
OK conda 23
OK bash 3.2.57(1)-release (arm64-apple-darwin22)
OK git 2.39.2 (Apple Git-143)
OK make 3.81
OK latex 3.141592653-2.6-1.40.25 (TeX Live 2023)
OK tlmgr 5:21 +0200)
OK docker 24.0.6, build ed223bc
OK code 1.85.0

## Python packages
OK otter-grader=5.2.2
OK pandas=2.1.1
OK nbconvert-core=7.8.0
OK playwright=1.40.0
OK jupyterlab=4.0.6
OK jupyterlab-git=0.41.0
OK jupyterlab-spellchecker=0.8.4
OK jupyterlab PDF-generation was successful.
OK jupyterlab WebPDF-generation was successful.
OK jupyterlab HTML-generation was successful.

## R packages
OK tidyverse=2.0.0
OK markdown=1.7
OK rmarkdown=2.24
OK renv=1.0.2
OK IRkernel=1.3.2
OK tinytex=0.46
OK janitor=2.2.0
OK gapminder=1.0.0
OK readxl=1.4.3
OK ottr=1.1.3
OK canlang=0.0.1
OK rmarkdown PDF-generation was successful.
OK rmarkdown HTML-generation was successful.

## Environmental variables
GIT_PS1_SHOWDIRTYSTATE=1
TERM_PROGRAM=Apple_Terminal
TERM=xterm-256color
SHELL=/bin/bash
CLICOLOR=1
TMPDIR=/var/folders/yx/296325p15r92zgg4zc7px5qh0000gp/T/
CONDA_SHLVL=1
TERM_PROGRAM_VERSION=447
CONDA_PROMPT_MODIFIER=(base)
TERM_SESSION_ID=AEF44705-253D-4AE4-A5F6-ED5FC1859015
GITHUB_COM_PAT=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
USER=timberst
CONDA_EXE=/Users/timberst/miniconda3/bin/conda
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.92mmfw0xBh/Listeners
GITHUB_PAT=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
BASH_SILENCE_DEPRECATION_WARNING=1
_CE_CONDA=
LSCOLORS=ExGxFxdxCxDxDxxbaDecac
PATH=/Users/timberst/.cargo/bin:/Users/timberst/miniconda3/bin:/Users/timberst/miniconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/quarto/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
XML_CATALOG_FILES=file:///Users/timberst/miniconda3/etc/xml/catalog file:///etc/xml/catalog
__CFBundleIdentifier=com.apple.Terminal
CONDA_PREFIX=/Users/timberst/miniconda3
PWD=/Users/timberst/Documents/dsci-310/dsci-310-student
LANG=en_CA.UTF-8
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
_CE_M=
HOME=/Users/timberst
SHLVL=2
LOGNAME=timberst
CONDA_PYTHON_EXE=/Users/timberst/miniconda3/bin/python
CONDA_DEFAULT_ENV=base
DISPLAY=/private/tmp/com.apple.launchd.l13hPiudL2/org.xquartz:0
CANVAS_PAT=11224~Emah7Zet5Y4iuDzUL4tA8jfbFjQHyM1LPgNBsAHElKeBf92MRecO5qWanEqtv5uF
_=/usr/bin/env

## Content of .bash_profile
# Set the default editor for programs launch from terminal
EDITOR="code --wait"
VISUAL=$EDITOR # Use the same value as for "EDITOR" in the line above
git config --global core.editor "code --wait"

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/timberst/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/timberst/miniconda3/etc/profile.d/conda.sh" ]; then
. "/Users/timberst/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/Users/timberst/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<

# Silence default shell note when launching bash
export BASH_SILENCE_DEPRECATION_WARNING=1

# Load the git prompt script
source ~/.git-prompt.sh
# Show unstaged (*) and staged (+) changes in the prompt string
export GIT_PS1_SHOWDIRTYSTATE=1

# Color text so it is easier to distinguish elements from each other
export CLICOLOR=1
export LSCOLORS=ExGxFxdxCxDxDxxbaDecac
# Color the prompt string and add git info
export PS1=${CONDA_PROMPT_MODIFIER}'\[\033[01;32m\]\u@\h\[\033[01;35m\] \w\[\033[34m\]$(__git_ps1 " (%s)")\[\033[00m\]\n\$ '

# TAB completion configuration
# TAB completion ignores case
bind "set completion-ignore-case on"
# Require only one instead of two TAB presses before showing matches
bind "set show-all-if-ambiguous on"
# Unfortunately the tab cycling does not work together with single tab match expansion on macOS
# since bash is too old, so I have commented out the option below,
# but feel free to remove the leading `#` if you want to test it out.
# If there are multiple matches for completion, cycle through them with TAB
# bind 'TAB':menu-complete

# History configuration
# Cycle through history based on characters already typed on the line
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'
# Append to the history file, don't overwrite it.
shopt -s histappend
# Write commands to history one-by-one right after they are executed
# instead of all together when the terminal is closed.
# Make new terminals see all commands run in currently open terminals and
# prepend a newline to the prompt string to separate it from the last command's output
PROMPT_COMMAND='history -a; echo'
# Increase history size
HISTSIZE=50000
HISTFILESIZE=50000

# Aliases and functions
# Note that aliases only are in effect when you are using the shell interactively
# (e.g. opening the terminal and typing or pasting commands).
# If you run a bash script or makefile,
# the original command is used instead of your alias.
# ---
# MDS help script
alias mds-help='bash ~/.mds-help.sh'
# Some common operations
alias l='ls -lthAF'
alias jl='jupyter lab'
alias ca='conda activate'
alias gl='git log --date short -10 --pretty=format:"%C(auto,yellow)%h %C(auto,blue)%ad%C(auto)%d %C(auto,reset)%s"'
alias gt='git status'
alias gm='git commit -m'
alias gap='git add -p'
# Move, remove, and copy show what was done and prompt before overwriting files.
alias rm="rm -vi"
alias mv="mv -vi"
alias cp="cp -vi"
alias mkdir="mkdir -vp"
# Case insensitive grep by default
alias grep='grep -i'
. "$HOME/.cargo/env"

#Github enterprise token
export GITHUB_PAT='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'

# Canvas enterprise token
export CANVAS_PAT='11224~Emah7Zet5Y4iuDzUL4tA8jfbFjQHyM1LPgNBsAHElKeBf92MRecO5qWanEqtv5uF'

#Github.com org token
export GITHUB_COM_PAT='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'
## Content of .bashrc
# Do NOT add anything to this file, use `~/.bash_profile` instead.
# The next line automatically loads your `~/.bash_profile`
# any time a program tries to read your `~/.bashrc` file.
if [ -f ~/.bash_profile ]; then . ~/.bash_profile; fi
. "$HOME/.cargo/env"
OK rstudio
6 changes: 3 additions & 3 deletions docs/computer-setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -2511,14 +2511,14 @@ <h3>Contents</h3>
<p>These instructions will walk you through how to install the required Data Science software stack for DSCI 310. Before starting with the installation instructions, ensure that your laptop meets our program requirements. <strong>If your computer does not meet the requirements please reach out to the teaching team on Piazza and describe how it does not. We will work to accomodate you where we can.</strong></p>
<h2 id="laptop-requirements">Laptop requirements</h2>
<ul>
<li>Runs one of the following operating systems: Ubuntu 20.04, macOS (version 11.4.x or higher), Windows 10 (version 2004, 20H2, 21H1 or higher).
<li>Runs one of the following operating systems: Ubuntu 20.04 (any version &gt;=20.04 will likely work), macOS (version 11.4.x or higher), Windows 11 (version 2004, 20H2, 21H1 or higher).
<ul>
<li>When installing Ubuntu, checking the box “Install third party…” will (among other things) install proprietary drivers, which can be helpful for wifi and graphics cards.</li>
</ul></li>
<li>Can connect to networks via a wireless connection for on campus work</li>
<li>Has access to an internet connection that is fast and stable enough for video calling and conducting online quizzes</li>
<li>Has at least 30 GB disk space available</li>
<li>Has at least 4 GB of RAM</li>
<li>Has at least 30 GB disk space available (50 GB is recommended)</li>
<li>Has at least 4 GB of RAM (8 GB is recommended)</li>
<li>Uses a 64-bit CPU</li>
<li>Is at most 6 years old (4 years old or newer is recommended)</li>
<li>Uses English as the default language</li>
Expand Down
Loading

0 comments on commit f4429f0

Please sign in to comment.