<?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; tech</title>
	<atom:link href="http://blog.froztbyte.net/category/tech/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>Keys, identity, etc</title>
		<link>http://blog.froztbyte.net/2014/10/keys-identity-etc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=keys-identity-etc</link>
		<comments>http://blog.froztbyte.net/2014/10/keys-identity-etc/#comments</comments>
		<pubDate>Mon, 13 Oct 2014 18:29:14 +0000</pubDate>
		<dc:creator><![CDATA[froztbyte]]></dc:creator>
				<category><![CDATA[minipost]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[identity]]></category>
		<category><![CDATA[keying]]></category>
		<category><![CDATA[signatures]]></category>

		<guid isPermaLink="false">http://blog.froztbyte.net/?p=499</guid>
		<description><![CDATA[This post serves as a general notice of key update, as well as a short bit of history. My new GPG key is a 4096 RSA. It&#8217;s available on the SKS keyservers already, and has the fingerprint 1A9260611F0D15319BE6465E474E16D0F70C7CC9. I have &#8230;<p class="read-more"><a href="http://blog.froztbyte.net/2014/10/keys-identity-etc/">Read more &#187;</a></p>]]></description>
				<content:encoded><![CDATA[<p>This post serves as a general notice of key update, as well as a short bit of history.</p>
<p>My new GPG key is a 4096 RSA. It&#8217;s available on the <a href="https://hkps.pool.sks-keyservers.net/pks/lookup?op=get&amp;search=0x474E16D0F70C7CC9">SKS keyservers</a> already, and has the fingerprint 1A9260611F0D15319BE6465E474E16D0F70C7CC9. I have also updated my <a href="https://keybase.io/froztbyte">Keybase identity</a> with this as appropriate, as well as updating my online <a href="https://elegua.za.net/~froztbyte/kingdom/">pubkey store</a>.</p>
<p>My old key was E5BB45ADAC20F87D8E5C2316D3C406A99ABE41AE, 1024 DSA. I&#8217;ll be pushing a revocation for this in about a week&#8217;s time.</p>
<p>The intention behind this is a general update, plus also just adding some clarity to my public key situation. I have <a href="https://hkps.pool.sks-keyservers.net/pks/lookup?op=get&amp;search=0xE63FAFBA753C6091">some</a> <a href="https://hkps.pool.sks-keyservers.net/pks/lookup?op=get&amp;search=0x39C18A904BE69568">Older</a> <a href="https://hkps.pool.sks-keyservers.net/pks/lookup?op=get&amp;search=0x3517E6049CF278B3">Keys</a> which happened, in various states, from times when I had no clue to times where I had no ability to survive machine or disk failures. Aside from those conditions, I had <a href="https://hkps.pool.sks-keyservers.net/pks/lookup?op=get&amp;search=0xD3C406A99ABE41AE">another key</a> which I also no longer wish to use (due to reasonable key size concerns etc).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.froztbyte.net/2014/10/keys-identity-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHCP, LXC, phy-less (?) bridges, and checksums</title>
		<link>http://blog.froztbyte.net/2014/07/dhcp-lxc-phy-less-bridges-and-checksums/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dhcp-lxc-phy-less-bridges-and-checksums</link>
		<comments>http://blog.froztbyte.net/2014/07/dhcp-lxc-phy-less-bridges-and-checksums/#comments</comments>
		<pubDate>Sun, 20 Jul 2014 13:09:59 +0000</pubDate>
		<dc:creator><![CDATA[froztbyte]]></dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[brctl]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dhclient]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[lxc]]></category>
		<category><![CDATA[veth]]></category>

		<guid isPermaLink="false">http://blog.froztbyte.net/?p=489</guid>
		<description><![CDATA[tl;dr: if your lxc container on a bridged/veth network is randomly failing to get a dhcp address, you can probably fix it with `ethtool br0 x off  tx off` (br0 being the bridge interface). With my home DSL acting up &#8230;<p class="read-more"><a href="http://blog.froztbyte.net/2014/07/dhcp-lxc-phy-less-bridges-and-checksums/">Read more &#187;</a></p>]]></description>
				<content:encoded><![CDATA[<p>tl;dr: if your lxc container on a bridged/veth network is randomly failing to get a dhcp address, you can probably fix it with `ethtool br0 x off  tx off` (br0 being the bridge interface).</p>
<p>With my home DSL acting up quite a bit lately (&#8220;lately&#8221; == month and a half now. &#8220;acting up&#8221; == ground fault, and waiting for the telco to fix it..), I&#8217;ve been doing a lot of sandboxing work on my microserver at home. But because of its resource scarcity (2GB RAM, and I just haven&#8217;t bought more yet), I&#8217;ve been giving LXC a go[0] (where I&#8217;d normally just do libvirt&#8217;d kvm). It&#8217;s pretty easy to get started (check <a href="https://wiki.debian.org/LXC">this post</a> for pretty all much info you need), but I did deviate from the norm slightly.</p>
<p>I like my eth interfaces a server like this to be non-bridged, mostly because of a lack of ipmi (but also because brctl is a clown sometimes). So my setup for this at home looks like so:</p>
<pre>auto lxc0
iface lxc0 inet static
  address 192.168.2.1
  broadcast 192.168.2.255
  netmask 255.255.255.0
  bridge_stp on
  pre-up /sbin/brctl addbr lxc0
  post-down /sbin/brctl delbr lxc0</pre>
<p>I&#8217;ve also got dnsmasq listening on everything, although I hadn&#8217;t had it doing dhcp on that interface yet. Today I decided to change that, which is what led me to discovering this: (afaict) if you don&#8217;t have a phy interface attached to your bridge, checksum offloading behaviour on that bridge appears to be fucked-by-default.</p>
<p>How this manifested in my case was that lxc containers couldn&#8217;t succesfully DHCP (mostly silent failure), but doing a pcap or dhcpdump on the inside interface would show responses actually getting to your container. After some various derpery with dhclient&#8217;s options and applying enough patience, I finally managed to see a message: &#8216;5 bad udp checksums in 5 packets&#8217;. Some quick searching revealed people advising doing `iptables -A POSTROUTING -t mangle -p udp &#8211;dport bootpc -j CHECKSUM &#8211;checksum-fill` to fix this. Not just liking magic patches, I did check into why this is the case, and as mentioned earlier, it seems that this happens when you don&#8217;t have a phy attached to the bridge[0].</p>
<p>My network config for that interface now has a `post-up /sbin/ethtool tor0 rx off tx off` in it, and things seem dandy.</p>
<p>[0] &#8211; Mostly works pretty well. On debian wheezy you need some backported stuff for the various cgroups support. I think I got them from sid.<br />
[1] &#8211; &#8220;seems&#8221;, because a) I don&#8217;t feel like testing this by attach a real phy to the bridge now, and b) I haven&#8217;t run into this before when using various other things (KVM usually) that were running on phy-attached bridges so I can only guess this is what happens. Feel free to test and let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.froztbyte.net/2014/07/dhcp-lxc-phy-less-bridges-and-checksums/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>puppetvpn</title>
		<link>http://blog.froztbyte.net/2014/07/puppetvpn/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=puppetvpn</link>
		<comments>http://blog.froztbyte.net/2014/07/puppetvpn/#comments</comments>
		<pubDate>Sun, 06 Jul 2014 12:45:22 +0000</pubDate>
		<dc:creator><![CDATA[froztbyte]]></dc:creator>
				<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.froztbyte.net/?p=485</guid>
		<description><![CDATA[Just a quick post to announce puppetvpn. It&#8217;s a puppet module for easily setting up openvpn links (p2p and hub-and-spoke), with the main point/attraction/difference being that it lets puppet take care of the key management effort. Based on initial work &#8230;<p class="read-more"><a href="http://blog.froztbyte.net/2014/07/puppetvpn/">Read more &#187;</a></p>]]></description>
				<content:encoded><![CDATA[<p>Just a quick post to announce <a href="https://github.com/froztbyte/puppetvpn">puppetvpn</a>. It&#8217;s a puppet module for easily setting up openvpn links (p2p and hub-and-spoke), with the main point/attraction/difference being that it lets puppet take care of the key management effort.</p>
<p>Based on initial work by <a href="https://github.com/mithrandi">Tristan</a>, so all credit as due goes there.</p>
<p>It&#8217;s not very smart right now (presumes a whole bunch of things). Patches accepted.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.froztbyte.net/2014/07/puppetvpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>And another one</title>
		<link>http://blog.froztbyte.net/2013/09/and-another-one/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=and-another-one</link>
		<comments>http://blog.froztbyte.net/2013/09/and-another-one/#comments</comments>
		<pubDate>Mon, 09 Sep 2013 09:03:30 +0000</pubDate>
		<dc:creator><![CDATA[froztbyte]]></dc:creator>
				<category><![CDATA[lulz]]></category>
		<category><![CDATA[rage]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[billing]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[idiots]]></category>
		<category><![CDATA[vodacom]]></category>

		<guid isPermaLink="false">http://blog.froztbyte.net/?p=453</guid>
		<description><![CDATA[Seriously loving my cellphone company right now. So, to whichever unfortunate person ends up with my support ticket for this, I wish you luck. P.S. I was told there&#8217;s more context needed, so: look at the bundle type in the &#8230;<p class="read-more"><a href="http://blog.froztbyte.net/2013/09/and-another-one/">Read more &#187;</a></p>]]></description>
				<content:encoded><![CDATA[<p>Seriously <em><strong>loving</strong></em> my cellphone company right now.</p>
<div id="attachment_454" style="width: 503px" class="wp-caption alignnone"><a href="http://blog.froztbyte.net/wp-content/uploads/2013/09/Screen-Shot-2013-09-09-at-10.59.58-AM.png"><img class="size-full wp-image-454" title="vodacom billing engine excellence" src="http://blog.froztbyte.net/wp-content/uploads/2013/09/Screen-Shot-2013-09-09-at-10.59.58-AM.png" alt="vodacom billing engine excellence" width="493" height="132" /></a><p class="wp-caption-text">PRERATE ALL THE THINGS</p></div>
<p>So, to whichever unfortunate person ends up with my support ticket for this, I wish you luck.</p>
<p>P.S. I was told there&#8217;s more context needed, so: look at the bundle type in the top bar, and then at the used/avaiable counts. What happened (my guess, but I&#8217;m pretty sure) is that when I bought it, their rating system preburned all the data I&#8217;ve already done this month (under previous rollover bundle).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.froztbyte.net/2013/09/and-another-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rocket-solid .za DSL setup</title>
		<link>http://blog.froztbyte.net/2013/08/rocket-solid-za-dsl-setup/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rocket-solid-za-dsl-setup</link>
		<comments>http://blog.froztbyte.net/2013/08/rocket-solid-za-dsl-setup/#comments</comments>
		<pubDate>Fri, 09 Aug 2013 14:05:49 +0000</pubDate>
		<dc:creator><![CDATA[froztbyte]]></dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[dsl]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[za]]></category>

		<guid isPermaLink="false">http://blog.froztbyte.net/?p=448</guid>
		<description><![CDATA[After a couple of SOHO router iterations (not all my own, sometimes seen via other people), recurring problems: overheating devices due to bad design crappy stock firmware bugs (that often never get fixed, or updates are never applied) other assorted &#8230;<p class="read-more"><a href="http://blog.froztbyte.net/2013/08/rocket-solid-za-dsl-setup/">Read more &#187;</a></p>]]></description>
				<content:encoded><![CDATA[<p>After a couple of SOHO router iterations (not all my own, sometimes seen via other people), recurring problems:</p>
<ul>
<li>overheating devices due to bad design</li>
<li>crappy stock firmware</li>
<li>bugs (that often never get fixed, or updates are never applied)</li>
<li>other assorted silly issues, like a 1000-connection session table, or small arp tables, or or or &#8230;</li>
</ul>
<p>Much like the rest of the local linux community, I&#8217;d long just done DSL bridging and let a Linux box do the work of Real Internet Connection(tm), but that&#8217;s not the easiest pitch for Joe Average Home User. So I found an alternative set of things that works fairly well, and is solid enough for you to fire rockets at it. The recipe is as follows</p>
<ul>
<li>1x DSL bridge of some kind. Some Broadcom chipsets are excellent</li>
<ul>
<li>I&#8217;ve had a hell of a lot of lifetime out of the <a href="http://www.sybaritic.co.za/store/product_info.php?products_id=11506">DSL-2500U</a></li>
<li>if you want cheaper, this <a href="http://www.scoopdistribution.co.za/product_info.php?products_id=1179">Tenda</a> unit</li>
</ul>
<li>1x Non-shit router</li>
<ul>
<li>A <a href="http://www.scoopdistribution.co.za/product_info.php?products_id=863">RB750</a> is pretty good for this. Gets your packets going without too much fancy. Has other benefits too</li>
</ul>
<li>1x Extra switch, because cheap gigabit is good</li>
<ul>
<li>again, a <a href="http://www.scoopdistribution.co.za/product_info.php?products_id=1182">Tenda</a> unit</li>
<li>there are some cheap tp-links and HPs around too that I&#8217;ve had before</li>
</ul>
</ul>
<p>Cheap, effective, and just slightly annoying on amount of power sockets used. The power used is fairly low, too (we&#8217;ve had to test it on another project before, and it&#8217;s something like R20/month).</p>
<p>I&#8217;ll update the post a bit later with the basic tik config to apply.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.froztbyte.net/2013/08/rocket-solid-za-dsl-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My IRC setup</title>
		<link>http://blog.froztbyte.net/2013/06/my-irc-setup/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-irc-setup</link>
		<comments>http://blog.froztbyte.net/2013/06/my-irc-setup/#comments</comments>
		<pubDate>Sun, 16 Jun 2013 18:11:42 +0000</pubDate>
		<dc:creator><![CDATA[froztbyte]]></dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[crazy]]></category>
		<category><![CDATA[irc]]></category>

		<guid isPermaLink="false">http://blog.froztbyte.net/?p=440</guid>
		<description><![CDATA[Potentially a somewhat bland topic, but I find myself referring to this often enough that I wanted to write it up; saves me the effort of explaining it in future. First off, a couple of requirements: low latency on the &#8230;<p class="read-more"><a href="http://blog.froztbyte.net/2013/06/my-irc-setup/">Read more &#187;</a></p>]]></description>
				<content:encoded><![CDATA[<p>Potentially a somewhat bland topic, but I find myself referring to this often enough that I wanted to write it up; saves me the effort of explaining it in future.</p>
<p>First off, a couple of requirements:</p>
<ul>
<li>low latency on the user input side</li>
<li>deal with my somewhat ridiculous volume of IRC usage</li>
<li>accessible from any reasonable platform (which I roughly classify as &#8220;anything with a keyboard for input, and has internet&#8221;)</li>
</ul>
<p>So when I say &#8220;somewhat ridiculous&#8221;, that means:</p>
<ul>
<li>12 IRC networks</li>
<li>65 channels (of varying volume)</li>
<li>varying numbers of query windows, usually about 30+ open</li>
</ul>
<p>I flatten my jabber/gtalk to IRC as well, by using <a href="http://www.bitlbee.org/">bitlbee</a>. It counts among the 12.</p>
<p>Historically, I had this set up as <a href="http://irssi.org/">irssi</a> with irssi-proxy in the USA, then another irssi+irssi-proxy at my home (to join a network only accessible via the <a href="http://www.jawug.org.za/">WUG</a> at that point), and then I would connect my machine-local client to that server (which was on dyndns). A couple of pain points with this included the fact that dyndns sucks donkey balls, and syncing of logs (which I did with rsync at the time) was crappy. At the time I also had less IRC volume than I do now.</p>
<p>Aside from those pain points, and the occasional power outage at home (which just made me link up to my parent client), this worked well. Quassel&#8217;s backlog fetching is shiny, though. Very shiny. I wanted it. So I redid my IRC setup. Now there&#8217;s only one master server (currently in Germany), with a quassel core connecting to it. The irssi proxy config looks like so:</p>
<pre>20:08:39 -!- Irssi: Module proxy/proxy already loaded
20:08:44 [irssiproxy]
20:08:44 irssiproxy_bind = 127.0.0.1
20:08:44 irssiproxy_password = passwordhere
20:08:44 irssiproxy_ports = freenode=6001 shadowfire=6002 oftc=6003 bitlbee=6004 ...</pre>
<p>So basically:</p>
<ul>
<li>/load proxy</li>
<li>/set irssiproxy_bind ip</li>
<li>/set irssiproxy_password ircpassword</li>
<li>/set irssiproxy_ports network=port network2=port2</li>
</ul>
<p>Connect the quassel core up to the proxy, and that&#8217;s it. Infinite scrollback for any of my devices with quassel, and I can just ssh from some random server and connect up to screen as well (which has saved my bacon in DCs a few times).</p>
<p>And yes, I know this is (a bit) crazy.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.froztbyte.net/2013/06/my-irc-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USB port orientation usability idea</title>
		<link>http://blog.froztbyte.net/2013/04/usb-port-orientation-usability-idea/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=usb-port-orientation-usability-idea</link>
		<comments>http://blog.froztbyte.net/2013/04/usb-port-orientation-usability-idea/#comments</comments>
		<pubDate>Sun, 28 Apr 2013 21:24:37 +0000</pubDate>
		<dc:creator><![CDATA[froztbyte]]></dc:creator>
				<category><![CDATA[minipost]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[usb ports]]></category>

		<guid isPermaLink="false">http://blog.froztbyte.net/?p=427</guid>
		<description><![CDATA[I&#8217;m not a designer by trade, so this is purely a quick image mockup. But imagine how much quantum turning could&#8217;ve been spared if this was in the standard from the getgo: So what I&#8217;m thinking is that on the &#8230;<p class="read-more"><a href="http://blog.froztbyte.net/2013/04/usb-port-orientation-usability-idea/">Read more &#187;</a></p>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m not a designer by trade, so this is purely a quick image mockup. But imagine how much quantum turning could&#8217;ve been spared if this was in the standard from the getgo:</p>
<p><a href="http://blog.froztbyte.net/wp-content/uploads/2013/04/USB-Connector-modified-hope.png"><img class="alignnone size-full wp-image-428" title="USB Connector, modified" src="http://blog.froztbyte.net/wp-content/uploads/2013/04/USB-Connector-modified-hope.png" alt="" width="2240" height="1600" /></a></p>
<p>So what I&#8217;m thinking is that on the machine it could get indicated which side is which. And yeah, I <strong>finally</strong> got to post this thing, after meaning to do so (and continually forgetting) for a couple of months now.</p>
<p>Update: source for image original is <a href="https://en.wikipedia.org/wiki/File:USB-Connector-Standard.jpg">Wikipedia</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.froztbyte.net/2013/04/usb-port-orientation-usability-idea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Something I really need to add to my system-prov script</title>
		<link>http://blog.froztbyte.net/2013/04/something-i-really-need-to-add-to-my-system-prov-script/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=something-i-really-need-to-add-to-my-system-prov-script</link>
		<comments>http://blog.froztbyte.net/2013/04/something-i-really-need-to-add-to-my-system-prov-script/#comments</comments>
		<pubDate>Tue, 02 Apr 2013 13:37:45 +0000</pubDate>
		<dc:creator><![CDATA[froztbyte]]></dc:creator>
				<category><![CDATA[lulz]]></category>
		<category><![CDATA[minipost]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[annoying]]></category>
		<category><![CDATA[blacklist]]></category>
		<category><![CDATA[pcspkr]]></category>

		<guid isPermaLink="false">http://blog.froztbyte.net/?p=423</guid>
		<description><![CDATA[root@likho:~# echo &#8220;blacklist pcspkr&#8221; &#62; /etc/modprobe.d/diaf.conf root@likho:~#]]></description>
				<content:encoded><![CDATA[<p>root@likho:~# echo &#8220;blacklist pcspkr&#8221; &gt; /etc/modprobe.d/diaf.conf<br />
root@likho:~#</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.froztbyte.net/2013/04/something-i-really-need-to-add-to-my-system-prov-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
		<item>
		<title>&#8220;Quality of service&#8221;</title>
		<link>http://blog.froztbyte.net/2013/02/quality-of-service/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=quality-of-service</link>
		<comments>http://blog.froztbyte.net/2013/02/quality-of-service/#comments</comments>
		<pubDate>Fri, 15 Feb 2013 20:41:36 +0000</pubDate>
		<dc:creator><![CDATA[froztbyte]]></dc:creator>
				<category><![CDATA[minipost]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[qos]]></category>
		<category><![CDATA[vodacom]]></category>

		<guid isPermaLink="false">http://blog.froztbyte.net/?p=393</guid>
		<description><![CDATA[Alternative title: what happens when you buy things that are licensed/run per TCP connection it can maintain. hageshii% date; elegua; date Fri Feb 15 22:08:41 SAST 2013 Linux elegua 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 The &#8230;<p class="read-more"><a href="http://blog.froztbyte.net/2013/02/quality-of-service/">Read more &#187;</a></p>]]></description>
				<content:encoded><![CDATA[<p>Alternative title: what happens when you buy things that are licensed/run per TCP connection it can maintain.</p>
<blockquote><p>hageshii% date; elegua; date<br />
Fri Feb 15 <strong>22:08:41</strong> SAST 2013<br />
Linux elegua 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64</p>
<p>The programs included with the Debian GNU/Linux system are free software;<br />
the exact distribution terms for each program are described in the<br />
individual files in /usr/share/doc/*/copyright.</p>
<p>Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent<br />
permitted by applicable law.<br />
No mail.<br />
Last login: Fri Feb 15 20:44:49 2013 from 41.10.98.194<br />
elegua% Write failed: Broken pipe<br />
Shared connection to elegua.za.net closed.<br />
Fri Feb 15 <strong>22:18:47</strong> SAST 2013</p></blockquote>
<p>10 minutes almost to the dot and my connection is forcefully severed, presumably for inactivity. I wonder how many inadvertent breakages this can cause. It&#8217;s certainly annoying. Thanks, Vodacom.</p>
<p>(Yes, I know I can VPN around this, or use mosh, or or or. Unfortunately none of those were quick to do because I hadn&#8217;t booted this box in quite a while, and Expensive-with-expiring-bytes-G connection is better used on other things than this)</p>
<p>And this is what the trace looks like:</p>
<pre> Host                                                Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. 192.168.43.1                                      0.0%   131    1.5   9.4   1.1 211.2  27.6
 2. 10.17.7.11                                        0.0%   131   54.6 327.0  38.5 5456. 844.4
 3. 10.242.249.2                                      0.8%   131   47.9 314.3  42.1 5400. 823.9
 4. 10.113.228.1                                      5.4%   131   48.8 309.2  42.4 5346. 832.0
 5. 41.192.248.18                                    12.3%   131   55.7 247.6  39.4 5290. 790.0
 6. vc-196-207-44-134.3g.vodacom.co.za                7.7%   131   52.8 294.0  39.4 5234. 815.3
 7. 41.0.4.1                                         10.0%   131   49.7 249.9  36.6 5178. 764.8
 8. 10.118.46.10                                      7.8%   130  423.0 474.4 210.7 5155. 851.3
 9. te-9-2.car5.London1.Level3.net                   34.1%   130  483.0 461.4 204.0 4123. 762.5
10. ae-52-52.csw2.London1.Level3.net                 24.0%   130  239.5 502.6 216.1 5009. 882.5
11. ae-57-222.ebr2.London1.Level3.net                24.0%   130  231.0 409.9 216.0 4010. 614.4
12. ae-22-22.ebr2.Frankfurt1.Level3.net              22.5%   130  237.8 473.7 216.9 5906. 897.6
13. ae-72-72.csw2.Frankfurt1.Level3.net              22.5%   130  250.2 445.7 219.9 5851. 793.7
    ae-92-92.csw4.Frankfurt1.Level3.net
14. ???
15. 195.16.162.254                                   32.6%   130  247.4 406.6 223.9 4726. 723.5
16. hos-bb2.juniper1.rz1.hetzner.de                  74.4%   130  233.1 740.9 225.0 5682. 1218.
17. hos-tr2.ex3k9.rz1.hetzner.de                     18.6%   130  339.2 491.0 221.3 5626. 841.9
18. elegua.za.net                                     1.6%   130  343.7 508.1 226.2 5571. 829.2

</pre>
<p>Hi-kwality packets.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.froztbyte.net/2013/02/quality-of-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
