Skip to content

Commit

Permalink
Updated website
Browse files Browse the repository at this point in the history
  • Loading branch information
borjasotomayor committed Apr 5, 2024
1 parent 6b99e14 commit ff7a2c1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
1 change: 0 additions & 1 deletion _static/pygments.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>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/project1.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Project 1: chirc &#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
20 changes: 9 additions & 11 deletions projects/project1_rubric.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Project 1 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 Expand Up @@ -286,15 +286,11 @@ <h3>Correctness<a class="headerlink" href="#correctness" title="Link to this hea
</ul>
<p><strong>Project 1A and 1B</strong></p>
<ul class="simple">
<li><p>[Major issue] <strong>Not protecting access to shared data structures (channels hash table, users hash table, etc.) with a mutex</strong></p></li>
<li><p>[Major issue] <strong>Not protecting access to shared data structures (list/hash of channels, users, etc.) with a mutex</strong></p></li>
<li><p><strong>Using mutexes to protect access to data structures, but doing so inconsistently</strong> (e.g., locking the mutex only when writing to a data structure, and not when reading).</p></li>
<li><p><strong>Using mutexes to protect access to data structures, but not to socket accesses</strong>. See <a class="reference external" href="project1_tips.html#inadequate-locking">Inadequate locking</a> in the Project 1 tips for more details.</p></li>
<li><p>[Major issue] <strong>Using a Big Fat Lock</strong> (i.e., using a single mutex lock for the entire server).</p></li>
</ul>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>We may update the Project 1B rubric further before that project is assigned.</p>
</div>
</section>
<section id="design">
<h3>Design<a class="headerlink" href="#design" title="Link to this heading"></a></h3>
Expand All @@ -316,14 +312,16 @@ <h3>Design<a class="headerlink" href="#design" title="Link to this heading">¶</
<li><p><strong>Implementing modules or structs that are already provided to you</strong>: Make sure you
don’t reinvent the wheel: we provide a lot of scaffolding code, and you should make
sure to use the data structures and functions provided to you.</p></li>
<li><p><strong>Not implementing the chirc_connection_send_message function</strong></p></li>
<li><p><strong>Implementing the chirc_connection_send_message function, but using it inconsistently</strong>
e.g., making direct calls to send() from elsewhere in your code. Your code should be
written in such a way that <cite>chirc_connection_send_message</cite> is the only function
in your entire code to call the <cite>send</cite> function (or some sort of <cite>sendall</cite> helper function)</p></li>
<li><p>[Major issue] <strong>Putting all your code inside the chirc_run function</strong>: This is fine
for the Project 1 Warm-up, but not once you move on to Project 1A</p></li>
</ul>
<p><strong>Project 1B only</strong></p>
<ul class="simple">
<li><p>[Major issue] Using two separate thread functions to handle connections
(one for users and another for servers), instead of having a general-purpose
thread function that handles commands that arrive on a connection
(regardless of whether it’s a user or server connection).</p></li>
</ul>
</section>
<section id="style">
<h3>Style<a class="headerlink" href="#style" title="Link to this heading"></a></h3>
Expand Down

0 comments on commit ff7a2c1

Please sign in to comment.