<?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>void-flower &#187; CS</title>
	<atom:link href="http://void-flower.net/ribbons/cs/feed/" rel="self" type="application/rss+xml" />
	<link>http://void-flower.net</link>
	<description></description>
	<lastBuildDate>Sat, 31 Jul 2010 03:15:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>I can resurface now!</title>
		<link>http://void-flower.net/2010/04/i-can-resurface-now/</link>
		<comments>http://void-flower.net/2010/04/i-can-resurface-now/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 14:59:55 +0000</pubDate>
		<dc:creator>Rebecca</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[CS]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[TLB]]></category>

		<guid isPermaLink="false">http://void-flower.net/?p=341</guid>
		<description><![CDATA[The last couple days were OS assignment3-filled. My group and I did the bulk of our virtual memory assignment over the weekend. I feel like interrupts were turned off and the only thread that was allowed to run was &#8220;do OS&#8221;. My sleep schedule was also like: 6am-10am on Friday morning, 4am-9am this morning. 
It [...]]]></description>
			<content:encoded><![CDATA[<p>The last couple days were OS assignment3-filled. My group and I did the bulk of our virtual memory assignment over the weekend. I feel like interrupts were turned off and the only thread that was allowed to run was &#8220;do OS&#8221;. My sleep schedule was also like: 6am-10am on Friday morning, 4am-9am this morning. </p>
<p>It was a good assignment, but I think the system calls one (A2) was better. A2 was also easier to split up amongst a group of people. For A3, we needed to implement the physical memory manager, on demand page loading, and TLB replacement algorithms. </p>
<p>One of my major parts was the TLB replacement and it was pretty interesting. Since our TLB is a software-based one, you could modify your TLB to do whatever you wanted. I could have emulated &#8216;use bits&#8217; or kept a reference count of some sort. However, something I made sure to keep in mind the whole time was that a TLB is supposed to be <strong>fast</strong>. This is the <em>purpose</em> of the TLB. So if the replacement algorithm takes a long time to decide or uses more TLB writes to store reference counts or whatever, it&#8217;s approaching the point of not being worth it. Instead I chose to just do a bunch of TLB reads to decide which entry to evict. I played on the fact that code/data is usually loaded sequentially in memory. I basically chose a random pivot entry, and compared the &#8216;distance&#8217; in virtual memory between the pivot and the other entries. As the number of sequential pages increases in the TLB, I&#8217;ll also have a higher chance of choosing a pivot that has a lot of &#8216;close&#8217; entries around it already. I then pick the entry &#8216;furthest&#8217; away for eviction.</p>
<p>At the time this made sense to me, and even now it does, but I still get the feeling someone will be like &#8220;this is stupid because ___&#8221; and I&#8217;ll go &#8220;damn&#8230;&#8221; and cry on the inside. There are obviously better things out there, but this is already a slow software TLB so making it slower sucks. </p>
<p>Now I can resurface, resume my life, and do my last assignment. Then I start studying for finals. </p>
<p>It&#8217;s Easter today as well &#8212; I have a chocolate bunny to eat :D</p>
]]></content:encoded>
			<wfw:commentRss>http://void-flower.net/2010/04/i-can-resurface-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EOT</title>
		<link>http://void-flower.net/2009/11/eot/</link>
		<comments>http://void-flower.net/2009/11/eot/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 04:07:19 +0000</pubDate>
		<dc:creator>Rebecca</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[boring]]></category>
		<category><![CDATA[CS]]></category>
		<category><![CDATA[school]]></category>

		<guid isPermaLink="false">http://void-flower.net/?p=297</guid>
		<description><![CDATA[Less worried about school now. Volunteered for more projects again. Almost the end of term Fall 09]]></description>
			<content:encoded><![CDATA[<p>End of term! Almost.</p>
<p>The end of my term is going well compared to the beginning/middle. I&#8217;m improving on most of my important assignments. The courses that aren&#8217;t as imperative are probably suffering a bit more though. Most important is definitely CS240 and CS246, though. CS245 is even more of a mindfuck now, and MATH239 is getting weirder. I&#8217;m sure if I spent some time reading over notes a million times with those two, I&#8217;d understand eventually. </p>
<p>I just really can&#8217;t wait for the holidays&#8230; I haven&#8217;t actually had a solid week off doing anything I wanted since last Christmas. <strong>Last Christmas</strong>. I need to catch up on sleep and do nothing for a while. </p>
<p>I managed to sign myself up for more volunteer work today. I already have the <a href="http://csclub.uwaterloo.ca/~rjputins/profquotes/">profQUOTES</a> database thing I haven&#8217;t finished yet (since the profQUOTES books were printed so finishing the script wasn&#8217;t very important anymore&#8230; the books were awesome though!) and this very website is also suffering. Anyways, the orientation committee is starting to plan Fall 2010 orientation already, and Maria is a <abbr name="F-something Orientation Committee">FOC</abbr> so I felt the need to get involved. I offered to do the website and some other back-end stuff that involves collecting information from the students who want to be leaders/organizers. The previous orientation used Google spreadsheets and email. You perhaps understand how that could get disorganized quickly. Spreadsheets had no error checking, no authentication, and no way to guard against duplicates. Emails were great for announcements though. What I proposed was a more centralized location for all these forms we need to fill out. A database would store the information, and the FOC/organizers could just select their data/filters. </p>
<p>A small hurdle to get over: The guy I&#8217;m working with hates PHP and uses Perl. He told me today that it was because he&#8217;s seen some horrible PHP code. It&#8217;s true, it&#8217;s very possible to write horrible code and have it work. As with any language this is possible. However, PHP is a bit different as you can embed HTML/CSS/whatever in it. So this can turn into a clusterfuck of language in one file. It&#8217;s good to separate out into classes/functional files, and simply call your functions within your &#8216;pure&#8217; HTML files. </p>
<p>A new-ish concept for school so far: working in partners for a project. I know this is coming for OS next term, but it just makes the end of this term a bit hectic. There wasn&#8217;t anyone I knew in the class who didn&#8217;t have a partner already, so I asked the girl who I usually sit next to (but don&#8217;t talk to) to work with me. This should be interesting :) I think it&#8217;s better I&#8217;m working with someone I don&#8217;t know. OS will be with someone I know (hopefully?).</p>
<p>I&#8217;ve been using Windows 7 so long (because it&#8217;s awesome!) that I really miss my linux. Using linux is also more &#8216;natural&#8217; and easier for me to do constructive things like programming. Things like git/compiling/http-servers feel&#8230; closer to me I guess? There&#8217;s too much stuff in windows I need to do to get at a working setup for development (for me anyways). I should probably start using an IDE at some point.. but I find them just too clunky. I downloaded NetBeans about an hour ago, but I dislike it already. Just a text editor is good enough for me (but clearly there are times in the future where this won&#8217;t be sufficient&#8230;)</p>
<p>Final note: Congratulations <a href="http://jemjabella.co.uk">Jem</a> on her new baby girl :)</p>
]]></content:encoded>
			<wfw:commentRss>http://void-flower.net/2009/11/eot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>November</title>
		<link>http://void-flower.net/2009/11/november/</link>
		<comments>http://void-flower.net/2009/11/november/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 08:52:53 +0000</pubDate>
		<dc:creator>Rebecca</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[CS]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[worry]]></category>

		<guid isPermaLink="false">http://void-flower.net/?p=294</guid>
		<description><![CDATA[Ranting about how fail I am at CS.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s November now. Time really flew by this term&#8230; Only one solid month of school left.</p>
<p>School isn&#8217;t going so well this term. It just hit me a couple days ago that I&#8217;m in serious trouble for my courses&#8230; If I don&#8217;t start doing very well on assignments for the CS courses, there&#8217;s a good chance I&#8217;ll fail. The consequence of failing one or both of CS240 or CS246 is not being able to take my next term&#8217;s courses. If not all of them, then at least the most important ones required to go on even further in my degree.</p>
<p>I spent way too much time doing nothing this term&#8230; I&#8217;m not including going to the gym in this &#8216;nothing&#8217; though &#8212; that was at least beneficial to my health. This term has been the most work ever, and unfortunately one with lots of bad profs. CS240 and CS245 have probably the worst profs ever. I don&#8217;t have much against their inability to speak English properly, but more their translation from knowing the material themselves to teaching it to students who are not familiar with the course. CS245 is so ridiculous. The midterm average was 42%. When I saw my grade was 63%, I was thinking: They must have bell-curved it. But that 63% is a 63% against the 42% average, which makes me look good. I find it ironic that the only class I&#8217;ve passed all the assignments in, is the class that&#8217;s most retarded (CS245).</p>
<p>I&#8217;m currently pulling an all-nighter to get a CS240 assignment done, but I don&#8217;t think that&#8217;s going to work very well. The newsgroup is full of people asking for extensions. While having this assignment is not a problem, but having the <em>largest</em> (both in worth and content) assignment before the midterm <em>two days later</em> is pretty unacceptable. I think the prof is just an asshole. This assignment is worth about 10% of my grade, while the others are worth about 2%. This obviously isn&#8217;t the only course I&#8217;m taking either, so I have other midterms.</p>
<p>I really just feel like breaking down and crying, but there seriously isn&#8217;t even time for that. This month will be a crazy one. Luckily I have someone nice who brings me Tim&#8217;s at midnight :D <3</p>
<p>The holidays will be very, very welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://void-flower.net/2009/11/november/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fell through again</title>
		<link>http://void-flower.net/2009/10/fell-through-again/</link>
		<comments>http://void-flower.net/2009/10/fell-through-again/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 07:20:39 +0000</pubDate>
		<dc:creator>Rebecca</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[CS]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[school]]></category>

		<guid isPermaLink="false">http://void-flower.net/?p=292</guid>
		<description><![CDATA[Basically: I suck at blogging. Is it just me, or do most of my posts seem to be about this?]]></description>
			<content:encoded><![CDATA[<p>Every time I promise myself (which apparently means nothing these days) that I&#8217;ll blog about things or update my &#8216;content&#8217;. That, and many other things. I still have the nasty, nasty habit of doing nothing with my time.</p>
<p>It&#8217;s been a month now of the school term. I&#8217;ve had (I think) 5 total assignments now. I definitely didn&#8217;t start those early either. I&#8217;m supposed to do some volunteer work that was started in bloody <em>May</em> that I still haven&#8217;t done. Sighhh I&#8217;m a waste of space.</p>
<p>School is going well so far. The math class I&#8217;m in is a bit over my head, but I think it&#8217;s getting better. It could be because the prof barely understands what he&#8217;s writing on the board himself. Fail. The three other classes I&#8217;m taking are all computer science classes. They are of&#8230; varying awesomeness. One is a heavy programming course, one a theory on data structures and run-time analysis, and the other logic course. All three profs have their many faults. The best prof is the one that doesn&#8217;t know anything beside the slides he&#8217;s reading off of, the other two can barely speak English. The data structures prof pronounces words like &#8216;complexity&#8217; as &#8216;compressity&#8217; and &#8216;graph&#8217; as &#8216;gwaff&#8217;.</p>
<p>On the plus side: I&#8217;m going to the gym to lift weights with a bunch of big guys. They&#8217;re not <em>that</em> massive I guess, but they can lift a bunch of weight so therefore big in comparison to me. I&#8217;m mostly the only girl in the weight gym when we go. I think my total for bench press, squats, and dead lift is around 300lbs now. I feel more rigid and stronger too; I can actually see my biceps!</p>
<p>There were other big things&#8230; I think. Every time something cool happens I say to myself: Yeah I&#8217;ll go blog about that! It doesn&#8217;t happen of course. If this blog starts getting updated once a week, assume it&#8217;s someone impersonating me. </p>
<p>I&#8217;m totally addicted to the newish Facebook app &#8211; Café World. The name is a little lame (&#8216;World&#8217;? ohplease). You basically have your little café, and make meals. Random bots and AI-controlled friends of yours walk in and stuff their faces full of your stuff you just made. The game is slow compared to Farmville &#8212; it doesn&#8217;t seem well balanced at the moment. It seems to take a long time to earn the currency, yet decorations are pretty expensive. Oh! Here&#8217;s something exciting: The company that made these games (Farmville, Mafia Wars, Café World), Zynga, is coming to U Waterloo to give an information session for co-op students applying for jobs. I&#8217;ll definitely be going, and asking questions about why their flash optimization seems to suck. It chews up way too much CPU for this stuff. </p>
<p>That&#8217;s it for now, I&#8217;ll just continue staying up all night now. I want to get some assignment stuff done before going home for the weekend. The biggest downside is that it&#8217;s so cold as I&#8217;m not warm in bed&#8230; :(</p>
]]></content:encoded>
			<wfw:commentRss>http://void-flower.net/2009/10/fell-through-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
