All public logs

Jump to navigation Jump to search

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).

Logs
(newest | oldest) View (newer 250 | ) (20 | 50 | 100 | 250 | 500)
  • 02:54, 16 March 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: 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:36, 8 March 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: 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...")
  • 22:07, 3 March 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: 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...")
  • 22:04, 3 March 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: Tutorial 7 (Created page with "In this tutorial you'll be learning about 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. You can also have a better understanding of special files by doing so. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-...")
  • 04:00, 23 February 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: 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...")
  • 03:39, 3 February 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: Tutorial 5 (Created page with "In this tutorial you will be learning about files and filesystems by experimenting with and extending [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w24/tut5/3000test.c 3000test.c], and creating and manipulating local filesystems. '''WARNING:''' Several of the commands here can lead to system corruption and data loss if not properly used. You have been warned. Please use a VM and make backups, when necessary. '''Note: there are two parts of Tasks/Questions, Part...")
  • 23:40, 27 January 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: 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/w24/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...")
  • 23:15, 21 January 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: Tutorial 3 (Created page with "In this tutorial, you will be experimenting with and extending [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w24/tut3/3000shell.c 3000shell.c], a proof-of-concept program to show you how a Linux shell works. Also, 3000shell's source code will be used as the basis for further modifications in upcoming assignments. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-conte...")
  • 02:55, 13 January 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: 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 loading it 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. Meanwhile, we can also see how a programmer can make use of existing code (libraries). ==General Instructions (same for all tutorials)== <div...")
  • 15:01, 5 January 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: 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...")
  • 14:38, 5 January 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: 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...")
  • 04:04, 5 January 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: 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...")
  • 03:55, 5 January 2024 Lianyingzhao talk contribs created page File:Select-flavor-w24-580px.jpg
  • 03:55, 5 January 2024 Lianyingzhao talk contribs uploaded File:Select-flavor-w24-580px.jpg
  • 03:52, 5 January 2024 Lianyingzhao talk contribs created page File:Select-image-w24-580px.jpg
  • 03:52, 5 January 2024 Lianyingzhao talk contribs uploaded File:Select-image-w24-580px.jpg
  • 03:51, 5 January 2024 Lianyingzhao talk contribs created page File:Select-project-w24-400px.jpg
  • 03:51, 5 January 2024 Lianyingzhao talk contribs uploaded File:Select-project-w24-400px.jpg
  • 03:43, 5 January 2024 Lianyingzhao talk contribs created page File:Select-project-w24-300px.jpg
  • 03:43, 5 January 2024 Lianyingzhao talk contribs uploaded File:Select-project-w24-300px.jpg
  • 03:27, 5 January 2024 Lianyingzhao talk contribs created page COMP3000 Operating Systems W24: 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...")
  • 03:22, 5 January 2024 Lianyingzhao talk contribs created page File:Select-image-w24.jpg
  • 03:22, 5 January 2024 Lianyingzhao talk contribs uploaded File:Select-image-w24.jpg
  • 03:14, 5 January 2024 Lianyingzhao talk contribs created page File:Select-project-w24.jpg
  • 03:14, 5 January 2024 Lianyingzhao talk contribs uploaded File:Select-project-w24.jpg
  • 04:37, 24 December 2023 Lianyingzhao talk contribs created page COMP3000 Operating Systems 2024W (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...")
  • 22:09, 24 October 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: 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...")
  • 21:50, 24 October 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: 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...")
  • 21:37, 24 October 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: 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...")
  • 21:30, 24 October 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: 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...")
  • 21:05, 24 October 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: 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...")
  • 20:47, 24 October 2023 Abdou talk contribs created page COMP3000 Operating Systems F23: Tutorial 5 (Created page with "In this tutorial you will be learning about files and filesystems by experimenting with and extending [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w23/tut5/3000test.c 3000test.c], and creating and manipulating local filesystems. '''WARNING:''' Several of the commands here can lead to system corruption and data loss if not properly used. You have been warned. Please use a VM and make backups, when necessary. '''Note: there are two parts of Tasks/Questions, Part...")
  • 16: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...")
  • 09: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...")
  • 21:57, 26 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...")
  • 22:02, 21 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...")
  • 22:01, 21 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...")
  • 15:13, 21 September 2023 Abdou talk contribs created page File:Flavour-f23.png
  • 15:13, 21 September 2023 Abdou talk contribs uploaded File:Flavour-f23.png
  • 15:12, 21 September 2023 Abdou talk contribs created page File:Choice-f23.png
  • 15:12, 21 September 2023 Abdou talk contribs uploaded File:Choice-f23.png
  • 13:31, 21 September 2023 Abdou talk contribs created page File:Top-left-corner-jpg-f23.jpg
  • 13:31, 21 September 2023 Abdou talk contribs uploaded File:Top-left-corner-jpg-f23.jpg
  • 13:24, 21 September 2023 Abdou talk contribs uploaded a new version of File:Top-left-corner-f23.png
  • 13:19, 21 September 2023 Abdou talk contribs created page File:Top-left-corner-f23.png
  • 13:19, 21 September 2023 Abdou talk contribs uploaded File:Top-left-corner-f23.png
  • 09: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...")
  • 11: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...")
  • 11:01, 31 August 2023 Abdou talk contribs moved page COMP3000 Operating Systems 2023F to COMP3000 Operating Systems 2023F Tutorials
  • 10: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...")
  • 08:59, 31 August 2023 User account Abdou talk contribs was created by Soma talk contribs (Teaching COMP 3000)
  • 17: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...")
  • 11: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>")
  • 11: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...")
  • 18: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...")
  • 23:26, 29 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...")
  • 11: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...")
  • 11: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...")
  • 17: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...")
  • 17: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...")
  • 11: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?")
  • 02: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...")
  • 23:46, 20 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...")
  • 16: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...")
  • 16: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...")
  • 11: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...")
  • 00: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...")
  • 11: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?")
  • 18: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...")
  • 00: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"...")
  • 15: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)...")
  • 14: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.")
  • 01: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...")
  • 01: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...")
  • 12: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...")
  • 00: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...")
  • 12: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...")
  • 02: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...")
  • 13: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...")
  • 15: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...")
  • 15: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")
  • 14: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...")
  • 17:36, 10 February 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 10 (Created page with "==Notes== <pre> February 10 ----------- Web browser with history visualization/query - understand what pages I've been visiting Potential screens: - basic web browser (where user will spend most of their time) - history viewer (text) - history viewer (graphical) How do we display web history? - basic chronological - time, web page, title Potential tasks - what websites do I visit the most? - what topics do I read about? - what authors do I read? - conn...")
  • 17:02, 8 February 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 9 (Created page with "==Notes== <pre> Lecture 9 --------- Key challenge this semester is design as much as implementation So...I'm going to design and build an app, and walk you all through it What websites have I been visiting? - I visit all kinds of places - I don't make bookmarks - yes there is history, but it isn't easy to view - would love the browser to eventually help direct my browsing towards things I, at a high level, want to visit rather than what is most easily in "reach...")
  • 12:47, 8 February 2023 Soma talk contribs created page DistOS 2023W 2023-02-08 (Created page with "==Notes== <pre> Plan 9 & Inferno ---------------- Remember that UNIX was created before the Internet, and was used to develop the Internet Plan 9 is the work of the original UNIX creators to try and make UNIX work on multiple computers that are connected via a network Discussion questions: - how is the design philosophy of UNIX reflected in Plan9? Has that vision changed? - what mechanisms did they create? Compare pipes and P9P for example Inferno was a response...")
  • 12:17, 6 February 2023 Soma talk contribs created page DistOS 2023W 2023-02-06 (Created page with "==Discussion questions== * Discuss what you think was interesting about Sprite relative to past systems. What was new? What was old? * How does AFS compare to NFS, in terms of their design, implementation, and ambition? * What is the role of UNIX in the design and implementation of Sprite and AFS? * What else came to mind when reading and discussing these papers?")
  • 14:58, 3 February 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 8 (Created page with "==Resources== Documentation: * [https://google.github.io/volley/ Volley] * [https://www.weatherbit.io/ Weatherbit] - create an account, sign up for the free plan Tutorials (From GeeksforGeeks.org): * [https://www.geeksforgeeks.org/volley-library-in-android/ Volley Tutorial] * [https://www.geeksforgeeks.org/how-to-build-a-weather-app-in-android/ Weather App Tutorial]")
  • 02:53, 2 February 2023 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: Tutorial 5 (Created page with "In this tutorial you will be learning about files and filesystems by experimenting with and extending [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w23/tut5/3000test.c 3000test.c], and creating and manipulating local filesystems. '''WARNING:''' Several of the commands here can lead to system corruption and data loss if not properly used. You have been warned. Please use a VM and make backups, when necessary. '''Note: there are two parts of Tasks/Questions, Part...")
  • 23:21, 1 February 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 7 (Created page with "==Notes== <pre> Lecture 7 --------- For next time: doing HTTP requests & getting responses, working with REST APIs in Android and Kotlin Today: Processes & Threads in Android A process is a running program on UNIX/Linux (and Windows) - has its own share of memory and CPU resources - isolated from the rest of the system (cannot see the memory of other processes) The CPU runs a process for a while then switches to running other processes - the OS scheduler in the...")
  • 15:11, 1 February 2023 Soma talk contribs created page DistOS 2023W 2023-02-01 (Created page with "==Notes== <pre> LOCUS & NFS notes ----------------- NFS: file servers & file clients (few servers, many clients) - files live on the servers LOCUS: every computer has files, not all files are on all computers - so each computer could be a server or a client - or just have local access could have replicas but logically should act like one file - so replicas have to by synchronized - did centralized sync via a designated host - all updates would go there, and th...")
  • 12:34, 30 January 2023 Soma talk contribs created page DistOS 2023W 2023-01-30 (Created page with "==Discussion Questions== * Why do RPCs require data to be copied? * Why is transparency important? Do you think it is still important? * How does SUN's RPC compare to that described by Nelson? * Why did SUN make its own RPC mechanism? * What are alternatives to RPC? * Do you think RPCs are good for security? Why or why not?")
  • 16:05, 27 January 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 6 (Created page with "==Resources== * [https://developer.android.com/jetpack/compose/interop/interop-apis Interoperability APIs in Compose] * [https://developer.android.com/develop/ui/views/layout/webapps/webview Build web apps in WebView]")
  • 15:08, 25 January 2023 Soma talk contribs created page Mobile Apps 2023W Tutorial 2 (Created page with "==Tasks== For this tutorial you should port RemotePicViewer from [https://homeostasis.scs.carleton.ca/wiki/index.php/Mobile_App_Dev_2022W:_Tutorial_4 Tutorial 4 of COMP 1601] to Android & Jetpack Compose. Note that you'll want to start with a local image resource, then try to integrate a remote image loading library. See the recent lectures for relevant code.")
  • 12:30, 25 January 2023 Soma talk contribs created page DistOS 2023W 2023-01-25 (Created page with "==Discussion Questions== * What is the dream of DSM? * What makes DSM hard? * Why can't we have a general solution to DSM? * Do you think we use DSM today? Why or why not? * What is unclear or confusing about DSM & the readings?")
  • 00:59, 24 January 2023 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: 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...")
  • 12:36, 23 January 2023 Soma talk contribs created page DistOS 2023W 2023-01-23 (Created page with "==Discussion questions== Remember, these are just to get you started. Please allow your discussion to go where it will, so long as it is somewhat related to the readings. * How distributed was the Mother of All Demos? * How distributed was the Alto? * How do these systems relate to the topics of this class? * What did you find interesting? Surprising? * Are there any ideas here that seem promising but we've "forgotten" about?")
  • 02:28, 22 January 2023 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: Tutorial 3 (Created page with "In this tutorial, you will be experimenting with and extending [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w22/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...")
  • 16:15, 20 January 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 4 (Created page with "==Resources== * [https://developer.android.com/jetpack/compose/graphics/images/loading Loading images in Compose] * [https://developer.android.com/jetpack/compose/gestures#dragging Drag gestures in compose]")
  • 13:27, 20 January 2023 Soma talk contribs created page Mobile Applications (Winter 2023) Project Guidelines (Created page with "This page contains guidelines on the class project. This page will be updated based on questions and feedback. ==Project Proposal== Your project proposal should be a relatively short document describing what you plan to do for your project. You should propose to make an original app of some kind. Make sure you propose to do something that you can complete this semester. It is fine to have optional extensions that you add if you have time; the basic app, however, sh...")
  • 15:12, 18 January 2023 Soma talk contribs created page DistOS 2023W 2023-01-18 (Created page with "==Notes== <pre> Lecture 4 --------- Ideas/thoughts from group discussion on Unix - simpler, cheaper than Multics - pipes were there at the beginning and still are used - oldest form of IPC - much less emphasis on security than now (no ASLR!) - built to be modular, easy to enhance, change - programming-friendly environment - software as composition - invented inodes, had a filesystem hierarchy (which as pretty new) - kernel, shell, utilities, interesting spl...")
  • 15:09, 18 January 2023 Soma talk contribs created page Mobile Apps 2023W Tutorial 1 (Created page with " ==Code== ===MainActivity.kt=== <syntaxhighlight lang="kotlin" line> package carleton.comp2601.textanalyzer7 import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.* import androidx.compose.material.* import androidx.compose.runtime.* import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.text.font.FontWeight import androidx.c...")
  • 23:03, 16 January 2023 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: 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...")
  • 14:00, 16 January 2023 Soma talk contribs created page DistOS 2023W 2023-01-16 (Created page with "Video from the second half of class is available in Brightspace in the Zoom portal. ==Notes== <pre> Lecture 3 --------- Group reports - can be bullet points, but paragraphs are better - should be self-contained, should be readable by someone who hasn't done the readings - but you don't have to summarize the entire paper, just make the points you discussed clear Monday group reports are due Friday Wednesday group reports are due Monday (and responses are due...")
  • 04:07, 16 January 2023 Lianyingzhao talk contribs moved page COMP3000 Operating Systems W23: Tutorial 2- to COMP3000 Operating Systems W23: Tutorial 2
  • 03:33, 16 January 2023 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: Tutorial 2- (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:13, 13 January 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 2 (Created page with "==Jetpack Compose== * [https://developer.android.com/courses/jetpack-compose/course Jetpack Compose course]")
  • 17:37, 11 January 2023 Soma talk contribs created page Mobile Apps 2023W Lecture 1 (Created page with "Video from this class is available through Brightspace. ==Notes== <pre> Lecture 1 --------- So...this class is small. Very small. - currently 15 are registered, according to Brightspace - and about half of that are here today... Because the class is so small, we don't have to have a rigid tutorial/assignment/midterm/final structure. In fact, we could do individual projects. Potential topics: - jetpack compose - gestures - web views - app permissions - app...")
  • 19:38, 10 January 2023 Soma talk contribs created page DistOS 2023W 2023-01-11 (Created page with "==Group Discussion== Today we'll be discussing the challenges in building distributed applications. To this end, we will start with the following design exercise. You'll be split into small groups to discuss, and then we'll meet together to discuss what you all found. Every group should take notes so you can write up a group report afterwards. You should also appoint someone to tell the class a 2 minute (or less) highlights from your discussion. ===The Scenarios===...")
  • 17:58, 10 January 2023 Soma talk contribs created page DistOS 2023W 2023-01-09 (Created page with "Video from today's lecture is available on Brightspace, in Zoom->Cloud Recordings. ==Notes== <pre> Lecture 1 --------- What is a distributed operating system? First, it is an operating system - the code that transforms the computer that you have into the one you want to program - abstraction, resource management in the service of applications A distributed OS is one that runs across multiple computers connected via a network (or networks) So, why do we need...")
  • 23:43, 5 January 2023 Lianyingzhao talk contribs created page File:Select-flavor-w23.jpg
  • 23:43, 5 January 2023 Lianyingzhao talk contribs uploaded File:Select-flavor-w23.jpg
  • 23:25, 5 January 2023 Lianyingzhao talk contribs created page File:Select-image-w23.jpg
  • 23:25, 5 January 2023 Lianyingzhao talk contribs uploaded File:Select-image-w23.jpg
  • 23:06, 5 January 2023 Lianyingzhao talk contribs created page File:Select-project-w23.jpg
  • 23:06, 5 January 2023 Lianyingzhao talk contribs uploaded File:Select-project-w23.jpg
  • 21:49, 3 January 2023 Soma talk contribs created page Mobile Applications (Winter 2023) Course Outline (Created page with "==Course Information== *'''Course Number:''' COMP 2601A *'''Term:''' Winter 2023 *'''Title:''' Mobile Applications *'''Institution:''' Carleton University, School of Computer Science *'''Instructor:''' [https://people.scs.carleton.ca/~soma Anil Somayaji] (anilsomayaji at cunet.carleton.ca): online by appointment *'''Teaching Assistants:''' ** (at cmail.carleton.ca): TBD *'''Class:''' Wed. and Fri. 14:35-16:25 (Jan. 9 to Apr. 12) via Zoom (see Brightspace for link) *'''...")
  • 21:21, 3 January 2023 Soma talk contribs created page Mobile Applications (Winter 2023) (Created page with "==Course Outline== Here is the course outline for COMP 2601: Mobile Applications.")
  • 13:42, 3 January 2023 Soma talk contribs created page Distributed OS: Winter 2023 Course Outline (Created page with "==Course Information== *'''Course Number:''' COMP 4000/5102 *'''Term:''' Winter 2023 *'''Title:''' Distributed Operating Systems *'''Institution:''' Carleton University, School of Computer Science *'''Instructor:''' [http://people.scs.carleton.ca/~soma Anil Somayaji] (anil.somayaji at carleton.ca). Office hours by appointment online. *'''Teaching Assistant:''' Nilofar Mansourzadeh (NilofarMansourzadeh at cmail.carleton.ca). Office hours TBD, online *'''Meeting Time:'''...")
  • 13:19, 3 January 2023 Soma talk contribs moved page Distributed OS: Fall 2022 to Distributed OS: Winter 2023 without leaving a redirect
  • 13:18, 3 January 2023 Soma talk contribs created page Distributed OS: Fall 2022 (Created page with "==Course Outline== Here is the course outline.")
  • 14:31, 30 December 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: 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 . The instructions below assume you have created your VM instance with the VPN. ==Linux== <span style="color:#0000ff;font-weight:bold">ssh -J CarletonUserName@access.scs.carleton.ca VMUserName@VMIP</span> This above is the ea...")
  • 19:51, 29 December 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: 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...")
  • 02:19, 28 December 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W23: Tutorial 1 (Created page with "This first tutorial will prepare you for all subsequent tutorials. You will familiarize yourself with the OS environment and, in particular, learn the basics of command-line interaction in Linux (Ubuntu). When source files are needed, you can download them by clicking on the hyperlink. {{Collapse top}} Tutorials are graded based on participation and effort ('''so no need to try to have the “correct” answers — what matters is the process'''), but you should still t...")
  • 05:01, 22 December 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems 2023W (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 here. ⚠️ For all submissions (regardless of whether collaboration is allowed), the answers must be your own words. Any answers copy-pasted or rephrased from someone else with high resemblance are identified in your submission, yo...")
  • 19:23, 8 December 2022 Soma talk contribs created page Operating Systems 2022F Lecture 23 (Created page with "==Video== Video from the lecture given on December 8, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec23-20221208.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec23-20221208.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 23 ---------- * Assignment 4 solutions * Final...")
  • 00:40, 7 December 2022 Soma talk contribs created page Operating Systems 2022F Lecture 22 (Created page with "==Video== Video from the lecture given on December 6, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec22-20221206.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec22-20221206.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 22 ---------- Today - answer questions about A4...")
  • 15:55, 1 December 2022 Soma talk contribs created page Operating Systems 2022F Lecture 21 (Created page with "==Video== Video from the lecture given on December 1, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec21-20221201.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec21-20221201.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 21 ---------- - Assignment 4 due in a week - ad...")
  • 22:28, 29 November 2022 Soma talk contribs created page Operating Systems 2022F Lecture 20 (Created page with "==Video== Video from the lecture given on November 29, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec20-20221129.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec20-20221129.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 20 ---------- 4 more classes, including today! F...")
  • 20:08, 22 November 2022 Soma talk contribs created page Operating Systems 2022F Lecture 19 (Created page with "==Video== Video from the lecture given on November 22, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec19-20221122.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec19-20221122.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 19 ---------- - No class Thursday (US Thanksgivi...")
  • 00:47, 22 November 2022 Soma talk contribs created page Operating Systems 2022F: Assignment 4 (Created page with "'''This assignment is still being developed.''' ==Source== [https://homeostasis.scs.carleton.ca/~soma/os-2022f/code/c3000procreport.zip c3000procreport.zip] ===c3000procreport.c=== <syntaxhighlight lang="c" line> c3000procreport.c Anil Somayaji November 21, 2022 creates a device /dev/procreport that, when read, reports on the process reading the device based on newgetpid and 3000physicalview Carleton University COMP 3000, Fall 2022: #inc...")
  • 18:06, 17 November 2022 Soma talk contribs created page Operating Systems 2022F Lecture 18 (Created page with "==Video== Video from the lecture given on November 17, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec18-20221117.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec18-20221117.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 18 ---------- Side note: - there are only *thre...")
  • 22:05, 15 November 2022 Soma talk contribs created page Operating Systems 2022F Lecture 17 (Created page with "==Video== Video from the lecture given on November 15, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec17-20221115.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec17-20221115.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 17 ---------- - midterms, A2 are graded - fee...")
  • 22:00, 11 November 2022 Soma talk contribs created page Operating Systems 2022F: Assignment 3 (Created page with "Please submit the answers to the following questions via Brightspace by November 21, 2022 by 11:59 PM. There are ?? points in ?? questions. Submit your answers as a plain text file following [https://homeostasis.scs.carleton.ca/~soma/os-2022f/templates/comp3000-a3-template.txt this template]. Name your answer file "comp3000-assign3-<username>.txt" (where username is your MyCarletonOne username). '''Please make sure your submission passes the [https://homeostasis.scs.c...")
  • 17:52, 10 November 2022 Soma talk contribs created page Operating Systems 2022F Lecture 16 (Created page with "==Video== Video from the lecture given on November 10, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec18-20221110.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec18-20221110.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 16 ---------- - scheduling - eBPF For Tutorial...")
  • 22:21, 8 November 2022 Soma talk contribs created page Operating Systems 2022F Lecture 15 (Created page with "==Video== Video from the lecture given on November 8, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec15-20221108.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec15-20221108.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 15 ---------- * Washer delivery happening shortly...")
  • 12:25, 7 November 2022 Soma talk contribs created page Operating Systems 2022F: Tutorial 9 (Created page with "==Introduction== WARNING: The commands and programs in this tutorial are potentially extremely dangerous and may result in crashes or loss of data. Additionally, questions may not work as expected on a machine other than the course VM. For that reason, you are strongly encouraged to do this tutorial on the provided OpenStack virtual machine. In this tutorial we will be examining the physical memory mapping of processes with the help of a kernel module that performs a 5-...")
  • 12:24, 7 November 2022 Soma talk contribs created page Operating Systems 2022F: Tutorial 8 (Created page with "In this tutorial you'll be learning about special files and how to create one kind of special file, a character device, using Linux kernel modules. =Special Files= In this part your goal is to learn how special files are similar and different from regular files. ==Learning Objectives== * What does a special file represent? * Can you have multiple special files that are somehow "the same"? What does it mean to "copy" a special file? * What are character devices used f...")
  • 16:12, 3 November 2022 Soma talk contribs created page Operating Systems 2022F Lecture 14 (Created page with "==Video== Video from the lecture given on November 3, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec14-20221103.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec14-20221103.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 14 ---------- Assignment 3 has not yet been relea...")
  • 12:52, 2 November 2022 User account Huzaifa talk contribs was created by Soma talk contribs and password was sent by email (COMP 3000 2022F)
  • 12:51, 2 November 2022 Soma talk contribs created page Operating Systems 2022F: Tutorial 7 (Created page with "'''This tutorial is still being developed.''' In this tutorial you will use a variety of bpftrace scripts in order to observe 3000shell and other running programs. ==ptrace, eBPF, and bpftrace== Processes are normally isolated from each other, in that code and data in one cannot be accessed by another. However, in the past tutorials we've used tools to observe process behaviour: <tt>strace</tt>, <tt>ltrace</tt>, and <tt>gdb</tt>. It turns out these programs use a sp...")
  • 11:15, 2 November 2022 Soma talk contribs created page Operating Systems 2022F Lecture 13 (Created page with "==Video== Video from the lecture given on November 1, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec13-20221101.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec13-20221101.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 13 ---------- Bit behind on things - grading in p...")
  • 14:24, 21 October 2022 Soma talk contribs created page Operating Systems 2022F: Tutorial 6 (Created page with "In this tutorial you'll 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....")
  • 15:43, 20 October 2022 Soma talk contribs created page Operating Systems 2022F Lecture 12 (Created page with "==Video== Video from the lecture given on October 20, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec12-20221020.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec12-20221020.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 12 ---------- To update your VM - backup! (thes...")
  • 18:16, 18 October 2022 Soma talk contribs created page Operating Systems 2022F Lecture 11 (Created page with "==Video== Video from the lecture given on October 18, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec11-20221018.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec11-20221018.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 11 ---------- Grading - working on A2 and the mi...")
  • 10:32, 14 October 2022 Soma talk contribs created page Operating Systems 2022F: Tutorial 5 (Created page with "In this tutorial you will be learning about files and filesystems by experimenting with and extending [http://homeostasis.scs.carleton.ca/~soma/os-2017f/code/tut3/3000test.c 3000test.c] (listed below), creating and manipulating local filesystems, and mounting remote files using sshfs. The following are written assuming you are using an openstack virtual machine. Some questions may require some changes if you are using another environment. '''WARNING:''' Several of the...")
  • 20:45, 11 October 2022 Soma talk contribs created page Operating Systems 2022F Lecture 10 (Created page with "==Video== Video from the lecture given on October 11, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec10-20221011.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec10-20221011.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 10 ---------- Admin - A1 is graded. To find the...")
  • 15:48, 6 October 2022 Soma talk contribs created page Operating Systems 2022F Lecture 9 (Created page with "==Video== Video from the lecture given on October 6, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec09-20221006.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec09-20221006.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 9 --------- Admin stuff - Assignment 2 is due Tues...")
  • 21:53, 4 October 2022 Soma talk contribs created page Operating Systems 2022F Lecture 8 (Created page with "==Video== Video from the lecture given on October 4, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec08-20221004.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec08-20221004.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 8 --------- Tutorial 4 covers SSH & permissions/us...")
  • 18:13, 29 September 2022 Soma talk contribs created page Operating Systems 2022F: Assignment 2 (Created page with "'''This assignment is still being developed.''' '''If you submission: * Doesn't pass the validator, * Is not named "comp3000-assign2-myname" where myname is your MyCarletonOne username, or * Does not contain your Student ID number in the designated part of the template Then your submission will automatically get a grade of zero, because it won't work with the submission scripts. You have been warned!'''")
  • 16:21, 29 September 2022 Soma talk contribs created page Operating Systems 2022F Lecture 7 (Created page with "==Video== Video from the lecture given on September 29, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec07-20220929.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec07-20220929.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 7 --------- Covered A1 solutions, walked throug...")
  • 23:56, 27 September 2022 Soma talk contribs created page Operating Systems 2022F Lecture 6 (Created page with "==Video== Video from the lecture given on September 27, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec06-20220927.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec06-20220927.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 6 --------- - validator not working: read the...")
  • 12:21, 26 September 2022 Soma talk contribs created page GDB quick start (Created page with "==Getting Started== * Type "gdb <program>" to debug a program binary * Compile with -g (to get debugging symbols) (keep -O) to allow gdb to have more info about the program when debugging. But it will work without -g. * At the prompt type "run" to run it under gdb's control. * To debug an already running program, type "attach <PID>" * By default gdb can only attach to child processes. To allow attaching to processes that aren't gdb's children, do the following: sudo...")
  • 22:08, 22 September 2022 Soma talk contribs created page Operating Systems 2022F Lecture 5 (Created page with "==Video== Video from the lecture given on September 22, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec05-20220922.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec05-20220922.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 5 --------- Today, Tutorial 3, along with some...")
  • 17:27, 20 September 2022 Soma talk contribs created page Operating Systems 2022F Lecture 4 (Created page with "==Video== ==Notes== <pre> Lecture 4 --------- * Assignment 1 has been released, due Sept. 28th - based on T1 & T2, if you've done them it should be straightforward - please use the template and validate after completing the assignment - we use scripts to split up the assignment by question so they can be graded all at once - collaborators should be at the top; resources (e.g., web pages) should be listed with the question it helped with (remembe...")
  • 10:33, 17 September 2022 Soma talk contribs created page Operating Systems 2022F: Assignment 1 (Created page with "'''This Assignment is still being developed.''' <syntaxhighlight lang="c" line> 3000menu.c: #include <stdio.h> #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> #include <stdlib.h> extern char **environ; char *menu[] = { "/usr/bin/ls", "/usr/bin/whoami", "/usr/bin/top", "QUIT", NULL }; int QUIT = 3; void run_program(int choice) { pid_t pid; int status; printf("Running %s\n"...")
  • 11:23, 15 September 2022 Soma talk contribs created page Operating Systems 2022F: Tutorial 4 (Created page with "In this tutorial you will learn about how accounts and logging in work through exploring 3000userlogin and ssh. ==Logging in to a UNIX system== In order to log in to a UNIX system (Linux or otherwise), the following steps must occur (potentially not in this order). # The user must authenticate themselves, proving their identity and that they are allowed to access the system. By default this is done through a username and password. # A new process, U, should be create...")
  • 11:12, 15 September 2022 Soma talk contribs created page Operating Systems 2022F: Tutorial 3 (Created page with "In this tutorial you will be experimenting with and extending [https://homeostasis.scs.carleton.ca/~soma/os-2019f/code/3000shell.c 3000shell.c] (listed below). '''Make sure you use the original code from 3000shell for each question.''' ==Getting Started== You should download [https://homeostasis.scs.carleton.ca/~soma/os-2019f/code/3000shell.c 3000shell.c] on your openstack instance (or a Ubuntu Linux 21.04 system or similar). Compile it using the command gcc -O -g -...")
  • 13:04, 12 September 2022 Soma talk contribs created page Operating Systems 2022F Lecture 3 (Created page with "==Textbook Readings== * [https://pages.cs.wisc.edu/~remzi/OSTEP/cpu-api.pdf 5. Process API]")
  • 13:03, 12 September 2022 Soma talk contribs created page Operating Systems 2022F Lecture 2 (Created page with "==Textbook Readings== * [https://pages.cs.wisc.edu/~remzi/OSTEP/dialogue-virtualization.pdf 3. Virtualization Dialog] * [https://pages.cs.wisc.edu/~remzi/OSTEP/cpu-intro.pdf 4. Processes]")
  • 20:54, 11 September 2022 Soma talk contribs created page Operating Systems 2022F: Tutorial 2 (Created page with "In this tutorial we're going to look at how processes work at a low level: how they make system calls & library calls, how C and assembly compare, and and how memory is laid out. If you haven't already, please set up and use a VM on openstack for this work. ==Background== A process on UNIX-like systems are separated from each other: they run in their own address space - pointers can only refer to code and data in that program, not in other programs. Because programs...")
  • 21:46, 8 September 2022 Soma talk contribs created page Operating Systems 2022F Lecture 1 (Created page with "==Video== Video from the lecture given on September 8, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec01-20220908.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec01-20220908.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom meeting->Cloud Recordings tab) ==Notes== <pre> Lecture 1 --------- Using openstack - first, run newacc...")
  • 18:06, 1 September 2022 Soma talk contribs created page Operating Systems 2022F: Tutorial 1 (Created page with "In this tutorial you will be learning the basics of command-line interaction in Linux. ==Getting Started== For this tutorial, you need to get access to a Linux or UNIX machine. We strongly suggest you use an SCS Openstack instance (see below). You'll need access to a system for the entire semester, ideally the same one. The concepts covered below are mostly part of standard UNIX/Linux tutorials. Feel free to consult one or more of them. However, remember that you...")
  • 12:07, 1 September 2022 Soma talk contribs created page Operating Systems (Fall 2022) Course Outline (Created page with "'''This course outline is still being revised.''' ==Course Information== *'''Course Number:''' COMP 3000 *'''Term:''' Fall 2022 *'''Title:''' Operating Systems *'''Institution:''' Carleton University, School of Computer Science *'''Instructor:''' [https://people.scs.carleton.ca/~soma Anil Somayaji] (anil.somayaji at carleton.ca): by appointment via Teams and Tue. and Thu. 1-2 PM via zoom (see cuLearn for link) *'''Teaching Assistants:''' (office hours via Teams chat) *...")
  • 11:57, 1 September 2022 Soma talk contribs created page Operating Systems (Fall 2022) (Created page with "Page coming soon.")
  • 14:00, 8 April 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 23 (Created page with "==Video== Video from the lecture given on April 8, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec23-20220408.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec23-20220408.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom Meetings (Recordings, etc.)->Cloud Recordings tab). Note that here you'll also see chat messages. ==Notes=...")
  • 19:04, 6 April 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 22 (Created page with "==Video== Video from the lecture given on April 6, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec22-20220406.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec22-20220406.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom Meetings (Recordings, etc.)->Cloud Recordings tab). Note that here you'll also see chat messages. ==Notes=...")
  • 13:46, 1 April 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 21 (Created page with "==Video== Video from the lecture given on April 1, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec21-20220401.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec21-20220401.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom Meetings (Recordings, etc.)->Cloud Recordings tab). Note that here you'll also see chat messages. ==Notes=...")
  • 15:37, 30 March 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 20 (Created page with "==Video== Video from the lecture given on March 30, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec20-20220330.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec20-20220330.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom Meetings (Recordings, etc.)->Cloud Recordings tab). Note that here you'll also see chat messages. ==Notes...")
  • 13:41, 28 March 2022 Soma talk contribs created page Mobile App Dev 2022W: Assignment 4 (Created page with "Please answer all of the following questions in the [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/templates/comp1601-assign4-template.txt supplied template]. Your uploaded file should be named "comp1601-assign4-<i>MCOname</i>.txt" where MCOname is your MyCarletonOne username (i.e., the username you use to login to Brightspace) and it should be a UNIX text file (LF line endings). <b>You may use [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/validators/a4-va...")
  • 16:02, 25 March 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 19 (Created page with "==Video== Video from the lecture given on March 25, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec19-20220325.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec19-20220325.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom Meetings (Recordings, etc.)->Cloud Recordings tab). Note that here you'll also see chat messages. ==Notes...")
  • 11:49, 25 March 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: 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. Tutorials are graded based on participation and effort ('''so no need to try to have the “correct” answers — what matters is the process'''), but you should still turn in your work. Even if you have no...")
  • 13:37, 23 March 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 18 (Created page with "==Video== Video from the lecture given on March 23, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec18-20220323.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec18-20220323.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom Meetings (Recordings, etc.)->Cloud Recordings tab). Note that here you'll also see chat messages. ==Notes...")
  • 13:40, 22 March 2022 Soma talk contribs created page Mobile App Dev 2022W: Tutorial 9 (Created page with "==Code== ===[https://homeostasis.scs.carleton.ca/~soma/mad-2022w/code/PicViewer2/MainActivity.kt MainActivity.kt]=== <syntaxhighlight lang="kotlin" line> package carleton.comp1601.remotepicview2 import android.os.Bundle import android.text.Editable import android.text.TextWatcher import android.view.MotionEvent import android.view.View import android.widget.EditText import android.widget.ImageView import androidx.appcompat.app.AppCompatActivity class MainActivity : A...")
  • 23:39, 18 March 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 17 (Created page with "==Video== Video from the lecture given on March 18, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec17-20220318.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec17-20220318.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom Meetings (Recordings, etc.)->Cloud Recordings tab). Note that here you'll also see chat messages. ==Notes...")
  • 00:35, 18 March 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: 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...")
  • 13:55, 16 March 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 16 (Created page with "==Video== Video from the lecture given on March 16, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec16-20220316.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec16-20220316.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom Meetings (Recordings, etc.)->Cloud Recordings tab). Note that here you'll also see chat messages. ==Notes...")
  • 12:06, 15 March 2022 Soma talk contribs created page Mobile App Dev 2022W: Assignment 3 (Created page with "'''This assignment is still being developed.''' Please answer all of the following questions in the [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/templates/comp1601-assign3-template.txt supplied template]. Your uploaded file should be named "comp1601-assign3-<i>MCOname</i>.txt" where MCOname is your MyCarletonOne username (i.e., the username you use to login to Brightspace) and it should be a UNIX text file (LF line endings). <b>You may use [https://homeostasis...")
  • 23:05, 13 March 2022 Soma talk contribs created page Mobile App Dev 2022W: Tutorial 8 (Created page with "==Code== ===[https://homeostasis.scs.carleton.ca/~soma/mad-2022w/code/DragDemo3/MainActivity.kt app/src/main/java/carleton/comp1601/dragdemo3/MainActivity.kt]=== <syntaxhighlight lang="kotlin" line> package carleton.comp1601.dragdemo3 import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.MotionEvent import android.view.View import kotlin.math.abs import android.widget.TextView class MainActivity : AppCompatActivity() { priva...")
  • 13:31, 12 March 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: Tutorial 7 Not Using SCSOpenStack (Created page with "If you are not using our course VM for some reason, you might encounter the following problems. 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 .ko file is produced, you may have installed a version of Ubuntu that is too minimal. But you can fix it by installing the right packages. Do the fo...")
  • 16:25, 11 March 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 15 (Created page with "==Video== ==Notes== <pre> Lecture 15 ---------- Drawable shape resources: https://developer.android.com/guide/topics/resources/drawable-resource#Shape xmlns - XML namespace - specifies what is valid for this XML file/fragment </pre>")
  • 00:43, 11 March 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: Tutorial 7 (Created page with "In this tutorial you'll be learning about special files and Linux kernel modules. You’ll create several kernel modules and see how to interact with them using special files (e.g., character device) and their file operations as an interface. Tutorials are graded based on participation and effort ('''so no need to try to have the “correct” answers — what matters is the process'''), but you should still turn in your work. Even if you have no idea about certain task...")
  • 16:06, 9 March 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 14 (Created page with "==Video== Video from the lecture given on March 9, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec14-20220309.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec14-20220309.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources->Zoom Meetings (Recordings, etc.)->Cloud Recordings tab). Note that here you'll also see chat messages. ==Notes=...")
  • 11:28, 9 March 2022 Soma talk contribs created page Mobile App Dev 2022W: Tutorial 7 (Created page with "===MainActivity.kt=== <syntaxhighlight lang="kotlin" line> package carleton.comp1601.tapdemo import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.os.PersistableBundle import android.util.Log import android.view.View import android.widget.TextView class MainActivity : AppCompatActivity() { private lateinit var myMessage: TextView private var count = 0 override fun onCreate(savedInstanceState: Bundle?) { super.onCr...")
  • 15:07, 2 March 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 13 (Created page with "==Video== Video from the lecture given on March 2, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec13-20220302.m4v vi...")
  • 00:07, 24 February 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: 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 e...")
  • 14:23, 18 February 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 12 (Created page with "==Video== (Video is not yet uploaded.) Video from the lecture given on February 18, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/co...")
  • 14:12, 16 February 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 11 (Created page with "==Video== (Video not yet uploaded.) Video from the lecture given on February 16, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1...")
  • 23:16, 15 February 2022 Soma talk contribs created page Mobile App Dev 2022W: Tutorial 6 (Created page with "In this tutorial you will be playing with [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/code/textanalyzer-5 textanalyzer-5], which implements the same text analyzer fun...")
  • 01:57, 12 February 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 10 (Created page with "==Video== Video from the lecture given on February 11, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec10-20220211.m4...")
  • 17:03, 10 February 2022 Soma talk contribs created page Mobile App Dev 2022W: Assignment 2 (Created page with "'''This assignment is still being developed.''' ==Code== <syntaxhighlight lang="swift" line> // remotePicDemo2 // // code for Assignment 2 // COMP 1601 2022W, Carleton Unive...")
  • 17:02, 9 February 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 9 (Created page with "==Video== Video from the lecture given on February 9, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec09-20220209.m4v...")
  • 14:18, 8 February 2022 Soma talk contribs created page Mobile App Dev 2022W: Tutorial 5 (Created page with "'''This tutorial is still being developed.''' In this tutorial you will be playing with [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/code/textanalyzer-3.zip textanaly...")
  • 14:34, 4 February 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 8 (Created page with "==Video== Video from the lecture given on February 4, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec08-20220204.m4v...")
  • 17:06, 2 February 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: Tutorial 5 (Created page with "In this tutorial you will be learning about files and filesystems by experimenting with and extending 3000test.c, and creating and manipulating local filesystems. '''WARNING:'...")
  • 14:44, 2 February 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 7 (Created page with "==Video== Video from the lecture given on February 2, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec07-20220202.m4v...")
  • 17:06, 1 February 2022 Soma talk contribs created page Mobile App Dev 2022W: Tutorial 4 (Created page with "In this tutorial you will be playing with [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/code/remotePicViewer/ContentView.swift remotePicViewer], a simple image viewer i...")
  • 16:07, 28 January 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 6 (Created page with "==Video== Video from the lecture given on January 28, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec06-20220128.m4v...")
  • 01:34, 27 January 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: 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/w22/tut4/3000userlogin.c...")
  • 00:11, 27 January 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: 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...")
  • 17:39, 26 January 2022 Soma talk contribs created page Mobile App Dev 2022W: Assignment 1 (Created page with "'''This assignment is still being developed. Please answer all of the following questions in the [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/templates/assign1-templa...")
  • 17:20, 26 January 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 5 (Created page with "==Video== Video from the lecture given on January 26, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec05-20220126.m4v...")
  • 22:47, 25 January 2022 Soma talk contribs created page Mobile App Dev 2022W: Tutorial 3 (Created page with "==Code== [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/code/dragDemo2/ContentView.swift dragDemo2 ContentView.swift] <syntaxhighlight lang="swift" line> // // Conten...")
  • 14:02, 21 January 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 4 (Created page with "==Video== Video from the lecture given on January 21, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec04-20220121.m4v...")
  • 14:06, 19 January 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 3 (Created page with "==Video== ==Notes== <pre> Lecture 3 --------- - how to succeed in this class - how to suceed in computer science - Tutorial 2 For tutorial checkoff - no more than one...")
  • 01:28, 19 January 2022 Soma talk contribs created page Mobile App Dev 2022W: Tutorial 2 (Created page with "==Code== <syntaxhighlight lang="swift" line> // // ContentView.swift for textanalyzer-1 // // Created by Anil Somayaji on 2022-01-19. // import SwiftUI struct ContentView...")
  • 01:39, 17 January 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: Tutorial 3 (Created page with "In this tutorial, you will be experimenting with and extending 3000shell.c, a proof-of-concept program to show you how a Linux shell works. Also, you will be learning to read...")
  • 22:50, 14 January 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 2 (Created page with "==Video== Video from the lecture given on January 14, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/mad-2022w/lectures/comp1601-2022w-lec02-20220114.m4v...")
  • 18:35, 13 January 2022 Soma talk contribs created page File:Square-1-screenshot-2022w.png (Screenshot of square-1 from Tutorial 1 of COMP 1601, Winter 2022.)
  • 18:35, 13 January 2022 Soma talk contribs uploaded File:Square-1-screenshot-2022w.png (Screenshot of square-1 from Tutorial 1 of COMP 1601, Winter 2022.)
  • 16:21, 13 January 2022 Soma talk contribs created page Mobile App Dev 2022W: Tutorial 1 (Created page with "'''This tutorial is still in development.''' ==Code== <syntaxhighlight lang="swift" line> // square-1, ContentView.swift // // for Tutorial 1, COMP 1601 Winter 2022, Carl...")
  • 02:19, 13 January 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: 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...")
  • 12:15, 12 January 2022 Soma talk contribs created page Mobile App Development 2022W Lecture 1 (Created page with "Topics * Discuss the course outline * Mobile App Dev 2022W: Getting started with Xcode|Getting started with X...")
  • 12:06, 12 January 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: Connecting to SCS Openstack (Created page with "If you want to access the openstack environment during a video call (e.g., the lecture), please avoid streaming through the Carleton VPN. You can also use these alternatives t...")
  • 11:56, 12 January 2022 Soma talk contribs created page Mobile App Dev 2022W: Getting started with Xcode (Created page with "Below are instructions on how to get a first [https://developer.apple.com/xcode/swiftui/ SwiftUI] app running in [https://developer.apple.com/xcode/ Xcode] and ready to instal...")
  • 03:00, 6 January 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: 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: (this is not step-...")
  • 02:57, 6 January 2022 Lianyingzhao talk contribs created page File:Floating-ip.jpg
  • 02:57, 6 January 2022 Lianyingzhao talk contribs uploaded File:Floating-ip.jpg
  • 02:51, 6 January 2022 Lianyingzhao talk contribs created page File:Security-group.jpg
  • 02:51, 6 January 2022 Lianyingzhao talk contribs uploaded File:Security-group.jpg
  • 02:47, 6 January 2022 Lianyingzhao talk contribs created page File:Select-flavor.jpg
  • 02:47, 6 January 2022 Lianyingzhao talk contribs uploaded File:Select-flavor.jpg
  • 02:43, 6 January 2022 Lianyingzhao talk contribs created page File:Select-image.jpg
  • 02:43, 6 January 2022 Lianyingzhao talk contribs uploaded File:Select-image.jpg
  • 02:40, 6 January 2022 Lianyingzhao talk contribs created page File:Boot-source.jpg
  • 02:40, 6 January 2022 Lianyingzhao talk contribs uploaded File:Boot-source.jpg
  • 02:32, 6 January 2022 Lianyingzhao talk contribs created page File:Select-project.jpg
  • 02:32, 6 January 2022 Lianyingzhao talk contribs uploaded File:Select-project.jpg
  • 00:59, 3 January 2022 Lianyingzhao talk contribs created page COMP3000 Operating Systems W22: Tutorial 1 (Created page with "In this first tutorial you will be learning the basics of command-line interaction in Linux (Ubuntu) and how to find out information about the OS environment. When source file...")
  • 19:11, 2 January 2022 Soma talk contribs created page Mobile Application Development (Winter 2022) Course Outline (Created page with "==Course Information== *'''Course Number:''' COMP 1601A *'''Term:''' Winter 2022 *'''Title:''' Introduction to Mobile Application Development *'''Institution:''' Carleton Uni...")
  • 18:53, 2 January 2022 Soma talk contribs created page Mobile Application Development (Winter 2022) (Created page with "==Course Outline== Here is the course outline for COMP 1601: Introduction to Mobile Application Development....")
  • 13:25, 31 December 2021 Lianyingzhao talk contribs created page COMP3000 Operating Systems 2022W (Created page with "'''Note: this page is only used to host publicly available material linked from Brightspace. Do NOT visit it directly for staying updated.'''")
  • 19:37, 30 December 2021 Soma talk contribs deleted page Test (content before blanking was: "test")
  • 19:05, 30 December 2021 User account Lianyingzhao talk contribs was created by Soma talk contribs
  • 18:43, 30 December 2021 User account Lzhao talk contribs was created by Soma talk contribs and password was sent by email
  • 22:43, 14 December 2021 Soma talk contribs created page Operating Systems 2021F Final Exam QA (Created page with "==Video== Video from the Final Exam Q&A session given on December 14, 2021 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2021f/lectures/comp3000-2021f-fina...")
  • 20:15, 9 December 2021 Soma talk contribs created page DistOS 2021F 2021-12-09 (Created page with "==Notes== <pre> Lecture 22 ---------- Final exam review - themes of the class - key papers & concepts - potential questions Format of final exam - 3 hours - essay que...")
  • 14:45, 9 December 2021 Soma talk contribs created page Operating Systems 2021F Lecture 23 (Created page with "==Video== Video from the lecture given on December 9, 2021 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2021f/lectures/comp3000-2021f-lec23-20211209.m4v...")
  • 15:10, 7 December 2021 Soma talk contribs created page Operating Systems 2021F Lecture 22 (Created page with "==Video== Video from the lecture given on December 7, 2021 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2021f/lectures/comp3000-2021f-lec22-20211207.m4v...")
  • 23:11, 2 December 2021 Soma talk contribs created page DistOS 2021F 2021-12-02 (Created page with "==Notes== <pre> Lecture 21 ---------- Ethereum security - what do you think? Yeah, it isn't great So, do you trust this enough to put your entire economic future into this...")
  • 13:29, 2 December 2021 Soma talk contribs created page Operating Systems 2021F Lecture 21 (Created page with "==Video== Video from the lecture given on December 2, 2021 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2021f/lectures/comp3000-2021f-lec20-20211202.m4v...")
  • 20:40, 30 November 2021 Soma talk contribs created page DistOS 2021F 2021-11-30 (Created page with "==Notes== <pre> Lecture 20 ---------- We've discussed blockchains & bitcoin What's different with Ethereum? - "smart contracts" - distributed application running in VMs...")
  • 16:26, 30 November 2021 Soma talk contribs created page Operating Systems 2021F Lecture 20 (Created page with "==Video== Video from the lecture given on November 30, 2021 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2021f/lectures/comp3000-2021f-lec20-20211130.m4v...")
  • 01:12, 30 November 2021 Soma talk contribs created page Operating Systems 2021F: Assignment 4 (Created page with "'''This assignment is still being developed.''' Please submit the answers to the following questions via Brightspace by December 9, 2021 at 10:00 AM. There are 20 points in ?...")
  • 10:57, 27 November 2021 Soma talk contribs created page Operating Systems 2021F: Tutorial 9 (Created page with "'''This tutorial is still being developed.''' ==Introduction== WARNING: The commands and programs in this tutorial are potentially extremely dangerous and may result in crash...")
  • 21:08, 26 November 2021 Housedhorse talk contribs created page DistOS 2021F Experience 2 (Touch experience 2)
  • 21:56, 23 November 2021 Soma talk contribs created page DistOS 2021F 2021-11-23 (Created page with "==Notes== <pre> Lecture 19 ---------- - experience 2 is going up shortly - all set, william just has to post - will be due last day of class - but will be accept...")
  • 16:27, 23 November 2021 Soma talk contribs created page Operating Systems 2021F Lecture 19 (Created page with "==Video== Video from the lecture given on November 23, 2021 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2021f/lectures/comp3000-2021f-lec19-20211123.m4v...")
  • 00:23, 23 November 2021 Soma talk contribs created page Operating Systems 2021F: Tutorial 8 (Created page with "'''This tutorial is still being developed.''' In this tutorial you'll be learning about two implementations of the [https://en.wikipedia.org/wiki/Producer%E2%80%93consumer_pr...")
  • 22:26, 18 November 2021 Soma talk contribs created page DistOS 2021F 2021-11-18 (Created page with "==Notes== <pre> Lecture 18 ---------- - proposals, I'm grading, that is my tomorrow - but tonight, I'll get you readings, hopefully for rest of term - experience 2 is almo...")
  • 12:56, 18 November 2021 Soma talk contribs created page Operating Systems 2021F Lecture 18 (Created page with " ==Notes== <pre> Lecture 18 ---------- - Restoring from access - ssh-agent - chmod - see man page on online explanations - supervisor vs user mode - what the kernel...")
(newest | oldest) View (newer 250 | ) (20 | 50 | 100 | 250 | 500)