<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>code meets music - Home</title>
  <id>tag:codemeetsmusic.com,2008:mephisto/</id>
  <generator version="0.7.3" uri="http://mephistoblog.com">Mephisto Noh-Varr</generator>
  <link href="http://codemeetsmusic.com/feed/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://codemeetsmusic.com/" rel="alternate" type="text/html"/>
  <updated>2008-02-09T18:39:54Z</updated>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2008-02-09:411</id>
    <published>2008-02-09T18:38:00Z</published>
    <updated>2008-02-09T18:39:54Z</updated>
    <category term="code"/>
    <link href="http://codemeetsmusic.com/2008/2/9/learning-cocoa" rel="alternate" type="text/html"/>
    <title>Learning Cocoa</title>
<content type="html">
            &lt;h3&gt;Putting things into an NSPopupButton&lt;/h3&gt;

	&lt;ul&gt;
	&lt;li&gt;it&#8217;s easier to use an array of objects with a string property than it is to just use an array of strings. e.g. create a &#8216;Thing&#8217; class that has a &#8216;name&#8217; property of type NSString, and put some of them in an NS(Mutable)Array&lt;/li&gt;
		&lt;li&gt;you can initialise this array in the &lt;code&gt;awakeFromNib&lt;/code&gt; method in your controller&lt;/li&gt;
		&lt;li&gt;you want to drag an Object from the palette into your MainMenu.nib amd set the Class (in the Identity tab &#8211; the &#8216;i&#8217;) to be that of your controller&lt;/li&gt;
		&lt;li&gt;then drag an Object Controller into the nib, and control+drag it to your controller (the object you just renamed), selecting the &#8216;content&#8217; outlet where prompted. Rename this to ControllerAlias (or at least subsitute this where &#8216;ControllerAlias&#8217; is used below&#8230;)&lt;/li&gt;
		&lt;li&gt;then, you want an Array Controller as well that will represent the array that&#8217;s been initialised in the controller. I named this after the array in my controller&lt;/li&gt;
		&lt;li&gt;In the &#8216;Bindings&#8217; tab (green shapes), expand the &#8216;Content Array&#8217; section, tick the box and select &#8216;ControllerAlias&#8217; from the menu. The Controller Key wants to be &#8216;selection&#8217; and the Model Key Path should be the same as the property of your controller that contains the array of items.&lt;/li&gt;
		&lt;li&gt;Your controller should have an IBOutlet for the NSPopupButton you&#8217;ve created in the window, so control+drag the NSPopupButton to the Object you created for the controller, and select the outlet when prompted &#8211; it will only show you a list of NSPopupButtons (or subclasses).&lt;/li&gt;
		&lt;li&gt;Next, select the NSPopupButton in the window (click on it just once, more clicks will select the &#8216;Cell&#8217; instead, which we don&#8217;t want) and then flip to the Bindings tab in the inspector.&lt;/li&gt;
		&lt;li&gt;For &#8216;Content&#8217;, tick the box and choose/type the name of the ArrayController you created. The Controller Key wants to be &#8216;arrangedObjects&#8217;, the other two boxes should be empty.&lt;/li&gt;
		&lt;li&gt;&#8216;Content Values&#8217; wants to also be bound to the ArrayController, and again the Controller Key should be &#8216;arrangedObjects&#8217;, but this time the Model Key Path wants to be &#8216;name&#8217; &#8211; or the name you gave to the property on your &#8216;Thing&#8217;s. Finally, the Selected Index also wants to be bound to the ArrayController, with Controller Key set to &#8216;selectionIndex&#8217;&lt;/li&gt;
		&lt;li&gt;to get at the value from the controller, setup an IBAction (from a button click or similar) and then you can get at the string value using &lt;code&gt;[popupbuttonField titleOfSelectedItem]&lt;/code&gt;. More useful would be to access the object that you used to bind in the first place, but I can&#8217;t seem to get that to work.&lt;/li&gt;
	&lt;/ul&gt;


&lt;h3&gt;Making &lt;span class='caps'&gt;HTTP POST&lt;/span&gt; requests&lt;/h3&gt;

	&lt;p&gt;Coming from &lt;span class='caps'&gt;PHP&lt;/span&gt;, this seems like it&#8217;s really complicated, so I wouldn&#8217;t be at all surprised if I was missing something&#8230;&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;To make a request, you need one each of &lt;span class='caps'&gt;NSURL&lt;/span&gt;, NSURLRequest and NSURLConnection. Using NSMutableURLRequest makes the code a bit neater (as you can set properties after initialisation), not sure why you wouldn&#8217;t want to use it always? (memory? does &#8216;mutating&#8217; involve copies?)&lt;/li&gt;
		&lt;li&gt;the &lt;span class='caps'&gt;NSURL&lt;/span&gt; is quite basic, just a wrapper around a string:&lt;/li&gt;
	&lt;/ul&gt;


&lt;code&gt;[url initWithString:@&quot;http://www.example.com&quot;]&lt;/code&gt;

	&lt;ul&gt;
	&lt;li&gt;NSURLRequest has initWithURL that takes an &lt;span class='caps'&gt;NSURL&lt;/span&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;To make it a &lt;span class='caps'&gt;POST&lt;/span&gt; request:&lt;/li&gt;
	&lt;/ul&gt;


&lt;code&gt;setHTTPMethod:@&quot;POST&quot;&lt;/code&gt;

	&lt;ul&gt;
	&lt;li&gt;the body of the request can&#8217;t just be a string (so far as I understand it&#8230;), it has to be an instance of NSData:&lt;/li&gt;
	&lt;/ul&gt;


&lt;code&gt;&lt;pre&gt;
NSString* postBody = @&quot;foo=bar&#38;baz=bax&quot;;
NSMutableData* requestData = [NSMutableData data];
[requestData appendData:[postBody dataUsingEncoding:NSUTF8StringEncoding];
[request setHTTPBody:requestData]; //request is a NSMutableURLRequest
&lt;/pre&gt;&lt;/code&gt;

	&lt;ul&gt;
	&lt;li&gt;NSURLConnection has initWithRequest, but uses &#8216;delegate&#8217; to handle what happens with the response. Using &lt;code&gt;delegate:self&lt;/code&gt; and defining the prescribed methods on the class you&#8217;re calling from is probably the simplest way, but seems to mix concerns a bit too much?&lt;/li&gt;
		&lt;li&gt;You need to implement didReceiveResponse, didReceiveData, didFailWithError and didFinishLoading. &lt;a href='http://developer.apple.com/documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html'&gt;The Apple Docs&lt;/a&gt; do a pretty good job of explaining this.&lt;/li&gt;
		&lt;li&gt;One thing I did differently though, was change the signature of didReceiveResponse to specify NSHTTPURLResponse (instead of just NSURLResponse) as the parameter-type, as then code-completion gives you the &#8216;statusCode&#8217; property (200=success, 404=not found etc.).&lt;/li&gt;
		&lt;li&gt;The NSHTTPURLResponse class also has a static &#8216;localizedStringForStatusCode&#8217; method that converts the numbered codes into (presumably localised) strings. &lt;/li&gt;
		&lt;li&gt;This will let you know what&#8217;s happening, but any action that uses the returned data should be in didFinishLoading&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Bear in mind this is the way I&#8217;ve discovered to do things. If there are better ways I&#8217;d like to know about them!&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2008-01-09:409</id>
    <published>2008-01-09T13:44:00Z</published>
    <updated>2008-01-09T13:47:11Z</updated>
    <category term="code"/>
    <link href="http://codemeetsmusic.com/2008/1/9/london-php-conference-2008" rel="alternate" type="text/html"/>
    <title>London PHP Conference 2008</title>
<content type="html">
            &lt;p&gt;It seems registration is now open, and the talks and speakers posted look like it&#8217;ll be quite good. In particular, a couple of talks on sending and handling of email look interesting and relevant, while &lt;span class='caps'&gt;IBM&lt;/span&gt;&#8217;s Project Zero sounds like it might be worth at least knowing about.&lt;/p&gt;


	&lt;p&gt;Last year had just the one track whereas this year will have two leaving me with decisions to make, we&#8217;ll see how that goes.&lt;/p&gt;


	&lt;p&gt;Somebody really needs to make the process of booking train tickets easier, it shouldn&#8217;t take as long as it did just now for me.&lt;/p&gt;


	&lt;p&gt;http://phpconference.co.uk&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-11-19:408</id>
    <published>2007-11-19T23:14:00Z</published>
    <updated>2007-11-19T23:15:41Z</updated>
    <category term="books &amp; writing"/>
    <category term="misc"/>
    <link href="http://codemeetsmusic.com/2007/11/19/amazon-s-kindle" rel="alternate" type="text/html"/>
    <title>Amazon's Kindle</title>
<content type="html">
            &lt;p&gt;In a couple of days time (November 21) Amazon are launching their &#8216;Kindle&#8217; e-book service in the US and it looks like it might be worth a look- if not straight away, certainly in the not too distant future.&lt;/p&gt;


	&lt;p&gt;The Kindle itself is touted as a &#8216;Wireless Reading Device&#8217; but it is the service that comes with it that will be just as, if not more, important.&lt;/p&gt;


	&lt;p&gt;The device will allow you to download entire books, with free sample chapters available for most, from the service&#8217;s 88000 title collection &#8220;whether you’re in the back of a taxi, at the airport, or in bed.&#8221; The product description states that it has &#8220;EVDO&#8221;, a wireless technology used by mobile phones thus not requiring wi-fi for connectivity. If a UK version is 3G-capable, that would be a good selling point.&lt;/p&gt;


	&lt;p&gt;This continuous connectivity will also allow Amazon to offer subscriptions, both to traditional newspapers and magazines (unsurprisingly only US publications mentioned so far) and to a &lt;a href='http://www.amazon.com/s/ref=sr_pg_1?ie=UTF8&#38;rs=241647011&#38;rh=n%3A241647011&#38;page=1'&gt;variety of blogs&lt;/a&gt;, charging $0.99 for a month&#8217;s access.&lt;/p&gt;


	&lt;p&gt;This, at first, seemed to me like a nice idea but looking at the list, it seems to consist mainly of localised versions of &#8220;Metroblogging&#8221; and &#8220;SportsBlogs&#8221; that have little appeal. In addition, one of the big trends at the moment is towards offline-access to web sites and applications. Google, with the help of their &lt;a href='http://gears.google.com/'&gt;Gears&lt;/a&gt; project, have given people the option to enable offline-access to their (free) &lt;a href='http://reader.google.com'&gt;Reader&lt;/a&gt; service. The device also apparently comes with an &#8216;experimental&#8217; web-browser that is free to use, so unless services like Google reader are blocked, I&#8217;m not quite sure why anyone would be willing to pay for the &lt;span class='caps'&gt;RSS&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;Joel Johnson at Boing Boing Gadgets has posted &lt;a href='http://gadgets.boingboing.net/2007/11/19/15-things-i-just-lea.html'&gt;15 Things he Just Learned About the Amazon Kindle&lt;/a&gt; some good, some not so good.&lt;/p&gt;


	&lt;p&gt;I&#8217;ve heard a lot of good things about the reading-ease of some of the newer &#8216;E-ink&#8217; devices and wouldn&#8217;t mind trying one out at some point but until there&#8217;s a convenient way of getting hold of things to put on it (magazines and newspapers as well as books) the cost of the devices themselves is prohibitive.&lt;/p&gt;


	&lt;p&gt;Searching amazon.co.uk for &#8220;Kindle&#8221; only brings up other e-book readers, which suggests we might not be seeing it over here any time soon, which is a shame as I think the market needs somebody like Amazon to help it take its first steps.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-11-19:407</id>
    <published>2007-11-19T22:41:00Z</published>
    <updated>2007-11-19T22:43:46Z</updated>
    <category term="books &amp; writing"/>
    <link href="http://codemeetsmusic.com/2007/11/19/how-to-make-people-buy-books" rel="alternate" type="text/html"/>
    <title>how to make people buy books</title>
<content type="html">
            &lt;p&gt;Release them in paperback at the same time (or instead of) hardback.&lt;/p&gt;


	&lt;p&gt;Currently, publishers initially release books only in hardback and the paperback edition will follow, sometimes up to a year later. Any publicity that the book might attract will happen at the initial release; newspapers dedicate pages and pages to reviewing new hardbacks while around a dozen new paperbacks (fiction and non-fiction) will share a single page.&lt;/p&gt;


	&lt;p&gt;I mostly buy paperback books, not only because they&#8217;re cheaper but because they take up less space and I find them easier to read. I&#8217;m not short of things that I&#8217;d like to read, so having access to a book sooner isn&#8217;t really something I&#8217;d pay extra for. It is a little annoying though, that when I&#8217;m looking for new things to read, it&#8217;s very difficult to find things that are new to paperback- I often end up adding interesting-looking hardbacks to my Amazon wishlist thinking I&#8217;ll check back later, but normally forget.&lt;/p&gt;


	&lt;p&gt;Well, it turns out I&#8217;m not alone; the publisher Picador have decided that from next year it will launch &#8220;almost every novel as a £7.99 paperback&#8221;.&lt;/p&gt;


The Guardian had the following to say on the matter:
&lt;blockquote&gt;
Since 2001, booksellers have doubled the discounts offered on hardback novels and some have sold fewer than 100 copies. Even Graham Swift, the Booker prize-winning author of Last Orders, has sold fewer than 4,000 copies of Tomorrow, his latest novel, since its debut in April.

From spring, Picador will use paperbacks to launch new books from all of its literary fiction writers, unless they have a guaranteed profitable hardback market. It estimates that 80% of its literary fiction will be published in this way.
&lt;/blockquote&gt;

	&lt;p&gt;It&#8217;s interesting that I&#8217;ll happily pay more for special editions of albums and those that come in interesting boxes, but prefer paperback books.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-11-13:406</id>
    <published>2007-11-13T17:22:00Z</published>
    <updated>2007-11-13T17:27:54Z</updated>
    <link href="http://codemeetsmusic.com/2007/11/13/eeepc-first-impressions" rel="alternate" type="text/html"/>
    <title>EEEPC - first impressions</title>
<content type="html">
            &lt;p&gt;I&#8217;m not normally one to buy things on impulse, but the &lt;span class='caps'&gt;EEEPC&lt;/span&gt; from Asus just seemed such a nice product that I went and ordered one yesterday evening and, after it arrived (too) early this morning, I&#8217;ve spent most of the day playing with it.
If you&#8217;re not aware, the &lt;span class='caps'&gt;EEEPC&lt;/span&gt; is small. I mean really small. It has a 7&#8221; screen and sits in a 9&#8221; (or thereabouts) case and weighs about 1kg. This, naturally, doesn&#8217;t come without some sacrifice; the processor is only a 900MHz Celeron; there&#8217;s only 4GB of storage; and there&#8217;s only 512MB &lt;span class='caps'&gt;RAM&lt;/span&gt;. Despite that, I find it to be responsive enough for the basic tasks I&#8217;m planning on using it for, web-browsing and occasional typing.&lt;/p&gt;


	&lt;p&gt;The device comes with Linux pre-installed; it&#8217;s a Xandros-based system that Asus have put some work into to make the most of the hardware. They&#8217;ve also wrapped it with &#8216;AsusLauncher&#8217; which makes it really simple for people not used to Linux to get started, it gives you 5 tabs across the top for the different categories of application (&#8216;Web&#8217;, &#8216;Work&#8217;, &#8216;Games&#8217;, &#8216;Learn&#8217; and &#8216;Settings&#8217;) and then a short list of the applications within each category once selected- there is no application-branding, everything is named for it&#8217;s task (so &#8216;Internet&#8217; rather than Firefox, &#8216;Mail&#8217; rather than Thunderbird etc.).&lt;/p&gt;


	&lt;p&gt;It is a nice interface, but I decided shortly after hitting the &#8216;buy&#8217; button that I&#8217;d be putting some form of Ubuntu on it. In the end I went for the &lt;span class='caps'&gt;XFCE&lt;/span&gt;-based Xubuntu, as it takes up less of the precious hard-drive space, and bar a couple of hiccups, installation was straight-forward. I followed &lt;a href='http://wiki.eeeuser.com/ubuntu'&gt;these instrucions&lt;/a&gt; but with these &#8216;hiccups&#8217;, listed here mostly in the hope it helps others who might be searching:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;when trying to make the bootable &lt;span class='caps'&gt;USB&lt;/span&gt; device on my main machine, I followed instructions that told me to run &#8216;syslinux /dev/sdX1&#8217; (where X is &#8216;a&#8217; or &#8216;b&#8217;). I got the error &#8216;sh: mcopy: not found&#8217;. It seems there was a problem, in Feisty at least, with syslinux not listing &#8216;mtools&#8217; as a dependency, despite it clearly depending on it. A quick &#8220;sudo apt-get install mtools&#8221; later and things were working.&lt;/li&gt;
		&lt;li&gt;if, when trying to boot from a &lt;span class='caps'&gt;USB&lt;/span&gt; key, you get the error &#8220;missing operating system&#8221; after selecting the device, then it&#8217;s a problem with the key, not with the system. I fixed it by running &#8216;testdisk&#8217; (package-name as well as app-name) and following the steps for &#8216;analyse&#8217;.&lt;/li&gt;
		&lt;li&gt;once (X)ubuntu was installed, trying to boot resulted in an error due to it looking in the wrong place. To fix it in the first instance, hit &#8216;e&#8217; (for &#8216;edit&#8217;) repeatedly on the &lt;span class='caps'&gt;GRUB&lt;/span&gt; menu pages until the command appears on a command-line, where you can edit it. change the &#8216;root (hd1,0)&#8217; to be &#8216;root (hd0,0)&#8217;, then press &#8216;enter&#8217; and then &#8216;b&#8217; (for &#8216;boot&#8217;). This should make things work, but the change won&#8217;t persist for the next time you boot. To make it do so, you want to edit /boot/grub/menu.lst and change the line &#8221;#groot=(hd1,0)&#8221; to be &#8221;#groot=(hd0,0)&#8221;. You then need to run &#8220;sudo update-grub&#8221; to have this change take effect- debian-based systems use an &#8216;automagic&#8217; system that uses the commented bits in the menu.lst file to build the actual grub config.&lt;/li&gt;
		&lt;li&gt;initially, the &lt;span class='caps'&gt;EEEPC&lt;/span&gt; didn&#8217;t recognise the wireless interface, but following the &lt;a href='http://wiki.eeeuser.com/ubuntu#using_ndiswrapper_to_install_wireless_support'&gt;instructions here&lt;/a&gt; made it work.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;The small screen is taking a bit of getting used to, putting Firefox into full-screen is helping a lot, but the keyboard will be more noticeable. I don&#8217;t see the lack of hard-disk space as being that much of a problem, as with either &lt;span class='caps'&gt;USB&lt;/span&gt; drives or SD cards, it can be increased quite significantly without costing too much.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-10-31:404</id>
    <published>2007-10-31T21:10:00Z</published>
    <updated>2007-10-31T21:13:35Z</updated>
    <category term="books &amp; writing"/>
    <category term="misc"/>
    <link href="http://codemeetsmusic.com/2007/10/31/halloween-stories" rel="alternate" type="text/html"/>
    <title>halloween stories</title>
<content type="html">
            &lt;blockquote&gt;
		&lt;p&gt;For a few miles, hers was the only car on the road. Then she noticed a pair of headlights in her rearview mirror. As she continued driving, she noticed the headlights were getting closer and closer, until the other car was almost touching her bumper. The other car began honking and flashing its brights. Scared, Doris sped up. The other car did so too, then changed lanes and started to pass her, but then suddenly braked and swerved behind her bumper, where the driver began honking again.&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;It&#8217;s an old story. Older, even, than email. Seven writers put their own twist on things, in &lt;a href='http://www.themorningnews.org'&gt;The Morning News&#8217;&lt;/a&gt; &#8220;open ended gore fest&#8221; &lt;a href='http://www.themorningnews.org/archives/spoofs_satire/the_backseat_killer.php'&gt;The Backseat Killer&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-10-29:403</id>
    <published>2007-10-29T19:56:00Z</published>
    <updated>2007-10-29T19:58:12Z</updated>
    <category term="music"/>
    <link href="http://codemeetsmusic.com/2007/10/29/how-to-make-people-buy-albums" rel="alternate" type="text/html"/>
    <title>how to make people buy albums</title>
<content type="html">
            &lt;p&gt;Put them in shiny boxes. And by shiny, I don&#8217;t mean metallic or reflective, just something that is going to make people go &#8216;ooh&#8217; and talk about. Exactly as I&#8217;m doing now, with an album sleeve that you can make into a little Dolls House. The artist is &lt;a href='http://vonnegutdollhouse.com/'&gt;Vonnegut Dollhouse&lt;/a&gt;, and they don&#8217;t sound half bad. The album doesn&#8217;t seem to be available yet, the group&#8217;s &lt;a href='http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&#38;friendID=61384184'&gt;MySpace Page&lt;/a&gt; suggests &lt;a href='http://www.cdbaby.com'&gt;CD Baby&lt;/a&gt; will be selling it &#8216;soon&#8217;.&lt;/p&gt;


	&lt;p&gt;&lt;img src='http://codemeetsmusic.com/assets/2007/10/29/vonnegut_cd.jpg' /&gt;
I found the pictures via &lt;a href='http://www.serifpublishing.com/?p=4415'&gt;The Serif&lt;/a&gt; , they seem to have got them from &lt;a href='http://www.rethinkcommunications.com/'&gt;Rethink Communications&lt;/a&gt; but that doesn&#8217;t seem to let me link directly to it&#8230;&lt;/p&gt;


	&lt;p&gt;The most distinctive album on my CD shelves is probably The Lost Riots by Hope of the States. As an album it was good, but the packaging was something else. The album comes in a sealed black cardboard sleeve, the same width as a standard CD case, but about twice as long. It was a shame to open it, and I imagine many didn&#8217;t, but once the perforated flap was ripped open, there is a smaller, CD-sized wallet containing the CD itself, and a chunky cardboard booklet, held together by a piece of string through the top-left corner containing the song lyrics, superimposed on annotated colour sketches of the internals of the human body.&lt;/p&gt;


	&lt;p&gt;&lt;img src='http://codemeetsmusic.com/assets/2007/10/29/lost_riots.jpg'&gt;&lt;/p&gt;


	&lt;p&gt;What&#8217;s the most interesting album in your collection?&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-10-28:402</id>
    <published>2007-10-28T21:53:00Z</published>
    <updated>2007-10-28T21:54:12Z</updated>
    <category term="misc"/>
    <link href="http://codemeetsmusic.com/2007/10/28/zombi" rel="alternate" type="text/html"/>
    <title>zombi</title>
<content type="html">
            &lt;blockquote&gt; zom·bi  [zom-bee]

	&lt;p&gt;–noun 1. Bambi-like deer. With fangs. Weeping gore. And smiling.&lt;/blockquote&gt;&lt;/p&gt;


	&lt;p&gt;&lt;a href='http://layertennis.com/071026/02.php'&gt;Layer Tennis Week 5&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-10-28:401</id>
    <published>2007-10-28T21:26:00Z</published>
    <updated>2007-10-28T21:40:13Z</updated>
    <category term="misc"/>
    <link href="http://codemeetsmusic.com/2007/10/28/best-invention-ever" rel="alternate" type="text/html"/>
    <title>best. invention. ever.</title>
<content type="html">
            &lt;p&gt;How much do you hate soggy cereal? Do you hate it enough to spend less than £5 on never having to experience it again?&lt;/p&gt;


	&lt;p&gt;Look no further: &lt;a href='http://www.eatmecrunchy.com/'&gt;Eat Me Crunchy&lt;/a&gt; will solve all your problems with the rather simple yet ingenious idea of putting a shelf in your bowl that keeps the milk tucked away underneath most of the cereal, letting just enough mix at the edge- the pictures on the site explain it better than I can.&lt;/p&gt;


	&lt;p&gt;I actually lied about it costing less than a fiver, because you&#8217;re going to want to buy more than one. In my case, it seemed silly to buy just one when that would mean having the luxurious crunch at home and not at work (or vice versa) so I had to get 2. Having to watch other people eat cereal from normal bowls is becoming very difficult, if I&#8217;m not careful I&#8217;m going to end up ordering them for everyone I know. The nice people at &lt;a href='http://www.gray-matter.co.uk/'&gt;Gray Matter&lt;/a&gt; seemed to anticipate this situation though, and offer 2 bowls for the rather bargainous price of £7.50, and that includes delivery.&lt;/p&gt;


	&lt;p&gt;I was just taking a look at the &lt;a href='http://www.gray-matter.co.uk/eatmecrunchy.php'&gt;Eat Me Crunchy page&lt;/a&gt; on the Gray Matter main site and apparently 30% of people don&#8217;t prefer crunchy cereal. I know in this day and age we&#8217;re supposed to be tolerant, but really&#8230;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-10-24:400</id>
    <published>2007-10-24T21:46:00Z</published>
    <updated>2007-10-24T21:55:31Z</updated>
    <category term="music"/>
    <link href="http://codemeetsmusic.com/2007/10/24/autumn-albums" rel="alternate" type="text/html"/>
    <title>autumn albums</title>
<content type="html">
            &lt;p&gt;White Chalk did arrive, and I was a tiny bit disappointed. It&#8217;s a nice album, a little haunting but quite relaxing but lacks the power of PJ Harvey&#8217;s earlier stuff.&lt;/p&gt;


	&lt;p&gt;After seeing Go! Team live (again), I got their second album Proof of Youth and it&#8217;s pretty good. Not as surprising as the first, and I still think they&#8217;re best live (a lot seem to disagree) but it carries on the sample-driven, brass-powered, catchy tradition of Thunder Lightening Strike.&lt;/p&gt;


	&lt;p&gt;Supporting Go! Team were Operator Please, who are pretty darn good. &#8220;Just a song about Ping Pong&#8221; has been getting a bit of radio-play, and there&#8217;s meant to be an album in November, so I&#8217;m looking forward to that.&lt;/p&gt;


	&lt;p&gt;The Klaxons and New Young Pony Club are both described along the lines &#8220;the epitomy of so-called new-rave, though they&#8217;d be the first to deny it&#8221; and while the former jumped out at me right away as being a band worth listening to, I remember looking up &lt;span class='caps'&gt;NYPC&lt;/span&gt; and not being particularly impressed. When they were nominated for this year&#8217;s Mercury prize, I decided to reconsider and their album joined the many others that sit in my amazon basket waiting for me to feel like some new music. Their turn came a couple of weeks ago (&lt;a href='http://codemeetsmusic.com/2007/10/17/my-machine'&gt;My Machine&lt;/a&gt; wasn&#8217;t enough on its own to get me free shipping!) and I&#8217;m quite pleased I got it. &#8220;Hiding on the Staircase&#8221; and &#8220;Jerk Me&#8221; are really good, the rest of the album is quirky and catchy enough to be a good listen.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-10-19:399</id>
    <published>2007-10-19T20:22:00Z</published>
    <updated>2007-10-19T20:22:42Z</updated>
    <category term="misc"/>
    <link href="http://codemeetsmusic.com/2007/10/19/layer-tennis" rel="alternate" type="text/html"/>
    <title>layer tennis</title>
<content type="html">
            &lt;p&gt;The rather interesting folks at &lt;a href='http://www.coudal.com/index.php'&gt;Coudal&lt;/a&gt; (a design firm in Chicago) run a competition each Friday in which 2 designers go head to head, volleying an image backwards and forwards making their mark on it in an attempt to be crowned Layer Tennis Champion.&lt;/p&gt;


	&lt;p&gt;Today is the 4th week of the competion and sees &lt;a href='http://www.chrisglass.com/'&gt;Chris Glass&lt;/a&gt; go up against &lt;a href='http://www.weightshift.com/memo/'&gt;Naz Hamid&lt;/a&gt; in what seems to be a very photo-centric competition (c.f. last week&#8217;s which saw cartoon-style wigwams (or were they teepees?) locking horns with some rather colourful mountains), beginning what a rather abrupt golden toilet. &lt;a href='http://layertennis.com/071019/'&gt;Head here&lt;/a&gt; to get in on the action- make sure to read the commentary as well as look at the pretty pictures, it&#8217;s rather good.&lt;/p&gt;


	&lt;p&gt;It&#8217;s a shame the matches don&#8217;t take place a bit earlier, looks like it&#8217;s going to go on well past my bedtime.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-10-17:397</id>
    <published>2007-10-17T19:11:00Z</published>
    <updated>2007-10-17T19:31:52Z</updated>
    <category term="music"/>
    <link href="http://codemeetsmusic.com/2007/10/17/my-machine" rel="alternate" type="text/html"/>
    <title>My Machine</title>
<content type="html">
            &lt;p&gt;I think I&#8217;ve written here before about how awesome the Rough Trade Shops &#8216;Counter Culture&#8217; albums are. At the beginning of each year since 2003 they&#8217;ve released a double-CD compilation containing what the staff consider to be the best of the previous year&#8217;s music. Counter Culture 2005 contained on it a song called &#8216;My Machine&#8217; by the artist Princess Superstar. I liked it a lot and as a result found a few other songs from the album, which were also pretty cool. I finally got around to buying the album, and it&#8217;s really, really good. A definite mixture of dance, electronica, indie/rock and hip-hop, it&#8217;s an album that should appeal to a lot of people.&lt;/p&gt;


	&lt;p&gt;The 25 tracks tell the story of a future world where there is only one celebrity- Superstar, her having taken over the world with a number of clones, or &#8216;duplicants&#8217;- where children are taught to speak (they ordinarily telepath), through the medium of rap. It&#8217;s probably the most amusing album I&#8217;ve listened to (&#8220;Quitting Smoking Song&#8221; is hilarious) but also really easy to listen to; the songs are so different from one another, but all are fast-paced and catchy.&lt;/p&gt;


	&lt;p&gt;My Machine is the highlight of the album, but I&#8217;m so Out of Control, 10000 Hits and Sex, Drugs &#38; Drugs are well worth listening to.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-10-13:395</id>
    <published>2007-10-13T21:30:00Z</published>
    <updated>2007-10-13T21:31:38Z</updated>
    <category term="code"/>
    <link href="http://codemeetsmusic.com/2007/10/13/zend-studio-neon" rel="alternate" type="text/html"/>
    <title>Zend Studio Neon</title>
<content type="html">
            &lt;p&gt;Zend sent me an email this week letting me know that there was a Beta Release of the new Zend Studio product available, to try for free. I&#8217;d tried previous versions of Zend Studio and found them to be unintuitive, unresponsive and generally clunky so I was interested to see how much of an improvement the new version would be, given that rather than being solely a Zend-made product, it&#8217;s built on top of Eclipse, more specifically on top of the free &lt;a href='http://www.eclipse.org/pdt/'&gt;&lt;span class='caps'&gt;PDT&lt;/span&gt;&lt;/a&gt; project that I&#8217;ve been using as my main &lt;span class='caps'&gt;IDE&lt;/span&gt; for a while now.&lt;/p&gt;


It definitely is an improvement, but I&#8217;m not convinced that there is enough that &lt;span class='caps'&gt;PDT&lt;/span&gt; doesn&#8217;t have that will make it worth paying for:
&lt;ul&gt;
 &lt;li&gt;The code formatting options are more powerful, there&#8217;s a setting for practically every aspect of the language.&lt;/li&gt;
 &lt;li&gt;The &#8216;new Class&#8217; wizard is quite nice, letting you specify the class-name, a superclass and any interfaces and having these, as well as any prescribed methods, filled in for you in the resulting file.&lt;/li&gt;
 &lt;li&gt;The variable-renaming feature works, to some degree. In &lt;span class='caps'&gt;PDT&lt;/span&gt; there&#8217;s a menu option, but it doesn&#8217;t seem to do anything. With Neon, this will find all uses of the name within the current function or class, but it doesn&#8217;t make changes in other files- I realise it wouldn&#8217;t be possible to find them all, but it&#8217;s a shame it doesn&#8217;t even seem to try.&lt;/li&gt;
&lt;/ul&gt;

	&lt;p&gt;There doesn&#8217;t seem to be any mention of how much they plan to charge, only that current subscribers to Zend Studio will get the upgrade for free and that it should be released early next year. You can &lt;a href='http://www.zend.com/free_download/studio'&gt;download it here&lt;/a&gt; but you do need to register.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-10-13:394</id>
    <published>2007-10-13T17:56:00Z</published>
    <updated>2007-10-13T17:59:33Z</updated>
    <category term="music"/>
    <link href="http://codemeetsmusic.com/2007/10/13/in-rainbows" rel="alternate" type="text/html"/>
    <title>In Rainbows</title>
<content type="html">
            &lt;p&gt;The email with download instructions arrived on Wednesday just like they said it would, and I&#8217;m quite pleased with the result- it&#8217;s a pretty good album.&lt;/p&gt;


	&lt;p&gt;Definitely a departure from Hail To The Thief (my least favourite Radiohead album) and heading back towards Kid A (my 2nd favourite).&lt;/p&gt;


	&lt;p&gt;There really is no excuse not to give it a listen, as if you really, really want it to be, it can be got (legally!) for free.&lt;/p&gt;


	&lt;p&gt;Only 6 weeks or so until the box arrives :)&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://codemeetsmusic.com/">
    <author>
      <name>gjones</name>
    </author>
    <id>tag:codemeetsmusic.com,2007-10-03:392</id>
    <published>2007-10-03T18:51:00Z</published>
    <updated>2007-10-03T19:00:44Z</updated>
    <category term="misc"/>
    <link href="http://codemeetsmusic.com/2007/10/3/radio-4-comedy" rel="alternate" type="text/html"/>
    <title>radio 4 comedy</title>
<content type="html">
            &lt;p&gt;What do Guinea Pigs test on? This and more answered by the very funny &lt;a href='http://www.bbc.co.uk/radio4/miltonjones/'&gt;Milton Jones&lt;/a&gt; as he continues to &#8220;bestride the globe as an expert in his field, with no ability whatsoever&#8221;. Lots of very bad (but good, if you know what I mean) puns, generally quite clever.&lt;/p&gt;


	&lt;p&gt;Like Have I Got News For You (back when it was funny, with a bit more intelligence, and without the visuals), &lt;a href='http://www.bbc.co.uk/radio4/newsquiz/'&gt;The News Quiz&lt;/a&gt; has just started up again. Sandi Toksvig (her off Call My Bluff) asks the questions with Alan Coren (him off Call My Bluff) and other special guests doing the answering. Bob Holness (the other &#8220;him off Call My Bluff&#8221;) is yet to make an appearance.&lt;/p&gt;


	&lt;p&gt;&lt;a href='http://www.bbc.co.uk/radio4/dirkgentlysdetectiveagency/'&gt;Dirk Gently&#8217;s Detective Agency&lt;/a&gt; (this one has a real website!) started tonight. I haven&#8217;t listened yet, but have been looking forward to it for a while. For those who don&#8217;t know, it&#8217;s based on a book by Douglas Adams (he wrote The Hitch-Hikers Guide to the Galaxy), which describes itself as a &#8220;detective-ghost-horror-whodunnit-time-travel-romantic-musical-comedy-epic&#8221; and it&#8217;s about as confusing as such a description would suggest.&lt;/p&gt;
          </content>  </entry>
</feed>
