<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:hikari_neko</id>
  <title>North North West</title>
  <subtitle>When the wind is southerly I know a hawk from a handsaw</subtitle>
  <author>
    <name>光</name>
  </author>
  <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom"/>
  <updated>2010-07-13T11:08:29Z</updated>
  <lj:journal userid="478144" username="hikari_neko" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://hikari-neko.livejournal.com/data/atom" title="North North West"/>
  <link rel="hub" href="http://pubsubhubbub.appspot.com/"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:383112</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/383112.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=383112"/>
    <title>I Write Like...</title>
    <published>2010-07-13T11:08:29Z</published>
    <updated>2010-07-13T11:08:29Z</updated>
    <category term="meme"/>
    <lj:music>My Dying Bride - To Remain Tombless</lj:music>
    <content type="html">
&lt;div style="overflow:auto;border:2px solid #ddd;font:20px/1.2 Arial,sans-serif;width:380px;padding:5px; background:#F7F7F7; color:#555"&gt;&lt;img src="http://s.iwl.me/w.png" style="float:right" width="120"&gt;&lt;div style="padding:20px; border-bottom:1px solid #eee; text-shadow:#fff 0 1px"&gt; I write like&lt;br&gt;&lt;span style="font-size:30px; color:#698B22"&gt;Isaac Asimov&lt;/span&gt;&lt;/div&gt;&lt;p style="font-size:11px; text-align:center; color:#888"&gt;&lt;em&gt;I Write Like&lt;/em&gt; by Mémoires, &lt;a href="http://www.codingrobots.com/memoires/" style="color:#888" rel="nofollow"&gt;Mac journal software&lt;/a&gt;. &lt;a href="http://iwl.me" style="color:#333; background:#FFFFE0" rel="nofollow"&gt;&lt;b&gt;Analyze your writing!&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;


&lt;p&gt;Win.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:382898</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/382898.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=382898"/>
    <title>Things I miss...</title>
    <published>2010-02-25T16:17:34Z</published>
    <updated>2010-02-25T16:18:26Z</updated>
    <lj:music>Bertrand De Billy, Birgid Steinberger, Heidi Brunner, Jeffrey Francis, Kwangchul Youn, Maurizio Mura</lj:music>
    <content type="html">&lt;p&gt;You know, I think what I miss about working with C is that you can do things like:&lt;/p&gt;

&lt;pre&gt;
#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;

int main(void)
{
  unsigned int my_int = 0x8080;
  unsigned char* my_byte1 = (unsigned char*)&amp;my_int;
  unsigned char* my_byte2 = (unsigned char*)&amp;my_int + 1;

  printf("&amp;my_int = %p\n", &amp;my_int);
  printf("&amp;my_byte1 = %p\n", my_byte1);
  printf("&amp;my_byte2 = %p\n", my_byte2);

  printf("my_int = %d\n", my_int); // 32796
  printf("my_byte1 = %d\n", *my_byte1); // 128
  printf("my_byte2 = %d\n", *my_byte2); // 128

  unsigned int result = *my_byte1 + *my_byte2;

  printf("result = %d\n", result); // 256

  exit(EXIT_SUCCESS);
}
&lt;/pre&gt;

&lt;p&gt;I miss C's somewhat flexible approach to types.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:382467</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/382467.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=382467"/>
    <title>Games For Windows Live Subscription Annoyance</title>
    <published>2009-11-08T08:15:50Z</published>
    <updated>2009-11-08T08:15:50Z</updated>
    <category term="microsoft"/>
    <lj:music>Me First and the Gimme Gimmes - My Boyfriend's Back</lj:music>
    <content type="html">&lt;p&gt;So, I'm trying to get my X-Box Live subscription renewed (well, it's actually Games For Windows Live, but you know), however I have a slight issue:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It won't let me redeem a code to renew my subscription because I have a payment method in decline.&lt;/li&gt;
&lt;li&gt;The payment method is in decline because the card it's trying to use no longer exists.&lt;/li&gt;
&lt;li&gt;It won't let me remove the card because it's configured to use it to auto-renew.&lt;/li&gt;
&lt;li&gt;It won't let me change auto-renew to redeem a code because the payment method is in decline...&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Oh and I can't e-mail them to bitch about this because it would be an account query and I have to phone them.  People who know me will know how well I get along with phoning people.&lt;/p&gt;

