<?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>the cosmotron &#187; Site News</title>
	<atom:link href="http://thecosmotron.com/category/site-news/feed/" rel="self" type="application/rss+xml" />
	<link>http://thecosmotron.com</link>
	<description>the blog of ryan lewis</description>
	<lastBuildDate>Wed, 09 May 2012 21:17:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Basic Emacs Tutorial</title>
		<link>http://thecosmotron.com/2009/04/25/basic-emacs/</link>
		<comments>http://thecosmotron.com/2009/04/25/basic-emacs/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 19:43:38 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/?p=146</guid>
		<description><![CDATA[In my last post, I wrote about how I had to write a guide to using a piece of software for a class. Well, I had to do another one, but this time it was individually rather than in a group. So, I wrote a guide on how to do some basic tasks in emacs. [...]]]></description>
			<content:encoded><![CDATA[<p>In my last post, I wrote about how I had to write a guide to using a piece of software for a class.  Well, I had to do another one, but this time it was individually rather than in a group.</p>
<p>So, I wrote a <a href="http://thecosmotron.com/basic-emacs.html">guide on how to do some basic tasks in emacs</a>.</p>
<p>Let me know of any mistakes/improvements that you can think of in the comments!</p>
<p>P.S. I&#8217;m pretty fond of the mock terminal that I made with CSS.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2009/04/25/basic-emacs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dot Name</title>
		<link>http://thecosmotron.com/2009/04/09/dot-name/</link>
		<comments>http://thecosmotron.com/2009/04/09/dot-name/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 23:09:51 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[dot-name]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/2009/04/09/dot-name/</guid>
		<description><![CDATA[I had some trouble with my domain recently where it was pointing to a parked page. This was because my hosting provider didn&#8217;t update my registration in time, but this has all been resolved now. This dilemma got me thinking and I decided to purchase a dot name domain. ryan.lewis.name now points here!]]></description>
			<content:encoded><![CDATA[<p>I had some trouble with my domain recently where it was pointing to a parked page.  This was because my <a href="http://mediacatch.com/">hosting provider</a> didn&#8217;t update my registration in time, but this has all been resolved now.</p>
<p>This dilemma got me thinking and I decided to purchase a <a href="http://nic.name/">dot name</a> domain.  <a href="http://ryan.lewis.name">ryan.lewis.name</a> now points here!</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2009/04/09/dot-name/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Random Numbers and NTL</title>
		<link>http://thecosmotron.com/2008/12/04/random-numbers-and-ntl/</link>
		<comments>http://thecosmotron.com/2008/12/04/random-numbers-and-ntl/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 01:36:39 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Update]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[ntl]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[random numbers]]></category>
		<category><![CDATA[seed]]></category>
		<category><![CDATA[ZZ]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/?p=68</guid>
		<description><![CDATA[According to its website, the Number Theory Library (NTL) is a: high-performance, portable C++ library providing data structures and algorithms for manipulating signed, arbitrary length integers, and for vectors, matrices, and polynomials over the integers and over finite fields. I have been using it a lot because of the Cryptography class that I&#8217;m in this [...]]]></description>
			<content:encoded><![CDATA[<p>According to its website, the <a href="http://www.shoup.net/ntl/">Number Theory Library</a> (NTL) is a:</p>
<blockquote><p>high-performance, portable C++ library providing data structures and algorithms for manipulating signed, arbitrary length integers, and for vectors, matrices, and polynomials over the integers and over finite fields. </p></blockquote>
<p>I have been using it a lot because of the Cryptography class that I&#8217;m in this semester, and something that I need to do frequently is generate random numbers.</p>
<p>To do this, seeding is frequently required, and the NTL is no different, but it took a while for me to actually get it to work.  The following will seed the random functions provided by the NTL ZZ class:</p>
<pre>ZZ number, seed;
srand(getpid());
seed &lt;&lt; ((long) GetTime() ^ rand());
SetSeed(seed);
RandomLen(number, rand() % 300);</pre>
<p>Stick that at the top of your <code>main()</code> and you should be all set.</p>
<p>Also, does anyone know of a shorter, possibly easier to remember, way to do this?  If so, the comments are open.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2008/12/04/random-numbers-and-ntl/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Samsung LN32A450, nVidia Drivers, and Ubuntu</title>
		<link>http://thecosmotron.com/2008/11/05/samsung-ln32a450-nvidia-drivers-and-ubuntu/</link>
		<comments>http://thecosmotron.com/2008/11/05/samsung-ln32a450-nvidia-drivers-and-ubuntu/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 06:43:08 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[television]]></category>
		<category><![CDATA[x]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/?p=54</guid>
		<description><![CDATA[I just recently purchased a Samsung LN32A450 television and wanted to use it as a monitor. I figured that it shouldn&#8217;t be too hard, just plug in my computer to it&#8217;s VGA port and then change the resolution. But, when are new things ever easy? To make a long story short, I had to generate [...]]]></description>
			<content:encoded><![CDATA[<p>I just recently purchased a Samsung LN32A450 television and wanted to use it as a monitor.  I figured that it shouldn&#8217;t be too hard, just plug in my computer to it&#8217;s VGA port and then change the resolution.  </p>
<p>But, when are new things ever easy?</p>
<p>To make a long story short, I had to generate a custom modeline for X to be able to use the TV&#8217;s native resolution, 1360&#215;768.  I read to use the command <code>cvt 1360 768 60.015Hz</code>, but the returned modeline resulted in a &#8220;Mode Not Supported&#8221; error from the TV.  Instead, I had to use a Windows program called <a href="http://www.entechtaiwan.net/util/ps.shtm">PowerStrip</a> to grab the custom timings that actually worked.  Though, the only reason they worked was by luck because Windows didn&#8217;t properly detect the monitor either, so I used PowerStrip to add a custom resolution to my registry which was preset with working timings.</p>
<p>Anyway, PowerStrip was nice enough to generate an xorg.conf modeline for me and had to edit the following in my file (this is assuming that you already have the proprietary nVidia drivers already working):</p>
<pre>
…

Section "Monitor"
    …
    Modeline "1360x768" 85.500 1360 1440 1552 1792 768 771 777 795 +hsync +vsync
EndSection

…

Section "Screen"
    …
    SubSection "Display"
        Depth  24
        Virtual 1360 768
        Modes "1360x768"
    EndSubSection
EndSection

…
</pre>
<p>Note: any ellipses (…) in the above are just cutting out parts that were not changed in my file.</p>
<p><strong>UPDATE:</strong> I figured that I would make a note that I recently tried getting a new computer to work with this television and didn&#8217;t have as much luck.  The new computer was using an ATI Radeon 4850 rather than the nVidia card that I got working previously.  Ultimately, I couldn&#8217;t get the VGA out to work and had to switch to using an HDMI connection.  After I did that, Ubuntu 8.10 (the same OS that I was using previously) automatically detected the native resolution of this TV.  Therefore, I recommend using HDMI over VGA to get this TV to work in Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2008/11/05/samsung-ln32a450-nvidia-drivers-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Now Featuring</title>
		<link>http://thecosmotron.com/2007/06/29/now-featuring/</link>
		<comments>http://thecosmotron.com/2007/06/29/now-featuring/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 23:14:47 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[Update]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/2007/06/29/now-featuring/</guid>
		<description><![CDATA[the cosmotron is proud to announce the availability of The Konami Code on it&#8217;s website.]]></description>
			<content:encoded><![CDATA[<p>the cosmotron is proud to announce the availability of <i><a href="http://en.wikipedia.org/wiki/Konami_Code">The Konami Code</a></i> on it&#8217;s website.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2007/06/29/now-featuring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Public Service Announcement</title>
		<link>http://thecosmotron.com/2006/03/28/public-service-announcement/</link>
		<comments>http://thecosmotron.com/2006/03/28/public-service-announcement/#comments</comments>
		<pubDate>Tue, 28 Mar 2006 22:22:46 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/2006/03/28/public-service-announcement/</guid>
		<description><![CDATA[Cheating in the Arcade: Users will be banned if I get an e-mail like this from my forum: Arcade Cheat @ [ NAME : *withheld* ] -- [ IP# : *withheld* ] -- [USERNAME : Ãœbernoob] [GAME : save_balls]]]></description>
			<content:encoded><![CDATA[<p><b>Cheating in the <a href="http://forum.thecosmotron.com/activity.php">Arcade</a>:</b><br />
Users will be banned if I get an e-mail like this from my forum:</p>
<div class="code"><code>Arcade Cheat @ [ NAME : *withheld* ] -- [ IP# : *withheld* ] -- [USERNAME : Ãœbernoob] [GAME : save_balls]</code></div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2006/03/28/public-service-announcement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>the cosmotron&#8217;s redesign</title>
		<link>http://thecosmotron.com/2006/03/14/the-cosmotrons-redesign/</link>
		<comments>http://thecosmotron.com/2006/03/14/the-cosmotrons-redesign/#comments</comments>
		<pubDate>Tue, 14 Mar 2006 20:55:28 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[Update]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/2006/03/14/the-cosmotrons-redesign/</guid>
		<description><![CDATA[Recently I have grown very bored of my old theme so I have decided to start redesigning a majority of the site to accomidate this new theme. I suppose that the cosmotron forum and project goto will be changed and that will take a while; therefore I have no idea when everything will be complete. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have grown very bored of my old theme so I have decided to start redesigning a majority of the site to accomidate this new theme.  I suppose that the cosmotron forum and project goto will be changed and that will take a while; therefore I have no idea when everything will be complete.</p>
<p>Note: All of the old <span style="text-decoration: underline;">files</span> that were originally located directly off of the index (i.e. <a href="http://thecosmotron.com/content.php">content.php</a>), are now located in the <strong>old/</strong> directory (so, now that link is located at <a href="http://thecosmotron.com/old/content.php">old/content.php</a>), but all <span style="text-decoration: underline;">folders</span> have remained in the same place (i.e. <a href="http://thecosmotron.com/TEST/test5.php">TEST/test5.php</a> is still located exactly there).</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2006/03/14/the-cosmotrons-redesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cosi blog</title>
		<link>http://thecosmotron.com/2006/03/14/cosi-blog/</link>
		<comments>http://thecosmotron.com/2006/03/14/cosi-blog/#comments</comments>
		<pubDate>Tue, 14 Mar 2006 20:51:48 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/2006/03/14/cosi-blog/</guid>
		<description><![CDATA[Just announcing the opening of the cosi blog. It&#8217;s mostly just for technical information regarding the Clarkson Open Source Institute.]]></description>
			<content:encoded><![CDATA[<p>Just announcing the opening of the <a href="http://blog.thecosmotron.com/">cosi blog</a>. It&#8217;s mostly just for technical information regarding the <a href="http://cosi.clarkson.edu/">Clarkson Open Source Institute</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2006/03/14/cosi-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arcade Mod and GOTO</title>
		<link>http://thecosmotron.com/2006/03/14/arcade-mod-goto/</link>
		<comments>http://thecosmotron.com/2006/03/14/arcade-mod-goto/#comments</comments>
		<pubDate>Tue, 14 Mar 2006 20:49:27 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Update]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/2006/03/14/arcade-mod-goto/</guid>
		<description><![CDATA[This past week I upgraded our Arcade Mod to the newest release. It has a few new features, as you can tell by looking at it. On a side note, I am still indeed working on Project GOTO. I am working out kinks in the mail program so that bots don&#8217;t use it to spam [...]]]></description>
			<content:encoded><![CDATA[<p>This past week I upgraded our <a href="http://forum.thecosmotron.com/activity.php">Arcade Mod</a> to the newest release. It has a few new features, as you can tell by looking at it.</p>
<p>On a side note, I am still indeed working on <a href="http://goto.thecosmotron.com/">Project GOTO</a>. I am working out kinks in the mail program so that bots don&#8217;t use it to spam (this is why my <a href="http://thecosmotron.com/feedback.php">feedback</a> form is now disabled). I expect to have a new release in a few weeks.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2006/03/14/arcade-mod-goto/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

