All public logs
Combined display of all available logs of Soma-notes. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 20:46, 24 October 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: Tutorial 4 (Created page with "In this tutorial, you will learn about how user accounts and logging in work through exploring [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w23/tut4/3000userlogin.c 3000userlogin.c]. You’ll also have a better understanding of the permission system and the shell/terminal environment. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-content"> Tutorials are graded ba...")
- 13:45, 9 October 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: Tutorial 3 (Created page with "In this tutorial, you will be experimenting with and extending [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w23/tut3/3000shell.c 3000shell.c], a proof-of-concept program to show you how a Linux shell works. Also, you will be learning to read and modify C code, which prepares you for subsequent tutorials and assignments. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsib...")
- 01:57, 27 September 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: Tutorial 2 (Created page with "In this tutorial, you will revisit the lifecyle of a program, from source code, to an executable (binary image), and further to being loaded into the address space. Then from a different angle, you can see when in execution, how the program (now a process) makes different types of calls to function, and how its memory is laid out. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsi...")
- 02:02, 22 September 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: Downloading files from your Openstack VM (Created page with "You will need to transfer files between the Openstack VM and your own PC from time to time, for example, when submitting your tutorial/assignment work. As your laptop/desktop does not have a fixed IP the VM can connect to, it is always better to initiate the connection from your PC to the VM, which has a floating IP address associated. Here, you have a few options depending on your situation. Choose one that works for you or feel free to use other alternatives. ==Using...")
- 02:01, 22 September 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: Connecting to SCS Openstack (Created page with "If you want to access the openstack environment during a video call (or when watching a movie online), please do not leave the Carleton VPN connected. You may also want to avoid your personal online activities going through the VPN or just simply need more convenience. Here are some alternative options. The instructions below assume you have created your VM instance with the VPN. Remember to replace <***> with your actual values. ==ProxyJump== <span style="color:#0000f...")
- 19:13, 21 September 2023 Abdou talk contribs created page File:Flavour-f23.png
- 19:13, 21 September 2023 Abdou talk contribs uploaded File:Flavour-f23.png
- 19:12, 21 September 2023 Abdou talk contribs created page File:Choice-f23.png
- 19:12, 21 September 2023 Abdou talk contribs uploaded File:Choice-f23.png
- 17:31, 21 September 2023 Abdou talk contribs created page File:Top-left-corner-jpg-f23.jpg
- 17:31, 21 September 2023 Abdou talk contribs uploaded File:Top-left-corner-jpg-f23.jpg
- 17:24, 21 September 2023 Abdou talk contribs uploaded a new version of File:Top-left-corner-f23.png
- 17:19, 21 September 2023 Abdou talk contribs created page File:Top-left-corner-f23.png
- 17:19, 21 September 2023 Abdou talk contribs uploaded File:Top-left-corner-f23.png
- 13:37, 21 September 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: Openstack Instructions (Created page with "You can create a VM instance on the [https://carleton.ca/scs/tech-support/scs-open-stack/ SCS openstack] cluster for the tutorials, by doing the following: (obvious steps are skipped) # [https://carleton.ca/its/help-centre/remote-access/ Connect to Carleton's VPN]. # Log in to [https://openstack-stein.scs.carleton.ca/ https://openstack-stein.scs.carleton.ca/] # Most of you would need to refresh your SCS account to have the right entitlements for our course (or you may...")
- 15:53, 31 August 2023 Abdou talk contribs created page COMP3000 Operating Systems 2023F Tutorials: Tutorial 1 (Created page with "This first tutorial will prepare you for subsequent tutorials. You will familiarize yourself with the OS environment and, in particular, learn the basics of command-line interaction in Linux (Ubuntu). ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-content"> Tutorials are graded based on participation and effort ('''so no need to struggle to have the “correct” answers...")
- 15:01, 31 August 2023 Abdou talk contribs moved page COMP3000 Operating Systems 2023F to COMP3000 Operating Systems 2023F Tutorials
- 14:55, 31 August 2023 Abdou talk contribs created page COMP3000 Operating Systems 2023F (Created page with "'''Note: this page's purpose is to host publicly available material linked from Brightspace. Please use Brightspace as the primary source of information to stay updated.''' ==Course Outline== Aside from in Brightspace, you can also find it [https://service.scs.carleton.ca/sites/default/files/course_outlines/outline_comp3000-w23-dec25.pdf here]. ⚠️ For all submissions (regardless of whether collaboration is allowed), the answers must be your own words. Any answers c...")
- 12:59, 31 August 2023 User account Abdou talk contribs was created by Soma talk contribs (Teaching COMP 3000)
- 21:53, 5 April 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 23 (Created page with "==Notes== <pre> Final lecture ------------- "Development of applications for mobile environments taking advantage of gesture-based input and using location and presence services. Topics include introduction to low-level network services and mobile platforms, description of architectural patterns, principles of mobile development and interaction styles for network service usage." We covered most of this. Location and presence services are pretty straightforward use of...")
- 15:41, 5 April 2023 Soma talk contribs created page DistOS 2023W 2023-04-05 (Created page with "==Class Discussion== For class discussion today: * What did we learn this semester? * Specifically, what are the big ideas, the patterns we covered? ==Notes== <pre> </pre>")
- 15:47, 3 April 2023 Soma talk contribs created page DistOS 2023W 2023-04-03 (Created page with "==Notes== <pre> Spanner & Tensorflow -------------------- Last two papers! April 5th - class wrap-up discussion, exam review April 10 & 12 - project presentations Spanner - big, distributed SQL database (mostly) - at Google - compare with Bigtable, Dynamo (NoSQL systems) - what is the difference in functionality? - why does it matter? - HOW?! what is the "neat trick"? - has to do with time, but why? - to what degree is Spanner a full relational database, l...")
- 22:05, 31 March 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 22 (Created page with "==Code== <syntaxhighlight lang="kotlin" line> package carleton.comp2601.webviewcompose import android.os.Bundle import android.util.Log import android.view.ViewGroup import android.webkit.WebResourceRequest import android.webkit.WebView import android.webkit.WebViewClient import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.Row import androidx.compose.foundation.text.ClickableText import androi...")
- 03:26, 30 March 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 21 (Created page with "==Notes== <pre> March 29 -------- So I'm trying to figure out how to implement the back button properly. Currently, the back button gets triggered but doesn't work right, .goBack() isn't doing what we expected - hypothesis: state changes are updating history too often, getting copies of current page and so can't keep track of last page properly Two choices: - integrate more tightly with webview history so we can better manipulate and interact with it - ignore webv...")
- 15:48, 29 March 2023 Soma talk contribs created page DistOS 2023W 2023-03-29 (Created page with "==Notes== <pre> Haystack & f4 ------------- - What problem does Haystack solve? What problem does f4 solve? - How does Haystack work? How does f4 work? - what behavior patterns are needed to make Haystack and f4 work well? - how grounded are these patterns in human behavior? - What is the relationship between Haystack and f4? - What are the key technical insights used to build these systems? - To what degree could these systems be used for other tasks? We'l...")
- 15:52, 27 March 2023 Soma talk contribs created page DistOS 2023W 2023-03-27 (Created page with "==Notes== <pre> Zookeeper & Delos ----------------- Consensus - why is this such an important problem in distributed OS? Notice that consensus isn't a concern in single-system operating systems - we get "consensus" simply by having one copy of data But in a distributed system we have copies of data & distributed state - so if we want all of the system to be in the "same" state, we need consensus - consensus has to be constructed, it isn't the natural state of the...")
- 21:15, 24 March 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 20 (Created page with "==Code== <syntaxhighlight lang="kotlin" line> package carleton.comp2601.webviewcompose import android.os.Bundle import android.util.Log import android.view.ViewGroup import android.webkit.WebView import android.webkit.WebViewClient import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.Row import androidx.compose.foundation.text.ClickableText import androidx.compose.material.* import androidx.com...")
- 21:13, 22 March 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 19 (Created page with "==Notes== <pre> March 22 -------- Integrating webview with HNTree we have composable functions that we can copy over, but how should the app actually work? Should start up as a web browser with a URL bar, with a button to the side of the URL bar that says "History". Clicking on the button will switch the view to the History view. If the user taps on a specific past URL, visit the page (potentially with confirmation) What's the strategy? - first, change the webvie...")
- 15:33, 22 March 2023 Soma talk contribs created page DistOS 2023W 2023-03-22 (Created page with "==Discussion Questions== * What problems are Cassandra and Dynamo built to solve? How do these problems inform their design? * What are the key technical insights or algorithms behind Cassandra and Dynamo? * What infrastructure do Cassandra and Dynamo seem to rely on? How does this compare with the systems made by Google?")
- 06:50, 22 March 2023 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: Tutorial 9 (Created page with "By the end of this tutorial, you will have a basic familiarity with the Docker platform and be able to run, operate, and customize containers, and create simple containers of your own. You will see how kernel building blocks like namespaces make containers possible. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-content"> Tutorials are graded based on participation and effo...")
- 03:46, 21 March 2023 Soma talk contribs created page DistOS 2023W 2023-03-20 (Created page with "==Notes== <pre> March 20 -------- Project Proposals - if you want to re-submit, you can, and I will replace the grade with your new one - Need to finish it by March 27th - some proposals were just way too broad - need to narrow it down - some were too focused on one paper - needs to cover multiple papers - some tried to argue for a technical point - you aren't doing original research - focus on what the papers say, have a thesis about patterns...")
- 20:52, 17 March 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 18 (Created page with "==Code== ===MainActivity.kt=== <syntaxhighlight lang="kotlin" line> package carleton.comp2601.historyviewer import android.net.Uri import android.os.Bundle import android.util.Log import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.material.MaterialTheme import androidx.compose.material.Surface import andro...")
- 20:00, 15 March 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 17 (Created page with "==Code== <syntaxhighlight lang="kotlin" line> package carleton.comp2601.historyviewer class HNTree { var hostComponent: String = "" var hostSuffix: String = "" var parent: HNTree = this var children: MutableList<HNTree> = mutableListOf() var treeLevel: Int = 0 var expanded: true fun add(hostPrefix: String) { var allComponents: List<String> var component: String var child: HNTree? = null /* still have to deal...")
- 15:44, 15 March 2023 Soma talk contribs created page DistOS 2023W 2023-03-15 (Created page with "==Notes== <pre> Bigtable & MapReduce -------------------- When you think about BigTable, focus on figure 1 (to understand what it is doing) and Figure 4 (to understand how). Remember that GFS requires structured information to be stored (because data can be duplicated), BigTable is one of the ways GFS files can be organized To what extent is BigTable a database? For MapReduce, think about the kind of tasks Google wanted to perform on its web crawls - generating an...")
- 04:12, 14 March 2023 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: Tutorial 8 (Created page with "In this tutorial, you’ll be learning about how virtual addresses are mapped to physical addresses (the address translation) and continue to use kernel modules to extract information that only the kernel has access to. In particular, the kernel module performs a 5-level page table walk to find out the physical address corresponding to a userspace virtual address. In addition to what was discussed in the class, You can also read [https://en.wikipedia.org/wiki/Intel_5-lev...")
- 15:35, 13 March 2023 Soma talk contribs created page DistOS 2023W 2023-03-13 (Created page with "==Discussion Questions== * List all the terms and acronyms in the Ceph paper and discus their meaning and relationship with each other. * To what degree is Ceph POSIX compliant? Is there a cost for this? * Discuss Figures 1-3 in Crush, what does each say?")
- 22:16, 10 March 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 16 (Created page with "==Notes== <pre> March 10 -------- I have a hostname, want to insert it into the current HNTree - split the hostname into a bunch of components (www, carleton, ca) First, initially, we'll create a root node representing . (top of the DNS hierarchy). So that should get its own dedicated constructor. Then we'll have an add operation which will take a hostname, and it will add child hostnames add will split the hostname into its components, see if the last-most su...")
- 04:43, 9 March 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 15 (Created page with "==Notes== <pre> March 8 ------- Last time, we were talking about how to store web browser history so we can view it in interesting ways. class HostPart { value: String, expanded: bool, higher: HostPart?, can be undefined: lower: HostPart? } .ca .carleton .google www brightspace www mail sheets class HNTree { hostComponent: String, /* <-- "carleton" in "www.carleton.ca"...")
- 19:02, 8 March 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 14 (Created page with "==Notes== <pre> March 3 ------- I want to build a browser history viewer. It will allow surfing history to be viewed in a few ways: - list of pages visited (easy, dump stored history) - list "sessions" - group by what is first entered in the URL bar, whether it be a search or a direct entry of a URL - show as a grouped list (with each session collapsable) - show time of start of session, time of each subsequent request (potentially hide times)...")
- 18:17, 8 March 2023 Soma talk contribs created page DistOS 2023W 2023-03-08 (Created page with "No in-class notes, see class video on Brightspace/Zoom.")
- 05:59, 8 March 2023 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: Tutorial 7 (Created page with "In this tutorial you'll be learning about special files and Linux kernel modules, part of which are device drivers. You’ll create several kernel modules and see how to interact with device drivers using special files (e.g., character device) and their file operations as an interface. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-content"> Tutorials are graded based on pa...")
- 05:53, 8 March 2023 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: Tutorial 7 Not Using SCS OpenStack (Created page with "If you are not using our course VM for some reason, you might encounter problems and you can refer to the instructions below. Although they are by no means comprehensve to solve the problems, they can in many cases and serve as pointers about where to look. ==Modules fail to build== If you see errors (not just warnings) after running <tt>make</tt> and no <tt>.ko</tt> file is produced, you may have installed a version of Ubuntu that is too minimal. But you can fix it by i...")
- 16:48, 6 March 2023 Soma talk contribs created page DistOS 2023W 2023-03-06 (Created page with "==Notes== <pre> NASD & Tapestry --------------- What problem(s) is NASD designed to solve? What's the standard architecture for a file server? - you have a server with attached storage - that server reads storage then sends what it reads over the network to a client Limitations of this approach - bandwidth bottleneck on the server: reading lots of disks in parallel only to copy to memory then send over the network puts huge strain on server memory system - also l...")
- 04:52, 2 March 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 13 (Created page with "==Notes== <pre> Android Architecture & Security ------------------------------- * I've graded all proposals * On Friday, progress report 3 is due * If you have something to demo, please demo in Friday! What is running on an Android device? How does it compare to a regular Linux system? Android documentation uses lots of Android-specific jargon, not at all clear how it maps to more normal concepts. So I'm going to try explaining that here. First, Android runs on L...")
- 16:38, 1 March 2023 Soma talk contribs created page DistOS 2023W 2023-03-01 (Created page with "==Discussion Questions== OceanStore * What is the threat model underlying OceanStore security? * How does this compare to the threat model of modern cloud storage providers? * Would you use OceanStore? Why or why not? BOINC * What was the original inspiration for this work? * What kind of problems is this style of computing suitable for? What problems is it not suitable for? * What is the threat model for BOINC-type systems? Does this threat model make it suitable o...")
- 06:26, 1 March 2023 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: Tutorial 6 (Created page with "In this tutorial you will be learning about two implementations of the [https://en.wikipedia.org/wiki/Producer%E2%80%93consumer_problem producer-consumer problem], a classic example of a concurrency problem. The [http://pages.cs.wisc.edu/~remzi/OSTEP/ class textbook] covers concurrency in great detail in Chapters 25-34, and the producer-consumer problem is covered in [http://pages.cs.wisc.edu/~remzi/OSTEP/threads-cv.pdf Chapter 30 (Condition Variables)] and [http://pages...")
- 17:56, 27 February 2023 Soma talk contribs created page DistOS 2023W 2023-02-27 (Created page with "==Notes== <pre> Web Scale --------- * Midterm grading is ongoing, hopefully will be finished this week * Proposal deadline extended to Friday, will try to give you some material this week to help - I've been ignoring some of you on Teams, I will be replying today Up to this point in the class, we've really been focused on distributed systems for running classic UNIX-like workloads - individual developer/engineer working at a workstation on their stuff Key problems...")
- 19:47, 17 February 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 12 (Created page with " ==Code== <syntaxhighlight lang="kotlin" line> package carleton.comp2601.scrolldemo import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.rememberLazyListState import androidx.compose.material.* import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment impor...")
- 19:40, 15 February 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 11 (Created page with "Learning materials * https://developer.android.com/codelabs/basic-android-kotlin-training-sql-basics * https://developer.android.com/codelabs/basic-android-kotlin-training-intro-room-flow")
- 18:18, 13 February 2023 Soma talk contribs created page DistOS 2023W 2023-02-13 (Created page with "==Notes== <pre> COMP 4000/5102 Midterm Review ----------------------------- Potential questions * What was the vision of the creators of UNIX at Bell Labs? How did later systems violate that vision, and how did later systems from Bell Labs try to return to it? * How has the abstraction of files changed in the context of early distributed operating systems? What is a "file" in different contexts? Why has it changed? * How has the abstraction of volatile memory cha...")