&lt;p&gt;Microsoft, you excel at fucking up.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:382374</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/382374.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=382374"/>
    <title>Abstract and generic base forms in Visual Studio.</title>
    <published>2009-09-24T13:37:41Z</published>
    <updated>2009-09-24T13:37:41Z</updated>
    <category term="visual studio"/>
    <category term="annoyances"/>
    <category term="microsoft"/>
    <lj:music>Wendy Carlos - Brandenburg Concerto #4 in G Major: I-Allegro</lj:music>
    <content type="html">&lt;p&gt;OK, the inability of Visual Studio's form designer to deal with abstract base forms is a known thing and there is a work around involving TypeDescriptionProvider.  However what I currently want to do is have an abstract base form that is also generic; there doesn't seem to be a work around for this.&lt;/p&gt;

&lt;p&gt;This is highly annoying because it makes designing child forms really awkward and right now would involve more effort than I can actually be bothered to make.  I mean I could make the problem go away by doing it wrong and using "object", instead of using generics to make it all lovely and verifiable at compile/development time, but damn it, using generics is the right way to do it.&lt;/p&gt;

&lt;p&gt;The main  reason this fucking annoys me so much is Microsoft actually know about the damn problem.  It's been there since at least Visual Studio 2003 .NET (in the abstract form, the generic problem is obviously not in 2003), as far as I know and it's still there in Visual Studio 2010.  The bug is, if you report it, just closed as "won't fix" with fluff about concentrating on security related bugs.  Well fuck that, I want the designer to work properly with perfectly valid fucking code.&lt;/p&gt;

&lt;p&gt;The code produced, if you do go to the trouble of manually writing the code to populate the derived form with your controls, works fine.  It's just the form designer can't handle it because of the way it uses reflection to create an instance of the base class and then calls the InitializeComponent() method to actually fill it.  That, I suspect, is why Microsoft won't fix it.  It would involve a complete change in the way that the form designer functions.  At least that's my supposition.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:381554</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/381554.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=381554"/>
    <title>.NET Annoyances</title>
    <published>2009-08-12T12:53:07Z</published>
    <updated>2009-08-12T12:53:07Z</updated>
    <category term="c#"/>
    <category term="work"/>
    <content type="html">&lt;p&gt;From the &lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.defaultvaluesneeded.aspx" rel="nofollow"&gt;MSDN docs on the "DefaultValuesNeeded" event in DataGridView&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
In data bound mode [...] When the user enters the row for new records, a new row is created in the data source before the DefaultValuesNeeded event occurs. When you populate the DataGridViewRowEventArgs.Row property in your event handler, the values are added directly to the data source.&lt;/blockquote&gt;

&lt;p&gt;If you're me this means you assume that DataGridViewRowEventArgs.Row.DataBoundItem would be set to the newly instantiated object created for the data source.  Apparently it's not.  Which is annoying.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:380677</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/380677.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=380677"/>
    <title>Idle updates</title>
    <published>2009-06-10T07:54:44Z</published>
    <updated>2009-06-10T07:54:44Z</updated>
    <category term="work"/>
    <lj:music>Placebo - Johnny and Mary</lj:music>
    <content type="html">&lt;p&gt;Working from home today and Thursday, instead of Thursday and Friday, because of the industrial action on the tube.  Part of me wishes they could make it a 72 hour strike, just so my Friday routine isn't getting screwed up.&lt;/p&gt;

&lt;p&gt;Or I would be if I could actually VPN in to the office; the DSL line the VPN is forwarded on seems to be foobar again.  Although I can use GoToMyPC to get in to my workstation, it can't open any connections outbound.  Don't seem to be able to get in to the router's web interface either, which isn't helpful.  I need a body in the office to reset it.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:380583</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/380583.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=380583"/>
    <title>Reflection Voodoo</title>
    <published>2009-06-09T12:02:21Z</published>
    <updated>2009-06-10T07:26:33Z</updated>
    <category term="reflection"/>
    <category term="c#"/>
    <category term="code"/>
    <category term="work"/>
    <content type="html">&lt;p&gt;I wrote this method to get round having to do app.Run(scriptName, Type.Empty, Type.Empty, Type.Empty, Type.Empty, Type.Empty, Type.Empty, Type.Empty...) with "Type.Empty" in upto 30 times.&lt;/p&gt;

&lt;a name="cutid1"&gt;&lt;/a&gt;


