<?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>8-bit gangsta</title>
	<atom:link href="http://blog.corticis.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.corticis.com</link>
	<description>Pimpin' since 1983</description>
	<lastBuildDate>Wed, 02 Feb 2011 14:26:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>php_sockets == headache();</title>
		<link>http://blog.corticis.com/?p=233</link>
		<comments>http://blog.corticis.com/?p=233#comments</comments>
		<pubDate>Wed, 02 Feb 2011 14:26:02 +0000</pubDate>
		<dc:creator>Robin Mellberg</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Socket]]></category>

		<guid isPermaLink="false">http://blog.corticis.com/?p=233</guid>
		<description><![CDATA[So, I&#8217;ve been &#8221;working&#8221; with PHP the last few days to create a simple prototype for a web based user interface (for another prototype). Due to the way the system is constructed, the UI must talk to a second component (lets call it X) that does all the actual work with the application server (the [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve been &#8221;working&#8221; with PHP the last few days to create a simple prototype for a web based user interface (for another prototype). Due to the way the system is constructed, the UI must talk to a second component (lets call it X) that does all the actual work with the application server (the web server is on one machine and the application server on another). This is simple enough, or at least that&#8217;s what I thought. My plan was to have the UI make the very brief communication with X using local sockets.</p>
<p>I&#8217;m no stranger to socket programming, but PHP has taken me out on a not so enjoyable ride that lasted way to long. Problem was that after sending the initial HELLO to X, I was completely unable to read the response from X.The function in question is:</p>
<pre>socket_read($socket, $len, $mode)</pre>
<p>I checked and re-checked my code, I read through the most popular to the most obscure tutorials Google could provide and I read pretty much all the comments on PHP&#8217;s manual pages. All to no avail. I was about to finally give up and look for another way to do this (potentially setting me back a day or two) when I on a hunch added the much familiar \n to the initial HELLO sent to X.</p>
<pre>$buf = "some message" . "\n";
socket_write($socket, $buf, strlen($buf));</pre>
<p>I started the server/client with no real hope of things working. And just like that, things started to work&#8230;</p>
<p>I can&#8217;t help but feel that this thing was a really stupid &#8221;error&#8221;, nowhere could I find anyone saying that this problem could arise and that the solution was this easy. Anyways, if anyone actually reads this blog they&#8217;ll know <img src='http://blog.corticis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.corticis.com/?feed=rss2&amp;p=233</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Home</title>
		<link>http://blog.corticis.com/?p=226</link>
		<comments>http://blog.corticis.com/?p=226#comments</comments>
		<pubDate>Thu, 22 Oct 2009 16:12:45 +0000</pubDate>
		<dc:creator>Robin Mellberg</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Band of Brothers]]></category>
		<category><![CDATA[Bluray]]></category>
		<category><![CDATA[Norrköping]]></category>

		<guid isPermaLink="false">http://blog.corticis.com/?p=226</guid>
		<description><![CDATA[So, last weekend (16th to the 18th) me and Sofie went home to see my family in Norrköping. This also happened to be the first time that Sofie met my parents as well as my brother and sister and their respective families. We started travelling at 07:05 in the morning and reached Norrköping around 12:30 [...]]]></description>
			<content:encoded><![CDATA[<p>So, last weekend (16th to the 18th) me and Sofie went home to see my family in Norrköping. This also happened to be the first time that Sofie met my parents as well as my brother and sister and their respective families. We started travelling at 07:05 in the morning and reached Norrköping around 12:30 after travelling by car, airplane, bus and train in that order.</p>
<p>We spent two rather intense days in Norrköping hanging around with my family. We gave Sofie a quick guided tour of Norrköping full of interesting facts about the citys industrial heritage. I also got myself an iPhone, seeing as it was my birthday on the 17th and I really needed a new phone. Needless to say I love it, that also applies to Sofie who tries to use it as much as she can when I&#8217;m not looking <img src='http://blog.corticis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For my birthday I got two really nice gifts from Sofie, the first and probably the most special one was the <strong>Band of Brothers</strong> collection box on BluRay! I&#8217;ve talked a lot about this series and recommended it warmly, so now we can finally see it in all its full HD glory. On top of that I got an extra gift in the form of <strong>Flags of our fathers</strong> and<strong> Letters from Iwo Jima</strong>. All in all this was one of the best birthday gifts in all my life, I love you so much for it darling!</p>
<p>On sunday it was time to go home again, but we started early and managed to meet up with my sister Jennie and Maria, a dear friend of mine and finally Hanna, a friend of Sofie&#8217;s. We had a very pleasant day in Stockholm before leaving for Arlanda and finally Luleå. So in conclusion it was a wonderful weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.corticis.com/?feed=rss2&amp;p=226</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I can&#8217;t let you play that Robin&#8230;</title>
		<link>http://blog.corticis.com/?p=214</link>
		<comments>http://blog.corticis.com/?p=214#comments</comments>
		<pubDate>Thu, 22 Oct 2009 13:42:46 +0000</pubDate>
		<dc:creator>Robin Mellberg</dc:creator>
				<category><![CDATA[Video games]]></category>
		<category><![CDATA[Xbox 360]]></category>
		<category><![CDATA[Mass Effect]]></category>
		<category><![CDATA[RROD]]></category>

		<guid isPermaLink="false">http://blog.corticis.com/?p=214</guid>
		<description><![CDATA[I had some time to spare today and decided to spend it playing Mass Effect in my continuing effort to collect all achievements in the game (Yes, I suffer mildly from achievementwhoreiosis). I started the game and went straight for Pinnacle Station since I lack pretty much all of those achievements. I board the station [...]]]></description>
			<content:encoded><![CDATA[<p>I had some time to spare today and decided to spend it playing Mass Effect in my continuing effort to collect all achievements in the game (Yes, I suffer mildly from achievementwhoreiosis). I started the game and went straight for Pinnacle Station since I lack pretty much all of those achievements. I board the station and run up to start my first simulation, when my screen all of a sudden is filled with green artifacts.</p>
<p>I shrugged it off as something with the game but a thought kept nagging me since I&#8217;ve seen such things before and it&#8217;s usually a sign that the graphics chip is about to take a very long vacation. I saved and restarted the game, now it&#8217;s green everywhere and I knew I was in trouble. So I decided to restart my console only to get a flashing red light and an error 74 message on my TV.</p>
<p>After some investigation I found out that this is covered by the RROD extended guarantee and since I still have some warranty left I applied for repairs immediately. But I&#8217;m still going to be without my precious 360 for the coming three weeks.</p>
<p>It&#8217;s not so bad though, I&#8217;ve got a lot of things going on that I can use the extra time for. That coupled with the fact that I&#8217;m in the middle of the process of moving to a new apartment and thusly don&#8217;t have much time left for video games makes it something of a fortunate coincidence.</p>
<p>Oh, yes, I&#8217;m moving, from the 20th of november I will be living in a new apartment with my wonderful girlfriend Sofie. I&#8217;m really looking forward to this and I can&#8217;t wait to get to say &#8221;our home&#8221; instead of &#8221;mine&#8221; or &#8221;hers&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.corticis.com/?feed=rss2&amp;p=214</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New design&#8230; again</title>
		<link>http://blog.corticis.com/?p=205</link>
		<comments>http://blog.corticis.com/?p=205#comments</comments>
		<pubDate>Tue, 06 Oct 2009 14:59:49 +0000</pubDate>
		<dc:creator>Robin Mellberg</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[40k]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Warhammer]]></category>

		<guid isPermaLink="false">http://blog.corticis.com/?p=205</guid>
		<description><![CDATA[So, once again I&#8217;m changing the design of the blog, I realized that I wasn&#8217;t really happy with the old one. This one feels like it suits my needs though. A bit more dynamic and &#8221;colorful&#8221;. I might change some of the colours later on but that&#8217;s a project that is on the backlog for [...]]]></description>
			<content:encoded><![CDATA[<p>So, once again I&#8217;m changing the design of the blog, I realized that I wasn&#8217;t really happy with the old one. This one feels like it suits my needs though. A bit more dynamic and &#8221;colorful&#8221;. I might change some of the colours later on but that&#8217;s a project that is on the backlog for now.</p>
<p>And on a different note I&#8217;m going to be writing mostly in english from now on. The reason being that I want to be able to share building/painting progress on some forums I frequently visit. The other reason is the ability to share some of my ongoing projects in and with the wargaming community. These projects will be revealed in all their glory as soon as I can get some time to spare between school, work and all other activities I take part in.</p>
<p><em>Jag kommer att spara undan alla mina gamla inlägg i en arkivkategori, så de försvinner inte. Det jobbet kommer nog att göras inkrementellt så vi får väl se hur lång tid det tar.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.corticis.com/?feed=rss2&amp;p=205</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Necromunda</title>
		<link>http://blog.corticis.com/?p=199</link>
		<comments>http://blog.corticis.com/?p=199#comments</comments>
		<pubDate>Tue, 22 Sep 2009 14:05:19 +0000</pubDate>
		<dc:creator>Robin Mellberg</dc:creator>
				<category><![CDATA[Necromunda]]></category>
		<category><![CDATA[Wargames]]></category>
		<category><![CDATA[Painting]]></category>

		<guid isPermaLink="false">http://blog.corticis.com/?p=199</guid>
		<description><![CDATA[Inte riktigt lika långt mellan inläggen som förra gången, men nästan.
Hursomhelst, har som aldrig nämnt min andra stora hobby, figurspel, på bloggen så jag tycker väl att det är dags nu. Vi har en ganska stor spelgrupp vars största fokus ligger på Warhammer Fantasy men jag har tillsammans med Peter lyckats väcka ett intresse för [...]]]></description>
			<content:encoded><![CDATA[<p>Inte riktigt lika långt mellan inläggen som förra gången, men nästan.</p>
<p>Hursomhelst, har som aldrig nämnt min andra stora hobby, figurspel, på bloggen så jag tycker väl att det är dags nu. Vi har en ganska stor spelgrupp vars största fokus ligger på <strong>Warhammer Fantasy</strong> men jag har tillsammans med Peter lyckats väcka ett intresse för Specialist Games, främst då i form av <strong>Necromunda</strong>. Så nu håller jag och ytterligare tre personer och håller på och bygger våra gäng och vad det ser ut så kommer vi få in några personer till som spelar. Själv arbetar jag på mitt konverterade Orlockgäng som jag baserat på Catachanmodellerna.</p>
<p>Målade klart min leader häromdagen och just nu arbetar jag på min första Heavy (ska ha två) och en av mina gangers. Bilder och gang roster kommer upp inom en dag eller två.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.corticis.com/?feed=rss2&amp;p=199</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kort</title>
		<link>http://blog.corticis.com/?p=197</link>
		<comments>http://blog.corticis.com/?p=197#comments</comments>
		<pubDate>Sat, 05 Sep 2009 15:31:28 +0000</pubDate>
		<dc:creator>Robin Mellberg</dc:creator>
				<category><![CDATA[keepin' it real]]></category>
		<category><![CDATA[Bowling]]></category>

		<guid isPermaLink="false">http://blog.corticis.com/?p=197</guid>
		<description><![CDATA[Det blir ett kort inlägg, ska snart iväg och bowla tillsammans med Sofie. I vanlig ordning så glömmer jag bort det faktum att jag har en blogg så till den extrema grad att jag producerar ett inlägg i månaden i bästa fall. Men det som har hänr sen sist är väl i en kort sammanfattning [...]]]></description>
			<content:encoded><![CDATA[<p>Det blir ett kort inlägg, ska snart iväg och bowla tillsammans med Sofie. I vanlig ordning så glömmer jag bort det faktum att jag har en blogg så till den extrema grad att jag producerar ett inlägg i månaden i bästa fall. Men det som har hänr sen sist är väl i en kort sammanfattning bestående av:</p>
<ul>
<li>Semester.</li>
<li>Omtentor (Skrev en fyra på den ena och väntar fortfarande på resultatet från den andra).</li>
<li>Skolstart (Insåg att jag har dubbel kurs på min studieplan).</li>
<li>Spelat en del spel, försöker göra något åt min enorma hög med spel som ligger och väntar på att bli spelade.</li>
</ul>
<p>Utöver detta så har en hel del av min tid spenderats med min underbara Sofie.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.corticis.com/?feed=rss2&amp;p=197</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aldersjön</title>
		<link>http://blog.corticis.com/?p=195</link>
		<comments>http://blog.corticis.com/?p=195#comments</comments>
		<pubDate>Tue, 21 Jul 2009 09:00:55 +0000</pubDate>
		<dc:creator>Robin Mellberg</dc:creator>
				<category><![CDATA[keepin' it real]]></category>
		<category><![CDATA[Harry Potter]]></category>
		<category><![CDATA[relationer]]></category>

		<guid isPermaLink="false">http://blog.corticis.com/?p=195</guid>
		<description><![CDATA[Återigen så har jag &#8221;glömt&#8221; skriva på ett tag och det har ju hunnit hända en del sen sist. Semestern är snart slut för min del och även om det inte varit mycket till semester så har det varit skönt att inte behöva vara på kontoret. Men jag har ju en vecka till i augusti [...]]]></description>
			<content:encoded><![CDATA[<p>Återigen så har jag &#8221;glömt&#8221; skriva på ett tag och det har ju hunnit hända en del sen sist. Semestern är snart slut för min del och även om det inte varit mycket till semester så har det varit skönt att inte behöva vara på kontoret. Men jag har ju en vecka till i augusti så helt kört är det inte.</p>
<p>Jag och Sofie var på premiäen av Harry Potter och Halvblodsprinsen och jag måstre säga att filmen överraskade mig positivt. Med tanke på att femman var ett riktigt stolpskott så var jag rädd att även den här filmen skulle bli skit. Problemet är ju att vi båda har läst böckerna mer än en gång och att vi jämför filmernaväldigt kritiskt med dem. Kanske är det fel sätt att närma sig dem men vad ska man göra?</p>
<p>Vi har även hunnit äta middag och umgås med Sofies syster och hennes sambo. Blev en riktigt trevlig kväll med god mat och dryck. Vi kom hem och i säng klockan 05:30 och jag skulle upp klockan 10:00 så det kändes lite smått segt.</p>
<p>Igår så var vi vid Aldersjön, en mycket trevlig badstrand i Boden som jag brukade besöka när jag låg inne, blev såklart solbränd trots att jag vidtog åtgärder. Blev tack och lov inte så farligt och det känns inte idag.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.corticis.com/?feed=rss2&amp;p=195</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sommar och sol</title>
		<link>http://blog.corticis.com/?p=193</link>
		<comments>http://blog.corticis.com/?p=193#comments</comments>
		<pubDate>Thu, 02 Jul 2009 15:23:23 +0000</pubDate>
		<dc:creator>Robin Mellberg</dc:creator>
				<category><![CDATA[keepin' it real]]></category>
		<category><![CDATA[Sofie]]></category>

		<guid isPermaLink="false">http://blog.corticis.com/?p=193</guid>
		<description><![CDATA[Som vanligt så glömmer jag bort att skriva i min blogg. Men å andra sidan så kan man väl fråga sig för vilket syfte det skulle vara. Andelen läsare är väl i det närmaste obefintligt vid det här laget (om det ens var några att tala om från början). Sitter framför datorn med en förbannat [...]]]></description>
			<content:encoded><![CDATA[<p>Som vanligt så glömmer jag bort att skriva i min blogg. Men å andra sidan så kan man väl fråga sig för vilket syfte det skulle vara. Andelen läsare är väl i det närmaste obefintligt vid det här laget (om det ens var några att tala om från början). Sitter framför datorn med en förbannat sällskapssjuk katt i knät, han har inte gjort mycket annat än att jama och klösa på soffan (han gör så när han vill ha uppmärksamhet, aldrig annars) sen jag kom innanför dörren. Katten i fråga är en s.k. Urban, eller Cornish Rex för dem som inte ingår i min familj så han är inte allt för klyftig. Och innan ni nu tror något annat, jag har <strong>inte</strong> skaffat katt, utan det är Sofies katt som stryker runt, och jo, jag är hemma hos Sofie. Vilket för övrigt är ytterligare en punkt som jag totalt utelämnat. Jag skriver så sällan på bloggen och de gånger jag faktiskt har skrivit så har det handlat om något helt annat.</p>
<p>Men för er som nu är nyfikna så är brunetten på min högra sida Sofie</p>
<p><a href="http://blog.corticis.com/wp-content/uploads/2009/07/bild_jag_sofie.jpg"><img class="size-medium wp-image-192 alignnone" title="bild_jag_sofie" src="http://blog.corticis.com/wp-content/uploads/2009/07/bild_jag_sofie-300x225.jpg" alt="bild_jag_sofie" width="300" height="225" /></a></p>
<p>Och för er som nu inte vet/fattat det så är Sofie min flickvän. Hon är född 1988 och pluggar för närvarande till sjuksköterska här i Luleå, och hon är alldeles alldeles underbar <img src='http://blog.corticis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Bilden i fråga är tagen på vägen till en fest av något slag. Tror det var STUK men jag minns inte så bra.</p>
<p>Och som en sista notis, det är på tok för varmt här uppe och solen skiner alldeles för mycket&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.corticis.com/?feed=rss2&amp;p=193</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>En sorgens dag&#8230;</title>
		<link>http://blog.corticis.com/?p=190</link>
		<comments>http://blog.corticis.com/?p=190#comments</comments>
		<pubDate>Fri, 05 Jun 2009 08:37:18 +0000</pubDate>
		<dc:creator>Robin Mellberg</dc:creator>
				<category><![CDATA[keepin' it real]]></category>
		<category><![CDATA[Eddings]]></category>
		<category><![CDATA[Fantasy]]></category>

		<guid isPermaLink="false">http://blog.corticis.com/?p=190</guid>
		<description><![CDATA[Läste just att författaren David Eddings har avlidit, 77 år gammal. Han skrev bland annat Sagan om Belgarion och Sagan om Mallorea och han var en av de författare som drog ett hästlass i processen att popularisera fantasylitteraturen.
Det var just David Eddings som var min inkörsport till fantasy och tyngre litteratur och det tar emot [...]]]></description>
			<content:encoded><![CDATA[<p>Läste just att författaren David Eddings har avlidit, 77 år gammal. Han skrev bland annat Sagan om Belgarion och Sagan om Mallorea och han var en av de författare som drog ett hästlass i processen att popularisera fantasylitteraturen.</p>
<p>Det var just David Eddings som var min inkörsport till fantasy och tyngre litteratur och det tar emot att han gått bort.</p>
<p>Vila i frid.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.corticis.com/?feed=rss2&amp;p=190</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nintendo @ E3</title>
		<link>http://blog.corticis.com/?p=186</link>
		<comments>http://blog.corticis.com/?p=186#comments</comments>
		<pubDate>Tue, 02 Jun 2009 17:11:56 +0000</pubDate>
		<dc:creator>Robin Mellberg</dc:creator>
				<category><![CDATA[keepin' it real]]></category>
		<category><![CDATA[Dead Space]]></category>
		<category><![CDATA[E3]]></category>
		<category><![CDATA[Golden Sun]]></category>
		<category><![CDATA[Mario]]></category>
		<category><![CDATA[Metroid]]></category>
		<category><![CDATA[NDS]]></category>
		<category><![CDATA[Nintendo]]></category>
		<category><![CDATA[Resident Evil]]></category>
		<category><![CDATA[The Conduit]]></category>
		<category><![CDATA[Zelda]]></category>

		<guid isPermaLink="false">http://blog.corticis.com/?p=186</guid>
		<description><![CDATA[Jadu, vad ska man säga, bortsett från den smått fantastiska utannonseringen av ett nytt Golden Sun samt det redan kända Zelda: Spirit Tracks så bestod Nintendos presskonferens mest av ett enormt clusterfuck av uppföljare. För att inte tala om att Nintendo med all önskvärd tydlighet klargör att det är Casual gamers som gäller numera&#8230;
Wii Vitality [...]]]></description>
			<content:encoded><![CDATA[<p>Jadu, vad ska man säga, bortsett från den smått fantastiska utannonseringen av ett nytt Golden Sun samt det redan kända Zelda: Spirit Tracks så bestod Nintendos presskonferens mest av ett enormt clusterfuck av uppföljare. För att inte tala om att Nintendo med all önskvärd tydlighet klargör att det är Casual gamers som gäller numera&#8230;</p>
<p>Wii Vitality Sensor känns som ett ordentligt jävla stolpskott&#8230; Vem fan vill sitta med den där klumpen på fingret när man spelar, omöjliggör ju användandet av den handen&#8230;</p>
<p>Jaja, spelen kommer att bli bra, Nintendo har inte för vana att göra dåliga spel. Men det börjar bli rätt tråkigt att ständigt se dessa nya casual-spel. Hoppet står i korthet till tredjepartsutvecklare. <strong>The Conduit</strong>, <strong>Resident Evil: The Darkside Chronicles</strong> och <strong>Dead Space: Extraction</strong> visades upp i slutet, dvs. inte en enda nyhet på den fronten. Men det är åtminstone spel som man kan se fram emot.</p>
<p>Fuck shit piss!</p>
<p>Men se på fan&#8230; det verkar som en fin liten överraskning är påväg, ett helt nytt spel för dem av oss som vill ha något som är lite hårdare&#8230; Okej, det var inte &#8221;nytt&#8221;, men det var ett nytt <strong>METROID!</strong></p>
<p>FUCK YEAH!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.corticis.com/?feed=rss2&amp;p=186</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
