User contributions for Soma
Jump to navigation
Jump to search
- 17:54, 5 April 2023 diff hist +2,697 DistOS 2023W 2023-04-05 →Notes current
- 17:53, 5 April 2023 diff hist +5,376 N 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..." current
- 17:53, 5 April 2023 diff hist +10 Mobile Applications (Winter 2023) →April 5, 2023 current
- 11:41, 5 April 2023 diff hist +175 N 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>"
- 13:52, 3 April 2023 diff hist +1,942 DistOS 2023W 2023-04-03 →Notes current
- 11:53, 3 April 2023 diff hist −59 Mobile Applications (Winter 2023) →Class Schedule
- 11:53, 3 April 2023 diff hist −45 Distributed OS: Winter 2023 current
- 11:47, 3 April 2023 diff hist +704 N 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 diff hist +4,798 N 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..." current
- 18:05, 31 March 2023 diff hist +14 Mobile Applications (Winter 2023) →March 31, 2023
- 23:26, 29 March 2023 diff hist +5,208 N 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..." current
- 23:25, 29 March 2023 diff hist +14 Mobile Applications (Winter 2023) →March 29, 2023
- 14:41, 29 March 2023 diff hist −257 Mobile Applications (Winter 2023) Project Guidelines →Presentation current
- 14:39, 29 March 2023 diff hist +42 Mobile Applications (Winter 2023) →Class Schedule
- 14:20, 29 March 2023 diff hist +2,249 DistOS 2023W 2023-03-29 current
- 11:49, 29 March 2023 diff hist +29 Distributed OS: Winter 2023 →April 5, 2023
- 11:48, 29 March 2023 diff hist +504 N 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..."
- 14:17, 27 March 2023 diff hist +2,772 DistOS 2023W 2023-03-27 current
- 11:52, 27 March 2023 diff hist +1,018 N 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 diff hist +3,478 N 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..." current
- 17:14, 24 March 2023 diff hist +14 Mobile Applications (Winter 2023) →March 24, 2023
- 17:13, 22 March 2023 diff hist +3,212 N 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..." current
- 17:11, 22 March 2023 diff hist +417 Mobile Applications (Winter 2023) →Class Schedule
- 13:32, 22 March 2023 diff hist +3,526 DistOS 2023W 2023-03-22 current
- 11:33, 22 March 2023 diff hist +326 N 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?"
- 23:46, 20 March 2023 diff hist +3,240 N 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..." current
- 16:52, 17 March 2023 diff hist +4,238 N 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..." current
- 16:50, 17 March 2023 diff hist +74 Mobile Applications (Winter 2023) →Class Schedule
- 16:00, 15 March 2023 diff hist +1,381 N 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..." current
- 15:59, 15 March 2023 diff hist +74 Mobile Applications (Winter 2023) →Class Schedule
- 12:56, 15 March 2023 diff hist +429 DistOS 2023W 2023-03-15 current
- 11:44, 15 March 2023 diff hist +888 N 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..."
- 14:27, 13 March 2023 diff hist +2,617 DistOS 2023W 2023-03-13 current
- 11:35, 13 March 2023 diff hist +257 N 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 diff hist +1,860 N 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..." current
- 18:15, 10 March 2023 diff hist +74 Mobile Applications (Winter 2023) →Class Schedule
- 00:43, 9 March 2023 diff hist +3,057 N 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"..." current
- 15:03, 8 March 2023 diff hist +73 Mobile Applications (Winter 2023) →Class Schedule
- 15:02, 8 March 2023 diff hist +2,901 N 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)..." current
- 15:02, 8 March 2023 diff hist +73 Mobile Applications (Winter 2023) →Class Schedule
- 14:17, 8 March 2023 diff hist +55 N DistOS 2023W 2023-03-08 Created page with "No in-class notes, see class video on Brightspace/Zoom." current
- 14:18, 6 March 2023 diff hist +3,314 DistOS 2023W 2023-03-06 →Notes current
- 12:48, 6 March 2023 diff hist +1,285 N 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..."
- 12:31, 6 March 2023 diff hist +280 Distributed OS: Winter 2023 →Class Schedule & Readings
- 00:53, 2 March 2023 diff hist +3,077 DistOS 2023W 2023-03-01 current
- 00:52, 2 March 2023 diff hist +4,591 N 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..." current
- 00:52, 2 March 2023 diff hist +89 Mobile Applications (Winter 2023) →Class Schedule
- 12:39, 1 March 2023 diff hist +48 DistOS 2023W 2023-03-01 →Discussion Questions
- 12:38, 1 March 2023 diff hist +563 N 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..."
- 12:35, 1 March 2023 diff hist +28 Distributed OS: Winter 2023 →Class Schedule & Readings