&lt;div&gt;
&lt;pre&gt;&lt;span&gt;   1:  &lt;/span&gt;        &lt;span&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;   2:  &lt;/span&gt;        &lt;span&gt;/// Voodoo wrapper method to negate the need to call Application.Run() with &lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;   3:  &lt;/span&gt;        &lt;span&gt;/// 31 parameters in order to execute a macro.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;   4:  &lt;/span&gt;        &lt;span&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;   5:  &lt;/span&gt;        &lt;span&gt;/// &amp;lt;param name="app"&amp;gt;An Excel Application COM object.&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;   6:  &lt;/span&gt;        &lt;span&gt;/// &amp;lt;param name="macroName"&amp;gt;The name of the macro to run.&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;   7:  &lt;/span&gt;        &lt;span&gt;/// &amp;lt;param name="args"&amp;gt;The parameters taken by the macro.&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;   8:  &lt;/span&gt;        &lt;span&gt;private&lt;/span&gt; &lt;span&gt;static&lt;/span&gt; &lt;span&gt;void&lt;/span&gt; RunMacro(_Application app, &lt;span&gt;string&lt;/span&gt; macroName, &lt;span&gt;params&lt;/span&gt; &lt;span&gt;object&lt;/span&gt;[] args)&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;   9:  &lt;/span&gt;        {&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  10:  &lt;/span&gt;            &lt;span&gt;if&lt;/span&gt; (app == &lt;span&gt;null&lt;/span&gt;) &lt;span&gt;throw&lt;/span&gt; &lt;span&gt;new&lt;/span&gt; ArgumentNullException(&lt;span&gt;"app"&lt;/span&gt;);&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  11:  &lt;/span&gt;            &lt;span&gt;if&lt;/span&gt; (String.IsNullOrEmpty(macroName)) &lt;span&gt;throw&lt;/span&gt; &lt;span&gt;new&lt;/span&gt; ArgumentNullException(&lt;span&gt;"macroName"&lt;/span&gt;);&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  12:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  13:  &lt;/span&gt;            &lt;span&gt;// Array of objects to hold the 31 parameters.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  14:  &lt;/span&gt;            &lt;span&gt;object&lt;/span&gt;[] myArgs = &lt;span&gt;new&lt;/span&gt; &lt;span&gt;object&lt;/span&gt;[31];&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  15:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  16:  &lt;/span&gt;            &lt;span&gt;// First parameter is always the name of the macro.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  17:  &lt;/span&gt;            myArgs[0] = macroName;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  18:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  19:  &lt;/span&gt;            &lt;span&gt;// Copy the supplied parameters to the parameter list.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  20:  &lt;/span&gt;            args.CopyTo(myArgs, 1);&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  21:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  22:  &lt;/span&gt;            &lt;span&gt;// Fill the reamining slots with Type.Missing&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  23:  &lt;/span&gt;            &lt;span&gt;for&lt;/span&gt; (&lt;span&gt;int&lt;/span&gt; i = args.Length + 1; i &amp;lt; 31; i++)&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  24:  &lt;/span&gt;                myArgs[i] = Type.Missing;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  25:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  26:  &lt;/span&gt;            &lt;span&gt;// Get reflection info for the Run method.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  27:  &lt;/span&gt;            MethodInfo info = app.GetType().GetMethod(&lt;span&gt;"Run"&lt;/span&gt;);&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  28:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  29:  &lt;/span&gt;            &lt;span&gt;// Invoke the Run() method on the supplied Application instance using the &lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  30:  &lt;/span&gt;            &lt;span&gt;// parameter list we just built.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  31:  &lt;/span&gt;            info.Invoke(app, myArgs);&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;  32:  &lt;/span&gt;        }&lt;/pre&gt;
&lt;/div&gt;
&lt;a name='cutid1-end'&gt;&lt;/a&gt;

&lt;p&gt;And I have since fixed some of the edge case issues (like what happens if you pass more than 30 optional parameters).&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:380222</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/380222.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=380222"/>
    <title>Maldon Election Results</title>
    <published>2009-06-05T13:43:22Z</published>
    <updated>2009-06-05T13:43:22Z</updated>
    <category term="election"/>
    <category term="maldon"/>
    <category term="liberal democrats"/>
    <lj:music>Harry Christophers, The Sixteen &amp; The Symphony of Harmony and Invention - The Complete Funeral Music</lj:music>
    <content type="html">&lt;table&gt;
