H4x0rz GU!dE t0 1lms

Charles F. Vardeman II

Center for Research Computing, University of Notre Dame

2023-10-05

Topics

  • Setting up your local machine and CRC cluster
  • Using VSCode
  • LLM tools

Jupyter CAML Cluster Machine

Jupyter CAML Cluster Machine

Setting up Environment

CRC Documentation

Connecting to the CRC Machines

Live Coding Resources

Local First Steps (MacOS)

brew install tmux

Windows Subsystem for Linux(WSL) Bing!

WSL stands for Windows Subsystem for Linux, which is a feature of the Windows operating system that enables you to run a Linux file system, along with Linux command-line tools and GUI apps, directly on Windows, alongside your traditional Windows desktop and apps. It is designed to be a seamless experience, essentially providing a full Linux shell that can interact with your Windows filesystem.

To start using WSL, you need to install a Linux distribution of your choice from the Microsoft Store, such as Ubuntu. You can launch it as an app or use it as a profile in your terminal. You can also install programs using the Linux package manager and customize it like a regular Linux instance.

If you need more help with setting up and using WSL, you can check out the following resources:

I hope this helps you understand what WSL is and how to use it. 😊

A note on Editors from Bing!

A command line editor is a text editor that can be used to create or modify files in a terminal or console. There are many command line editors available for different operating systems and preferences. Some of the most popular ones are:

  • Vi or Vim: Vi is a classic and powerful editor that was originally created for Unix systems. Vim is an improved version of Vi that adds more features and enhancements. Vi and Vim are widely used by Linux users and system administrators. They have a steep learning curve, but they offer many advanced functions and customization options. To use Vi or Vim, you need to learn different modes of operation and keyboard commands.1 2
  • Nano: Nano is a simple and user-friendly editor that is inspired by Pico, another editor that was part of the Pine email client. Nano is easy to use and has a built-in help system. It is suitable for beginners and casual users who do not need complex features. Nano is also available on most Linux distributions by default.
  • Emacs: Emacs is a versatile and extensible editor that can do much more than editing text files. Emacs can be used as an IDE, a web browser, a mail client, a calculator, and more. Emacs has a rich set of commands and keyboard shortcuts, as well as a scripting language called Emacs Lisp that can be used to customize and extend its functionality. Emacs is popular among programmers and enthusiasts who like to have full control over their editor.

Note

When in doubt, use Prof. Sweet’s advice and use Nano!

Dr. Vardeman’s Dotfiles

SSH Configuration

We need to set up ssh to facilitate access to GitHub and the CRC Cluster machines. - Live Coding 2: “Setting up SSH Keys” - Dr. Vardeman’s ssh config - Instructions to Setup GitHub SSH Keys

Login to CRC Machines

From iTerm2 or Terminal

ssh netid@crcfe02.crc.nd.edu

Miniforge Forge Install!

Warning

Mambaforge has been integrated with the main Miniforge. Jeremy Howard’s Instructions still work, except use the default Miniforge

Tutorial: Setting up Python enviroments with Mambaforge - Ross Dobson (ross-dobson.github.io)

Zotero

Zotero | Your personal research assistant

Zotero Setup

Zotero | Downloads

FastAI FastBook – “A Production Mindset”

Hackers Guide to LLMs

Getting Started with LLMs

Quick Nuggets

Takeaway: General trend to rapidly integrate Generative AI into traditional software products.