<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Computer Systems Lab</title>
	<atom:link href="http://blogs.ethz.ch/syslab/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.ethz.ch/syslab</link>
	<description>Lecture blog</description>
	<lastBuildDate>Tue, 07 Aug 2007 10:50:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Grades</title>
		<link>http://blogs.ethz.ch/syslab/2007/08/07/grades/</link>
		<comments>http://blogs.ethz.ch/syslab/2007/08/07/grades/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 10:49:46 +0000</pubDate>
		<dc:creator>Matteo Corti (ID/BD/WAI)</dc:creator>
				<category><![CDATA[Lecture]]></category>

		<guid isPermaLink="false">http://blogs.ethz.ch/syslab/2007/08/07/grades/</guid>
		<description><![CDATA[I just submitted the grades to the Studiensekretariat. If you want to know your grade just ask me or Mathias.]]></description>
			<content:encoded><![CDATA[<p>I just submitted the grades to the <em>Studiensekretariat.</em> If you want to know your grade just ask <a href="mailto:matteo.corti@gmail.com">me</a> or <a href="mailto:mathias.payer@inf.ethz.ch">Mathias</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ethz.ch/syslab/2007/08/07/grades/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lecture evaluation results</title>
		<link>http://blogs.ethz.ch/syslab/2007/06/12/lecture-evaluation-results/</link>
		<comments>http://blogs.ethz.ch/syslab/2007/06/12/lecture-evaluation-results/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 11:40:04 +0000</pubDate>
		<dc:creator>Matteo Corti (ID/BD/WAI)</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[Lecture]]></category>

		<guid isPermaLink="false">http://blogs.ethz.ch/syslab/2007/06/12/lecture-evaluation-results/</guid>
		<description><![CDATA[The results of the course evaluation are available (PDF): Lecture: Matteo Corti Labs: Mathias Payer and will be discussed during the last lecture.]]></description>
			<content:encoded><![CDATA[<p>The results of the course evaluation are available (PDF):</p>
<ul>
<li><a href="http://www.lst.inf.ethz.ch/teaching/lectures/ss07/2100/files/SS07_INFK_252-2100-00_MC__A.PDF">Lecture: Matteo Corti</a></li>
<li><a href="http://www.lst.inf.ethz.ch/teaching/lectures/ss07/2100/files/SS07_INFKA_252-2100-00__All.PDF">Labs: Mathias Payer</a></li>
</ul>
<p>and will be discussed during the last lecture.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ethz.ch/syslab/2007/06/12/lecture-evaluation-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sample solution to the proxy lab</title>
		<link>http://blogs.ethz.ch/syslab/2007/06/11/sample-solution-to-the-proxy-lab/</link>
		<comments>http://blogs.ethz.ch/syslab/2007/06/11/sample-solution-to-the-proxy-lab/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 17:01:07 +0000</pubDate>
		<dc:creator>Matteo Corti (ID/BD/WAI)</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://blogs.ethz.ch/syslab/2007/06/11/sample-solution-to-the-proxy-lab/</guid>
		<description><![CDATA[On the lab page you can find a sample solution to the filesystem lab. &#160;]]></description>
			<content:encoded><![CDATA[<p>On the <a href="http://www.lst.inf.ethz.ch/teaching/lectures/ss07/2100/proxy_lab/index.html">lab page</a> you can find a <a href="http://www.lst.inf.ethz.ch/teaching/lectures/ss07/2100/proxy_lab/proxylab-solution.tar.gz">sample solution</a> to the filesystem lab.</p>
<p class="entry-content">&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ethz.ch/syslab/2007/06/11/sample-solution-to-the-proxy-lab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenMP parallel lab is online</title>
		<link>http://blogs.ethz.ch/syslab/2007/06/08/openmp-parallel-lab-is-online/</link>
		<comments>http://blogs.ethz.ch/syslab/2007/06/08/openmp-parallel-lab-is-online/#comments</comments>
		<pubDate>Fri, 08 Jun 2007 12:52:35 +0000</pubDate>
		<dc:creator>payerm</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[parallel]]></category>

		<guid isPermaLink="false">http://blogs.ethz.ch/syslab/2007/06/08/openmp-parallel-lab-is-online/</guid>
		<description><![CDATA[The last (optional) lab is finally online. You can get all the details at the parallel lab webpage. As usual, if there are any questions, comments or bugs, file them to Mathias. So long, and have fun with the last optimization lab.]]></description>
			<content:encoded><![CDATA[<p>The last (optional) lab is finally online. You can get all the details at <a href="http://www.lst.inf.ethz.ch/teaching/lectures/ss07/2100/parallel_lab/">the parallel lab webpage</a>.</p>
<p>As usual, if there are any questions, comments or bugs, file them to <a href="mailto:mathias.payer@inf.ethz.ch">Mathias</a>.</p>
<p>So long, and have fun with the last optimization lab.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ethz.ch/syslab/2007/06/08/openmp-parallel-lab-is-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Possible problem with parse_uri if the URL is malformed</title>
		<link>http://blogs.ethz.ch/syslab/2007/06/06/possible-problem-with-parse_uri-if-the-url-is-malformed/</link>
		<comments>http://blogs.ethz.ch/syslab/2007/06/06/possible-problem-with-parse_uri-if-the-url-is-malformed/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 15:10:15 +0000</pubDate>
		<dc:creator>payerm</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://blogs.ethz.ch/syslab/2007/06/06/possible-problem-with-parse_uri-if-the-url-is-malformed/</guid>
		<description><![CDATA[If the URL that is passed to parse_uri just contains a hostname withouy any path (e.g. http://www.foo.bar) then the function might cause a core dump because there is a small bug in the parse_uri function&#8230; The diff for the parse_uri function looks as follows: /* Extract the host name */ hostbegin = uri + 7; [...]]]></description>
			<content:encoded><![CDATA[<p>If the URL that is passed to parse_uri just contains a hostname withouy any path (e.g. http://www.foo.bar) then the function might cause a core dump because there is a small bug in the parse_uri function&#8230;</p>
<p>The diff for the parse_uri function looks as follows:</p>
<blockquote><p>      /* Extract the host name */<br />
hostbegin = uri + 7;<br />
-    hostend = strpbrk(hostbegin, &#8221; :/\r\n&#92;0&#8243;);<br />
+    /*  does not work because it maps to the end-of-string and strpbrk<br />
+     * will return NULL<br />
+     */<br />
+    //hostend = strpbrk(hostbegin, &#8221; :/\r\n&#92;0&#8243;);<br />
+    hostend = strpbrk(hostbegin, &#8221; :/\r\n&#8221;);<br />
+    if (hostend == NULL) hostend = hostbegin+strlen(hostbegin);<br />
len = hostend &#8211; hostbegin;<br />
strncpy(hostname, hostbegin, len);<br />
hostname[len] = &#8216;&#92;0&#8242;;</p></blockquote>
<p>Of course you can download the corrected handout at http://www.lst.inf.ethz.ch/teaching/lectures/ss07/2100/proxy_lab/proxylab-handout.tar</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ethz.ch/syslab/2007/06/06/possible-problem-with-parse_uri-if-the-url-is-malformed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Semesterapéro</title>
		<link>http://blogs.ethz.ch/syslab/2007/06/06/semesterapero/</link>
		<comments>http://blogs.ethz.ch/syslab/2007/06/06/semesterapero/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 12:31:34 +0000</pubDate>
		<dc:creator>Matteo Corti (ID/BD/WAI)</dc:creator>
				<category><![CDATA[ETHZ]]></category>
		<category><![CDATA[Lecture]]></category>

		<guid isPermaLink="false">http://blogs.ethz.ch/syslab/2007/06/06/semesterapero/</guid>
		<description><![CDATA[The traditional D-INFK Semesterapéro with teachers and students will take place on July, 19 at 5:30pm in the Dozentenfoyer (HG J floor).]]></description>
			<content:encoded><![CDATA[<p>The traditional D-INFK <em>Semesterapéro</em> with teachers and students will take place on July, 19 at 5:30pm in the Dozentenfoyer (HG J floor).</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ethz.ch/syslab/2007/06/06/semesterapero/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming language of choice for proxy-lab</title>
		<link>http://blogs.ethz.ch/syslab/2007/06/04/programming-language-of-choice-for-proxy-lab/</link>
		<comments>http://blogs.ethz.ch/syslab/2007/06/04/programming-language-of-choice-for-proxy-lab/#comments</comments>
		<pubDate>Mon, 04 Jun 2007 18:28:11 +0000</pubDate>
		<dc:creator>payerm</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://blogs.ethz.ch/syslab/2007/06/04/programming-language-of-choice-for-proxy-lab/</guid>
		<description><![CDATA[As Matteo said in the lecture you can choose your programming language for this lab. But keep in mind that the exercise should not be made simpler than it is in C. So you should not use any high-level functions to program sockets and use high-level objects for String manipulation or URL-handling. Also dont use [...]]]></description>
			<content:encoded><![CDATA[<p>As Matteo said in the lecture you can choose your programming language for this lab. But keep in mind that the exercise should not be made simpler than it is in C. So you should not use any high-level functions to program sockets and use high-level objects for String manipulation or URL-handling.</p>
<p>Also dont use any uncommon or unusual languages. If you are in doubt, check back with Mathias.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ethz.ch/syslab/2007/06/04/programming-language-of-choice-for-proxy-lab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deadline extension for proxy lab &amp; information for HTTP/1.1</title>
		<link>http://blogs.ethz.ch/syslab/2007/05/31/deadline-extension-for-proxy-lab-information-for-http11/</link>
		<comments>http://blogs.ethz.ch/syslab/2007/05/31/deadline-extension-for-proxy-lab-information-for-http11/#comments</comments>
		<pubDate>Thu, 31 May 2007 10:02:54 +0000</pubDate>
		<dc:creator>payerm</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://blogs.ethz.ch/syslab/2007/05/31/deadline-extension-for-proxy-lab-information-for-http11/</guid>
		<description><![CDATA[Some of you told me that you don&#8217;t have enough time to complete the proxy lab, so the deadline is postponed to June, 10. Also you have to take care for some special hickups if you use HTTP/1.1 because the connection is not closed when all data is transfered. You can use the following procedure [...]]]></description>
			<content:encoded><![CDATA[<p>Some of you told me that you don&#8217;t have enough time to complete the proxy lab, so the deadline is postponed to June, 10.</p>
<p>Also you have to take care for some special hickups if you use HTTP/1.1 because the connection is not closed when all data is transfered.</p>
<p>You can use the following procedure to avaid a (forever) blocking read:</p>
<ul>
<li>Read the header line based and parse the content-length field (if present)</li>
<li>If the content-length is present, then read the given bytes and pass them to the client</li>
<li>Otherwise continue reading until you read </li>
</ul>
<p>Also keep in mind that you might need to reformat &#8220;GET http://server/path/ HTTP/1.1&#8243; to &#8220;GET path/ HTTP/1.1\nHost: server&#8221; depending on the server implementation of HTTP/1.1.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ethz.ch/syslab/2007/05/31/deadline-extension-for-proxy-lab-information-for-http11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Last lab: optional</title>
		<link>http://blogs.ethz.ch/syslab/2007/05/30/last-lab-optional/</link>
		<comments>http://blogs.ethz.ch/syslab/2007/05/30/last-lab-optional/#comments</comments>
		<pubDate>Wed, 30 May 2007 13:46:29 +0000</pubDate>
		<dc:creator>Matteo Corti (ID/BD/WAI)</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[Lecture]]></category>

		<guid isPermaLink="false">http://blogs.ethz.ch/syslab/2007/05/30/last-lab-optional/</guid>
		<description><![CDATA[The last lab about parallelization with OpenMP will be optional and will provide the possibility to raise the grade of a student or a group (but not to lower it). I will present the details during monday&#8217;s lecture.]]></description>
			<content:encoded><![CDATA[<p>The last lab about parallelization with OpenMP will be optional and will provide the possibility to raise the grade of a student or a group (but not to lower it).</p>
<p>I will present the details during monday&#8217;s lecture.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ethz.ch/syslab/2007/05/30/last-lab-optional/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New exercise sheet for the proxy_lab available</title>
		<link>http://blogs.ethz.ch/syslab/2007/05/29/new-exercise-sheet-for-the-proxy_lab-available/</link>
		<comments>http://blogs.ethz.ch/syslab/2007/05/29/new-exercise-sheet-for-the-proxy_lab-available/#comments</comments>
		<pubDate>Tue, 29 May 2007 09:32:18 +0000</pubDate>
		<dc:creator>payerm</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://blogs.ethz.ch/syslab/2007/05/29/new-exercise-sheet-for-the-proxy_lab-available/</guid>
		<description><![CDATA[I was told that there was a mistake in the proxy_lab and filesystem_lab exercise sheets. They stated that groups up to three people could be formed, but the course homepage itself says that only groups up to two people are allowed. So I wanted to clarify that only groups up to TWO people are allowed [...]]]></description>
			<content:encoded><![CDATA[<p>I was told that there was a mistake in the proxy_lab and filesystem_lab exercise sheets. They stated that groups up to three people could be formed, but the course homepage itself says that only groups up to two people are allowed.</p>
<p>So I wanted to clarify that only groups up to TWO people are allowed to work together.</p>
<p>I hope that this does not cause any inconveniences to you. If there are any problems, step by at my office and we&#8217;ll try to solve them!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ethz.ch/syslab/2007/05/29/new-exercise-sheet-for-the-proxy_lab-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