&lt;tr&gt;&lt;th width="200"&gt;Candidate&lt;/th&gt; 					&lt;th width="150"&gt;Political Party&lt;/th&gt; 					&lt;th&gt;Votes Received&lt;/th&gt; 					&lt;th width="60"&gt;%&lt;/th&gt; 					&lt;th&gt;Elected?&lt;/th&gt; 					&lt;th&gt;Majority&lt;/th&gt; 				&lt;/tr&gt; 				  		 						&lt;tr&gt; 							&lt;td&gt;Channer, Penny &lt;/td&gt;						 							&lt;td align="center"&gt;Conservative&lt;/td&gt; 							&lt;td align="center"&gt;2359&lt;/td&gt; 							&lt;td align="center"&gt;41.63&lt;/td&gt; 							&lt;td align="center"&gt; 								 								Yes 							 							&lt;/td&gt; 							&lt;td align="center"&gt; 							1179 							&lt;/td&gt; 						&lt;/tr&gt; 					 						&lt;tr&gt; 							&lt;td&gt;Mead, Brian Harold &lt;/td&gt;						 							&lt;td align="center"&gt;Independent &lt;/td&gt; 							&lt;td align="center"&gt;1180&lt;/td&gt; 							&lt;td align="center"&gt;20.83&lt;/td&gt; 							&lt;td align="center"&gt; 								 								No 							 							&lt;/td&gt; 							&lt;td align="center"&gt; 							N/A 							&lt;/td&gt; 						&lt;/tr&gt; 					 						&lt;tr&gt; 							&lt;td&gt;Crowther, Christopher John &lt;/td&gt;						 							&lt;td align="center"&gt;Liberal Democrat&lt;/td&gt; 							&lt;td align="center"&gt;621&lt;/td&gt; 							&lt;td align="center"&gt;10.96&lt;/td&gt; 							&lt;td align="center"&gt; 								 								No 							 							&lt;/td&gt; 							&lt;td align="center"&gt; 							N/A 							&lt;/td&gt; 						&lt;/tr&gt; 					 						&lt;tr&gt; 							&lt;td&gt;Carden, Janet Marilyn &lt;/td&gt;						 							&lt;td align="center"&gt;Green Party&lt;/td&gt; 							&lt;td align="center"&gt;600&lt;/td&gt; 							&lt;td align="center"&gt;10.59&lt;/td&gt; 							&lt;td align="center"&gt; 								 								No 							 							&lt;/td&gt; 							&lt;td align="center"&gt; 							N/A 							&lt;/td&gt; 						&lt;/tr&gt; 					 						&lt;tr&gt; 							&lt;td&gt;Bentley, Michael John Charles &lt;/td&gt;						 							&lt;td align="center"&gt;Labour&lt;/td&gt; 							&lt;td align="center"&gt;515&lt;/td&gt; 							&lt;td align="center"&gt;9.09&lt;/td&gt; 							&lt;td align="center"&gt; 								 								No 							 							&lt;/td&gt; 							&lt;td align="center"&gt; 							N/A 							&lt;/td&gt; 						&lt;/tr&gt; 					 						&lt;tr&gt; 							&lt;td&gt;Blain, Len &lt;/td&gt;						 							&lt;td align="center"&gt;British National Party&lt;/td&gt; 							&lt;td align="center"&gt;391&lt;/td&gt; 							&lt;td align="center"&gt;6.9&lt;/td&gt; 							&lt;td align="center"&gt; 								 								No 							 							&lt;/td&gt; 							&lt;td align="center"&gt; 							N/A 							&lt;/td&gt; 						&lt;/tr&gt; 			 						&lt;tr&gt; 							&lt;td colspan="6"&gt; 								&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;I'm quite happy with that result.  And for those of you who don't know, that's me in third place.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:380135</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/380135.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=380135"/>
    <title>Unhelpful Exceptions...</title>
    <published>2009-06-04T11:11:49Z</published>
    <updated>2009-06-04T11:38:22Z</updated>
    <category term="c#"/>
    <category term=".net"/>
    <content type="html">&lt;code&gt;
Method 'get_DbConnection' in type 'RHD.Database.DatabaseObjects.PackageBound.Course' 
from assembly 'RHD.Database.DatabaseObjects, Version=2.0.1.1, Culture=neutral, PublicKeyToken=null' 
does not have an implementation.
&lt;/code&gt;

