<?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>&#60;Angered Brackets /&#62; &#187; Geek Culture</title>
	<atom:link href="http://www.angeredbrackets.com/category/geek-culture/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.angeredbrackets.com</link>
	<description>Angle brackets get angry too! &#62;:-]</description>
	<lastBuildDate>Tue, 01 Dec 2009 00:40:51 +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>Along with water, there&#8217;s a woman on the moon</title>
		<link>http://www.angeredbrackets.com/2009/11/along-with-water-theres-a-woman-on-the-moon/</link>
		<comments>http://www.angeredbrackets.com/2009/11/along-with-water-theres-a-woman-on-the-moon/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 02:36:51 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Geek Culture]]></category>
		<category><![CDATA[astronomy]]></category>

		<guid isPermaLink="false">http://www.angeredbrackets.com/?p=136</guid>
		<description><![CDATA[The media is all abuzz over NASA&#8217;s discovery of ice-water on the moon. This is great news, because it means the moon can potentially sustain more life than was earlier thought. However, upon further ispection of NASA&#8217;s data, I have come to learn that there&#8217;s a woman on the moon (in addition to the man [...]]]></description>
			<content:encoded><![CDATA[<p>The media is all abuzz over NASA&#8217;s discovery of <a href="http://www.nasa.gov/mission_pages/LCROSS/main/prelim_water_results.html">ice-water on the moon</a>. This is great news, because it means the moon can potentially sustain more life than was earlier thought.<br />
However, upon further ispection of NASA&#8217;s data, I have come to learn that there&#8217;s a woman on the moon (in addition to the <a href="http://en.wikipedia.org/wiki/Man_in_the_Moon">man in the moon</a>)<br />
Have a look:<div id="attachment_137" class="wp-caption alignnone" style="width: 155px"><img src="http://www.angeredbrackets.com/wordpress/wp-content/uploads/2009/11/woman.jpg" alt="woman&#039;s face in moon" title="moon woman" width="145" height="125" class="size-full wp-image-137" /><p class="wp-caption-text">woman's face in moon</p></div><span id="more-136"></span><br />
That ghostly image looks to me like a silhouette reflecting off of a pane of glass &#8211; as though this woman was standing in the room from which this photo was taken, with the moon right out the window.<br />
The original image is:<div id="attachment_138" class="wp-caption alignnone" style="width: 539px"><img src="http://www.angeredbrackets.com/wordpress/wp-content/uploads/2009/11/woman1.jpg" alt="Lunar south pole" title="moon with woman" width="529" height="378" class="size-full wp-image-138" /><p class="wp-caption-text">Lunar south pole</p></div><br />
Just to be clear, I don&#8217;t think this actually is a reflection or the image of a real person. Just a very convincing case of pareidolia. What do you think? Is the finding of water staged, just like the moon landing?</p>
<div id="flaresmith" class="feedflare"><script src="http://feeds.feedburner.com/~s/angeredBrackets?i=http://www.angeredbrackets.com/2009/11/along-with-water-theres-a-woman-on-the-moon/" type="text/javascript" charset="utf-8"></script></div>]]></content:encoded>
			<wfw:commentRss>http://www.angeredbrackets.com/2009/11/along-with-water-theres-a-woman-on-the-moon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XKCD Knockout Comic Downloader</title>
		<link>http://www.angeredbrackets.com/2009/06/xkcd-knockout-comic-downloader/</link>
		<comments>http://www.angeredbrackets.com/2009/06/xkcd-knockout-comic-downloader/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 10:00:57 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Geek Culture]]></category>
		<category><![CDATA[weekend project]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[comics]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://www.angeredbrackets.com/?p=93</guid>
		<description><![CDATA[XKCD, for those of you who don&#8217;t know, is a webcomic about (as it testifies of itself) romance, sarcasm, math, and language. In my opinion, it&#8217;s the best webcomic out there. I wanted to download the complete comics archive, for the sake of a local backup, and as an idea for a printed, coffee-table style [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://xkcd.com">XKCD</a>, for those of you who don&#8217;t know, is a webcomic about (as it testifies of itself) romance, sarcasm, math, and language. In my opinion, it&#8217;s the best webcomic out there. I wanted to download the complete comics archive, for the sake of a local backup, and as an idea for a printed, coffee-table style book. However, I didn&#8217;t want just the comic&#8217;s image file &#8211; the best part of XKCD is often the alt-text that shows up as a tooltip when you mouse-over the comic. And of course there&#8217;s the comic&#8217;s title, as well.</p>
<p>There are several scripts out there that others have written before me that download the comic, and some even do a pretty good job of getting some of the extra data. However, I wanted more. I wanted a downloader that would get ALL the data available about the comics, and store it in an easily-retrievable, transformative manner.<span id="more-93"></span></p>
<p>This led me to write my own downloader, which I have dubbed the XKCD Knockout Comic Downloader (or XKCD, for short). I have relied to some degree on those who have come before me, and have modified their code.<br />
Off the top of my head, I used some code by <a href="http://blog.johnlawrence.net/2008/10/yet-another-xkcd-download-script/">John Lawrence</a> to find the latest comic number; and this discussion on <a href="http://ubuntuforums.org/showthread.php?t=867649">Ubuntu forums</a> got me started with getting the meta-data.</p>
<p>My downloader the most complete I&#8217;ve seen so far. of it&#8217;s notable features:</p>
<ul>
<li>Store meta&#8211;data, including path to image, in XML file.</li>
<li>Choice of downloading the images or not.</li>
<li>Can append to an existing XML file, and update it since you last downloaded your personal batch of XKCD.</li>
<li>Will store all data about the comic, including seldom or never before used attributes, such as href, src, etc. (more on that later.)</li>
</ul>
<p>Sure, this script isn&#8217;t a nifty one-liner that does all the work, but instead, it does more work, and does it well:</p>
<p><code>#!/bin/sh<br/><br/>#-----user configurable-----<br/>append_to_file=true # continue from previous download<br/>download_path=~/xkcd/<br/>image_path=images<br/>xmlfile=xkcd.xml<br/>download_images=true<br/>#---------------------------<br/>#------configuration--------<br/>i=1<br/>latest=`wget -q -O - http://www.xkcd.com | grep 'link to this comic' | sed 's/.*xkcd.com.\([^\/]*\).*/\1/'` <br/>#---------------------------<br/><br/>if [ ! -d $download_path ]<br/>then<br/>&nbsp;&nbsp;&nbsp;&nbsp;mkdir $download_path<br/>fi<br/>cd $download_path<br/><br/>if $download_images &#038;& [ ! -d $image_path ]<br/>then<br/>&nbsp;&nbsp;&nbsp;&nbsp;mkdir $image_path<br/>fi<br/><br/>if $append_to_file &#038;& [ -f $xmlfile ]<br/>then<br/>&nbsp;&nbsp;&nbsp;&nbsp;sed -i '/\/xkcd/ d' $xmlfile<br/>&nbsp;&nbsp;&nbsp;&nbsp;i=$(tail -8 $xmlfile | grep '&lt;id>' | sed 's/^.*>\([0-9]\+\).*/\1/')<br/>&nbsp;&nbsp;&nbsp;&nbsp;i=`expr $i + 1`<br/>else<br/>&nbsp;&nbsp;&nbsp;&nbsp;echo "﻿&lt;?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>">>$xmlfile<br/>&nbsp;&nbsp;&nbsp;&nbsp;echo "&lt;?xml-stylesheet type=\"text/xsl\" href=\"xkcd.xsl\"?>">>$xmlfile<br/>&nbsp;&nbsp;&nbsp;&nbsp;echo "&lt;xkcd>">>$xmlfile<br/>fi<br/><br/>while [ $i -le $latest ]<br/>do<br/>&nbsp;&nbsp;&nbsp;&nbsp;echo "&nbsp;&nbsp;&nbsp;&nbsp;&lt;comic>">>$xmlfile<br/>&nbsp;&nbsp;&nbsp;&nbsp;echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;id>$i&lt;/id>">>$xmlfile<br/>&nbsp;&nbsp;&nbsp;&nbsp;wget http://xkcd.com/$i/<br/>&nbsp;&nbsp;&nbsp;&nbsp;img=$(grep http://imgs.xkcd.com/comics/ index.html | head -1)<br/>&nbsp;&nbsp;&nbsp;&nbsp;params=$(($(echo $img | tr -dc '"' | wc -c)/2))<br/>&nbsp;&nbsp;&nbsp;&nbsp;for ((j = 1; j &lt;= $params; j++))<br/>&nbsp;&nbsp;&nbsp;&nbsp;do<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;param=$(echo $img | cut -d\" -f$(($j*2-1)) | sed 's/>*&lt;*[a-z]*\ \([a-z]*\)\=/\1/')<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;val=$(echo $img | cut -d\" -f$(($j*2)))<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;$param>$val&lt;/$param>">>$xmlfile<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if [ $param = src ]<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;then<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filename=$(echo $val | cut -d\/ -f5)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if $download_images<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;then<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wget $val<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mv $filename "$image_path"/"$i"_"$filename"<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;filename>$i"_"$filename&lt;/filename>">>$xmlfile<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi<br/>&nbsp;&nbsp;&nbsp;&nbsp;done<br/>&nbsp;&nbsp;&nbsp;&nbsp;echo "&nbsp;&nbsp;&nbsp;&nbsp;&lt;/comic>">>$xmlfile<br/>&nbsp;&nbsp;&nbsp;&nbsp;rm index.html<br/>&nbsp;&nbsp;&nbsp;&nbsp;i=`expr $i + 1`<br/>done<br/>echo "&lt;/xkcd>">>$xmlfile</code></p>
<p>Rather than explain all the regexs used, and the logic in the script, if you have any specific questions, please ask.<br />
What distinguishes this script from others (of the rare few that download the meta-data) is that I&#8217;m not assuming any attributes exist, but am downloading all of them. This is useful for the irregular comics such as <a href="http://xkcd.com/472">House of Pancakes</a> or <a href="http://xkcd.com/191">Lojban</a>. In fact, I just ran a search for href in the XML file I created today, and found a few nuggets I&#8217;ve missed in the past.</p>
<p>The fact the data is stored in an XML file means it&#8217;s transformative. write a script to tweet the alt-text (why you would do that is beyond me), or create a tag cloud of frequently used words. My intention is to create an XSTL file that will display all the comics in a pleasing manner and bring it to print. (Dealing with Randal&#8217;s irregular image sizes is something I&#8217;m still working on, and am open to suggestions).</p>
<p>Let me know if you use this script and what creative ideas you have in mind for your stash of XKCD.</p>
<div id="flaresmith" class="feedflare"><script src="http://feeds.feedburner.com/~s/angeredBrackets?i=http://www.angeredbrackets.com/2009/06/xkcd-knockout-comic-downloader/" type="text/javascript" charset="utf-8"></script></div>]]></content:encoded>
			<wfw:commentRss>http://www.angeredbrackets.com/2009/06/xkcd-knockout-comic-downloader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Star Trek. Read this before watching</title>
		<link>http://www.angeredbrackets.com/2009/05/star-trek-read-this-before-watching/</link>
		<comments>http://www.angeredbrackets.com/2009/05/star-trek-read-this-before-watching/#comments</comments>
		<pubDate>Mon, 11 May 2009 21:27:47 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Geek Culture]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[sci-fi]]></category>
		<category><![CDATA[spoiler]]></category>
		<category><![CDATA[Star Trek]]></category>

		<guid isPermaLink="false">http://www.angeredbrackets.com/?p=29</guid>
		<description><![CDATA[I had the privilege of watching the new Star Trek movie 2 weeks ago, in a press preview. To answer the question many people have asked me about it &#8211; it&#8217;s a great action movie, and a decent Star Trek movie. Hardcore trekkies will find many things to get upset at in this movie, though [...]]]></description>
			<content:encoded><![CDATA[<p>I had the privilege of watching the new Star Trek movie 2 weeks ago, in a press preview. To answer the question many people have asked me about it &#8211; it&#8217;s a great action movie, and a decent Star Trek movie. Hardcore trekkies will find many things to get upset at in this movie, though there are tons of references and inside jokes meant solely for them, that will be missed by the uneniciated crowd.<br />
<span id="more-29"></span><br />
It appears the movie <a href="http://entertainment.slashdot.org/article.pl?sid=09/05/11/1259253">raked in some $72.5 million in opening weekend</a>, a decent sum, making it the <a href="http://denofgeek.com/movies/248899/star_trek_is_a_725m_opening_weekend_enough.html">fifth most profitable Trek movie</a> &#8211; and all in just three days.</p>
<p>But as I said, I&#8217;d call this movie a &#8220;decent&#8221; Trek movie. It has the great characters, and some good drama, but it lacks the touchy moral issues we loved tackling week after week in TOS and TNG. I would have not expected to see the movie address any touchy issues (and it would probably have been an epic fail if it were to try), but this was still missed. The only exception to this, seems to be the (Spoiler!!!) <span style="color:#EEEEEE;">implied waterboarding of captain pike</span>, which was mostly edited out.<div id="attachment_30" class="wp-caption alignnone" style="width: 552px"><img src="http://www.angeredbrackets.com/wordpress/wp-content/uploads/2009/05/vlcsnap-400988.png" alt="captain Pike, in a tight situation" title="pikeBoard" width="542" height="298" class="size-full wp-image-30" /><p class="wp-caption-text">captain Pike, in a tight situation</p></div><br />
(This very much reminds me of the torture scenes of Geordi in Generations, which were also mostly edited out:)<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/54vIMGr1ho0&#038;hl=en&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/54vIMGr1ho0&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Anyway, I&#8217;d love to see more real-life issues addressed in Trek, and I do believe (and hope) that this movie is a harbinger for several more, if not a TV series. I think JJ has what it takes to make great drama, and Trek offers a ripe setting for his style.<br />
It will, however, require of us die hard trekkies to loosen up a bit, and allow for some poetic license.</p>
<p>And to the point, and the reason I&#8217;m writing all this: there are a lot of questions that rise in the movie, and go unanswered. Apparently a prequel to the movie was made in comic form. The four issue <a href="http://memory-alpha.org/en/wiki/Star_Trek:_Countdown">Countdown</a> series tells the story of the movie&#8217;s villain, as well as that of our favorite TNG characters, which we last saw 7 years ago, at the end of Nemesis (ever wonder what happened to Data/B4?). I only found out about this comic series after watching the movie, and it answered my questions in retrospect. If you have the opportunity, <a href="http://isohunt.com/torrent_details/74218933/star+trek+countdown?tab=summary">download</a> and read the comics before watching the movie. Your enjoyment of the film will be greater.</p>
<div id="flaresmith" class="feedflare"><script src="http://feeds.feedburner.com/~s/angeredBrackets?i=http://www.angeredbrackets.com/2009/05/star-trek-read-this-before-watching/" type="text/javascript" charset="utf-8"></script></div>]]></content:encoded>
			<wfw:commentRss>http://www.angeredbrackets.com/2009/05/star-trek-read-this-before-watching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
