General Question: How do we efficiently move stuff from one place to another?
Goal: Minimize the maximum load of any buffer in the network.
Buffer $i$ stores $L(i)$ packets—$L(i)$ is load of $i$
Greedy Forwarding:
OED Forwarding (Patt-Shamir & Rosenbaum):
Attendance
Illness & Masking
Will’s office: SCCE C216
Drop-in (in person):
By appointment (in person or on Zoom):
please wear a mask to in-person office hours
Three basic tools:
HTML (hypertext markup language)
specifies document content, structure, semantics
CSS (cascading style sheets)
specifies how content is displayed based on structure/semantics
JavaScript
manipulation of and interaction with content
Week 1:
Week 2:
Week 3:
Weeks 4+:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hello, World!</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>This is a(n almost) minimal HTML file.</p>
</body>
</html>
<p>This is a(n almost) minimal HTML file.</p>
tag text surrounded by <
and >
<p>
</p>
<br/>
breaks up a lineelement logical item demarcated by a tag
attributes specify other element properties/values
<html lang="en">...</html>
Opening and closing tags can be nested
<foo><bar>contents</bar></foo>
<foo><bar>contents</foo></bar>
Nested tags give tree structure to document’s elements:
<foo>...</foo>
is <bar>...</bar>
’s parent
<bar>...</bar>
is <foo>...</foo>
’s child
Elements can also have siblings:
<p>some <em>italic</em> and <strong>bold</strong> text</p>
em
and strong
elements are siblings<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hello, World!</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>This is a(n almost) minimal HTML file.</p>
</body>
</html>
Open A Basic Website
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Block vs. Inline</title>
</head>
<body>
<h1>Block vs. Inline</h1>
<p>A paragraph with <em>italic</em> and <strong>bold</strong> text.</p>
<p>Another paragraph with <em>italic</em> and <strong>bold</strong> text.</p>
</body>
</html>
Positions are specified left to right and top to bottom of screen
Elements laid out in order they appear in the HTML file
inline elements placed
Inline elements: a
, em
, strong
, …
block elements placed below previous element
Block elements: h1
, h2
, p
, …
Get set up with git!