<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1994326174120352914</id><updated>2011-11-28T11:33:26.986+11:00</updated><category term='data recovery'/><category term='CLI'/><category term='development python'/><category term='RPG'/><category term='Thunderbird'/><category term='VIDEO'/><category term='Tech'/><category term='IMAP'/><category term='humour'/><category term='fonts'/><category term='Gmail'/><category term='music'/><category term='games'/><category term='eReaders'/><category term='Windows'/><category term='phone'/><category term='networking'/><category term='diary'/><category term='Computer'/><category term='make'/><category term='audio'/><category term='Development'/><category term='Linux'/><category term='elctronics'/><category term='tomove'/><category term='email'/><category term='mp3'/><category term='Ubuntu'/><category term='DVD'/><category term='Virtualization'/><category term='time sink'/><category term='Lists'/><category term='rant'/><category term='podcast audio eff'/><title type='text'>Random Loci</title><subtitle type='html'>Adventures inside a head that's not quite full</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-6074286395824202700</id><published>2011-01-19T00:30:00.005+11:00</published><updated>2011-08-10T18:54:58.864+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eReaders'/><category scheme='http://www.blogger.com/atom/ns#' term='Tech'/><title type='text'>eReaders and eBooks. eEk.</title><content type='html'>&lt;i&gt;This has been re-formatted slightly from an email I sent to a family member, as I'm probably going to be ordering two of whatever we decide on.  I'm leaning strongly towards the Nook at the moment, but I'm prepared to have my mind changed. Keep in mind, this is written from, and mostly for, an Australian perspective.&lt;/i&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;/i&gt;Let me know if anything is unclear, or I've missed anything that's important to you.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;b&gt;Intro:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;I originally narrowed my choices down to 3 models:&lt;/div&gt;&lt;div&gt;1. The Amazon Kindle 3: Probably the current market leader. ( &lt;a href="http://amzn.com/B003DZ1Y8Q"&gt;Amazon link&lt;/a&gt; )&lt;/div&gt;&lt;div&gt;2. The Barnes and Noble "Nook". ( &lt;a href="http://www.barnesandnoble.com/nook/index.asp?PID=35699"&gt;B&amp;amp;N link&lt;/a&gt; )&lt;/div&gt;&lt;div&gt;3. The Kobo reader ( &lt;a href="http://koboereader.com/cad/ereaders/kobo-australia.html"&gt;Kobo link&lt;/a&gt;, &lt;a href="http://www.angusrobertson.com.au/electronics/kobo-wifi-silver/13950043/"&gt;A&amp;amp;R link&lt;/a&gt; )&lt;/div&gt;&lt;div&gt;&lt;br /&gt;They all have more or less identical reading areas, 6 inch / 15.2 cm diagonal , 600 x 800 pixel screen with 16 levels of gray.  I've not considered any of the full-colour options, as I'd like to use this out-and about, or while away from time to time, so good battery life is important. There are other readers out there, but none of them looked compelling to me, feel free to suggest others if you think I've missed something great.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;b&gt;WiFi or WiFi+3G?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The first choice was whether to go WiFi only, or WiFi+3G.  WiFi only means you need to have access to a WiFi network to buy/download new books from the online stores.  3G means the unit has a SIM card and phone module embedded, which allows you to purchase anywhere there is phone coverage.  This sounds good, but I decided against it for a few reasons: &lt;ul&gt;&lt;li&gt;It makes the unit more expensive.&lt;/li&gt;&lt;li&gt;It is likely to reduce battery life.&lt;/li&gt;&lt;li&gt;You're usually limited to using the manufacturers eBook store over the 3G connection.&lt;/li&gt;&lt;li&gt;I doubt I'll ever be completely stuck for reading material and absolutely have to have a new book &lt;span style="font-style: italic;"&gt;right now&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Many smart phones can be turned into a mobile WiFi hotspot anyway, so you connect to the internet via your phone, and your eReader connects to the phone's WiFi. &lt;span style="font-style: italic;"&gt;(Update - this is trivial, but I find I don't do it all that often, I do most of my book management and purchasing at home)&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Battery life:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;These are manufacturers claims, I don't know how accurate they are, but if true, all are OK by me.  I don't think I could be away from power for much more than a week, so they're all acceptable.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1 Kindle: Up to month.&lt;/div&gt;&lt;div&gt;2. Nook: 10 days.&lt;/div&gt;&lt;div&gt;3. Kobo: 2 weeks or 10,000 page turns.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Formats:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1 Kindle : azw (Amazon proprietary format), pdf, html, mp3 audio. Notably - no ePub&lt;/div&gt;&lt;div&gt;2. Nook: ePub, pdf, html, mp3 audio. Also does pdb.&lt;/div&gt;&lt;div&gt;3. Kobo: ePub, pdf. No html, no audio.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;The Nook and Kobo are very similar.  They both do ePub, and pdf as their main formats, and don't to azw, which is the Kindles default format.  The kindle doesn't do ePub.  There are tools around to to conversions and such, but this is based on out-of-te-box functionality. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Libraries here seem to be all using ePub, so if you plan to use walk-in services from libraries, the Kindle won't cut it.This is reasonably important in my opinion.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Storage:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Realistically, they all have enough internal storage to hold metric bucket-loads of books, it's mostly text, after all. However, I like the idea of removable storage, and if you do want to use it for music playback, it's some extra headroom.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;1. Kindle: 4 GB internal, not expandable.&lt;/div&gt;&lt;div&gt;2. Nook: 2 GB Internal, microSD card slot, up to 16GB&lt;/div&gt;&lt;div&gt;3. Kobo: 1GB Internal, SDHC card slot, up to 32 GB&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Phone Apps:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;These are apps which, strangely enough, run on your phone, allowing you to read from your collection when you don't have your device.  I kind of like this idea, and in I've already downloaded the Nook and Kobo Android versions and had a bit of a play with them, downloading and reading some free eBooks. Certainly handy, but not critical. They've all got good solutions here as far as I'm concerned.  I've read entire books on my phone and even the old palm, so in a pinch, it's good to have.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;1. Kindle:Android, Blackberry, iPad, iPhone, Mac, Windows, Windows Phone 7&lt;/div&gt;&lt;div&gt;2. Nook: Android, iPad, iPhone, PC&lt;/div&gt;&lt;div&gt;3. Kobo: Android, Blackberry, iPhone, Palm&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;b&gt;Web Features:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The Kindle and Nook both have web browsers, the Kobo doesn't. You're never going to use one of these devices as a serious internet tablet device, but I like the idea of being able to get on the web in some fashion, plus I have some ideas for using it at home for interacting with my home automation setup and such.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Other features:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The Kindle is the only one of the three to do text-to-speech. Not a big deal for me personally, I'm a podcast junkie anyway, generally having at least one or two other audio capable devices nearby, but a nice feature I guess.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The Nook has the extra colour touchscreen for navigation. Cute, and good for recognising/browsing book covers, although I suspect it will have a small effect on battery life.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Cost:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1 Amazon Kindle.  Amazon will ship here. Their web site say it should be US $155 shipped. There are also people based here re-selling. Approx $240 per unit in Sydney, I'm not sure why the big difference, the exchange rate it pretty good at the moment.&lt;/div&gt;&lt;div&gt;2. Nook: Not available locally. B&amp;amp;N don't ship to Australia.  Purchasing on-line elsewhere, I can get two of them here for just approx $206 each.&lt;/div&gt;&lt;div&gt;3. Kobo: Nice in that you can buy them retail in Australia. Angus and Robertson have them for $179&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;eBook Stores:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I picked about 20-30 authors and titles, and checked &lt;a href="http://www.amazon.com/Kindle-eBooks/b/ref=sa_menu_kbo0?ie=UTF8&amp;amp;node=1286228011"&gt;Amazon&lt;/a&gt;, &lt;a href="http://www.barnesandnoble.com/ebooks/index.asp"&gt;Barnes and Noble&lt;/a&gt;, the &lt;a href="http://www.kobobooks.com/"&gt;Kobo bookstore&lt;/a&gt; and &lt;a href="http://www.borders.com.au/ebooks/ebooks/45/"&gt;Borders&lt;/a&gt;.  Prices and availability vary a lot.  Prices in the US stores are typically a lot cheaper than the Australian equivalents.  Amazon and B&amp;amp;N had the best ranges and prices by my estimation, although there may be a bit of technical messing about to purchase directly from the US stores, but I've got that more-or-less sorted out. Both the Nook and Kobo do ePub (with &lt;a href="http://en.wikipedia.org/wiki/Digital_rights_management"&gt;DRM&lt;/a&gt;), but you could transfer titles from any store to either.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Other links:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Wikipedia's &lt;a href="http://en.wikipedia.org/wiki/Comparison_of_e-book_readers"&gt;comparison of eReaders&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;--&lt;br /&gt;John&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-6074286395824202700?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/6074286395824202700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=6074286395824202700' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/6074286395824202700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/6074286395824202700'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2011/01/ereaders-and-ebooks-eek.html' title='eReaders and eBooks. eEk.'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-7827891025375649764</id><published>2010-07-17T22:39:00.001+10:00</published><updated>2010-07-17T22:41:09.717+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='music'/><title type='text'>More than the sum of it's singles</title><content type='html'>Listened to a couple of whole albums on the 2 hour trip back from my parents' place tonight.  Was listening to Live's "The distance to here" and thought to myself "There's scarcely even a sniff of filler on this disc". It an actual album that works end-to-end, in fact probably more so than as a bunch of individual tracks.&lt;br /&gt;&lt;br /&gt;So do (m)any young-uns buys or listen to albums these days, or has the 99c track on iTunes destroyed this experience for future generations?&lt;br /&gt;&lt;br /&gt;Here endeth the old-guy-back-in-my-day rant. Feel free to go all internet-music-critic if you must, but the particular album isn't really the point. Get off my lawn.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-7827891025375649764?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/7827891025375649764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=7827891025375649764' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/7827891025375649764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/7827891025375649764'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2010/07/more-than-sum-of-its-singles.html' title='More than the sum of it&apos;s singles'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-5297130287847564486</id><published>2010-04-12T15:50:00.010+10:00</published><updated>2010-04-12T16:22:44.199+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='games'/><category scheme='http://www.blogger.com/atom/ns#' term='make'/><category scheme='http://www.blogger.com/atom/ns#' term='elctronics'/><title type='text'>Little LEDs and Spaceships</title><content type='html'>I was recently asked by a friend about helping to dress up some models for table top gaming. Putting small electronic bits'n'bobs'n'batteries inside various objects is something I'm not unfamiliar with, but I hadn't attempted this particular operation before.&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g56hzEifmso/S8K2VRt73KI/AAAAAAAAALg/omHUwQKbKvo/s1600/Dark_Top_45.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 360px;" src="http://1.bp.blogspot.com/_g56hzEifmso/S8K2VRt73KI/AAAAAAAAALg/omHUwQKbKvo/s200/Dark_Top_45.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5459126174976040098" /&gt;&lt;/a&gt;&lt;br /&gt;The models aren't truly tiny, so I could use 3mm diameter LEDs for the undercarriage lights, and 5 diameter mm ones for the engine lights.  &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g56hzEifmso/S8K2oWkFQ4I/AAAAAAAAALo/k5cG0lL970s/s1600/Dark_Rear.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 480px; height: 291px;" src="http://3.bp.blogspot.com/_g56hzEifmso/S8K2oWkFQ4I/AAAAAAAAALo/k5cG0lL970s/s320/Dark_Rear.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5459126502694404994" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Overall, it think it turned out not too badly, although I haven't yet had any feedback as to how he went in the painting/decorating section yet. If nothing else, he should definitely be in the running for the "most liberal use of hot melt glue" category.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I've put a few more detailed pics below for those that care to get up close and personal.  The top two are a little blurry as I turned off the flash to better show the LED's, but was too lazy to set up the tripod.  The detail shots are all sharper.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g56hzEifmso/S8K4Uzl5n4I/AAAAAAAAALw/kRRYLwLGkRA/s1600/Guts_Top_Side.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 174px;" src="http://1.bp.blogspot.com/_g56hzEifmso/S8K4Uzl5n4I/AAAAAAAAALw/kRRYLwLGkRA/s320/Guts_Top_Side.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5459128365912530818" /&gt;&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g56hzEifmso/S8K4wsr22ZI/AAAAAAAAAL4/SLS-22IdQE0/s1600/Comp_Bottom.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 318px;" src="http://1.bp.blogspot.com/_g56hzEifmso/S8K4wsr22ZI/AAAAAAAAAL4/SLS-22IdQE0/s320/Comp_Bottom.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5459128845094803858" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g56hzEifmso/S8K5XhI66kI/AAAAAAAAAMA/Kasb7Hziclg/s1600/Guts_Top_Front.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 256px; height: 320px;" src="http://1.bp.blogspot.com/_g56hzEifmso/S8K5XhI66kI/AAAAAAAAAMA/Kasb7Hziclg/s320/Guts_Top_Front.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5459129512010377794" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g56hzEifmso/S8K5sfQzngI/AAAAAAAAAMI/IkIZvo9oQHE/s1600/Complete_Top_45.JPG"&gt;&lt;/a&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g56hzEifmso/S8K5sfQzngI/AAAAAAAAAMI/IkIZvo9oQHE/s1600/Complete_Top_45.JPG"&gt;&lt;img style="text-align: left;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; cursor: pointer; width: 320px; height: 310px; " src="http://1.bp.blogspot.com/_g56hzEifmso/S8K5sfQzngI/AAAAAAAAAMI/IkIZvo9oQHE/s320/Complete_Top_45.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5459129872283835906" /&gt;&lt;/a&gt;&lt;br /&gt;Not shown are the battery packs.  I used a 6V battery a little thinner than a AAA and about a third the length (9.5 mm diameter by 15 mm). I used heat shrink hold on the leads to make it into a flying-lead version so as to connect to the mini terminal blocks, for a solder-less battery swap for the end user.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-5297130287847564486?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/5297130287847564486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=5297130287847564486' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/5297130287847564486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/5297130287847564486'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2010/04/little-leds-and-spaceships.html' title='Little LEDs and Spaceships'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_g56hzEifmso/S8K2VRt73KI/AAAAAAAAALg/omHUwQKbKvo/s72-c/Dark_Top_45.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-5428389534239777928</id><published>2010-03-07T21:43:00.008+11:00</published><updated>2010-03-07T22:52:48.287+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='development python'/><title type='text'>Image Processing with Python</title><content type='html'>I needed to turn this:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g56hzEifmso/S5ORT35qhTI/AAAAAAAAAKw/0xupAFBh2FM/s1600-h/glossy_smiley_blue_wink_T.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:left;cursor:pointer; cursor:hand;width: 107px; height: 107px;" src="http://3.bp.blogspot.com/_g56hzEifmso/S5ORT35qhTI/AAAAAAAAAKw/0xupAFBh2FM/s200/glossy_smiley_blue_wink_T.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5445856145030415666" /&gt;&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;into this:&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g56hzEifmso/S5ORE-d2LfI/AAAAAAAAAKo/82IwrJ8F9vo/s1600-h/glossy_smiley_blue_wink_T_noline.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:left;cursor:pointer; cursor:hand;width: 107px; height: 107px;" src="http://3.bp.blogspot.com/_g56hzEifmso/S5ORE-d2LfI/AAAAAAAAAKo/82IwrJ8F9vo/s200/glossy_smiley_blue_wink_T_noline.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5445855889094749682" /&gt;&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Why? Well, my wife wanted to paste smiley faces onto some triangles, rectangles and other shapes. The set with the outline is great, but she wanted to put faces onto triangles, rectangle's and some other shapes too. (She's a teacher, the shapes were warring, harmnony day is approachng and, and ..... it's complicated, trust me). Anyway, the borders looked a little odd.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;As there were 60 of them to do (15 expressions in 4 different colours), I started thinking I'd figure out how to do some python scripting from inside GIMP, but after half an hour of futzing about, I decided that was too messy, and just decided to process the images directly.  This is pretty easy actually.  One of python's included batteries is the "Image" library.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I decided to tackle it thusly; modify any pixels within a specified annulus to transparent.  I originally intended to check that the pixel was black before modifying it, but I forgot, and in this case, it worked just fine anyway.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt; Here's the code I used:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;div&gt;# RemoveAnnulus_01.py &lt;/div&gt;&lt;div&gt;# Removes a dark circle from smiley faces&lt;/div&gt;&lt;div&gt;# Replaces black pixels in a specified annulus with transparency&lt;/div&gt;&lt;div&gt;# Doesn't do anti-aliasing&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;import os&lt;/div&gt;&lt;div&gt;import sys&lt;/div&gt;&lt;div&gt;import Image&lt;/div&gt;&lt;div&gt;import math&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Parameters to modify pixels in an annulus&lt;/div&gt;&lt;div&gt;xMid=53&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;# Centre position &lt;/div&gt;&lt;div&gt;yMid=53&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;# (origin)&lt;/div&gt;&lt;div&gt;rInner=45.0&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;# Inner radius&lt;/div&gt;&lt;div&gt;rOuter=54.0&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;# Outer radius&lt;/div&gt;&lt;div&gt;xMax=106&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;# (Image size)-1&lt;/div&gt;&lt;div&gt;yMax=106&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;inputFile=sys.argv[1]&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;# Input image file&lt;/div&gt;&lt;div&gt;outputFile=sys.argv[2]&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;# Output file, will be overwritten if it exists&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;thisImage = Image.open(inputFile)&lt;/div&gt;&lt;div&gt;pixelArray=thisImage.load()&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;# Use load method for pixel addresing mode&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;try:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;reportMessage="OK"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;for thisX in range(0,xMax):&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;for thisY in range(0,yMax):&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;dX=float(xMid-thisX)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;dY=float(yMid-thisY)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;thisRad = math.sqrt((dX*dX + dY*dY))&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;if ( (thisRad&gt;rInner ) and (thisRad&lt;router)&gt;&lt;/router)&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;    &lt;/span&gt;pixelArray[thisX,thisY]=(0,0,0,0)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;except IOError:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;reportMessage="Failed"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;thisImage.save(outputFile, "PNG")&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;print "%s:Processing [%s] to [%s]" % ( reportMessage,inputFile,outputFile )&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I've not shown the script for iterating through the 60 different files, but that's not really the point of this post. This code works with two command line arguments, the input file, and the destination file.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;BTW, none of this is meant as a slight on the GIMP's scripting capabilities, I just have little experience with them, and decided to go with something more familiar.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-5428389534239777928?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/5428389534239777928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=5428389534239777928' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/5428389534239777928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/5428389534239777928'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2010/03/image-processing-with-python.html' title='Image Processing with Python'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_g56hzEifmso/S5ORT35qhTI/AAAAAAAAAKw/0xupAFBh2FM/s72-c/glossy_smiley_blue_wink_T.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-2942282336866982712</id><published>2010-03-01T10:29:00.003+11:00</published><updated>2010-03-01T11:05:44.219+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='podcast audio eff'/><title type='text'>A Cyberspace Independence Declaration</title><content type='html'>The "&lt;a href="http://twit.tv/twig31"&gt;This Week in Google&lt;/a&gt;" podcast I just listened to mentioned the "Cyberspace Independence Declaration", written by John Perry Barlow.  Leo read some excerpts and I thought a link to an audio version I enjoyed would be in order.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.archive.org/download/CoryDoctorow-Content_268/31-ADeclarationOfTheIndependenceOfCyberspace_vbr.mp3"&gt;Link to MP3 audio&lt;/a&gt;, ~5 MB.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The reading is by Jan Ruback, and included as a bonus chapter at the end of his reading of Cory Doctorow's collectedion, &lt;a href="http://craphound.com/content/download/"&gt;Content&lt;/a&gt;. (Highly recommended, BTW) It's available a variety of audio formats &lt;a href="http://www.archive.org/details/CoryDoctorow-Content_268"&gt;on this internet archive page&lt;/a&gt;, the second bonus item after the numbered chapters.  You can also play it directly from the embedded player on the page if you're so inclined (It's chapter 32 in the player).&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The &lt;a href="http://w2.eff.org/Censorship/Internet_censorship_bills/barlow_0296.declaration"&gt;full text version&lt;/a&gt; is available, with a little background on the eff site.  Here's the obligat&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;ory &lt;a href="http://en.wikipedia.org/wiki/A_Declaration_of_the_Independence_of_Cyberspace"&gt;wikipedia article&lt;/a&gt;. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-2942282336866982712?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/2942282336866982712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=2942282336866982712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/2942282336866982712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/2942282336866982712'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2010/03/cyberspace-independence-declaration.html' title='A Cyberspace Independence Declaration'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-652569955339042401</id><published>2009-06-26T22:30:00.004+10:00</published><updated>2009-06-27T09:30:03.890+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>NFS Shares</title><content type='html'>Modifying both mine and my wife's ubuntu Desktop machines (both running 9.04 at the time of this writing) to mount our music folder (on the MythTV box on the lounge room) locally.&lt;br /&gt;&lt;br /&gt;The music is on the media box (called mythty) in the lounge room, at /media/ourmusic&lt;br /&gt;&lt;br /&gt;Using NFS, to mount manually it's:&lt;br /&gt;&lt;br /&gt;sudo mount mythty:/media/ourmusic /media/ourmusic&lt;br /&gt;&lt;br /&gt;(That's servername:serverpath localpath)&lt;br /&gt;&lt;br /&gt;Edited /etc/fstab to add:&lt;br /&gt;&lt;br /&gt;mythty:/media/ourmusic /media/ourmusic nfs rw rsize=8192,wsize=8192&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-652569955339042401?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/652569955339042401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=652569955339042401' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/652569955339042401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/652569955339042401'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2009/06/nfs-shares.html' title='NFS Shares'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-4015919061614723231</id><published>2009-04-19T20:14:00.004+10:00</published><updated>2009-04-19T20:32:59.903+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Using True Type Fonts with Ubuntu</title><content type='html'>My wife does a fair bit of crafty stuff, and often finds weird and wonderful fonts to use with her creations.  Often they're Windows TTF font files, which aren't linux native.&lt;br /&gt;&lt;br /&gt;I simply get her to copy the fonts into a particular directory, and then run the following script.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo cp *.ttf /usr/share/fonts/truetype/username/&lt;br /&gt;sudo cp *.TTF /usr/share/fonts/truetype/username/&lt;br /&gt;mv *.ttf /home/username/Fonts/installed/&lt;br /&gt;mv *.TTF /home/username/Fonts/installed/&lt;br /&gt;sudo fc-cache -f -v&lt;/blockquote&gt;You can get all the bacground and other information you'll need in &lt;a href="https://wiki.ubuntu.com/Fonts"&gt;this article on the Ubuntu Wiki&lt;/a&gt;, which is where I got a lot of the info for this post.&lt;br /&gt;&lt;br /&gt;It simply copies the files into a folder I created to hold installed TTF fonts, (/usr/share/fonts/truetype/username/) which will work for everyone, and then move the filed from the "todo" folder into a backup folder for reference. (  /home/username/Fonts/installed/ )&lt;br /&gt;&lt;br /&gt;You'll have to restart any apps (Such as open office) to see the new fonts, but there's no need to log out or reboot.&lt;br /&gt;&lt;br /&gt;Note, I commented on this issue a while back, &lt;a href="http://randomloci.blogspot.com/2008/02/fixing-microsoft-fonts.html"&gt;here's the previous post&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-4015919061614723231?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/4015919061614723231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=4015919061614723231' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/4015919061614723231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/4015919061614723231'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2009/04/using-true-type-fonts-with-ubuntu.html' title='Using True Type Fonts with Ubuntu'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-1189753981383006391</id><published>2009-02-18T23:17:00.005+11:00</published><updated>2009-02-19T00:15:08.208+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><category scheme='http://www.blogger.com/atom/ns#' term='Tech'/><category scheme='http://www.blogger.com/atom/ns#' term='Development'/><title type='text'>Ubiquity</title><content type='html'>I've been playing around with Mozilla labs ubiquity plug in in recent weeks.  It's still in beta, and far from fully featured, but even so it's quite impressive.&lt;br /&gt;&lt;br /&gt;Tonight I was reading comments on a &lt;a href="http://www.boingboing.net/2009/02/16/beautiful-and-clever.html"&gt;boing boing post&lt;/a&gt; where a few  of the commenters had used ROT13 to obscure spoilers.  There are plenty of &lt;a href="http://www.rot13.com/"&gt;good sites&lt;/a&gt; to do the conversion for you (I'm too old/lazy to do that sort of thing in my head these days) but I thought to myself that this would be a perfect for for a ubiquity command.&lt;br /&gt;&lt;br /&gt;I know the world isn't really crying out for a ROT13 utility, but I thought it would be a good way for me to test the waters in writing some browser code.  My javascript-fu is far from strong, but it was surprisingly easy.  I spent far more time futzing about with publishing it than I did writing the code itself.&lt;br /&gt;&lt;br /&gt;You can check out &lt;a href="http://www.randomloci.com/dev/ubiquity/index.php"&gt;my notes here&lt;/a&gt;.  Even if you've no interest in my almost embarrassingly trivial utility, check out ubiquity for it's own sake.  If you're a power web-user, you won't regret it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-1189753981383006391?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/1189753981383006391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=1189753981383006391' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/1189753981383006391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/1189753981383006391'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2009/02/ubiquity.html' title='Ubiquity'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-5936199919334453981</id><published>2008-11-10T13:50:00.004+11:00</published><updated>2008-11-10T14:01:54.717+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tech'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Broken Windows Updates</title><content type='html'>This post was inspired by a folder cleanup in which I found a note to myself from earlier in the year (May 27, 2008).  I'm putting it here as a quick reference, as it's the sort of thing that happens once in a while, and filtering through all the google hits can be time consuming when you just need to fix something now. *&lt;br /&gt;&lt;br /&gt;Symptom: Neither Windows Update or Microsoft Update would complete.  The machine in question in this instance was a vanilla P4 somethingorother, running XP pro.  Before finding this solution I tried a bunch of things, including an install of Service Pack 3.&lt;br /&gt;&lt;br /&gt;You can read the &lt;a href="http://forums.techarena.in/windows-update/245097.htm"&gt;full thread&lt;/a&gt; on the techarena forums.  I found it via a google search, I'm not familiar with this forum in general. The bit that I needed is from post 3 in the thread:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Start regedit.exe and delete the following key (contains the WU&lt;br /&gt;service configuration):&lt;br /&gt;&lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\wuauserv&lt;br /&gt;&lt;br /&gt;Do a reboot now!&lt;br /&gt;&lt;br /&gt;Then run this command line (from a command prompt of from Start/Run, it&lt;br /&gt;installs the AutoUpdate service (line will wrap in the newsreader!):&lt;br /&gt;&lt;br /&gt;%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall&lt;br /&gt;132 %SystemRoot%\inf\au.inf&lt;br /&gt;&lt;br /&gt;(it must be a space between DefaultInstall and 132)&lt;br /&gt;&lt;br /&gt;If it asks for your OS CD-ROM to get some files, just point it to the&lt;br /&gt;folder %windir%\System32 (%windir% is typically C:\Windows).&lt;br /&gt;&lt;br /&gt;Then run the following commands:&lt;br /&gt;&lt;br /&gt;regsvr32.exe wuaueng.dll&lt;br /&gt;regsvr32.exe wuapi.dll&lt;br /&gt;regsvr32.exe wups.dll&lt;br /&gt;regsvr32.exe wucltui.dll&lt;br /&gt;&lt;br /&gt;Do a reboot again.&lt;br /&gt;&lt;br /&gt;Then check if you can start and stop the Automatic Updates service&lt;br /&gt;successfully from services.msc&lt;/blockquote&gt;&lt;br /&gt;These steps repaired the problem. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;* Caveat:&lt;/span&gt; This sort of stuff does change from time to time, but it should still serve as an indication of the sorts of problems you should look for if you have similar symptoms. At the very least, you might include some of the relevant terms in your search to speed things up.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-5936199919334453981?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/5936199919334453981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=5936199919334453981' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/5936199919334453981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/5936199919334453981'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/11/broken-windows-updates.html' title='Broken Windows Updates'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-6675329124894105334</id><published>2008-10-12T14:36:00.004+11:00</published><updated>2008-10-12T15:00:12.863+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='CLI'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Resizing the swap partition size after install</title><content type='html'>I just increased the amount of RAM in an Ubuntu web server from 256 MB to 1 GB.  I wanted to increase the size of the swap file accordingly.  There are various schools of thought as to how big the swap file should be, I went with 2 GB which is almost certainly overkill, but there you go.&lt;br /&gt;&lt;br /&gt;My procedure was as follows:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Boot to using the Ubuntu8.04  live CD.&lt;/li&gt;&lt;li&gt;Use the partition editor to shrink the primary partition, and grow the the swap file partition and volume.&lt;/li&gt;&lt;li&gt;Write the changes to the disk.&lt;/li&gt;&lt;li&gt;Reboot to the server command line.&lt;/li&gt;&lt;li&gt;Determine the swap volume's new UUID using:&lt;/li&gt;&lt;/ul&gt;&lt;blockquote style="font-weight: bold;"&gt;ls -l /dev/disk/by-uuid&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;Edit /etc/fstab and change the UUID for the swap partition to the correct value&lt;/li&gt;&lt;li&gt;reboot&lt;/li&gt;&lt;li&gt;Check that the partition is correctly mounted with the "free" command.  Don't mind that you may not be using any of the swap at present, but you can at least tell that it's there for when you do need it.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Text editing with multiple files on the command line&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To make my life easier, and considering that my web server doesn't have a GUI I first saved the output of the ls command to a text file, and edited that so that it contained just a single line containing the UUID&lt;br /&gt;I then opened fstab&lt;br /&gt;&lt;blockquote style="font-weight: bold;"&gt;sudo vim /etc/fstab&lt;/blockquote&gt;and then, at the end of fstab, I inserted the file I'd created with the command:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;:r /home/john/uuid.txt&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;I copied the UUID to the appropriate spot, deleted the line at the end and saved the file.&lt;br /&gt;&lt;br /&gt;There are plenty of good tutorials and command summaries for vi / vim around on the web if you need them. (here's &lt;a href="http://www.tcmacdonald.com/resources/vim.html"&gt;one&lt;/a&gt;, and &lt;a href="http://www.tuxfiles.org/linuxhelp/vimcheat.html"&gt;another&lt;/a&gt;).  I admit I'm somewhat conditioned to using graphical editors, but one doesn't always have a choice.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-6675329124894105334?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/6675329124894105334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=6675329124894105334' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/6675329124894105334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/6675329124894105334'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/10/resizing-swap-partition-size-after.html' title='Resizing the swap partition size after install'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-9051021603071510319</id><published>2008-08-06T16:56:00.003+10:00</published><updated>2008-08-17T17:07:01.875+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>VMWare server on Ubuntu</title><content type='html'>I recently allowed my Ubuntu 8.04 desktop machine to do some upgrades, including some kernel updates.  Everything went fine, except that my VMWare server would no longer run, it would start, I'd see the "Starting VMWare Server" block on the panel, but then it'd disappear.&lt;br /&gt;&lt;br /&gt;It turns out that VMWare server installations are coupled quite closely with a particular kernel.  This sounds sensible, after the fact, but all it really does is point out how shallow my *nix knowledge is in some areas.&lt;br /&gt;&lt;br /&gt;Anyway, this fixed things just right, accepting all of the default options along the way:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;sudo vmware-config.pl&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Edited to fix spelling, and add that I had to repeat this exercise again after another Kernel upgrade 15/08/2008.  Trivial after the last time, although still somewhat annoying.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-9051021603071510319?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/9051021603071510319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=9051021603071510319' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/9051021603071510319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/9051021603071510319'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/08/vmware-server-on-ubuntu.html' title='VMWare server on Ubuntu'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-2417527502700062351</id><published>2008-05-31T14:01:00.002+10:00</published><updated>2008-05-31T14:13:21.770+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>Amarok setup</title><content type='html'>On Susanne's PC:&lt;br /&gt;&lt;br /&gt;Installed MySQL client from repos&lt;br /&gt;&lt;br /&gt;Edit /etc/mysql/my.cnf, adding this line to stanzas [client] and [mysqld]:&lt;br /&gt;default-character-set = utf8&lt;br /&gt;&lt;br /&gt;sudo /etc/init.d/mysql restart&lt;br /&gt;&lt;br /&gt;installed mysql server&lt;br /&gt;had to enter password&lt;br /&gt;&lt;br /&gt;susanne@arwen:~$ mysql -p -u root&lt;br /&gt;Enter password:&lt;br /&gt;Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;Your MySQL connection id is 4&lt;br /&gt;Server version: 5.0.45-Debian_1ubuntu3.3-log Debian etch distribution&lt;br /&gt;&lt;br /&gt;Type 'help;' or '\h' for help. Type '\c' to clear the buffer.&lt;br /&gt;&lt;br /&gt;set password for root@localhost = password('xxxxxxx');&lt;br /&gt;&lt;br /&gt;mysql&gt; CREATE DATABASE amarok;&lt;br /&gt;Query OK, 1 row affected (0.02 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; USE amarok;&lt;br /&gt;Database changed&lt;br /&gt;mysql&gt; GRANT ALL ON amarok.* TO amarok@localhost IDENTIFIED BY 'PASSWORD'&lt;br /&gt; -&gt; ;&lt;br /&gt;Query OK, 0 rows affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; FLUSH PRIVILEGES;&lt;br /&gt;Query OK, 0 rows affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; Aborted&lt;br /&gt;susanne@arwen:~$&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-2417527502700062351?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/2417527502700062351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=2417527502700062351' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/2417527502700062351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/2417527502700062351'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/05/amarok-setup.html' title='Amarok setup'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-2174865685887967385</id><published>2008-05-16T17:54:00.002+10:00</published><updated>2008-05-16T18:47:04.499+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><category scheme='http://www.blogger.com/atom/ns#' term='Tech'/><title type='text'>Long file names and removable media</title><content type='html'>I was recently trying to copy a bunch of files onto an SD card, and kept getting an "out of space" error message, which was kind of odd, considering the 300 or so image files added up to a grand total of just over 20 MB, and the card was en empty 1 GB card.&lt;br /&gt;&lt;br /&gt;Much poking, prodding, trying stuff from the command line and googling resulted in me learning more about VFAT than I'd originally intended.  Anyway,  it turns out that the implementation for long file names in VFAT is a workaround which means that if you have too many(1) long file names in the root directory you may chew up all your allocation units and get "out of space" errors long before the media itself is full.&lt;br /&gt;&lt;br /&gt;Files in sub folders are not implemented in the same way, and therefore don't exhibit the same behavior.  Put all of the files in a subdirectory and all is well.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;References:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/File_Allocation_Table#Long_File_Names_.28VFAT.2C_LFNs.29"&gt;Wikipedia's entry&lt;/a&gt; on various implementations of Mr Gates'  File Allocation Table.&lt;br /&gt;&lt;br /&gt;A &lt;a href="http://www.mepis.org/node/14004"&gt;MEPIS forum post&lt;/a&gt; that really pointed me in the right direction.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Notes:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(1) How many depends on how long your file names actually are, you use one extra directory entry for every 13 characters.  I think it's 512 directory entries, so assuming I had 302 x some number greater than 1, I was bound to run into problems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-2174865685887967385?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/2174865685887967385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=2174865685887967385' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/2174865685887967385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/2174865685887967385'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/05/long-file-names-and-removable-media.html' title='Long file names and removable media'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-3885903638187043938</id><published>2008-05-14T22:14:00.002+10:00</published><updated>2008-05-14T22:16:57.795+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tomove'/><category scheme='http://www.blogger.com/atom/ns#' term='VIDEO'/><title type='text'>Torrents and such</title><content type='html'>I should probably do a general guide on torrent clients and sensible practices.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;For reference:&lt;/span&gt;&lt;br /&gt;I found a good description of abbreviations for TV episode torrent descriptions &lt;a href="http://forum.mininova.org/index.php?showtopic=234982156"&gt;here&lt;/a&gt;, on Mininova.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-3885903638187043938?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/3885903638187043938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=3885903638187043938' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/3885903638187043938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/3885903638187043938'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/05/torrents-and-such.html' title='Torrents and such'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-3606101534059503395</id><published>2008-05-14T11:28:00.005+10:00</published><updated>2008-05-14T17:42:08.296+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><title type='text'>Windows XP Service Pack 3</title><content type='html'>I've just completed my first trial run with XP service pack 3.  I installed it on top of a fresh copy of windows XP Professional, installed i a VMWare virtual machine.  It installed without a hitch, seemed faster than the SP2 installation.&lt;br /&gt;&lt;br /&gt;I've since run a Windows update check, and there were only 3 "high priority" updates.  Not perfect, but much better than the several hundred MB of downloads and several reboots required after an SP2 installation.&lt;br /&gt;&lt;br /&gt;My plan is to install a few basics and keep a copy of this VM for use as a base for various tasks.  The first one will be a Visual Studio 2008 VM.  8 GB will probably be just enough* for this, but if I can keep it to 8 GB I can burn copies to DVD.  My intention is to have task specific VM's, rather than one do-everything machine.&lt;br /&gt;&lt;br /&gt;It will require a little more discipline, but I think it will serve me better in the long run, especially as I do more and more on Linux.  Launching a Windows VM on demand should be more convenient than dual booting, except perhaps for gaming.  However, my computer gaming time is pretty much non-existent these days, so it's not really much of a sacrifice.&lt;br /&gt;&lt;br /&gt;* As it turns out, 8 GB really insn't enough for Visual Studio 8.  Actually, the install was OK, but I removed C#, leaving me with less than 1GB.  This, unfortunately, is unsufficient to install any of the docoumentation and reference material.  I'll see how this goes, I can almost certainly have the doco on a second monitor / machine in most instances.  Otherwise it'll be a 10-12 GB build.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-3606101534059503395?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/3606101534059503395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=3606101534059503395' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/3606101534059503395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/3606101534059503395'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/05/winsows-xp-service-pack-3.html' title='Windows XP Service Pack 3'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-1214112401901621969</id><published>2008-05-13T23:34:00.002+10:00</published><updated>2008-05-13T23:42:20.063+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lists'/><category scheme='http://www.blogger.com/atom/ns#' term='music'/><title type='text'>Music for Norm</title><content type='html'>For future reference:&lt;br /&gt;&lt;br /&gt;The music from Norm's Tai Chi DVD is made by "&lt;a href="http://silkorchestra.com/"&gt;The Silk Orchestra&lt;/a&gt;". &lt;br /&gt;&lt;br /&gt;Here's a &lt;a href="http://www.ccnow.com/cgi-local/sc_cart.cgi?2810848812472194"&gt;CC-Now link&lt;/a&gt;. The particular tracks on the DVD are are called "Remembrance" and "Mr Wu".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-1214112401901621969?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/1214112401901621969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=1214112401901621969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/1214112401901621969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/1214112401901621969'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/05/music-for-norm.html' title='Music for Norm'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-6434477780726642970</id><published>2008-05-12T22:32:00.003+10:00</published><updated>2008-05-12T22:55:18.941+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mp3'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='DVD'/><title type='text'>Ripping Audio from a DVD</title><content type='html'>I was recently asked to get the audio from a DVD and place it on a portable media player.  Here's how I did it, using Ubuntu 7.04.&lt;br /&gt;&lt;br /&gt;1. Installed mplayer from the repositories&lt;br /&gt;&lt;br /&gt;2. played the various chapter until I found the one I was looking for.  This can be a bit of a hit and miss process, as DVD's often have rather strange title/chapter builds.  The command is:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;mplayer dvd://4&lt;/blockquote&gt;Where the "4" refers to the title number.  This particular DVD has 6 titles.  Apart from playing the chapter, you'll see a bunch of stuff in the console window.  click "x" to stop playing.  The output includes the following:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;Playing dvd://4.&lt;br /&gt;There are 6 titles on this DVD.&lt;br /&gt;There are 2 chapters in this DVD title.&lt;br /&gt;There are 1 angles in this DVD title.&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;audio stream: 0 format: ac3 (stereo) language: en aid: 128&lt;/span&gt;.&lt;br /&gt;audio stream: 1 format: ac3 (stereo) language: zh aid: 129.&lt;br /&gt;number of audio channels on disk: 2.&lt;br /&gt;number of subtitles on disk: 0&lt;br /&gt;MPEG-PS file format detected.&lt;br /&gt;VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  7500.0 kbps (937.5 kbyte/s)&lt;br /&gt;xscreensaver_disable: Could not find XScreenSaver window.&lt;br /&gt;GNOME screensaver disabled&lt;/blockquote&gt;3. The red text above shows the information I needed.  There were two audio tracks for this title, I was after the english (en) version.  The command to extract the audio is: (This is meant to be all on one line)&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;mplayer -vc null -vo null -aid 128 -ao pcm:fast:waveheader:file=output.wav dvd://4 -chapter 1-2&lt;/blockquote&gt;The "128" refers to the audio track found in step 2.&lt;br /&gt;"Output.wav" is the output file name.&lt;br /&gt;chapter 1-2 means I want the audio from both chapters.  "2-2" would have taken only the second.&lt;br /&gt;&lt;br /&gt;4. Import the wav file into &lt;a href="http://audacity.sourceforge.net/"&gt;audacity&lt;/a&gt;, a superb audio editor.&lt;br /&gt;&lt;br /&gt;5. I then used audacity to crop and normalize the audio I wanted, including adding nice fade ins and outs.&lt;br /&gt;&lt;br /&gt;6. I Again in audacity, export the audio to mp3.&lt;br /&gt;&lt;br /&gt;All Done.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;References:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Most of this is derived from &lt;a href="http://ubuntuforums.org/showpost.php?p=4794189&amp;amp;postcount=6"&gt;this post&lt;/a&gt; on the Ubuntu forums.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-6434477780726642970?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/6434477780726642970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=6434477780726642970' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/6434477780726642970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/6434477780726642970'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/05/ripping-audio-from-dvd.html' title='Ripping Audio from a DVD'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-1896760971532954374</id><published>2008-04-16T14:51:00.006+10:00</published><updated>2008-05-15T17:16:07.216+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lists'/><category scheme='http://www.blogger.com/atom/ns#' term='humour'/><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='time sink'/><title type='text'>John's time sink, Issue #1</title><content type='html'>&lt;span style="font-style: italic;"&gt;This post is essentially a copy of an email I sent to a number of deserving victims.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Rather than forward every amusing thing I come across, I saved a few for later recommendation, distilled them, lost or threw away most of them, and decided to inflict what remained on a few of you.  I also cleaned out a bunch of old temporary bookmark folders, so there's all sorts of randomness up for grabs.&lt;br /&gt;&lt;br /&gt;Feel free to read/watch whatever takes your fancy.  I'd be worried if any of you found that &lt;i&gt;all&lt;/i&gt; the stuff that amuses me did the same for you. I'm pretty sure there's nothing outright offensive here, though.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Some sciency goodness:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A &lt;a href="http://scienceblogs.com/notrocketscience/2008/03/mantis_shrimps_have_a_unique_way_of_seeing.php"&gt;super shrimp&lt;/a&gt; that can detect circularly polarized light &lt;i&gt;and&lt;/i&gt; punch through crab-shells or aquarium walls. (A new edition for the monster manual, perhaps)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.boingboing.net/2008/02/08/color-tile-optical-i.html"&gt;Colour tile illusion&lt;/a&gt;.  I didn't believe A and B were the same colour either.  I used both a web colour picker, and slid some blocks around in a drawing program to make sure.  Sometimes scepticism hurts.&lt;br /&gt;.&lt;br /&gt;&lt;b&gt;General humour:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Now that April 01 is long gone ,and it's as safe to surf the internet again (well, as safe as it ever is). My pick was &lt;a href="http://bluecollarscientist.com/2008/04/02/amazing-penguin-video/"&gt;Unusual penguins&lt;/a&gt; Needs sound, documentary style, work safe.&lt;br /&gt;&lt;br /&gt;Web advertising &lt;a href="http://producten.hema.nl/"&gt;as it should be&lt;/a&gt;.  Music and sound, but quite work safe.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Vaguely techy / general web stuff:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I admit I'm nerdy enough to think that &lt;a href="http://tresling.org/"&gt;Tresling&lt;/a&gt; would be cool. Probably a great drinking game, until the day after. (Has music, oh does it it have music)&lt;br /&gt;The nerd handbook.  &lt;a href="http://www.randsinrepose.com/archives/2007/11/11/the_nerd_handbook.html"&gt;This article&lt;/a&gt; has quite a few cliches, but some nuggets of truth too.&lt;br /&gt;A &lt;a href="http://www.wulffmorgenthaler.com/strip.aspx?id=101f602f-a99f-4a6e-95d0-8911418de6ed"&gt;comic&lt;/a&gt; predicting the future of the OLPC program.&lt;br /&gt;Try this real-quick online quiz.  I got 9 out of 12.  I'm not sure if that's good or bad. (Actually, there's about a 7% chance you could get that score with a coin toss)  &lt;a href="http://www.brunching.com/pornorpony.html"&gt;Porn star or my little pony&lt;/a&gt;?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Weird, but amusing.&lt;/b&gt;  (But weird)&lt;br /&gt;&lt;br /&gt;I've no idea how I came across this story/blog.  It's about the tracking down of a drawing some guys dad used to do all the time.  It sounds riveting, I know, but I thought it was cool.  Here's the &lt;a href="http://www.thesneeze.com/mt-archives/000713.php"&gt;first part&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Kids / Parenting related&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;From the foul mouths of babes.  A cool discussion of young &lt;a href="http://skepchick.org/blog/?p=1157"&gt;kids and bad language&lt;/a&gt;.  You only have to see what's on mainstream TV now to realise that we need some newer, more offensive swear words, the old ones are getting somewhat passe.&lt;br /&gt;&lt;br /&gt;"Why I let my 9 year old kid ride the subway alone".  &lt;a href="http://www.nysun.com/editorials/why-i-let-my-9-year-old-ride-subway-alone"&gt;This one&lt;/a&gt; is controversial, and I'm not 100% sure on where I stand on this, but I'm certainly leaning towards agreeing with the article writer. I will , of course deny that if any of you call DOCS.&lt;br /&gt;&lt;br /&gt;In a similar vein, &lt;a href="http://www.ted.com/index.php/talks/view/id/202"&gt;here's a good video&lt;/a&gt; titled "5 Dangerous things you should let your kids do." (TED do great talks on all sorts of things)&lt;br /&gt;&lt;br /&gt;What your kids know about science.  &lt;a href="http://politicalcalculations.blogspot.com/2005/12/what-your-kids-know-about-science.html"&gt;Real answers&lt;/a&gt; from 5-6th graders. &lt;i&gt;" I am not sure how clouds get formed. But the clouds know how to do it, and that is the important thing. "&lt;/i&gt;. Sounds about right.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.w3schools.com/HTML/lastpage.htm"&gt;Done&lt;/a&gt;, you can go outside and play now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-1896760971532954374?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/1896760971532954374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=1896760971532954374' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/1896760971532954374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/1896760971532954374'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/04/rather-than-forward-every-amusing-thing.html' title='John&apos;s time sink, Issue #1'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-4260012962747963038</id><published>2008-04-16T00:00:00.004+10:00</published><updated>2008-04-16T00:09:00.040+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='data recovery'/><title type='text'>Recovering photos from a dodgy XD card</title><content type='html'>I've done data recovery from portable/removable media before, but this is the first time I've done so under Linux.&lt;br /&gt;&lt;br /&gt;I used "photorec", which is bundled with "TestDisk", the latter being the main part of the package, however I didn't actually get any images back until I used photorec itself.&lt;br /&gt;&lt;br /&gt;It's a simple text based tool which is quite intuitive to use, and available from the repositories, so installing it was a snap. (Search for "TestDisk").  My discovery started with the results of a good old google (surprise surprise), &lt;a href="http://www.debian-administration.org/articles/420"&gt;here&lt;/a&gt; at debian-administration.org.&lt;br /&gt;&lt;br /&gt;Anyway, I recovered the images from the card, and have re-formatted it, so hopefully it'll be some time before it causes any more problems.  Mind you, at 128 MB, that particular card is a bit of a dinosaur, and on the small side.&lt;br /&gt;&lt;br /&gt;I'm not sure what actually caused the data corruption. A couple of times I've had the camera lock up when shooting video when the card has been almost full.  It's an Olympus C760 using XD, and been a pretty good all round camera.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-4260012962747963038?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/4260012962747963038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=4260012962747963038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/4260012962747963038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/4260012962747963038'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/04/recovering-photos-from-dodgy-xd-card.html' title='Recovering photos from a dodgy XD card'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-592903465852810542</id><published>2008-04-04T21:17:00.003+11:00</published><updated>2008-04-18T11:39:52.547+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lists'/><category scheme='http://www.blogger.com/atom/ns#' term='tomove'/><title type='text'>Stuff to get for the kids</title><content type='html'>Note to self, inspired by Neil Gaiman's blog:&lt;br /&gt;&lt;br /&gt;Look for:&lt;br /&gt;"Odd and the Frost Giants"&lt;br /&gt;&lt;br /&gt;Another book:&lt;br /&gt;&lt;span class="sans"&gt;&lt;span id="btAsinTitle"&gt;The Starry Rift (&lt;a href="http://www.amazon.com/exec/obidos/ASIN/0670060593/downandoutint-20"&gt;Amazon&lt;/a&gt;) via boing boing&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-592903465852810542?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/592903465852810542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=592903465852810542' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/592903465852810542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/592903465852810542'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/04/stuff-to-get-for-kids.html' title='Stuff to get for the kids'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-7790177779109208322</id><published>2008-03-05T14:19:00.012+11:00</published><updated>2008-04-16T00:09:49.078+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='games'/><category scheme='http://www.blogger.com/atom/ns#' term='RPG'/><title type='text'>One campaign ends ...</title><content type='html'>Gary Cygax has died.&lt;br /&gt;&lt;br /&gt;I heard it via email from a friend and fellow gamer.  As it turns out, this was about 5 minutes before reading it on a variety of news sources and forums I frequent.  Not surprisingly, this news has travelled quickly, far and wide. The article originally sent to me was from slashdot:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;a href="http://games.slashdot.org/games/08/03/04/1750206.shtml"&gt;Ask Slashdot&lt;/a&gt;: How has D&amp;amp;D (and tabletop roleplaying) touched/improved your life?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I think this is a good idea, and some of the responses make a good read.  I, however,am not a slashdot poster, and figured I might as well use one of the platforms I do have.  Thus the post you're reading right now.&lt;br /&gt;&lt;br /&gt;In short, I think I'd say that D&amp;D introduced me to genre of gaming that's got more to offer than most others, in my humble (but correct) opinion.  It's fun, challenging, engaging, often unpredictable, forces me to think in areas outside of my expertise, and assume roles outside of my normal experience and/or comfort zone.  That, and a chance to hang around with friends and just talk crap.&lt;br /&gt;&lt;br /&gt;I won't make any of the obvious jokes. There are enough "failed saves" and resurrection jokes floating around now to easily fill 3d20 bags of holding. Besides, many of them are much better crafted than any I could come up with.&lt;br /&gt;&lt;br /&gt;I didn't know Gary Gygax, so my thoughts are really about the game and it's impact, not the man himself.  It turns out that he'd been of poor health for quite some time, and I honestly had no idea.  He was, however, a guy largely responsible for creating a gaming genre that is a legacy few could hope to surpass. Game specific material aside, I've only read book of his, which from memory was a generic strategy / mapping guide of some sort, and a good read from memory.  Google has failed me this time, I'll have to see if I can find the actual book at home.&lt;br /&gt;&lt;br /&gt;People who enjoy the genre that is role playing, turn up almost everywhere I choose to spend my time.  I find that people whom I've enjoyed discussions with in environments where we don't usually know much about each others backgrounds, or have a lot in common (thinking largely of on-line communities and the like), often turn out to be gamers.&lt;br /&gt;&lt;br /&gt;That's not to say that I automatically like all the keen gamers that are out there, or that gamers are universally friendlier, smarter, less smelly or more amicable than any other group.  They're not.  There may even be empirical evidence that the converse is true for one or more of those attributes.  My point is though, that of those people that I find myself getting along with, and wanting to spend time with, gamers, or at least people who are "game/gamer friendly", make up a larger proportion than would be expected statistically.&lt;br /&gt;&lt;br /&gt;It's a matter of getting that causality/correlation deal properly sorted out.  I think that bright, open minded people looking for a bit of fun are likely to end up being attracted to all that RPG's have to offer.&lt;br /&gt;&lt;br /&gt;This is as good a reason as I'll probably ever have to resurrect an old page from a now defunct personal web-site, under the auspicious title of "games":&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;If you came here hoping you'd get to zap aliens or spank a monkey or some such nonsense, too bad. There are no flash/animation games here.&lt;/p&gt;  &lt;p&gt;I'm a semi-keen gamer, mostly of the RPG (in a room with (mostly)real people) or real-time strategy (PC based) persuasion.  While my busy schedule doesn't allow for much actual gaming these days (please, no flowers), I can still dream. right?  If you think that my mention of RPG's makes me the spawn of Satan, you could well be right.  Or not. I tell you what, roll &lt;a href="file:///oas/glossary.php#dice"&gt;2d6&lt;/a&gt; and consult the table below.&lt;br /&gt;1: You're absolutely correct, gamers have no place in this universe.&lt;br /&gt;2-10: Actually, you're just a narrow minded tool who likes nothing more than a good stereotype.  You prefer games with a high probability of head injury.&lt;br /&gt;11-12:  You've probably run out of fingers.  Please refer to the entry for results 2-10.&lt;br /&gt;Have a nice day.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt; &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;I thinks it's also a good time to point out a link to a great article by Garry Pellino, called "&lt;a href="http://ptgptb.org/0004/antigame.html"&gt;The Shame of the Game&lt;/a&gt;".  I don't think it's as bad now as it used to be, although this could simply be the result of me being older, wiser, and less bothered by others opinions.  It may still be a big deal for, say, a high school RPGer.  I've got a decade or so before I have to worry about this on behalf of my kids.&lt;br /&gt;&lt;br /&gt;Of course, &lt;a href="http://en.wikipedia.org/wiki/Gary_Gygax"&gt;wikipedia&lt;/a&gt; has a good article on Garry Gygax.  Apparrently, he said:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sounds like a pretty good sentiment to me.&lt;br /&gt;&lt;br /&gt;A couple of links to related items at other places I frequent:&lt;br /&gt;&lt;br /&gt;Pharyngula &lt;a href="http://scienceblogs.com/pharyngula/2008/03/the_dungeon_master_fails_his_s.php"&gt;The Dungeon Master fails his saving throw&lt;/a&gt;. Some amusing and well composed comments below the post.&lt;br /&gt;&lt;br /&gt;Skeptic Friends Network: &lt;a href="http://www.skepticfriends.org/forum/topic.asp?TOPIC_ID=9654"&gt;RIP Gary Gygax&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Boing Boing: &lt;a href="http://feeds.boingboing.net/%7Er/boingboing/iBag/%7E3/245647690/dungeons-dragons-cre.html"&gt;Dungeons &amp;amp; Dragons Creator Gary Gygax Passes Away&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Register: &lt;a href="http://www.theregister.co.uk/2008/03/04/gary_gygax_dies_at_69/"&gt;Dungeons and Dragons co-creator Gary Gygax dies&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-7790177779109208322?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/7790177779109208322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=7790177779109208322' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/7790177779109208322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/7790177779109208322'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/03/one-campaign-ends.html' title='One campaign ends ...'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-732679096142150398</id><published>2008-02-28T22:18:00.005+11:00</published><updated>2008-02-28T22:40:05.032+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><category scheme='http://www.blogger.com/atom/ns#' term='phone'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Audio format conversion</title><content type='html'>I recorded some audio (my daughter singing), and wanted to send the audio to someone in a generic and friendly format, namely mp3.  The Nokia handset records as an amr (&lt;a href="http://en.wikipedia.org/wiki/Adaptive_multi-rate_compression"&gt;Adaptive Multi Rate&lt;/a&gt;)  file.  A good player, like VLC will play this quite happily as-is, but a lot of people wouldn't know what to do with an amr file.&lt;br /&gt;&lt;br /&gt;Ubuntu talks happily to my phone, so getting files off is easy.  I have a USB data cable (CA-53) for the phone (Nokia 6234).  Ubuntu mounts the micro SD card automatically, if you choose "Data mode" from the phone menu once plugged in.  "Default mode" doesn't work.  Depending on how your handset is setup, you may have to use the handset interface to copy stuff from the phone's built-in memory to the memory card.&lt;br /&gt;&lt;br /&gt;I found a program called &lt;a href="http://www.miksoft.net/mobileMediaConverter.htm"&gt;Mobile Media Converter&lt;/a&gt;, which does a great job.  I simply downloaded the archive, extracted it somewhere and ran the executable from there.  The interface is straightforward, and even supports drag'n'drop if you're into that sort of thing.  No settings to tweak, it just works.  It's based on ffmpeg, which you may or may not already have installed, but comes with it's own version, so should work regardless.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-732679096142150398?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/732679096142150398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=732679096142150398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/732679096142150398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/732679096142150398'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/02/audio-format-conversion.html' title='Audio format conversion'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-9116987930919652354</id><published>2008-02-26T23:05:00.005+11:00</published><updated>2008-02-28T22:16:31.428+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Fixing Microsoft Fonts</title><content type='html'>I needed to use fonts from documents from Microsoft office, as well as make available some other specialist fonts.&lt;br /&gt;&lt;br /&gt;Essentially it's matter of copying the font files to an appropriate directory.  I put them in:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;/usr/share/fonts/truetype/subfolder&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;After getting them there it's just a matter of reloading the font cache:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo fc-cache -fv&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ubuntu.wordpress.com/2005/09/09/installing-microsoft-fonts/"&gt;This link&lt;/a&gt; on another (far superior to this one) Ubuntu blog had all the info I needed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-9116987930919652354?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/9116987930919652354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=9116987930919652354' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/9116987930919652354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/9116987930919652354'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/02/fixing-microsoft-fonts.html' title='Fixing Microsoft Fonts'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-5033691859993545996</id><published>2008-02-17T21:56:00.005+11:00</published><updated>2008-02-28T22:17:03.618+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CLI'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>What's in a name?</title><content type='html'>Renaming a batch of files.&lt;br /&gt;&lt;br /&gt;I needed to rename a bunch of images before uploading to flickr.  The following worked well enough:&lt;br /&gt;&lt;br /&gt;To preview: (Specified by the -n)&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;rename -n 's/Image/Saturday_/' Image*.jpg&lt;br /&gt;Image000.jpg renamed as Saturday_000.jpg&lt;br /&gt;Image001.jpg renamed as Saturday_001.jpg&lt;br /&gt;Image003.jpg renamed as Saturday_003.jpg&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;To perform the task, delte the -n. or swap the -n for -v, verbose, which tells you what it's done.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;rename 's/Image/Saturday_/' Image*.jpg&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Essentially it's:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;rename 's/old/new/' SearchFilter&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Reference &lt;a href="http://ubuntuforums.org/archive/index.php/t-170890.html"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-5033691859993545996?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/5033691859993545996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=5033691859993545996' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/5033691859993545996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/5033691859993545996'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/02/whats-in-name.html' title='What&apos;s in a name?'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-4862402222844374012</id><published>2008-02-07T21:41:00.001+11:00</published><updated>2008-02-28T22:17:26.867+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Thunderbird'/><category scheme='http://www.blogger.com/atom/ns#' term='IMAP'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Gmail'/><title type='text'>Roaming Multi-OS Thunderbird</title><content type='html'>Happy days.&lt;br /&gt;&lt;br /&gt;I just managed to setup a relatively painless way to use Thunderbird as my mail client on both my Ubuntu machine, and a Windows XP laptop. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Background:&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;Late in 2007 my laptop had a coronary.  It's had a long and fruitful life, but was suffering from a cracked mainboard, which caused the occasional instant shutdown if it was flexed at all.  The LCD screen backlight was also dead, and I'd been using it with an external monitor (or KVM switch in most cases) for 6 months or more.  Oh yeah, it also had a missing&lt;sub&gt;1&lt;/sub&gt; "Y" keycap.  Since this time I've been using my Gmail account to check my main email address, and a handful of others.&lt;br /&gt;&lt;br /&gt;To be honest, I didn't miss application based email all that much, the Gmail interface is pretty good.  However, the ability to work off-line is nice, and I'd like to be able to randomly access archived business stuff, and a few other niceties, so I'd always intended to go back to Thunderbird at some point.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Back to the setup...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So firstly I installed Thunderbird onto a functional XP laptop I've been using, and setup Thunderbird to synch with Gmail in IMAP configuration.  Gmail checks my other accounts, so I only need one account in Thunderbird.  This also means if I'm at some other PC, I can still get to everything using the Gmail web interface.  Good instructions for setting up Thunderbird/gmail IMAP can be found at bother &lt;a href="http://lifehacker.com/software/geek-to-live/turn-thunderbird-into-the-ultimate-gmail-imap-client-314574.php"&gt;lifehacker&lt;/a&gt; and &lt;a href="http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=77662"&gt;google&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Once I was happy with the IMAP synchronisation I took the laptop home. It's worth making sure that you get all the settings just right, so that if you delete something in Thunderbird, it's available in the Gmail web trash bin, and that sort of thing. All the instructions are in the previous 2 links.&lt;br /&gt;&lt;br /&gt;On my Ubuntu machine, I installed Thunderbird using Synaptic, and setup a default mail profile with the bare minimum to get it running.  I didn't download any mail. Then I:&lt;br /&gt;1. Copied everything from the Windows Thunderbird profile directory into the Ubuntu profile directory under a sensible name. (&lt;a href="http://kb.mozillazine.org/Profile_folder"&gt;Here&lt;/a&gt; is where to find these directories)&lt;br /&gt;2. Modified the profile.ini file to point to this directory.&lt;br /&gt;3. Started Thunderbird and started using it on Ubuntu.&lt;br /&gt;&lt;br /&gt;Actually, I did the transfer via a portable hard disk, and intend to keep doing tis, so that at any given time, there are at least 3 versions of my profile.  You can never have too many backups.  And, because I'm using &lt;a href="http://www.cis.upenn.edu/~bcpierce/unison/"&gt;Unison&lt;/a&gt; to automate all the synchronisation at the Ubuntu end, I've only got to manually copy stuff on the XP machine.  I'll probably automate that using &lt;a href=""&gt;SyncBack&lt;/a&gt;, now that I come to think of it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Still todo:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Settle on a contact management tool. I'm considering using my Gmail address book, I believe there are plugins to access it from Thunderbird.  I'm not sure about this, I'm more inclined to do something more flexible to solve this problem.  Maybe a home Zimbra server is in order.&lt;br /&gt;&lt;br /&gt;Footnotes:&lt;br /&gt;1: Not &lt;span style="font-style:italic;"&gt;truly&lt;/span&gt; missing, it's in a glassine bag in my laptop bag, somewhere.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-4862402222844374012?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/4862402222844374012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=4862402222844374012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/4862402222844374012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/4862402222844374012'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/02/roaming-multi-os-thunderbird.html' title='Roaming Multi-OS Thunderbird'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-5710305624403448641</id><published>2008-02-04T22:50:00.001+11:00</published><updated>2008-02-28T22:17:58.435+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='diary'/><title type='text'>Unplanned power disruption testing</title><content type='html'>I guess that's what you get for having a UPS on the floor under your desk, with the "test" button right about toe height.  Unfortunately, the UPS in question has a battery more than a decade old, and my little test amounted to little more than pulling the mains plug straight out of the box.&lt;br /&gt;&lt;br /&gt;Ubuntu 7.10 booted right back up, and I logged in again with no unusual messages or warnings.  I pulled up firefox and restored it's crashed session, and here I am.  Apart from an article I hadn't saved in Joomla, I didnt lose anything.&lt;br /&gt;&lt;br /&gt;Note to self, I need a new UPS for the office.  I should probably get one for the media centre box in the lounge room too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-5710305624403448641?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/5710305624403448641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=5710305624403448641' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/5710305624403448641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/5710305624403448641'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/02/unplanned-power-disruption-testing.html' title='Unplanned power disruption testing'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1994326174120352914.post-3500102442185608061</id><published>2008-02-04T22:26:00.001+11:00</published><updated>2008-02-28T22:18:25.398+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='diary'/><title type='text'>Joomla is great, but . . .</title><content type='html'>Blogger is just damn too easy.&lt;br /&gt;&lt;br /&gt;I'm messing around with a Joomla site at the moment (randomloci.com), and was posting thoughts as articles, thinking I'd present them in some sort of bloggish layout, but a self inflicted power outage caused me to lose the post (no fault of Joomla's) and decide to go for something quick and easy.&lt;br /&gt;&lt;br /&gt;I may integrate this into the Joomla site, or may just keep them separate, who knows, for now, I'll use this for  random posts. As I said, blogger is just too damn easy. Picking a colour scheme is not.  I'm an engineer, OK.  Bite me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1994326174120352914-3500102442185608061?l=randomloci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://randomloci.blogspot.com/feeds/3500102442185608061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1994326174120352914&amp;postID=3500102442185608061' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/3500102442185608061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1994326174120352914/posts/default/3500102442185608061'/><link rel='alternate' type='text/html' href='http://randomloci.blogspot.com/2008/02/joomla-is-great-but.html' title='Joomla is great, but . . .'/><author><name>John</name><uri>http://www.blogger.com/profile/09336009196221671110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
