<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Erik's technical blog</title>
		<link>http://www.wien-systems.no/blog/</link>
		<atom:link href="http://www.wien-systems.no/blog/" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Moar memory. Moar!</title>
			<link>http://www.wien-systems.no/moar-memory-moar/</link>
			<description>&lt;p&gt;Just installed the second beta of Visual Studio 2010 and got my 3D framework up and running in it. Overall it feels like a good upgrade from 2008. Intellisense for C++ actually works for a change. C++0x is partially there. Red squiggly underlines highlight just how bad a typist you are. It's all jolly lovely, except one thing - the memory usage. Oh, the memory usage.&lt;/p&gt;
&lt;p&gt;Due to hardware troubles I'm currently stuck on a laptop with 2GB of memory and while not exactly excessive these days, 2GB should certainly be enough for most desktop uses. Especially for something that is essentially a glorified text-editor.&lt;/p&gt;
&lt;p&gt;Yeah, from a standstill to just opening my framework solution VS2010 gobbles up over 400MB of memory. During compilation that increases to well over 700MB. Add to that the gig or so that Windows (7 in this case) already uses just sitting there, and you're dangerously close to swapping to disk on my 2GB machine. Start a Firefox session, Photoshop or, god forbid, run a Virtual Machine, and you're there:&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.wien-systems.no/assets/Uploads/Blog/swapit.png&quot; width=&quot;412&quot; height=&quot;459&quot; alt=&quot;&quot; title=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;It really is &lt;a href=&quot;http://icanhascheezburger.com/2009/10/28/funny-pictures-loooooooooad/&quot;&gt;excruciatingly slow&lt;/a&gt; if you have anything else running on the computer (like, you know, the application you're developing). Swapping is unavoidable. The slow disk in my laptop obviously doesn't help when that happens, but when VS2008 can do the same job using 120MB and 300MB respectively, I'm left scratching my head as to what is going on over in Redmond.&lt;/p&gt;
&lt;p&gt;It's like they're not even trying.&lt;/p&gt;</description>
			<pubDate>Mon, 26 Oct 2009 20:20:00 +0100</pubDate>
			
			
			<guid>http://www.wien-systems.no/moar-memory-moar/</guid>
		</item>
		
		<item>
			<title>Back on the Intertubes</title>
			<link>http://www.wien-systems.no/back-on-the-intertubes/</link>
			<description>&lt;p&gt;So I've finally decided to set up a proper site here with a portfolio, my CV and a blog. I'm not yet sure what I'll be blogging about but I'll probably try to keep it more technical and less personal/political. Mind numbingly boring, if you will.&lt;/p&gt;
&lt;p&gt;Speaking of mind numbingly boring...  Working on this site has really reaffirmed my love for &lt;a href=&quot;http://www.silverstripe.org/&quot;&gt;Silverstripe&lt;/a&gt; (on which it is based). It went from Photoshop mockup to fully fledged and (mostly) working site in a day and a half of relatively relaxed work. HTML, CSS, template, some custom Silverstripe widgetry, the lot. Even the code for applying and caching (server-side) the frames around the portfolio images only took a few hours to do.&lt;/p&gt;
&lt;p&gt;Now true, Silverstripe has a lot of twisty, impenetrable, supposedly OO code, and trying to step through it to find out how on earth you ended up in &lt;em&gt;that&lt;/em&gt; function can make grown programmers weep. The end result, though, is so deliciously customisable I just don't care. And when I don't care about stylistic issues, you know something good is happening.&lt;/p&gt;
&lt;p&gt;Need to customise some HTML? Override a template Include. Need to make a custom page type? Inherit &quot;Page&quot; and write a few lines of boilerplate for the database fields you're adding. Need to add an arbitrary amount of images to a page? Scour the net for hours looking for info on why on earth the DataObjectManager is randomly failing when generating icons for objects containing two separate Image fields... Okay, so it's not perfect. But the thing is, whatever you need to do, there is a way. And you usually don't need many lines of code to achieve it.&lt;/p&gt;
&lt;p&gt;I very much approve.&lt;/p&gt;</description>
			<pubDate>Fri, 09 Oct 2009 02:16:00 +0200</pubDate>
			
			
			<guid>http://www.wien-systems.no/back-on-the-intertubes/</guid>
		</item>
		

	</channel>
</rss>