<?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>emax</title>
	<atom:link href="http://maxsobell.com/wp/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://maxsobell.com/wp</link>
	<description>Hello world! A blog about programming, eating and surviving as a student in the Big Apple.</description>
	<lastBuildDate>Wed, 04 Aug 2010 16:53:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>NYT&#8217;s Tricky Images</title>
		<link>http://maxsobell.com/wp/?p=90</link>
		<comments>http://maxsobell.com/wp/?p=90#comments</comments>
		<pubDate>Wed, 04 Aug 2010 16:52:32 +0000</pubDate>
		<dc:creator>Max Sobell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://maxsobell.com/wp/?p=90</guid>
		<description><![CDATA[Here&#8217;s a cute trick the nyt uses for their slideshows to prevent users from saving images locally (Note: I am not encouraging this). If a user right clicks an image and selects &#8220;save as&#8230;&#8221; the image which gets saved is pixel.gif, which is garbage (example here). By viewing the page source, we can figure out [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a cute trick the nyt uses for their slideshows to prevent users from saving images locally (Note: I am not encouraging this). If a user right clicks an image and selects &#8220;save as&#8230;&#8221; the image which gets saved is pixel.gif, which is garbage (example <a href="https://www.nytimes.com/slideshow/2010/08/04/arts/design/04maker-ss-9.html" target="_blank">here</a>). By viewing the page source, we can figure out why that happens:</p>
<pre id="line199">&lt;div class="figure module"&gt;
&lt;div class="image"&gt;
&lt;div class="centeredElement" style="background-image:
     url('http://graphics8.nytimes.com/images/2010/08/04/
     arts/design/04maker-ss-slide-GSQJ/04maker-ss-slide-
     GSQJ-slide.jpg');width:333px; height:500px;"&gt;
&lt;img width="333" height="500" src="&lt;a href=
     "view-source:http://graphics8.nytimes.com/images/
     misc/pixel.gif"&gt;http://graphics8.nytimes.com/images/
     misc/pixel.gif&lt;/a&gt;" /&gt;
</pre>
<p>The image we want is the background, covered by pixel.gif. Tricky.</p>
]]></content:encoded>
			<wfw:commentRss>http://maxsobell.com/wp/?feed=rss2&amp;p=90</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>e-puck Robot Lead/Follow</title>
		<link>http://maxsobell.com/wp/?p=83</link>
		<comments>http://maxsobell.com/wp/?p=83#comments</comments>
		<pubDate>Wed, 12 May 2010 04:13:52 +0000</pubDate>
		<dc:creator>Max Sobell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://maxsobell.com/wp/?p=83</guid>
		<description><![CDATA[A leader/follower scheme with obstacle avoidance using e-puck educational robots. YouTube here: Video Paper here: e-puck Leader/Follower Final Paper]]></description>
			<content:encoded><![CDATA[<p>A leader/follower scheme with obstacle avoidance using e-puck educational robots.</p>
<p>YouTube here: <a href="http://www.youtube.com/watch?v=XKQ4yWGMzDE">Video</a></p>
<p>Paper here: <a href='http://maxsobell.com/wp/wp-content/uploads/2010/05/Project-Final-Report.pdf'>e-puck Leader/Follower Final Paper</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maxsobell.com/wp/?feed=rss2&amp;p=83</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LSB Encoding/Decoding</title>
		<link>http://maxsobell.com/wp/?p=79</link>
		<comments>http://maxsobell.com/wp/?p=79#comments</comments>
		<pubDate>Thu, 06 May 2010 02:07:00 +0000</pubDate>
		<dc:creator>Max Sobell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://maxsobell.com/wp/?p=79</guid>
		<description><![CDATA[Added a new project: Least Significant Bit (LSB) Encoding and Decoding. By changing the least significant bit of each byte in an image (B&#038;W), its possible to encode an invisible string of text into the image. Check out ways to break it in the code Code and paper under &#8220;Projects&#8221; section.]]></description>
			<content:encoded><![CDATA[<p>Added a new project: Least Significant Bit (LSB) Encoding and Decoding. By changing the least significant bit of each byte in an image (B&#038;W), its possible to encode an invisible string of text into the image. Check out ways to break it in the code <img src='http://maxsobell.com/wp/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
<p>Code and paper under &#8220;<a href="http://maxsobell.com/wp/?page_id=44">Projects</a>&#8221; section.</p>
<p><a href="http://maxsobell.com/wp/wp-content/uploads/2010/05/example.jpg"><img src="http://maxsobell.com/wp/wp-content/uploads/2010/05/example.jpg" alt="" title="Lenna LSB encoding" width="450" height="221" class="aligncenter size-full wp-image-80" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://maxsobell.com/wp/?feed=rss2&amp;p=79</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tanks Game</title>
		<link>http://maxsobell.com/wp/?p=63</link>
		<comments>http://maxsobell.com/wp/?p=63#comments</comments>
		<pubDate>Mon, 08 Feb 2010 21:06:00 +0000</pubDate>
		<dc:creator>Max Sobell</dc:creator>
				<category><![CDATA[assembly language]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[finals]]></category>

		<guid isPermaLink="false">http://maxsobell.com/wp/?p=63</guid>
		<description><![CDATA[Finally got around to putting up my assembly language Tanks game. Here&#8217;s the Tanks Source and here are some screenshots: All files here.]]></description>
			<content:encoded><![CDATA[<p>Finally got around to putting up my assembly language Tanks game. Here&#8217;s the <a href='http://maxsobell.com/wp/wp-content/uploads/2010/02/tanks_game.txt'>Tanks Source</a> and here are some screenshots:<br />
<br />
<a href="http://maxsobell.com/wp/wp-content/uploads/2010/02/screenshot_1.jpg"><img src="http://maxsobell.com/wp/wp-content/uploads/2010/02/screenshot_1.jpg" alt="" title="Tanks Welcome Screen" width="653" height="339" class="aligncenter size-full wp-image-70" /></a><br />
<a href="http://maxsobell.com/wp/wp-content/uploads/2010/02/screenshot_2.jpg"><img src="http://maxsobell.com/wp/wp-content/uploads/2010/02/screenshot_2.jpg" alt="" title="Action Shot" width="655" height="341" class="aligncenter size-full wp-image-65" /></a><br />
<br />
All files <a href="http://maxsobell.com/wp/wp-content/uploads/2010/02/Tanks-Project.zip">here</a>.<br /></p>
]]></content:encoded>
			<wfw:commentRss>http://maxsobell.com/wp/?feed=rss2&amp;p=63</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Sections</title>
		<link>http://maxsobell.com/wp/?p=57</link>
		<comments>http://maxsobell.com/wp/?p=57#comments</comments>
		<pubDate>Wed, 06 Jan 2010 20:17:42 +0000</pubDate>
		<dc:creator>Max Sobell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://maxsobell.com/wp/?p=57</guid>
		<description><![CDATA[I added a &#8220;Restaurants&#8221; section from my google doc and a &#8220;Projects&#8221; section &#8212; updates there!]]></description>
			<content:encoded><![CDATA[<p>I added a &#8220;Restaurants&#8221; section from my google doc and a &#8220;Projects&#8221; section &#8212; updates there!</p>
]]></content:encoded>
			<wfw:commentRss>http://maxsobell.com/wp/?feed=rss2&amp;p=57</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>rsync published!</title>
		<link>http://maxsobell.com/wp/?p=39</link>
		<comments>http://maxsobell.com/wp/?p=39#comments</comments>
		<pubDate>Mon, 30 Nov 2009 17:42:40 +0000</pubDate>
		<dc:creator>Max Sobell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://maxsobell.com/wp/?p=39</guid>
		<description><![CDATA[The rsync material on my wiki is on Amazon in the new version of A Practical Guide to Linux Commands, Editors, and Shell Programming!]]></description>
			<content:encoded><![CDATA[<p>The rsync material on my <a href="http://maxsobell.com/wiki/index.php?title=Rsync">wiki</a> is on Amazon in the new version of <a href="http://www.amazon.com/Practical-Guide-Commands-Editors-Programming/dp/0131367366/ref=ntt_at_ep_dpi_1">A Practical Guide to Linux Commands, Editors, and Shell Programming</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://maxsobell.com/wp/?feed=rss2&amp;p=39</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL Project</title>
		<link>http://maxsobell.com/wp/?p=28</link>
		<comments>http://maxsobell.com/wp/?p=28#comments</comments>
		<pubDate>Sat, 24 Oct 2009 05:44:00 +0000</pubDate>
		<dc:creator>Max Sobell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://slashmax.com/wp/?p=28</guid>
		<description><![CDATA[I&#8217;ve started a MySQL wiki for a chapter of A Practical Guide to Red Hat Linux. I&#8217;m learning as I write it up, so feel free to correct or change anything! Here&#8217;s the link. (Update 11/20/09: This page now contains other utilities, too!)]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started a MySQL wiki for a chapter of <a href="http://sobell.com/RH4/index.html" target="_blank">A Practical Guide to Red Hat Linux</a>. I&#8217;m learning as I write it up, so feel free to correct or change anything! Here&#8217;s the <a href="http://maxsobell.com/wiki/" target="_blank">link</a>.</p>
<p>(Update 11/20/09: This page now contains other utilities, too!)</p>
]]></content:encoded>
			<wfw:commentRss>http://maxsobell.com/wp/?feed=rss2&amp;p=28</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Karmic Koala!</title>
		<link>http://maxsobell.com/wp/?p=27</link>
		<comments>http://maxsobell.com/wp/?p=27#comments</comments>
		<pubDate>Tue, 20 Oct 2009 06:04:00 +0000</pubDate>
		<dc:creator>Max Sobell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://slashmax.com/wp/?p=27</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ubuntu.com/"><img src="http://www.ubuntu.com/files/countdown/static.png" width="180" height="150" alt="Ubuntu: For Desktops, Servers, Netbooks and in the cloud" border="javascript:void(0)0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://maxsobell.com/wp/?feed=rss2&amp;p=27</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Programming Contest</title>
		<link>http://maxsobell.com/wp/?p=26</link>
		<comments>http://maxsobell.com/wp/?p=26#comments</comments>
		<pubDate>Mon, 19 Oct 2009 15:01:00 +0000</pubDate>
		<dc:creator>Max Sobell</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nothing_useful]]></category>

		<guid isPermaLink="false">http://slashmax.com/wp/?p=26</guid>
		<description><![CDATA[This year&#8217;s problems for the ICPC:http://www.acmgnyr.org/year2009/problems.shtml]]></description>
			<content:encoded><![CDATA[<p>This year&#8217;s problems for the ICPC:<br /><a href="http://www.acmgnyr.org/year2009/problems.shtml" target="_blank">http://www.acmgnyr.org/year2009/problems.shtml</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maxsobell.com/wp/?feed=rss2&amp;p=26</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVN Part 2</title>
		<link>http://maxsobell.com/wp/?p=25</link>
		<comments>http://maxsobell.com/wp/?p=25#comments</comments>
		<pubDate>Thu, 08 Oct 2009 19:43:00 +0000</pubDate>
		<dc:creator>Max Sobell</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://slashmax.com/wp/?p=25</guid>
		<description><![CDATA[Now that we can log in automatically (SVN Part 1), we can do some cool stuff. This summer I managed a SVN server for a company that has multiple programs, each of which had different developers working on them. Each of these programs is stored as a repository in SVN. For example, developer A needs [...]]]></description>
			<content:encoded><![CDATA[<p>Now that we can log in automatically (SVN Part 1), we can do some cool stuff. This summer I managed a SVN server for a company that has multiple programs, each of which had different developers working on them. Each of these programs is stored as a repository in SVN. For example, developer A needs access to repository 1 and 2 and developer B needs access to repository 1 and 3, etc. To make it even trickier, in repository 1, developer A should have access to the entire repository, while developer B should only have access to the directory devB in repository 1. Also, every time a developer makes a change to a file, the change needs to be logged with their username.</p>
<p>This is where the RSA keys come in. Each repository should be owned by a different user. For example, <code>/usr/bin/svnserver/repository1</code> is owned by user <code>repo1</code>, <code>/usr/bin/svnserver/repository2</code> by <code>repo2</code>, etc. Put any developer who needs access to <code>[repo]</code>&#8216;s RSA pubkey in the <code>/home/[repo]/.ssh/authorized_keys</code> file, where <code>[repo]</code> is the name of the repository&#8217;s owner (<code>repo1</code>, <code>repo2</code>). Configure <code>authorized_keys</code> like:</p>
<p><code>command="/usr/bin/svnserve -t -r /var/svn/ --tunnel-user=[developer's username]",no-port-forwarding,no-pty,no-agent-forwarding,no-X11-forwarding ssh-rsa [developer's RSA pubkey]== [developer's username]</code></p>
<p>This enables developers to check out <code>[repository]</code> using: <code>svn+ssh://[repo]@[server]/[repository]</code>. While we are sending the information over SSH, the developer does not have a SSH account and can do nothing but use SVN to check out (<code>svn co</code>) and update (<code>svn ci</code>) repositories owned by a user (<code>repo1</code>, <code>repo2</code>) whose <code>authorized_keys</code> file contains the developer&#8217;s pubkey. The last column in the <code>authorized_keys</code> file is the comment line. SVN automatically uses this line as the comment when a developer commits code to the SVN repository.</p>
<p>The last part, giving only partial access to a repository, coming in Part 3.</p>
]]></content:encoded>
			<wfw:commentRss>http://maxsobell.com/wp/?feed=rss2&amp;p=25</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