&lt;p&gt;The main reason this exception is unhelpful is because there is an implementation for get_DbConnection (as you might have guessed from the name, it's actually the magic property method for the getter) in the ActiveRecord class, but for some reason it can't see this.&lt;/p&gt;

&lt;p&gt;I suspect this might be something to do with Course being derived from BaseCourse, which is an abstract class derived from ActiveRecord, itself an abstract.  BaseCourse also implements ICourse.&lt;/p&gt;

&lt;p&gt;ActiveRecord is doing a partial implementation of IActiveRecord; it's implementing the dirty flag and db connection properties.  The commit and delete methods are implemented as abstract and left for child classes to implement.&lt;/p&gt;

&lt;p&gt;Solved: OK, apparently it was to do with platforms.  For some reason my soltuion had reverted to building for "Any CPU" rather than "x86" (I'm on a 64-bit system, so often building for "Any CPU" won't work, becuase of assembly foobar).&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:379835</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/379835.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=379835"/>
    <title>Royal Gunpowder Mills</title>
    <published>2009-05-31T11:42:36Z</published>
    <updated>2009-05-31T11:42:36Z</updated>
    <category term="waltham abbey"/>
    <category term="archaeology"/>
    <category term="history"/>
    <category term="rai"/>
    <lj:music>Japan-A-Radio - Japan's best music mix!</lj:music>
    <content type="html">&lt;p&gt;I've uploaded some photos from the &lt;a href="http://www.flickr.com/photos/hikariuk/sets/72157618955766601/" rel="nofollow"&gt;Royal Gunpowder Mills&lt;/a&gt; at Waltham Abbey to &lt;a href="http://www.flickr.com/photos/hikariuk/" rel="nofollow"&gt;my flickr account&lt;/a&gt;.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:379447</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/379447.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=379447"/>
    <title>Star Wars Day + Bank Holiday == Win</title>
    <published>2009-05-04T10:54:29Z</published>
    <updated>2009-05-04T10:54:29Z</updated>
    <category term="star wars"/>
    <lj:music>Mike Oldfield - Five Miles Out</lj:music>
    <content type="html">&lt;p&gt;Although I should probably do something besides watch Star Wars all day...&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:379198</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/379198.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=379198"/>
    <title>Unhelpful error messages...</title>
    <published>2009-05-01T11:51:51Z</published>
    <updated>2009-05-01T11:51:51Z</updated>
    <category term="work"/>
    <lj:music>The Darkness - Black Shuck</lj:music>
    <content type="html">&lt;p&gt;I wish I knew what this actually meant.  Google isn't terrible helpful.&lt;/p&gt;

&lt;code&gt;Faulting application windows test service.exe, version 1.0.0.0, stamp 49fac422, faulting module kernel32.dll, version 5.2.3790.4062, stamp 46264680, debug? 0, fault address 0x0000bee7.&lt;/code&gt;

&lt;p&gt;What's annoying is this is just a simple Windows Service I threw together so we could test something.  All it does is do a directory listing on a remote server ushing SFTP every 30 seconds until you shut it down.  I've tested it on my workstation and it works.  It just won't run on the server.&lt;/p&gt;

&lt;p&gt;I have this sneaking feeling it's either to do with registered assemblies or .NET code permissions...&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:379135</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/379135.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=379135"/>
    <title>Memories</title>
    <published>2009-04-30T22:07:29Z</published>
    <updated>2009-04-30T22:07:29Z</updated>
    <content type="html">&lt;p&gt;Just watched tonight's episode of Cold Case on Sky 1.  The line "my mother was creole" made me think of someone, now I'm just feeling maudlin.  Sometimes I wish the past would stay there.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:378861</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/378861.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=378861"/>
    <title>BloodRayne 2</title>
    <published>2009-04-29T20:57:46Z</published>
    <updated>2009-04-29T20:57:46Z</updated>
    <category term="film"/>
    <content type="html">&lt;p&gt;I just watched BloodRayne 2.  The only way I can describe it is this:  BloodRayne, compared to BloodRayne 2, is a work of sublime genius.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:378479</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/378479.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=378479"/>
    <title>Technical ponderence</title>
    <published>2009-04-29T05:22:03Z</published>
    <updated>2009-04-29T05:22:03Z</updated>
    <category term="c#"/>
    <category term=".net"/>
    <category term="work"/>
    <lj:music>Iron Maiden - Strange World</lj:music>
    <content type="html">&lt;p&gt;I'm in the middle of rewriting one of the apps at work that downloads "stuff" from a central store, partly so next time someone decides we need to change what protocol is used to access the storage site, I can just write a new module to implement it (this time we've gone from FTP to SFTP).&lt;/p&gt;

