Connect to LiveSynthesis
LiveSynthesis by LLM Grader is a tool for posing a question, collecting responses from everyone, and using an LLM to turn those responses into a concise synthesis. It reveals common ground, meaningful differences, misconceptions, and ideas that might otherwise be missed.
Getting started - How to connect to ARC
Videos demonstrate how to login to ARC and GitLab
Homework Demo
These two screencasts walk through HW00 — Word Frequencies in the Works of Shakespeare
(
Assignments/HW00) from start to finish. HW00 carries no points and is not handed in;
it exists so you can practice the workflow once while nothing is at stake. Every graded
assignment after it looks the same and uses the same four commands.IFI-8410 Course Tools
Command Line (CLI) tools for manage class content and submissions.
Decomposition: Breaking a Large Problem into Smaller Pieces
Decomposition is the process of taking a large goal and dividing it into smaller, understandable tasks and steps. It does not make the goal less important or change its purpose. Instead, it makes the work visible: people can see what needs to happen, in what order, who is responsible, and how each completed piece contributes to the whole.
UNIX Overview: Why the Command Line Still Matters
UNIX is a family of ideas as much as it is a particular operating system. It began in the late 1960s as a compact way to let people share a computer, organize information, and build new tools without rebuilding the whole system each time. Its influence is now everywhere: Linux servers, macOS, iPhones and iPads, cloud infrastructure, scientific computing, networking equipment, and many development environments all carry important Unix ideas.
UNIX File System and Command Line Interface (CLI)
Three posts cover Unix for Session 6, and they are meant to be read together:
UNIX Reference
This reference list supports Session 6 on Unix file systems, command-line workflows, standard streams, redirection, pipes, permissions, executable scripts, and the connections between shell operations and Python’s standard-library interfaces.
Mastering Secure Shell is Key
A comprehensive guide to Secure Shell (SSH), a vital protocol for establishing encrypted connections over networks. It details the mechanics of key-based authentication, explaining how a private and public key pair allows for secure access without traditional passwords.
Version Control with GIT
This document provides a practical overview for data science teams implementing Git and GitLab for software project management. It emphasizes the role of version control as a critical safeguard, enabling collaborative development through branching. The guide details essential concepts such as branching, which promotes independent development of features.
Reading and Writing Files: Text, CSV, JSON, and JSONL
A notebook loses its state when the kernel restarts; a file outlives the session that
created it. That is what allows one program’s output to become another’s input, and it is
why almost every data-science workflow begins and ends with a file.
Python Modules and Self-Standing Scripts
Code that works once, in one notebook, is not yet a program. Turning it into one means
dividing it along its responsibilities, putting those pieces in files other code can
import, and giving the result a single, explicit place to start.
Docker Desktop - Zero to Hero
This guide provides a comprehensive walkthrough for setting up and utilizing Docker Desktop on Windows and macOS systems. It details specific hardware requirements, such as virtualization support and memory needs, alongside step-by-step instructions for graphical and command-line installations.
Tabular Data
This post explains why business applications keep their data in related tables, and how to work with them in SQL and pandas. It starts with how to describe a table by its grain, keys, and column types, and how to deal with missing values. Then it walks through selecting, filtering, sorting, aggregating, and window calculations, and how to choose a join and check that it did what you meant. It closes with SQL’s declarative approach: you describe the result you want, not the steps to get it.
Ollama LLM Inference Local and Cloud
Ollama is a tool designed to host large language models (LLMs) locally on macOS, Linux, and Windows systems, offering OpenAI-compatible APIs for seamless integration with existing applications. By running models locally, Ollama eliminates the need for cloud-based services, ensuring privacy and reducing costs.
Python for Data Analysis
With pandas, most questions about a table take one line of code, and that line always returns a number, whether or not the number means anything. These notes cover what has to happen before the line is written: knowing what one row stands for, inspecting and cleaning the table, and deciding what a blank means.
Visualization and Descriptive Statistics
Nobody can read ten thousand rows. To tell anyone what is in a table you reduce it to a few numbers or to a picture, and each loses different information. These notes cover the summary numbers and what each one hides: centre, spread, outliers, and correlation.
CORS for Local LLM Providers
Cross-origin resource sharing (CORS) is a mechanism for integrating applications. CORS defines a way for client web applications that are loaded in one domain to interact with resources in a different domain. This configuration is needed to allow local model providers to server web-applications what were loaded from a different site.
Simulation and Randomness
Some questions depend on things that have not happened yet and that vary by chance. A simulation answers them by building a small model, living through it thousands of times, and counting. These notes cover how to control the randomness with a seeded generator so that a result can be reproduced.
Search and Hashing
Almost every program looks things up, and on large data the way it does so decides whether it finishes in a second or in an hour. These notes cover how to reason about that cost by counting steps, and the two searches a list allows: linear search, and binary search on sorted data.
Graphs and Shortest Path
Some questions are not about the things in a table but about what lies between them: routes, links, introductions. The structure for those is a graph. These notes cover nodes and edges, how to store a graph so a program can follow its connections quickly, and breadth-first search.
Introductory Machine Learning
Machine learning hands a program examples with known outcomes and lets it find the rule. Producing predictions that way takes three lines of code. These notes cover everything around those three lines: features and target, putting test rows aside, and the baseline every model has to beat.