Skip to content

Commit

Permalink
Updated website
Browse files Browse the repository at this point in the history
  • Loading branch information
borjasotomayor committed Apr 10, 2024
1 parent 6c6bde3 commit 557bf3f
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 20 deletions.
2 changes: 1 addition & 1 deletion academic-honesty.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Academic Honesty &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down
2 changes: 1 addition & 1 deletion calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Spring 2024 Course Calendar &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down
2 changes: 1 addition & 1 deletion code-of-conduct.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Code of Conduct for Course Staff &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down
2 changes: 1 addition & 1 deletion getting-help.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Getting Help &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down
3 changes: 1 addition & 2 deletions projects/project1_tips.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Project 1 Tips &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="../_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down Expand Up @@ -218,7 +218,6 @@ <h3>Inadequate locking<a class="headerlink" href="#inadequate-locking" title="Li
<p>In chirc Assigmnent 4, you now have multiple clients connecting to your server, with one thread
per client. So remember: shared data structures have to be protected by locks, and this includes
any socket that multiple threads could write to. POSIX requires system calls to be thread-safe (i.e., the OS itself should guarantee that send() is done atomically). However, even though a call to send() can be thread-safe, you have to account for the fact that send() might not send all your data in one go. So, you still need to gain exclusive access to the socket until a full message has been sent; otherwise, you could see partial messages interleaved by multiple threads.</p>
<p>Beej’s Guide actually provides a handy <a class="reference external" href="https://beej.us/guide/bgnet/html/#sendall">sendall</a> function that you can use to ensure that send() sends all the data you want it to send. You would still need to update this <cite>sendall</cite> function to lock/unlock the socket’s lock.</p>
</section>
</section>
<section id="common-c-issues">
Expand Down
12 changes: 4 additions & 8 deletions projects/project2_tips.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Project 2 Tips &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="../_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down Expand Up @@ -120,10 +120,6 @@

<section id="project-2-tips">
<h1>Project 2 Tips<a class="headerlink" href="#project-2-tips" title="Link to this heading"></a></h1>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This page has not yet been updated for Spring 2024.</p>
</div>
<p>Before you get started, make sure you’ve read through the <a class="reference external" href="../projects/started.html">Projects - Getting Started</a> page.</p>
<section id="suggested-order-of-implementation">
<h2>Suggested Order of Implementation<a class="headerlink" href="#suggested-order-of-implementation" title="Link to this heading"></a></h2>
Expand Down Expand Up @@ -187,8 +183,8 @@ <h2>Selecting Initial Sequence Numbers<a class="headerlink" href="#selecting-ini
</section>
<section id="writing-the-packet-arrival-handler">
<h2>Writing the Packet Arrival Handler<a class="headerlink" href="#writing-the-packet-arrival-handler" title="Link to this heading"></a></h2>
<p>Writing the “packet arrival handler” (i.e., how TCP reacts when a packet arrives) is actually
pretty simple: you just have to translate pages 64-75 of the RFC into code. A common pitfall
<p>Writing the “packet arrival handler” (i.e., how TCP reacts when a packet arrives) is, in a sense,
somewhat straightforward: you just have to translate pages 64-75 of the RFC into code. A common pitfall
is to write this handler as a gigantic if-else statement (with each branch corresponding to a
TCP state) where you implement your interpretation of what should happen in each state when
a packet arrives. Pages 64-75 methodically describe how to process a packet. Although some
Expand Down Expand Up @@ -266,7 +262,7 @@ <h2>Tests that sometimes pass, but sometimes don’t<a class="headerlink" href="
<h2>Pick your battles (a.k.a.: “it is ok to not pass 100% of the tests”)<a class="headerlink" href="#pick-your-battles-a-k-a-it-is-ok-to-not-pass-100-of-the-tests" title="Link to this heading"></a></h2>
<p>Achieving a perfect implementation that can pass all the tests under every possible sequencing
of events is very challenging. It is very likely that many of you will end up passing nearly
all the tests (and certainly enough to get an E score on Completeness), with a few stubborn
all the tests (and certainly enough to get a Satisfactory score on Completeness), with a few stubborn
tests that sometimes pass but sometimes don’t. More often than
not, this is due to bugs that are very hard to track down, because they only manifest themselves
under a specific ordering of events, and which typically require a very deep debugging session
Expand Down
2 changes: 1 addition & 1 deletion projects/project3.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Project 3: chirouter &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="../_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down
2 changes: 1 addition & 1 deletion projects/project3_rubric.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Project 3 Rubric &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="../_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down
2 changes: 1 addition & 1 deletion projects/project3_tips.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Project 3 Tips &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="../_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down
2 changes: 1 addition & 1 deletion projects/registering_submitting.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Project Registration &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="../_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down
2 changes: 1 addition & 1 deletion projects/started.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Projects - Getting Started &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="../_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down
2 changes: 1 addition & 1 deletion syllabus.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Syllabus &#8212; CMSC 23320 - Foundations of Computer Networks</title>

<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css?v=0bf093e7" />
<link rel="stylesheet" type="text/css" href="_static/chiweb.css?v=4e80c602" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down

0 comments on commit 557bf3f

Please sign in to comment.