<?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>Steven She at woggie.net &#187; Life</title>
	<atom:link href="http://www.woggie.net/category/life/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.woggie.net</link>
	<description>The life of a PhD Candidate in Software Engineering</description>
	<lastBuildDate>Wed, 16 Jun 2010 22:12:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Phishing Terms of Agreement?</title>
		<link>http://www.woggie.net/2008/08/03/phishing-sites-terms-of-agreement/</link>
		<comments>http://www.woggie.net/2008/08/03/phishing-sites-terms-of-agreement/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 19:49:15 +0000</pubDate>
		<dc:creator>Steven She</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.woggie.net/?p=58</guid>
		<description><![CDATA[I&#8217;ve been recieving spam via Live Messenger and have mostly ignored them to-date. Feeling adventurous today, I decided to click and view one of these sites and noticed that they had a Terms of Use agreement. It&#8217;s actually quite a humourous read if you&#8217;re interested, so take a look below. Terms of Use / Privacy [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been recieving spam via Live Messenger and have mostly ignored them to-date. Feeling adventurous today, I decided to click and view one of these sites and noticed that they had a <em>Terms of Use</em> agreement. It&#8217;s actually quite a humourous read if you&#8217;re interested, so take a look below.</p>
<p><span id="more-58"></span></p>
<pre>
Terms of Use / Privacy Policy:

By filling out this form, you authorize [spam company], Inc to spread the word about this 100% real and upcomming Messenger Community Site.  You will receive your share of the credit in helping us spread the word.  This is a harmless Community site which is offering users a platform to meet each other for free.
</pre>
<p>Right, real and &#8220;upcomming&#8221; Community site, sounds encouraging to me! In fact, they offer to share the credit in spreading the word. What exactly are they they going to share, their revenue? They even state that the site is harmless. I feel safer already.</p>
<pre>We do not share your private information with any third parties.  By using our service/website  you hereby fully authorize [spam company], Inc to send messages of a commercial nature via Instant Messages and E-Mails on behalf of third parties via the information you provide us. This is not a "phishing" site that attempts to "trick" you into revealing personal information. Everything we do with your information is disclosed here. If you are under eighteen (18), you MUST obtain permission from a parent or guardian before using our website/service.</pre>
<p>Great! They state that they will send &#8220;messages of a commercial nature&#8221;, ie. SPAM, via IM and E-Mail, on behalf of third parties. The quotes around &#8220;phishing&#8221; and &#8220;trick&#8221; definitely make me feel safe. Afterall, the meaning of phishing and trick must be ambiguous, which necessitates the quotes&#8230; right?</p>
<pre>
This page is not affiliated with or operated by Microsoft(tm) or MSN Network(tm).

...

We may temporarily access your MSN account to do a combination of the following:
1.  Send Instant Messages to your friends promoting this site.
2.  Introduce new entertaining sites to your friends via Instant Messages.
</pre>
<p>Sign me up!</p>
<pre>
This is a free service. You will not be asked to pay at any time.  You will not be subscribed to anything asking for payment.  This service is made possible by many hours of human effort.
</pre>
<p>Wow, all these features&#8230; for free. Who woulde have thought? A project of such caliber, that was made possible by <em>many hours of human effort</em>, all for free!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.woggie.net/2008/08/03/phishing-sites-terms-of-agreement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHS Can Detain Your Laptop for No Reason</title>
		<link>http://www.woggie.net/2008/08/02/dhs-can-detain-your-laptop-for-no-reason/</link>
		<comments>http://www.woggie.net/2008/08/02/dhs-can-detain-your-laptop-for-no-reason/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 17:53:25 +0000</pubDate>
		<dc:creator>Steven She</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.woggie.net/?p=56</guid>
		<description><![CDATA[The United States&#8217; Department of Homeland Security now has the power to detain a traveler&#8217;s laptop indefinitely at the border, without any cause for suspicion. This is frightening, especially since all of my work and personal life is stored inside this machine. Not to mention that I use Linux, which might set off a cyber-terrorist [...]]]></description>
			<content:encoded><![CDATA[<p>The United States&#8217; Department of Homeland Security now has <a href="http://www.washingtonpost.com/wp-dyn/content/article/2008/08/01/AR2008080103030.html">the power to detain a traveler&#8217;s laptop <em>indefinitely</em></a> at the border, without any cause for suspicion. This is frightening, especially since <em>all</em> of my work and personal life is stored inside this machine. Not to mention that I use Linux, which might set off a cyber-terrorist alert, since it is the <a href="http://www.adequacy.org/stories/2001.12.2.42056.2147.html">OS of hackers&#8230; apparently</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.woggie.net/2008/08/02/dhs-can-detain-your-laptop-for-no-reason/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beamer, PDFTeX and XeTeX</title>
		<link>http://www.woggie.net/2008/07/16/beamer-pdftex-and-xetex/</link>
		<comments>http://www.woggie.net/2008/07/16/beamer-pdftex-and-xetex/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 05:17:35 +0000</pubDate>
		<dc:creator>Steven She</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Site]]></category>
		<category><![CDATA[beamer]]></category>
		<category><![CDATA[latex]]></category>

		<guid isPermaLink="false">http://www.woggie.net/?p=44</guid>
		<description><![CDATA[I&#8217;ve recently started using the beamer class to create slides for my presentation. Up till now, I&#8217;ve been using powerdot, and found it more than sufficient. I initially thought beamer to be far more complex than necessary. However, one feature convinced me to switch: PDFTeX and XeTeX support. Both PDFTeX and XeTeX create a PDF [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently started using the beamer class to create slides for my presentation. Up till now, I&#8217;ve been using powerdot, and found it more than sufficient. I initially thought beamer to be far more complex than necessary. However, one feature convinced me to switch: PDFTeX and XeTeX support.</p>
<p>Both PDFTeX and XeTeX create a PDF directly from the LaTeX source. XeTeX is built on PDFTeX, and is of particular interest since it has added support for TrueType and OpenType fonts. For beamer presentations, this was <em>great</em>, since it opens up a huge selection of fonts for use in presentations. To change the default font in the document with XeTeX, use the <code>fontspec</code> package. The <code>xunicode</code> package provides additional mapping between LaTeX accents and the selected font. A third package, <code>xltxtra</code> provides some fixes relating to fonts.</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\<span style="color: #800000; font-weight: bold;">documentclass</span></span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">xetex,mathserif,serif</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">beamer</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fontspec</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">xunicode</span><span style="color: #E02020; ">}</span> <span style="color: #2C922C; font-style: italic;">%Unicode extras!</span>
<span style="color: #800000; font-weight: normal;">\usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">xltxtra</span><span style="color: #E02020; ">}</span>  <span style="color: #2C922C; font-style: italic;">%Fixes</span>
<span style="color: #800000; font-weight: normal;">\setmainfont</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Calibri</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\setmonofont</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">Scale=0.86</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">Andale Mono</span><span style="color: #E02020; ">}</span></pre></div></div>

<p>Of course, you should replace <code>Calibri</code> and <code>Andale Mono</code> with a font of your choice.</p>
<p>Another nice package to use with PDFTeX, is the <code>microtype</code> package, which provides better font output. Enable the package with this line:</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\usepackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">final,expansion=true,protrusion=true,spacing=true,kerning=true</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">microtype</span><span style="color: #E02020; ">}</span></pre></div></div>

<h3>XeTeX and PGF / TiKZ</h3>
<p>PGF / TiKZ is a TeX library for drawing graphics using the PDFTeX and XeTeX drivers. However, you may encounter the following error message when attempting to compile a presentation with PGF / TiKZ pictures in your Beamer slides:</p>
<pre>Package pgf Warning: Your graphic driver pgfsys-dvipdfm.def does not supported marking the current position.</pre>
<p>Unfortunately, the included TiKZ library in the TeXLive 2007 distribution does not support XeTeX. This causes cross-picture coordinates to break, which can be used to <a href="http://www.fauskes.net/pgftikzexamples/beamer-arrows/">draw arrows between various TiKZ pictures</a> in a Beamer frame.</p>
<p>While we wait for TeXLive 2008, you can install the <a href="http://www.ctan.org/tex-archive/help/Catalogue/entries/pgf.html">new version of PGF from the CTAN</a> which adds support for the XeTeX driver. Simply download the package, and copy the files to your local <code>~/texmf/tex/</code> directory and execute <code>texhash</code> to update the TeX listings.</p>
<h3>XeTeX and Wide Pages</h3>
<p>Although I haven&#8217;t had much time to investigate the issue, but it seems that the <code>pgfpages</code> package that is used with beamer, is not entirely compatible with XeTeX. In particular, the commands:</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">pgfpages</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\setbeameroption</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">show notes on second screen</span><span style="color: #E02020; ">}</span>        <span style="color: #2C922C; font-style: italic;">%beamer</span>
<span style="color: #800000; font-weight: normal;">\pgfpagesuselayout</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">two screens with optional second</span><span style="color: #E02020; ">}</span> <span style="color: #2C922C; font-style: italic;">%pgfpages</span></pre></div></div>

<p>is enough to have <code>pdflatex</code> generate notes to the right of the slide, but on <code>xelatex</code> it doesn&#8217;t have any effect. <a href="http://www.tug.org/pipermail/xetex/2009-June/013325.html">This post by Tomáš Janoušek</a> to the XeTeX mailing list noted that the problem was due to a bug in the <code>pgfpages</code> package. Adding the following snippet fixes the probblem:</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\renewcommand</span><span style="color: #800000; font-weight: normal;">\pgfsetupphysicalpagesizes</span><span style="color: #E02020; ">{</span><span style="color: #2C922C; font-style: italic;">%</span>
    <span style="color: #800000; font-weight: normal;">\pdfpagewidth</span><span style="color: #800000; font-weight: normal;">\pgfphysicalwidth</span><span style="color: #800000; font-weight: normal;">\pdfpageheight</span><span style="color: #800000; font-weight: normal;">\pgfphysicalheight</span><span style="color: #2C922C; font-style: italic;">%</span>
<span style="color: #E02020; ">}</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.woggie.net/2008/07/16/beamer-pdftex-and-xetex/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Eternal Sunshine of the Spotless Mind</title>
		<link>http://www.woggie.net/2007/07/09/eternal-sunshine-of-the-spotless-mind/</link>
		<comments>http://www.woggie.net/2007/07/09/eternal-sunshine-of-the-spotless-mind/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 03:52:27 +0000</pubDate>
		<dc:creator>Steven She</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://192.168.10.2/shshe/woggie.net/2007/07/09/eternal-sunshine-of-the-spotless-mind/</guid>
		<description><![CDATA[Eternal Sunshine of the Spotless Mind is one weird movie. It&#8217;s one of those movies that get you thinking. It&#8217;s also one of those movies that doesn&#8217;t really make sense until the end. There&#8217;s just so much detail packed into it. Definitely recommended if you&#8217;re into strange artsy movies with a touch of sci-fi and [...]]]></description>
			<content:encoded><![CDATA[<p> <a href="http://www.amazon.ca/gp/redirect.html%3FASIN=B0006I0SEO%26tag=stevenslife-20%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/B0006I0SEO%253FSubscriptionId=1N9AHEAQ2F6SVD97BE02" title="Click and drag this image to the post editor"></a></p>
<p align="center"><a href="http://www.amazon.ca/gp/redirect.html%3FASIN=B0006I0SEO%26tag=stevenslife-20%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/B0006I0SEO%253FSubscriptionId=1N9AHEAQ2F6SVD97BE02" title="Click and drag this image to the post editor"><img src="http://ec1.images-amazon.com/images/I/2142YND0CPL.jpg" align="left" width="100" /></a></p>
<p>Eternal Sunshine of the Spotless Mind is one weird movie. It&#8217;s one of those movies that get you thinking. It&#8217;s also one of those movies that doesn&#8217;t really make sense until the end. There&#8217;s just so much detail packed into it. Definitely recommended if you&#8217;re into strange artsy movies with a touch of sci-fi and romance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.woggie.net/2007/07/09/eternal-sunshine-of-the-spotless-mind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