&lt;p&gt;If any of you have worked with the FtpWebRequest class in .NET you'll know it can do connection caching, so it if finds an existing connection for the requested server, port and username combination it will re-use it.  You'll probably also have found that it sucks, because once a connection is in error it's pretty much impossible to recover from it (at least I found it was).&lt;/p&gt;

&lt;p&gt;I wouldn't mind implementing some form of connection caching myself; these connections are going to be re-used repeatedly, the system - by default - checks every 5 mnutes to see if there's something new on the remote server, so there doesn't seem much point in tearing down and recreating an SSH connetions every 5 minutes.&lt;/p&gt;

&lt;p&gt;The thing is, I would rather not push requests in to a stack to be processed, I'd rather it looked for an availabe connection that wasn't already in use or created a new one if such a connection wasn't available; it's possible to peek at the site contents while a download is running, so you'd need two open sessions.&lt;/p&gt;

&lt;p&gt;What I'm currently pondering is how to implement allocation and deallocation of connections, right now it's just adding a reference to the connection to a list to say that it's in use and when the calling method has finished with the connection it was handed it has to call Release(...) to tell the ConnectionManager that it's no longer using it.  I'm not really fond of that approach, it's as bad as having to remember to do free() after a malloc() in C.  Most of the time you do, but sometimes you'll forget and on a long running system it's going to bit you in the arse eventually (this is a windows service that just runs all the time).&lt;/p&gt;

&lt;p&gt;It would be nice if I could use reflection to see if anything else is still holding a reference to the connection.  Even that's not perfect, it's about as reliable as reference counting as a memory managment system, better than nothing though.&lt;/p&gt;

&lt;p&gt;Any thoughts or ideas?&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:378209</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/378209.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=378209"/>
    <title>Dear Forum People</title>
    <published>2009-04-29T04:59:38Z</published>
    <updated>2009-04-29T04:59:38Z</updated>
    <category term="annoyance"/>
    <lj:music>Iron Maiden - Remember Tomorrow</lj:music>
    <content type="html">&lt;p&gt;Dear Forum People, 

&lt;p&gt;The written English language has punctuation and sentence structure for a reason, please use it.&lt;/p&gt;

&lt;p&gt;If your post comprises a single block of text where a fullstop, comma or even capital letter are ne'er to be seen, I am not going to waste time trying to read it.&lt;/p&gt;

&lt;p&gt;I know my own spelling, punctuation and grammar are sure to be far from perfect, but it is at least readable - I hope.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:377852</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/377852.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=377852"/>
    <title>What Age Do You Act?</title>
    <published>2009-04-03T07:53:28Z</published>
    <updated>2009-04-03T07:53:28Z</updated>
    <category term="meme"/>
    <lj:music>Client - Lights Go Out (Unterart Remix)</lj:music>
    <content type="html">&lt;table width="350" align="center" border="0" cellspacing="0" cellpadding="2"&gt;&lt;tr&gt;&lt;td bgcolor="#EEEEEE" align="center"&gt;&lt;font face="Georgia, Times New Roman, Times, serif" style="color:black; font-size: 14pt;"&gt;&lt;strong&gt;You Act Like You Are 29 Years Old&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor="#FFFFFF"&gt;&lt;center&gt;&lt;img src="http://www.blogthingsimages.com/whatagequiz/20s.gif" height="100" width="100"&gt;&lt;/center&gt;&lt;font color="#000000"&gt;You are a twenty-something at heart. You feel like an adult, and you're optimistic about life.&lt;br&gt;You feel excited about what's to come... love, work, and new experiences.&lt;br&gt;&lt;br&gt;You're still figuring out your place in the world and how you want your life to shape up.&lt;br&gt;The world is full of possibilities, and you can't wait to explore many of them.&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div align="center"&gt;&lt;a href="http://www.blogthings.com/whatagequiz/" rel="nofollow"&gt;What Age Do You Act?&lt;/a&gt;&lt;/div&gt;

&lt;p&gt;Acting your age is no fun.  Well, near enough my age; 2 years out.&lt;/p&gt;

