<?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>Talk Unafraid &#187; stuffisawesome</title>
	<atom:link href="http://www.talkunafraid.co.uk/tag/stuffisawesome/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.talkunafraid.co.uk</link>
	<description>The (occasionally coherent) ramblings of a geek</description>
	<lastBuildDate>Thu, 09 Feb 2012 02:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MythTV and Freesat</title>
		<link>http://www.talkunafraid.co.uk/2011/06/mythtv-and-freesat/</link>
		<comments>http://www.talkunafraid.co.uk/2011/06/mythtv-and-freesat/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 17:01:54 +0000</pubDate>
		<dc:creator>James Harrison</dc:creator>
				<category><![CDATA[Awesome Stuff]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[dvb-s]]></category>
		<category><![CDATA[dvb-s2]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[satellite]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[stuffisawesome]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.talkunafraid.co.uk/?p=1333</guid>
		<description><![CDATA[Or- how to make TV worthwhile if you happen to have a leftover Sky dish on your house. So when I moved in to my current university digs, the previous tenants had left a few things behind. Notably, they&#8217;d had Sky. So we had a Sky box in the living room and a dish on [...]]]></description>
			<content:encoded><![CDATA[<p>Or- how to make TV worthwhile if you happen to have a leftover Sky dish on your house.</p>
<p>So when I moved in to my current university digs, the previous tenants had left a few things behind. Notably, they&#8217;d had Sky. So we had a Sky box in the living room and a dish on the wall. In the UK, if you want fast internet these days, you need Virgin Media. VM gives you cable TV in the bundle, so I didn&#8217;t want to pay for Sky. But Freesat&#8217;s got some nice stuff on it, including BBC HD and that sort of thing. So how about we get ourselves some free TV?<span id="more-1333"></span></p>
<p>Now, Sky uses the same satellite for the UK as a lot of Freesat stuff. So ignore the dish- all you need is to leave that bit alone, and make sure that you&#8217;ve got a cable from the dish LNB to somewhere you can put your PC. Where it&#8217;s pointed is probably 28.2 East, which has a bunch of appropriate satellites.</p>
<p>What you then need is a capture card. DVB-S is the standard for satellite, though DVB-S2 is used for some HD encoding (specifically, BBC HD is now on DVB-S2). DVB-T is for terrestrial stuff, and comes in on coax from a standard TV aerial &#8211; you can get combo cards, which will let you pull down extra stuff if you&#8217;ve got the coax feed. Stuff from your LNB typically comes on F-type cables/connectors, down 75 ohm cable. I have yet to find a decent UK supplier for patch or extension leads &#8211; if you know one, let me know.</p>
<p>The LinuxTV wiki maintains a huge list of hardware compatibility with Linux and capture cards, so check there before you go buy anything. I got a Compro S350 card, which works great for DVB-S &#8211; I&#8217;ve also ordered a Technisat S2 HD card, which should do DVB-S2, and I&#8217;m going to look out for a DVB-T card.</p>
<p>Now, we need to tie all this together next. So we need some software and a PC. The PC wants to be a decent spec &#8211; I&#8217;m using a Pentium 4 box with 768MB of RAM as my server, which is on the low end of things. A faster machine would be better, obviously, but it&#8217;s all I have to hand. I stuck a decent (GeForce 6600) graphics card in there, too. Fast CPU is the priority, really- we&#8217;re talking high definition decoding, encoding, transcoding and playback. If you&#8217;re on a budget, look into Intel quad-core chips (Q6600s, that sort of thing). Intel is the way to go wherever possible. If you&#8217;re doing this properly, high-end i7 would be my choice- that or a Xeon or similar. 6-12 core chips would be just the ticket. High-end (newer 8800 series and above) nVidia cards support VPDAU, which lets you offload video decoding and processing to the GPU.</p>
<p>The software to use is MythTV. I&#8217;m using a standard Ubuntu 10.04/11.04 (&#8216;Classic&#8217; mode on 11.04) install, and then installing MythTV atop that. On the server, just install the mythtv, mythtv-themes, xmltv and mythweb packages. On any other clients you can install the mythtv-frontend package, and optionally the mythtv-themes package. The client-server model of MythTV means you can combine backends and frontends to build your system. It&#8217;s crazy powerful in terms of flexibility. But the short story is, you can have a very nice TV system in very little configuration.</p>
<p>See this <a href="http://parker1.co.uk/mythtv_freesat.php">excellent guide</a> for more information on how to set up MythTV with Freesat. Basically you just need to tune it in to the right satellite and set up the input properly so it&#8217;ll get the channel list. MythTV&#8217;s config options take some getting used to, but it&#8217;s eminently doable. And once you&#8217;ve gotten everything talking, you have a -very- capable system.</p>
<p>So, well done to the MythTV team. One hell of a package, that&#8217;s for sure. And Linux DVRs are now in my mind far, far more capable than any other potential choice for DVRs. With MythWeb, I essentially have my own private little iPlayer- but for every single bit of Freesat&#8217;s programming. What&#8217;s not to like?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.talkunafraid.co.uk/2011/06/mythtv-and-freesat/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to do an outside broadcast with NetJACK</title>
		<link>http://www.talkunafraid.co.uk/2011/02/how-to-do-an-outside-broadcast-with-netjack/</link>
		<comments>http://www.talkunafraid.co.uk/2011/02/how-to-do-an-outside-broadcast-with-netjack/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 02:04:04 +0000</pubDate>
		<dc:creator>James Harrison</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Radio]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[insanity]]></category>
		<category><![CDATA[jack]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[radio]]></category>
		<category><![CDATA[rivendell]]></category>
		<category><![CDATA[stuffisawesome]]></category>

		<guid isPermaLink="false">http://www.talkunafraid.co.uk/?p=1235</guid>
		<description><![CDATA[On Tuesday night, Insanity Radio did a hugely successful outside broadcast from our student&#8217;s union event night. What we did was actually revolutionary in terms of the SU&#8217;s radio, and certainly isn&#8217;t something I&#8217;ve heard of another student station doing. The result was fantastic audio, a great sound overall, and a fun night. And near-zero [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1240" class="wp-caption alignright" style="width: 310px"><a href="http://assets.talkunafraid.co.uk/2011/02/IMG_20110208_0243111.jpg" rel="lightbox[1235]"><img class="size-medium wp-image-1240" title="IMG_20110208_024311" src="http://assets.talkunafraid.co.uk/2011/02/IMG_20110208_0243111-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Most of the system in testing prior to use</p></div>
<p>On Tuesday night, Insanity Radio did a hugely successful outside broadcast from our student&#8217;s union event night. What we did was actually revolutionary in terms of the SU&#8217;s radio, and certainly isn&#8217;t something I&#8217;ve heard of another student station doing. The result was fantastic audio, a great sound overall, and a fun night. And near-zero latency. Here&#8217;s how it worked.</p>
<p><span id="more-1235"></span></p>
<p>We used a fairly simple setup in principle &#8211; we planned on having a wireless link to get our OB computer onto the campus-wide wireless network, then using NetJACK to send audio from the JACK server on our OB computer across the network to another JACK server located in the studio. From there, we used alsa_out to get audio out to the sound card, and from there went into the studio desk.</p>
<p>However, the clever bit is this- we also had JACK managing the audio for the venue as a whole. We had audio going straight out of the OB computer into a balancing line-isolator (a Sonifex RB-BL2) and from there into the venue&#8217;s PA system. JACK is so low-latency that doing this is actually fairly simple, and while the DJs noticed the latency with their monitors a bit, they were fine with headphones and didn&#8217;t complain about it at all. For comparison, we had people using microphones to address the crowd and they didn&#8217;t notice a thing. NetJACK using CELT over wifi works fine &#8211; we used a 32kbps bitrate and used 3-packet redundancy, with a mono feed. We actually ended up managing to use a wired link and thus could probably have gone further but we didn&#8217;t test wired so didn&#8217;t want to risk an unreliable link given that the low-bitrate feed was actually very listenable. We ended the 6 hour long outside broadcast with a mere 20 netxruns, none audible.</p>
<p>This is all well and good but you might wonder why. Well, here&#8217;s the why of it- we essentially at this point have a JACK server with the physical and network outputs on the output side, and the inputs (actually the sum of a Behringer Xenyx desk put through a line-isolator and taken in on line in) from the DJs and microphones. But we&#8217;re a radio station! We want jingles, and occasionally we want to run our own music. So let&#8217;s do that!</p>
<div id="attachment_1246" class="wp-caption alignright" style="width: 310px"><a href="http://assets.talkunafraid.co.uk/2011/02/5444695347_b81d5e0006_b1.jpg" rel="lightbox[1235]"><img class="size-medium wp-image-1246" title="The OB Rig" src="http://assets.talkunafraid.co.uk/2011/02/5444695347_b81d5e0006_b1-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Set up in all it&#39;s slightly-messy glory</p></div>
<p>We sadly don&#8217;t use Rivendell as our main playout system yet, but that didn&#8217;t stop me from pushing it into service here. We used Rivendell for jingles and music, with a master log set up with enough music to do the show if a DJ didn&#8217;t turn up, plus a sound panel loaded with jingles we&#8217;d had made for the event. Rivendell can be set up to use JACK so we could handle this easily. We then had a software mixer &#8211; jack-mixer &#8211; with the desk and rivendell as two inputs. The output of this went into jack-rack with a fast lookahead limiter to stop nasty transients going out. And to make this easy to monitor we had 6 instances of JKMeter running &#8211; one for prefade and one for postfade of both rivendell and the desk, and another pair before and after the limiter. This makes for an excellent view alongside RDAirPlay, and allows rapid debugging of any problems as well as good level monitoring.</p>
<p>Of course, being able to see what&#8217;s going on is nice, but nothing&#8217;s as good as having a proper hardware interface for mixing. So we threw a £30 Behringer BCF2000 into the mix, plus a2jmidid to bridge the ALSA and JACK midi ports. This let us put hardware faders on software controls, for both jack-mixer and jack-rack. When doing fast, smooth transitions this is what really helps to make the system usable.</p>
<p>But to what end, you might wonder? So did most people, till the DJ finished a song, only to have it smoothly picked up with a &#8220;You&#8217;re listening to Insanity Radio&#8221; jingle, swiftly followed by &#8220;Coming up next: Your 2011-2012 President of the Student&#8217;s Union&#8221; to be met with massive cheers from the crowd&#8230; and suddenly in comes the announcer, loud and clear on the mic.</p>
<p>Ideally we&#8217;d have run this with a good external soundcard with plenty of solid I/O on balanced connectors instead of using a desk to submix to a stereo feed then putting that into a balancer; that would have let us put every single channel on it&#8217;s own jack-mixer input and apply compressors to the microphones, for example. Still, nice to know there&#8217;s room for improvement! The event was a success, overall, though we had a few interruptions from our silence detector that marred it somewhat. And we managed it all on a budget of £0, using only what we had lying around- so that&#8217;s a win!</p>
<p>NetJACK is very promising and as I mentioned in #rivendell and #london-hack-space on freenode, there&#8217;s a lot of potential here &#8211; particularly using the bidirectional and low-latency nature of NetJACK you could do talkback between OB and the studio, you could fairly simply set up remote monitoring of feeds at the studio, and so on.</p>
<p>If you want to listen to some of what we did, <a href="http://insanityradio.com/posts/6-results-night">have a listen</a> &#8211; the audio on that page is largely unmodified, aside from the inclusion of the first jingle and removal of all the DJ music (for licensing reasons). All the overlaid jingles and transitions are as they went to air &#8211; which is why we messed up the recording a bit, as we&#8217;d failed to disable the silence detector in the chaos after the people with the results didn&#8217;t turn up till an hour after schedule! Next time, record locally&#8230;</p>
<p>For the real geeks who want to do this themselves: We were using Ubuntu 11.04 Alpha (thoroughly tested beforehand) with the kxstudio PPA packages for jack, libcelt and friends. SSH was used to control the endpoint machine from the OB, and our wifi module of choice was the Ubiquiti Bullet M2HP with an 8dBi omni antenna.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.talkunafraid.co.uk/2011/02/how-to-do-an-outside-broadcast-with-netjack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EVE Metrics and popularity</title>
		<link>http://www.talkunafraid.co.uk/2010/10/eve-metrics-and-popularity/</link>
		<comments>http://www.talkunafraid.co.uk/2010/10/eve-metrics-and-popularity/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 01:55:45 +0000</pubDate>
		<dc:creator>James Harrison</dc:creator>
				<category><![CDATA[EVE]]></category>
		<category><![CDATA[EVE Metrics]]></category>
		<category><![CDATA[MMMetrics]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[ccp]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[commentary]]></category>
		<category><![CDATA[eve metrics]]></category>
		<category><![CDATA[market]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[stuffisawesome]]></category>

		<guid isPermaLink="false">http://www.talkunafraid.co.uk/?p=1111</guid>
		<description><![CDATA[Well, it&#8217;s been a while. I&#8217;ve been busy with things in this nasty place called reality which has been kicking my ass as a result with all sorts of fun ailments. Recently though I was forced to pay a bit more attention to EVE and specifically EVE Metrics. A couple of months back we worked [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s been a while. I&#8217;ve been busy with things in this nasty place called reality which has been kicking my ass as a result with all sorts of fun ailments. Recently though I was forced to pay a bit more attention to EVE and specifically EVE Metrics.</p>
<p style="text-align: left;">A couple of months back we worked with E-ON to put an advert in the magazine as well as running a login screen advert, and this has now run. So for a few days anyone logging into EVE will have been greeted with this fine advert created by Zapatero at MMM Publishing.</p>
<p>Of course, this suddenly meant more people going to and using the site. Fortunately one of the primary concerns when myself and Makurid put EM2 and later EM3 together was scalability. Whereas EM1 would&#8217;ve fallen over and died, EM3 has soldiered on like a champ. The only intervention we&#8217;ve had to perform was to fix the API processor, which was hanging regularly and causing problems as a result. That&#8217;s fixed, and we&#8217;re now stable and responsive. So, of course, we now have some numbers! These are the statistics for the most recent 30 days as of this post.</p>
<ul>
<li>~85,000 visits</li>
<li>~500,000 page views</li>
<li>~5 pages per visit</li>
<li>~29,000 unique visitors</li>
<li>~1,500 additional account registrations as a result of login screen advert (Above ~20 account registrations per day baseline)</li>
</ul>
<p>In terms of the site&#8217;s dataset, we&#8217;re getting fairly huge.</p>
<ul>
<li>6,000 EVE API keys, of which 4,000 are full keys</li>
<li>75,000 EVE API methods enabled</li>
<li>32,000 EVE API calls per hour (about 10 every second)</li>
<li>75,000 characters (includes characters noted in market and other data)</li>
<li>15,000,000 wallet journal entries</li>
<li>6,300,000 wallet transactions</li>
<li>200,000 EVE Mails</li>
<li>1,600,000 active market orders</li>
<li>6,400,000 EVE API loaded trades</li>
<li>52,000,000 Inferred trades</li>
<li>11,000,000 processed uploads</li>
<li>146,000,000,000 total skillpoints of loaded characters</li>
<li>4,100,000,000,000 total ISK of loaded characters</li>
</ul>
<p>Which is&#8230; scary. But! We&#8217;ve grown hugely (a threefold increase in requests per second) and we&#8217;re still performing well. The site is not throwing errors, users are generally happy with their experience with the site, and we&#8217;re stable &#8211; no crashes, no fires breaking out, no climbing resource usage. Our caching and design philosophies have worked well and the extra effort invested earlier in development has really paid off. We&#8217;ve just handled a huge amount of growth with no effort at all. I&#8217;d estimate we&#8217;re good to around 12,000-15,000 users on our current hardware.</p>
<p>Of course, we&#8217;re now wondering what to do. I stopped playing EVE long ago aside from the odd spot of tinkering, but I&#8217;ve even let accounts lapse and stopped updating my skill queue as of a month or two ago. Makurid&#8217;s just started playing again recently. We&#8217;re not really heavily invested in EM in terms of motivation, other than making a cool webapp.</p>
<p>Capsuleer, as I&#8217;m sure many of you know, is an EVE iPhone app that recently shut down because it couldn&#8217;t be monetized and the time and money invested in it by the developers was simply unreasonable. A couple of weeks back I was looking at the realities of what EM costs to run, and what it costs in terms of time to maintain. And the logistics of, if needed, shutting the site down. This is still somewhat in my mind but the site will be sticking around for a little while yet. I&#8217;m very much hoping CCP will come to their senses in terms of how they choose to support third party developers (a free account subscription appears to be the greatest gift given by CCP, but that&#8217;s a far cry from the ~£130 per month it costs to run EVE Metrics &#8211; and that&#8217;s just our costs _now_, not including new hardware costs or upgrade costs. If we grow much more we&#8217;re going to be looking at ~£200/mo to run EM, possibly more). Advertising isn&#8217;t an option, and donations have failed every time we&#8217;ve tried to support ourselves with them. Timecode sale affiliations barely made a mark on my accounting sheets. We do enjoy writing sites and producing something big that people find useful, but there are certain realities to be faced &#8211; both myself and Makurid are students, with no full-time jobs. I&#8217;ve recently picked up some part time work which means I can now afford to buy bacon on a weekly basis again.</p>
<p>In the meantime we will continue to support the EVE community by maintaining EVE Metrics. We&#8217;re working on the codebase right now to upgrade it to the latest and greatest Rails release and Makurid&#8217;s beavering away at the API processor to split it up into a puller and a processor, enabling us to achieve much higher throughput on API calls to CCP&#8217;s (slow) servers. Now that we&#8217;ve breached 30,000 requests per hour, that 10 request per second figure is actually beyond our capacity right now because of our single-threaded processor/puller mechanism. This is actually a CCP limit- we just need to work around it by hitting them with more requests simultaneously, thus spreading our load over multiple servers on their end. I&#8217;ll also be making performance and usability improvements wherever I can and incorporating as many bug reports as possible into what we release. This will likely be a slowish process, but in the long run, it should be worth it. The question really is, will CCP make it worthwhile for us to be investing our time and energy into longer term planning?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.talkunafraid.co.uk/2010/10/eve-metrics-and-popularity/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

