<?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>froztbyte.getBlog() &#187; tinker</title>
	<atom:link href="http://blog.froztbyte.net/tag/tinker/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.froztbyte.net</link>
	<description>returns the contents of froztbyte.blog</description>
	<lastBuildDate>Mon, 13 Oct 2014 20:19:25 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0</generator>
	<item>
		<title>Poking at xkcd 1190</title>
		<link>http://blog.froztbyte.net/2013/03/poking-at-xkcd-1190/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=poking-at-xkcd-1190</link>
		<comments>http://blog.froztbyte.net/2013/03/poking-at-xkcd-1190/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 12:41:44 +0000</pubDate>
		<dc:creator><![CDATA[froztbyte]]></dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[poke]]></category>
		<category><![CDATA[reverseengineer]]></category>
		<category><![CDATA[tinker]]></category>
		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://blog.froztbyte.net/?p=406</guid>
		<description><![CDATA[I&#8217;m probably not the only one doing this, but&#8230; let&#8217;s poke around at the innards of xkcd 1190. I&#8217;ll update this as I find things. I&#8217;m not particularly clued at JS yet (browsers are not my main playground), so I&#8217;m &#8230;<p class="read-more"><a href="http://blog.froztbyte.net/2013/03/poking-at-xkcd-1190/">Read more &#187;</a></p>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m probably not the only one doing this, but&#8230; let&#8217;s poke around at the innards of <a href="http://xkcd.com/1190">xkcd 1190</a>. I&#8217;ll update this as I find things. I&#8217;m not particularly clued at JS yet (browsers are not my main playground), so I&#8217;m hitting this as it comes ;)</p>
<p>So far, useful things found:</p>
<ul>
<li>there&#8217;s a <a href="http://imgs.xkcd.com/static/time06.min.js">minified script</a> for making all of this happen, run it through a <a href="http://jsbeautifier.org/">beautifier</a> of your choice to be able to read it</li>
<li><a href="http://xkcd.com/1190/#verbose">append #verbose</a> to the end of the URL for JS console logging messages</li>
<li>there appears to be an event listener thing going on, with what appear to be UUIDs attached to the events. I suspect they&#8217;re only format-similar though, because they must be time-dependent. <em>Update: looks like it&#8217;s just kept in memory</em></li>
<li>the json passed to the xkcd servers looks like so:</li>
</ul>
<pre>s {type: "comic/time", data: "{"spread":5,"image":"a901246fd70dcd0054429bf55ced123ecead832300d73dedd78857d91eaff2df.png"}", lastEventId: "c0ddcdf0-9547-11e2-8001-1c6f659cb250"}</pre>
<ul>
<li>A helpful person on the internet is <a href="http://imgur.com/a/Edyi1">collecting them all</a> (explainxkcd.com is <a href="http://www.explainxkcd.com/wiki/index.php?title=1190:_Time">doing some stuff too</a>, but their servers are dying)</li>
<li>Every 1.5min there&#8217;s an <a href="http://c2.xkcd.com/stream/comic/time?method=EventSource&amp;lastEventId=c0ddcdf0-9547-11e2-8001-1c6f659cb250&amp;r=4709203685633838">event listener update check</a></li>
<li>There&#8217;s also a discussion on the <a href="http://forums.xkcd.com/viewtopic.php?f=7&amp;t=101043">xkcd forums</a></li>
<li>A <a href="http://www.reddit.com/r/xkcd/comments/1aye8m/time/c9204ie">person on reddit</a> made a cronjob to generate a <a href="http://primis.org/time/output.gif">gif of it</a></li>
</ul>
<p>More as I find it</p>
<p>P.S.: Randall Munroe you are a <strong>hell</strong> of a nerdsniper.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.froztbyte.net/2013/03/poking-at-xkcd-1190/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