&lt;p&gt;Some of the questions I flit between two options, depending on what mood I'm in.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:377015</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/377015.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=377015"/>
    <title>I need a rest</title>
    <published>2009-03-10T06:35:11Z</published>
    <updated>2009-03-10T06:35:11Z</updated>
    <content type="html">&lt;p&gt;I really need a holiday.  My brain is fried and I just can't think any more; I'm not being melodramatic either, I genuinely just can't order my thoughts and think something through any more.  Things that should be simple, aren't.  Things that &lt;em&gt;were&lt;/em&gt; simple, aren't.&lt;/p&gt;

&lt;p&gt;I'm starting to think what I need to do is quit work and take a break, then try and find a new job.  Which I can't afford to do.&lt;/p&gt;

&lt;p&gt;The fact that I can't sleep properly doesn't help.  I go to bed and wake up continuously througout the night.  I'm just about feeling I could go to sleep properly when I have to get up.  Or rather if I don't get up, I will go to sleep properly and then I won't wake up in time to go to work.  Part of me has trouble caring about that.  I might start listening to it soon.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:374376</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/374376.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=374376"/>
    <title>Happy Birthday To...</title>
    <published>2009-01-04T09:05:01Z</published>
    <updated>2009-01-04T09:05:01Z</updated>
    <category term="birthday"/>
    <lj:music>Auto-Auto - Shadowlands</lj:music>
    <content type="html">&lt;p&gt;Happy birthday to &lt;span class='ljuser ljuser-name_random_c' lj:user='random_c' style='white-space:nowrap'&gt;&lt;a href='http://random-c.livejournal.com/profile'&gt;&lt;img src='http://l-stat.livejournal.com/img/userinfo.gif?v=92.1' alt='[info]' width='16' height='16' style='vertical-align: bottom; border: 0; padding-right: 1px;'/&gt;&lt;/a&gt;&lt;a href='http://random-c.livejournal.com/'&gt;&lt;b&gt;random_c&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;, who is now even older.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:374190</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/374190.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=374190"/>
    <title>Hmm</title>
    <published>2008-12-27T21:28:38Z</published>
    <updated>2008-12-27T21:28:38Z</updated>
    <lj:music>Mediaeval Baebes - Quan Vey La Lauzeta</lj:music>
    <content type="html">&lt;p&gt;My brother and sister (and come to think of it my co-workers) keep calling me a farmer because I wear a Barbour coat and tend to where checked shirts.  My mother has bought me a brown John Deere beanie hat.  This is not going to help things much.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:373249</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/373249.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=373249"/>
    <title>Star Trek Ship Meme</title>
    <published>2008-11-06T13:27:18Z</published>
    <updated>2008-11-06T13:27:18Z</updated>
    <category term="meme"/>
    <content type="html">&lt;a name="cutid1"&gt;&lt;/a&gt;
&lt;p&gt;&lt;em&gt;Your result for Which Star Trek Ship Should You Command? Test...&lt;/em&gt;&lt;/p&gt;&lt;h3&gt;Excelsior Class!&lt;/h3&gt;&lt;p&gt;10% Flight_Control,  20% Tactical,  30% Science and  70% Command!&lt;/p&gt;&lt;p style="text-align:center"&gt;&lt;img src="http://cdn.okcimg.com/php/load_okc_image.php/images/0x0/0x0/0/9992479414286278488.jpeg" width="760" height="570" /&gt;&lt;/p&gt;&lt;div&gt;Congratulations!  You have been assigned an Excelsior Class vessel!  The tried and true workhorse of Starfleet, the Excelsior has actually been retired on several occasions, only to be brought back a few years later.  Her classic lines and smooth melding of advanced sensors, command and control systems, and diplomatic amenities, makes the Excelsior a well-rounded ship indeed.&lt;/div&gt;&lt;p&gt;&lt;a href="http://www.helloquizzy.com/tests/which-star-trek-ship-should-you-command-test" rel="nofollow"&gt;Take Which Star Trek Ship Should You Command? Test&lt;/a&gt; at &lt;a href="http://www.helloquizzy.com/" rel="nofollow"&gt;&lt;b style="color:#131313"&gt;&lt;span style="color:#ac000c"&gt;H&lt;/span&gt;ello&lt;span style="color:#ac000c"&gt;Q&lt;/span&gt;uizzy&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;
&lt;a name='cutid1-end'&gt;&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:373051</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/373051.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=373051"/>
    <title>Star Wars: The Old Republic</title>
    <published>2008-11-01T13:40:17Z</published>
    <updated>2008-11-01T13:40:17Z</updated>
    <content type="html">&lt;p&gt;Gah.  I am going to kill Bioware!  The suspense of wanting to play Star Wars: The Old Republic is going to kill me!  Damnit, I want it now!&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:372835</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/372835.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=372835"/>
    <title>Gurkha Justice Campaign</title>
    <published>2008-10-25T15:21:36Z</published>
    <updated>2008-10-25T15:21:36Z</updated>
    <category term="gurkha justice campaign"/>
    <category term="petition"/>
    <category term="gurkhas"/>
    <content type="html">&lt;p&gt;Also, while I remember - if anyone here in the UK hasn't signed the &lt;a href="http://www.gurkhajustice.org.uk/" rel="nofollow"&gt;Gurkha Justice Campaign&lt;/a&gt; petition, please consider doing so.  The government's treatment of Gurkhas is frankly appalling and does us no credit.&lt;/p&gt;

