<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Head.SmackOnTable(); &#187; Moments</title>
	<atom:link href="http://www.unauthorised-access.com/category/moments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unauthorised-access.com</link>
	<description>Contains Nuts.</description>
	<lastBuildDate>Fri, 02 Jul 2010 17:46:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Just another member of the public&#8230;</title>
		<link>http://www.unauthorised-access.com/2008/12/just-another-member-of-the-public/</link>
		<comments>http://www.unauthorised-access.com/2008/12/just-another-member-of-the-public/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 15:53:22 +0000</pubDate>
		<dc:creator>Monty</dc:creator>
				<category><![CDATA[Moments]]></category>

		<guid isPermaLink="false">http://www.unauthorised-access.com/?p=64</guid>
		<description><![CDATA[Last night, on the way home from Airsofting (and dropping friends off at the train station), I came across quite a bit of traffic &#8211; loads of traffic infact, so I waited and waited, and finally got to see what was causing all the traffic &#8211; there was a guy, laying on the road (on [...]]]></description>
			<content:encoded><![CDATA[<p>Last night, on the way home from Airsofting (and dropping friends off at the train station), I came across quite a bit of traffic &#8211; loads of traffic infact, so I waited and waited, and finally got to see what was causing all the traffic &#8211; there was a guy, laying on the road (on a pedestrian crossing), with blood running down his face. I thought he&#8217;d been run over, thats what it seemed like. There was also about 20-30 people just gawping at him, just staring and doing nothing and being totally useless.</p>
<p>As I drove by the guy, my consciousness kicked in and I thought I couldnt leave this guy &#8211; I parked up as soon as I could, and basically ran to the scene of what happened. There were 3-4 dominoes pizza drivers, so I thought they might have known this person, but im not too sure now. I asked around, asking if anyone has called the ambulance, I didnt get a reply. I asked if somoene had called the police, someone said &#8220;Yeah, yeah we have&#8221;. I quickly pulled out my phone, dialled 999 and spoke to the ambulance operator, who told me that they have been notified by the police, and if the man&#8217;s situation deteriorates, call them back. After this point, I decided to kneel down and have a chat with the person, and see if he is actually alive.</p>
<p>When I knelt down, I could smell ETOH (alcyhol) on him, and I thought &#8220;Oh, hrm, probably a drunk&#8221;, but I still stayed there. I noticed he was wearing fairly decent clothing, he was just drunk &#8211; it was a Sunday night around 9:30, just guessed he was out for a few pints. His face was scratched up (He was laying down on his left hand side, I saw blood on the RHS of his face). He also had scratched up hands. I looked up and down him, and saw some scuff marks on his boots.</p>
<p>He seemed to be conscious, his eyes were open and blinking, he was breathing fine, I put my (gloved) hand on his arm and told him that everythings going to be fine, that an ambulance is on its way, and everythings going to be ok. I put my knee right upto his back and kept a hand underneath his head, because I thought there was a risk to his spine. While I was doing that,  I asked around to see if anyone knew what happened, and a young chap, around 25, clean shaven, fair hair, grey jacket, about 5ft8 said that the guy had tried to cross when &#8220;the light was red &#8211; green for cars&#8221; and just got hit by a car. I knew that holding the guy&#8217;s head up would be a good idea, man vs car there is going to be some problems for the spine.</p>
<p>After a few mins, the patient said to me &#8220;Im ok&#8221;, I told him something along the lines of &#8220;Ok, dont worry, the ambulance will be here soon&#8221;. After a minute or two, he said the same thing, and tried to get up &#8211; I held his head down, and told him not to move, that the ambulance will be here very soon and they will check him out. He muttered something about &#8220;that f***ing c**t didnt stop for me&#8221;.</p>
<p>A few minutes later, someone said &#8220;The ambulance is on its way&#8221; &#8211; he was standing up, I was kneeling on the floor, but after about 30 seconds it became clear &#8211; there were blue flashing lights heading this way. I told the patient (who once again said he was ok that the amublance is here now and they will look after him and not to worry), but it wasnt an ambulance, it was a police car (A new police car with LED flashy lights, instead of the old swirly lights).</p>
<p>One of the policeman got out of the car and headed straight towards me, and started asking me a question &#8211; I cut him off, and asked him &#8220;Do you have anything to cover him up with? He is cold&#8221;, he said &#8220;Yeah sure&#8221; and wondered back off to his car &#8211; he came back empty handed, so I told him to take off his coat which he did and covered the guy. After that, he told the crowd of gawpers to back off and there was nothing to look at here, and they should go. The other police officer closed off the road and started redirecting traffic &#8211; phew, because I was getting worried that I might get run over. The police officer who I ordered to take off his jacket was on the blower, saying (to his Sarge) that there was a male adult on the road whos been hit by a car and they were closing the road off&#8230;</p>
<p>A few minutes after that, a big yellow taxi (also known as an ambulance) turned up, and out jumped 2 paramedics (I heard the female one say &#8220;Wow, someone who knows what they are doing&#8221; when they got out of the ambu), who told even more people to shoo away, and worked around me. They left me there to hold his head up, trusting me to do a good job. The male started asking the patient questions such as what is your name (Mark), what happened, have you had anything to drink (the patient got defensive, then the paramedic said something along the lines of we dont care, we just need to know for our purposes, then the guy admitted to 3 pints), then asked if he had any heart trouble or diabetes. The paramedic then called over to the guy who hit the patient with his car, and asked him what speed he was doing, he said something like &#8220;25 or 30&#8243;, the paramedic then asked &#8220;Did the guy hit the windscreen, did his head &#8221; then mimed bouncing off, the driver replied with &#8220;Yeah yeah he did&#8221;. The paramedic then asked the patient if he lost consciousness, he said &#8220;Yes&#8221;.</p>
<p>The female paramedic came back with 2 kitbags, and started unfolding a cervical collar, and started by trying to take off the patient&#8217;s coat, but wasnt managing it. She told the patient that they were going to cut it off, and he got agitated and tried to get up &#8211; me and the male paramedic held his neck down and told him to be calm and that it would be ok &#8211; the female paramedic tried to take off his jacket again, and with some fluffing around we managed to do it. I moved my knee, held his back with one arm, pulled his jacket off, then put my knee back where it was &#8211; it was aligning his whole body with his neck, as he was laying on his side.</p>
<p>She also started unfolding a metal board scoop thingy (A scoop stretcher), and adjusted it to his height &#8211; when we were going to roll the guy over onto the board, she asked me to get a police officer to help &#8211; one of the police officers was directing traffic, one was questioning the person whod run the poor guy over, and one was half in his police car, talking to his sarge over the radio &#8211; I pointed at him, and did the &#8220;come here now&#8221; sign, and he rushed over, telling his Sarge on the radio &#8220;Ill get back to you Sarge, im assisting the LAS&#8221;.</p>
<p>We manoevered him onto the board, and rolled him back onto the ground &#8211; then the female paramedic started screaming about her leg so I helped lift up the board a bit so she could get her foot out. The male paramedic set about trying to strap the patients head down to the boards that keep the head steady, when the female paramedic said &#8220;We need you down that end&#8221;. As I got to the other end of the patient, he tried to get up &#8211; when the paramedics shouted at him to keep still and dont try to get up. They managed to strap him down and told him to stop moving and stop trying to get up. Me, and the female paramedic were at his feet, the male paramedic and the police officer at his head, lifted the patient onto the board. WOW, he was alot heavier than I thought, even with 4 of us carrying him.</p>
<p>The paramedics loaded him up onto the big white taxi, and that was it for me. They thanked me for my help, and the male paramedic asked why I was helping, and if I ran him over &#8211; I explained to him that I was passing by and I thought id help out with my first aid skills.</p>
<p>After the whole incident, I followed the police officer (Who I ordered to take his jacket off) to go look at the car that did the &#8220;running over&#8221; &#8211; 55 reg BMW, had a nice spider web pattern on the windscreen, on the drivers side, presumably where the guy&#8217;s head hit the windscreen. I waited for the police officer to complete his enquiries on the radio, then I explained to him what I heard some of the witnesses saying &#8211; I asked him if that would have been any help, he said it was very helpful, because no one came forward and told the police that they saw what happened. He took my name and address and mobile phone number down and said I was very helpful today, and thanked me, then shook my hand.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unauthorised-access.com/2008/12/just-another-member-of-the-public/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Keyboard Autopsy</title>
		<link>http://www.unauthorised-access.com/2008/05/keyboard-autopsy/</link>
		<comments>http://www.unauthorised-access.com/2008/05/keyboard-autopsy/#comments</comments>
		<pubDate>Thu, 01 May 2008 00:28:29 +0000</pubDate>
		<dc:creator>Monty</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Moments]]></category>

		<guid isPermaLink="false">http://www.unauthorised-access.com/?p=27</guid>
		<description><![CDATA[A couple of weeks ago, I was a retard, and made my keyboard drink some pepsi. Realising I was a moron, I ran it under a tap (after unplugging it), but it still was rather funky to type (the R key would do tab, then r&#8230;and tab would do 5 tabs in a row before [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago, I was a retard, and made my keyboard drink some pepsi. Realising I was a moron, I ran it under a tap (after unplugging it), but it still was rather funky to type (the R key would do tab, then r&#8230;and tab would do 5 tabs in a row before simulating someone pressing the caps lock).</p>
<p>So I decided to decimate it and see what was up.</p>
<p>Heres whats inside a top of the range Microsoft Natural Keyboard:</p>

<a href='http://www.unauthorised-access.com/2008/05/keyboard-autopsy/dsc_0577/' title='Taking the covers off.'><img width="150" height="150" src="http://www.unauthorised-access.com/wp-content/uploads/2008/05/dsc_0577-150x150.jpg" class="attachment-thumbnail" alt="Taking the covers off." title="Taking the covers off." /></a>
<a href='http://www.unauthorised-access.com/2008/05/keyboard-autopsy/dsc_0578/' title='Pressy sensitive doodad thats...sensitive'><img width="150" height="150" src="http://www.unauthorised-access.com/wp-content/uploads/2008/05/dsc_0578-150x150.jpg" class="attachment-thumbnail" alt="Pressy sensitive doodad thats...sensitive" title="Pressy sensitive doodad thats...sensitive" /></a>
<a href='http://www.unauthorised-access.com/2008/05/keyboard-autopsy/dsc_0582/' title='Key &quot;block&quot; taken out...'><img width="150" height="150" src="http://www.unauthorised-access.com/wp-content/uploads/2008/05/dsc_0582-150x150.jpg" class="attachment-thumbnail" alt="Key &quot;block&quot; taken out..." title="Key &quot;block&quot; taken out..." /></a>
<a href='http://www.unauthorised-access.com/2008/05/keyboard-autopsy/dsc_0591/' title='Keyboard Status Lights'><img width="150" height="150" src="http://www.unauthorised-access.com/wp-content/uploads/2008/05/dsc_0591-150x150.jpg" class="attachment-thumbnail" alt="Keyboard Status Lights" title="Keyboard Status Lights" /></a>

<p>After cleaning it out with compressed air and making sure the membrane thingy (With all the dots and the lines thing) wasnt stuck to the keyboard base (As it was with the R and tab keys), I put it back together.</p>
<p>After an hour of looking where I missed a screw out, I managed to put it back together, and its working perfectly!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unauthorised-access.com/2008/05/keyboard-autopsy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You have accessed an ActiveRecord class that wasn&#8217;t properly initialized. The only explanation is that the call to ActiveRecordStarter.Initialize() didn&#8217;t include System.Int32 class</title>
		<link>http://www.unauthorised-access.com/2007/10/you-have-accessed-an-activerecord-class-that-wasnt-properly-initialized-the-only-explanation-is-that-the-call-to-activerecordstarterinitialize-didnt-include-systemint32-class/</link>
		<comments>http://www.unauthorised-access.com/2007/10/you-have-accessed-an-activerecord-class-that-wasnt-properly-initialized-the-only-explanation-is-that-the-call-to-activerecordstarterinitialize-didnt-include-systemint32-class/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 10:55:21 +0000</pubDate>
		<dc:creator>Monty</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Moments]]></category>

		<guid isPermaLink="false">http://blog.muntedharalhakim.net/archive/2007/10/18/you-have-accessed-an-activerecord-class-t.hat-wasnt-properly-initialized.aspx</guid>
		<description><![CDATA[Actually, that isnt the only explanation. It is a Red Herring. It will distract you from the actual problem, and that is your are using Castle.ActiveRecord.Queries.SimpleQuery&#60;int&#62; INSTEAD of Castle.ActiveRecord.Queries.ScalarQuery&#60;int&#62;, since you are probably just trying to pull just an integer like what im doing: string hql = &#34;SELECT max(map.HighestNewRating) FROM XXX map WHERE map.Id = [...]]]></description>
			<content:encoded><![CDATA[<p>Actually, that <span style="font-weight: bold">isnt the only explanation</span>. It is a <a href="http://en.wikipedia.org/wiki/Red_herring">Red Herring</a>. It will distract you from the actual problem, and that is your are using Castle.ActiveRecord.Queries.SimpleQuery&lt;int&gt; INSTEAD of Castle.ActiveRecord.Queries.ScalarQuery&lt;int&gt;, since you are probably just trying to pull just an integer like what im doing:</p>
<blockquote><div style="font-size: 10pt; font-family: monospace; background-color: white"><span style="color: blue">string</span><span style="color: black"> hql = </span><span style="color: rgb(163,21,21)">&quot;SELECT max(map.HighestNewRating) FROM XXX map WHERE map.Id = ?&quot;</span><span style="color: black">;</span> </div>
</blockquote>
<p>Im guessing that you can only use SimpleQuery to return values that have been initialised, and you cant return anything else, whereas the ScalarQuery can be used for Ints and strings and stuffs like that &#8211; in my opinion that is just overcomplicating things, why not just have one query structure, instead of two? Both implement from Castle.ActiveRecord.Queries.HqlBasedQuery but then just add their own flavour of blah&#8217;ness ontop to make things extra complicated.</p>
<p>&#160;</p>
<blockquote><div style="font-size: 10pt; font-family: monospace; background-color: white"><span style="color: blue">string</span><span style="color: black"> hql = </span><span style="color: rgb(163,21,21)">&quot;SELECT max(map.HighestNewRating) FROM ModelClassTypeMap map WHERE map.Id = ?&quot;</span><span style="color: black">; </span>
<p style="font-size: 10pt; font-family: monospace; background-color: white"></p>
<p>     <span style="color: rgb(43,145,175)">SimpleQuery</span><span style="color: black">&lt;</span><span style="color: blue">int</span><span style="color: black">&gt; query = </span><span style="color: blue">new</span><span style="color: black"> </span><span style="color: rgb(43,145,175)">SimpleQuery</span><span style="color: black">&lt;</span><span style="color: blue">int</span><span style="color: black">&gt;(hql, id);</span>
<p style="font-size: 10pt; font-family: monospace; background-color: white"></p>
<p>     <span style="color: blue">int</span><span style="color: black">[] response = query.Execute();</span> </div>
</blockquote>
<p>Will give you an error, whereas this wont:</p>
<p>&#160;</p>
<blockquote><div style="font-size: 10pt; font-family: monospace; background-color: white"><span style="color: blue">string</span><span style="color: black"> hql = </span><span style="color: rgb(163,21,21)">&quot;SELECT max(map.HighestNewRating) FROM ModelClassTypeMap map WHERE map.Id = ?&quot;</span><span style="color: black">; </span>
<p style="font-size: 10pt; font-family: monospace; background-color: white"></p>
<p>     <span style="color: rgb(43,145,175)">ScalarQuery</span><span style="color: black">&lt;</span><span style="color: blue">int</span><span style="color: black">&gt; query = </span><span style="color: blue">new</span><span style="color: black"> </span><span style="color: rgb(43,145,175)">ScalarQuery</span><span style="color: black">&lt;</span><span style="color: blue">int</span><span style="color: black">&gt;(</span><span style="color: blue">typeof</span><span style="color: black">(</span><span style="color: rgb(43,145,175)">ModelClassTypeMap</span><span style="color: black">), hql, id);</span>
<p style="font-size: 10pt; font-family: monospace; background-color: white"></p>
<p>     <span style="color: blue">int</span><span style="color: black"> response = query.Execute();</span>
<p style="font-size: 10pt; font-family: monospace; background-color: white"></p>
<p>     <span style="color: blue">return</span><span style="color: black"> response;</span> </div>
</blockquote>
<p>Also, why do you have to declare the type when doing a ScalarQuery ? Whats that all about?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unauthorised-access.com/2007/10/you-have-accessed-an-activerecord-class-that-wasnt-properly-initialized-the-only-explanation-is-that-the-call-to-activerecordstarterinitialize-didnt-include-systemint32-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I saw the strangest thing on the tube today</title>
		<link>http://www.unauthorised-access.com/2007/09/i-saw-the-strangest-thing-on-the-tube-today/</link>
		<comments>http://www.unauthorised-access.com/2007/09/i-saw-the-strangest-thing-on-the-tube-today/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 08:53:21 +0000</pubDate>
		<dc:creator>Monty</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Moments]]></category>

		<guid isPermaLink="false">http://blog.muntedharalhakim.net/archive/2007/09/11/i-saw-the-strangest-thing-on-the-tube-today.aspx</guid>
		<description><![CDATA[I saw an old man (over 70), Asian looking (turns out hes from Bangladesh), in the full Ihram kit &#8211; he was going to Umrah (minor pilgrimage, its not required like the Hajj, but you can go whenever you want to do it, as opposed to just going when its Hajj. I felt a bit [...]]]></description>
			<content:encoded><![CDATA[<p>I saw an old man (over 70), Asian looking (turns out hes from Bangladesh), in the full <a target="_blank" href="http://en.wikipedia.org/wiki/Ihram">Ihram</a> kit &#8211; he was going to Umrah (minor pilgrimage, its not required like the Hajj, but you can go whenever you want to do it, as opposed to just going when its Hajj.</p>
<p>I felt a bit sorry for the guy, as he didn&#8217;t realise that you don&#8217;t have to wear it immediately after leaving the house, but when you reach the <a target="_blank" href="http://en.wikipedia.org/wiki/Miqat">Miqat</a> &#8211; the pilgrimage boundary which is a about 200km around Makkah.</p>
<p>A small note &#8211; <a target="_blank" href="http://www.islamonline.net/servlet/Satellite?cid=1124781357911&amp;pagename=IslamOnline-English-Hajj_Umra%2FHajjE%2FHajjE">some Sunni&#8217;s say that you should perfume your body</a> when you enter the state of Ihram &#8211; they are wrong, as perfume is one of the 25 &#8220;banned&#8221; things.</p>
<p>*Edit &#8211; I stand correcte d &#8211; it turns out, that if the flight goes over the boundaries of the mosque (a few hundred km in each direction), you still have to be wearing the full Ihram kit, so thats a possible reason to be wearing it on the plane. My dad had to do the same a few years ago, when he flew from Kuwait.
</p>
<div style="margin: 0px; padding: 0px; display: inline;" contenteditable="false" id="0767317B-992E-4b12-91E0-4F059A8CECA8:f747b730-fc7f-4079-ae2d-04e86124d954" class="wlWriterSmartContent">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/Hajj">Hajj</a>, <a rel="tag" href="http://technorati.com/tags/Umrah">Umrah</a>, <a rel="tag" href="http://technorati.com/tags/Ihram">Ihram</a></div>
<p><img src="http://blog.muntedharalhakim.net/aggbug/60.aspx" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.unauthorised-access.com/2007/09/i-saw-the-strangest-thing-on-the-tube-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