&lt;lj-embed id="4" /&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:372505</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/372505.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=372505"/>
    <title>Hardware and ramblings</title>
    <published>2008-10-25T12:19:05Z</published>
    <updated>2008-10-25T12:19:05Z</updated>
    <category term="sun"/>
    <category term="hardware"/>
    <category term="e450"/>
    <category term=".net"/>
    <category term="archaeology"/>
    <category term="employment"/>
    <category term="microsoft"/>
    <content type="html">&lt;p&gt;Finally got round to taking the sides off my E450 to find out why some of the drives don't show up in the system.  I found that whilst it does have a full set of back planes - two eights and a four - and two adapters to drive the two eight port backplanes, one of the backplanes doesn't have cables between its adapter card.  So I've ordered one.&lt;/p&gt;

&lt;p&gt;All I have to do now is figure out why the E450 and A5200 can't or won't talk to each other.  Oh and figure out if it's possible to fix the damn thing so that it can boot from DVD; when I last installed it it couldn't manage to install Solaris 10 from DVD, which I seem to recall finding had something to do with it having issues from booting from DVD (the standard E450 configuration had a CD, this one has the optional DVD drive instead).&lt;/p&gt;

&lt;p&gt;Spent most of the morning doing all the washing up that was left in the kitchen - which has been piling during the week.&lt;/p&gt;

&lt;p&gt;Parents got back from wherever it is they went for a week last night.  Haven't seen them yet because they went to Cardiff at about 7am with my sister to look at the Uni or something.  I have no idea which one mind you - whichever one does Sound Engineering type stuff.&lt;/p&gt;

&lt;p&gt;Still trying to find work closer to home that won't drive me insane.  The continual flow of jobs showing up in Cambridge is not making me happy; it is possible half of them are the same job, I haven't bothered looking at them to find out.  The fact that most people want ASP.NET coders and not Windows Forms coders doesn't help.  I think I need to learn ASP.NET, Silverlight and probably WPF and WCF.  Silverlight and WPF both look very nice though.&lt;/p&gt;

&lt;p&gt;Microsoft are apparently recruiting in Dublin.  I would throw my CV at them but a) I have no chance of ever getting a job with Microsoft and b) it would mean moving to Dublin.  I'm not saying Dublin isn't a nice place to live, I've never been there so I couldn't comment, but one of the main reasons I'm trying to find a new job is because I want to be closer to home.&lt;/p&gt;

&lt;p&gt;Of course what I still really want to do is jack it all in and study archaeology, but there you go.  Pipe dreams.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:hikari_neko:372386</id>
    <link rel="alternate" type="text/html" href="http://hikari-neko.livejournal.com/372386.html"/>
    <link rel="self" type="text/xml" href="http://hikari-neko.livejournal.com/data/atom/?itemid=372386"/>
    <title>Whoo!</title>
    <published>2008-10-22T05:05:59Z</published>
    <updated>2008-10-22T05:05:59Z</updated>
    <category term="games"/>
    <category term="mmo"/>
    <category term="star wars"/>
    <category term="geek"/>
    <content type="html">&lt;p&gt;I have only one thing to say, "squeeeee": &lt;a href="http://www.gamasutra.com/php-bin/news_index.php?story=20757" rel="nofollow"&gt;LucasArts, EA BioWare Announce Star Wars: The Old Republic MMO&lt;/a&gt;.&lt;/p&gt;</content>
  </entry>
</feed>

