<?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>Software Sweden</title>
	<atom:link href="http://www.softwaresweden.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.softwaresweden.com</link>
	<description>It&#039;s not just code - Programming is about managing complexities</description>
	<lastBuildDate>Wed, 02 Jun 2010 13:21:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Gotcha with jsTree</title>
		<link>http://www.softwaresweden.com/2010/06/02/gotcha-with-jstree/</link>
		<comments>http://www.softwaresweden.com/2010/06/02/gotcha-with-jstree/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 13:21:29 +0000</pubDate>
		<dc:creator>Erik Starck</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.softwaresweden.com/?p=98</guid>
		<description><![CDATA[If you get the javascript error: &#8220;$.vakata.context.cnt.delegate is not a function&#8221; when using jsTree and jQuery you need to upgrade your jQuery to the latest version. I had 1.3.2 and got the error, upgraded to 1.4.2 and it works fine.]]></description>
			<content:encoded><![CDATA[<p>If you get the javascript error: </p>
<blockquote><p>&#8220;$.vakata.context.cnt.delegate is not a function&#8221;</p></blockquote>
<p>when using <a href="http://code.google.com/p/jstree/">jsTree</a> and jQuery you need to upgrade your jQuery to the latest version. I had 1.3.2 and got the error, upgraded to 1.4.2 and it works fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.softwaresweden.com/2010/06/02/gotcha-with-jstree/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Picking a programming language based on personality</title>
		<link>http://www.softwaresweden.com/2010/04/28/picking-a-programming-language-based-on-personality/</link>
		<comments>http://www.softwaresweden.com/2010/04/28/picking-a-programming-language-based-on-personality/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 08:39:29 +0000</pubDate>
		<dc:creator>Erik Starck</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.softwaresweden.com/?p=94</guid>
		<description><![CDATA[There are many ways to pick what programming language to use in a project or which one to learn and dedicate ones career to. Most programmers are naturally techie people who loves to argue for hours about the merits of certain syntax of a particular language or programming style. But I think that&#8217;s the wrong [...]]]></description>
			<content:encoded><![CDATA[<p>There are many ways to pick what programming language to use in a project or which one to learn and dedicate ones career to. Most programmers are naturally techie people who loves to argue for hours about the merits of certain syntax of a particular language or programming style. </p>
<p>But I think that&#8217;s the wrong way of approaching the question. Instead you should ask the more fundamental question: <em>where do I want to work for the rest of my life?</em></p>
<p>They don&#8217;t tell you this in school, but there&#8217;s a certain <em>organizational personality</em> connected to each language. For example:</p>
<ul>
<li><strong>C++.</strong> Very techie, if you want to work in the engineering department in a large industrial company, pick C++. Also the language of choice for most games.</li>
<li><strong>Java EE.</strong> Software architects love Java EE. It is used mostly in the financial world, banks, insurance companies, large web sites usually use Java. If you enjoy writing PTS reports and working in a cubicle, pick Java. Expect to spend a lot of time going through huge log files with debug exception print-outs.</li>
<li><strong>C.</strong> Also very techie and close to hardware. There are usually wires and expensive prototype equipment involved when you program C. Expect to spend a lot of time chasing memory leaks or optimizing code to fit in to a finger nail.</li>
<li><strong>PHP.</strong> Rapid development of web sites, pretty common amongst web hackers, startups and PR agencyes building WordPress sites for customers who wants to &#8220;get in to social media&#8221;. Usually a fun and relaxing atmosphere &#8211; or total chaos depending on your point of view. Many PHP programmers are self-taught &#8211; and that shows.</li>
<li><strong>Ruby.</strong> This is the smarter sibling of PHP. Common in startup environments or web agencys. </li>
<li><strong>Scala.</strong> Java EE refreshed. You can probably get away with using Scala in a Java organization, making your life in the cubicle a little less miserable but don&#8217;t count on it showing up in a job ad &#8211; yet.</li>
<li><strong>Java SE / Java ME / Android Java</strong>. A completely different beast than Java EE. Java SE on the desktop is hardly used anymore but Java on mobile phones is of course a growing opportunity. Java ME is a dying breed of Java and most of the development is done in India or Eastern Europe. Android Java will be huge the coming years and the kind of organization that will want Android developers is wide and varied.</li>
</ul>
<p>These are just a few programming languages but I hope my point goes through: every language has a certain personality and a certain type of organization that uses the language. You have to pick a language that fits your own personality. I am myself a Java developer who started out as a C++ developer but now coming to realize that I actually like the more fast paced world of PHP and Android development better. </p>
<p>It&#8217;s not a matter of the powers of the languages themselves but how they are used and who uses them and what kind of projects will you be doing with the language. Just try to keep that in mind if you&#8217;re thinking about becoming a programmer.</p>
<p>I should also add that you definitely should learn more than one language for precisely the same reason: to learn different ways of thinking and widen your perspective.</p>
<p>Update: as always, good discussion on <a href="http://news.ycombinator.com/item?id=1301089">Hacker News</a>.</p>
<p>Linus G Thiel <a href="http://twitter.com/yesbabyyes/status/12996349728">points out</a> that Javascript is <a href="http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html">up and coming</a>. I agree.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.softwaresweden.com/2010/04/28/picking-a-programming-language-based-on-personality/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to build a web service in 8 hours</title>
		<link>http://www.softwaresweden.com/2010/02/21/how-to-build-a-web-service-in-8-hours/</link>
		<comments>http://www.softwaresweden.com/2010/02/21/how-to-build-a-web-service-in-8-hours/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 10:51:04 +0000</pubDate>
		<dc:creator>Erik Starck</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mashups]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.softwaresweden.com/?p=89</guid>
		<description><![CDATA[I was a big fan of Jaiku (here I am) and didn&#8217;t &#8220;get&#8221; Twitter until about a year ago when a friend showed me Tweetdeck. Aha! So that&#8217;s how you&#8217;re supposed to use it! Not through the web page twitter.com but by using a third party tool. I got so excited that I proclaimed Twitter [...]]]></description>
			<content:encoded><![CDATA[<p>I was a big fan of <a href="http://jaiku.com">Jaiku</a> (<a href="http://erikstarck.jaiku.com/">here</a> I am) and didn&#8217;t &#8220;get&#8221; Twitter until about a year ago when a friend showed me <a href="http://tweetdeck.com">Tweetdeck</a>. Aha! So <em>that&#8217;s</em> how you&#8217;re supposed to use it! Not through the web page twitter.com but by using a third party tool. I got so excited that I proclaimed <a href="http://www.mobilewebtablet.com/2009/02/21/why-twitter-is-the-future-of-search-communication-and-discovery-and-thus-the-web-itself/">Twitter the future of the web</a>. </p>
<p>And I stopped using Jaiku.</p>
<p>One thing I did miss from the Jaiku-days, though, was the long discussion threads under each &#8220;jaik&#8221; (the Jaiku version of a &#8220;tweet&#8221;). Here&#8217;s an <a href="http://jyri.jaiku.com/presence/a1b8f1743c5a4244bc55a3fbcbd8d005">example</a>. This provided Jaiku with <em>depth</em>, something you can hardly accuse Twitter of.</p>
<p>So an idea emerged: what if you could build a web service that made it possible to comment and discuss each tweet just like you did in the Jaiku-days.</p>
<p>Thus, <a href="http://discussatweet.com">Discuss a Tweet</a> was born.</p>
<p>Or, well, at least the domain was registered. I did this April 17 2009. It then ended up in my pile of great-ideas-I-should-one-day-implement and nothing happened.</p>
<p>Until&#8230; last weekend.</p>
<p>I knew that it would be possible to put it all together quite fast. I had used <a href="http://www.disqus.com">Disqus</a> when we built <a href="http://ratemypit.ch">Rate My Pitch</a> during <a href="http://24hbc.com">24 hour business camp</a> &#8211; so I knew that the commenting system, the most difficult part, I would get for &#8220;free&#8221;. I wouldn&#8217;t even need a database. It was all about putting things together in a slightly new way. A classic mashup.</p>
<p>So, I started hacking away. A couple of hours later, the result is a mashup of the following services:</p>
<ul>
<li><a href="http://disqus.com">Disqus</a>, for the commenting system.</li>
<li><a href="http://jquery.org">JQuery</a>, the Javascript framework to do some AJAX magic and UI manipulation.</li>
<li><a href="http://malsup.com/jquery/corner/">JQuery Corner</a> to get the rounded corners.</li>
<li><a href="http://typekit.com">Typekit</a>, better looking web fonts.</li>
<li><a href="http://www.blueprintcss.org/">BluePrint CSS</a>, a CSS framework that simplifies layout.</li>
<li><a href="http://twitter.com">Twitter</a>, of course. I used the <a href="http://classes.verkoyen.eu/twitter/">Twitter PHP class</a> by Tijs Verkoyen to simplify the API.</li>
<li><a href="http://bit.ly">Bit.ly</a> the URL shortener. I used this <a href="http://www.dennismadsen.com/2010/01/bit-ly-api-class-for-php/">Bit.ly PHP class</a> by Dennis Madsen to makes things even easier.</li>
<li><a href="http://simplehtmldom.sourceforge.net/">Simple HTML DOM</a> to parse HTML.</li>
<li><a href="http://google.com/analytics">Google Analytics</a>, let&#8217;s not forget this visitor statistics tool.</li>
</ul>
<p>This is just a tiny little hack but I think it serves as a good example of how modern web development is done. You pick bits and pieces from all over the web, some open source components, some embedded web services. You put things together and something new emerges.</p>
<p>I used PHP and this is also worth noting. People <a href="http://www.google.se/search?hl=sv&#038;source=hp&#038;q=php+sucks&#038;btnG=Google-sökning&#038;meta=&#038;aq=f&#038;oq=">complain about PHP</a> but one of its biggest strengths is its user base and size. When you&#8217;re doing a mashup such as <a href="http://discussatweet.com">Discuss a Tweet</a> you can be sure someone else has done about the same things you need and there is code out there ready to be used. You can&#8217;t say that about <a href="http://www.scala-lang.org/">Scala</a> or <a href="http://ftp.sunet.se/pub/lang/erlang/">Erlang</a> regardless of how powerful and beautiful the languages are. (Things are changing of course as the popularity of the language grows.)</p>
<p>Another thing happened while Discuss-a-Tweet was in my idea-pool: Google Buzz launched. According to Mr Jaiku himself, <a href="http://www.zengestrom.com/blog/2010/02/the-buzz-is-out.html">Jyri Engeström</a>, Buzz is the continuation of Jaiku. And, yes, it allows you to comment and discuss tweets. </p>
<p>Maybe a usage pattern is emerging in how we <a href="http://blog.opportunitycloud.com/2009/08/15/twitter-is-my-living-room-facebook-my-kitchen-how-i-use-different-social-networks/">use different social networks</a>. Twitter for quick news updates and cool links, Facebook for our friends and Buzz for the discussions. Maybe the <a href="http://opportunitycloud.com">Opportunity Cloud</a> for a service such as Discuss-a-Tweet is dispersing. We&#8217;ll see. It was fun building it anyway &#8211; and it only took a few hours after all. <img src='http://www.softwaresweden.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>(PS. Follow me on <a href="http://twitter.com/erikstarck">Twitter</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.softwaresweden.com/2010/02/21/how-to-build-a-web-service-in-8-hours/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mobile Development SDKs compared: MoSync, PhoneGap and AppWhirl</title>
		<link>http://www.softwaresweden.com/2010/02/16/mobile-development-sdks-compared-mosync-phonegap-and-appwhirl/</link>
		<comments>http://www.softwaresweden.com/2010/02/16/mobile-development-sdks-compared-mosync-phonegap-and-appwhirl/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 21:01:52 +0000</pubDate>
		<dc:creator>Erik Starck</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.softwaresweden.com/?p=79</guid>
		<description><![CDATA[Ever since I started my first consultancy business back in 1998, I&#8217;ve been thinking &#8220;next year will be the Year Of Mobile&#8221;. I&#8217;ve been wrong every year. Of course the sales of mobile phones have been great but in terms of mobile applications and the mobile web, things were more or less stuck in black [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since I started my first consultancy business back in 1998, I&#8217;ve been thinking &#8220;next year will be the Year Of Mobile&#8221;.</p>
<p>I&#8217;ve been wrong every year.</p>
<p>Of course the sales of mobile phones have been great but in terms of mobile applications and the mobile web, things were more or less stuck in black &#038; white text mode. But, the last couple or years, things have finally started to change &#8211; and change fast!</p>
<p>So, it is a very good time to get in to mobile development. This is like the early days of the web all over again. Opportunities are plenty! Before you know it, every company will want a mobile application to accompany their <a href="http://www.frankfami.ly">social web site</a>. If you don&#8217;t know mobile yet, now is the time to start learning.</p>
<p>The obvious first question is: where do I start?</p>
<p>There are many mobile development tools out there. This blog post is a little deeper look in to three different approaches that will give you an app running in less than an hour.</p>
<p><img src="http://farm5.static.flickr.com/4052/4362694210_a852e88eb1_o.jpg" alt="" /></p>
<p>By far the simplest approach is taken by tools such as <a href="http://www.appwhirl.com/">AppWhirl</a>. This is an online tool that generates a complete application for you. Not only that, it sends the app to the Apple App Store for approval. That&#8217;s right, AppWhirl is only for iPhone. </p>
<p>It is also extremely limited in that you can only generate apps from existing RSS feeds, making it less of an application toolkit and more of a mobile RSS reader-generator. Nothing wrong with that, you just need to be aware of the limitations.</p>
<p>AppWhirl is:</p>
<ul>
<li>Extremely simple to use &#8211; anyone can generate an application with this tool.</li>
<li>Extremely limited &#8211; this is <strong>not</strong> an application SDK but a very simple way to publish your RSS feed as an application.</li>
<li>Only supports iPhone.</li>
</ul>
<p><img src="http://farm3.static.flickr.com/2736/4363343924_ae023d3c5d_o.jpg" alt="" /></p>
<p><a href="http://www.phonegap.com">PhoneGap</a> is far more advanced. This is how they describe themselves:</p>
<blockquote><p>PhoneGap is a development tool that allows web developers to  take advantage of the core features in the iPhone, Android, BlackBerry, and Symbian with a unified JavaScript API.</p></blockquote>
<p>Now, while PhoneGap is a cross platform tool, the development process and setup is slightly different for the different platforms. You need to install all the different SDKs to fully use this tool. This can be quite a hassle.</p>
<p>What is PhoneGap? It&#8217;s basically a bridge that enables Javascript to call native functionality not normally accessible to a web page running in a browser. It does this by packaging the PhoneGap framework, your HTML/CSS/JavaScript-files and a magic JavaScript-file called &#8220;phonegap.js&#8221; in an application package. It then uses the built in browser component to render the &#8220;pages&#8221; of the app.</p>
<p>This means if you&#8217;re used to web development you will be up and running quickly on PhoneGap. It also means you can use nice frameworks such as <a href="http://www.jqtouch.com/">JQuery</a> for that AJAX mojo.</p>
<p>Unfortunately the <a href="http://phonegap.pbworks.com/Getting-started-with-Android-PhoneGap-in-Eclipse">documentation</a> wasn&#8217;t exactly up to date so I had some problems getting things up and running on my Android Developer Phone. If this is the same on the other platforms, you&#8217;re in for a couple of hours of tweaking settings and installing SDKs and googling around for fixes if you want your app running on more than one platform.</p>
<p>To summarize, PhoneGap is:</p>
<ul>
<li>Cross platform, works on many devices &#8211; but will require setup for each.</li>
<li>Web developer friendly. People familiar with HTML and JavaScript will feel right at home.</li>
<li>Capable but still limited by browser. With the upcoming HTML5 PhoneGap will become really interesting, though!</li>
</ul>
<p>Next in line is <a href="http://mosync.com">MoSync</a>. (First a disclaimer: I have worked for the company behind MoSync.) The platform recently became <a href="http://www.mosync.com/contributions">open source</a> and received an investment from none other than the <a href="http://www.mosync.com/the_company">MySQL founders</a>, Michael “Monty” Widenius and David Axmark. Like MySQL, MoSync is based in Stockholm. </p>
<p>You don&#8217;t need to install any other SDK than the MoSync IDE to get started. Programming is done in C++ which means you will feel at most at home if you&#8217;re coming from the embedded or gaming world. In fact, MoSync can run legacy games like Castle Wolfenstein just fine:</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/wSgTCq8N_D8&#038;hl=en_US&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/wSgTCq8N_D8&#038;hl=en_US&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
<p>(That&#8217;s me speaking in the background, by the way.)</p>
<p>So far, MoSync is Windows only (although the IDE is based on Eclipse) so Mac- and Linux-users are out of luck. <a href="http://www.mosync.com/mosync/device-profile-database">Supported platforms</a> include Symbian S60, Java ME, Moblin and Windows Mobile. Android, iPhone and Maemo are &#8220;coming soon&#8221;.</p>
<p>MoSync is cross platform but obviously you won&#8217;t get more features than the underlying platform supports. Best support you&#8217;ll get for basic graphics, sound, simple Bluetooth access and networking. Without a doubt the best feature of all is the promise of one codebase, multiple platforms, but your mileage may vary.</p>
<p>MoSync is:</p>
<ul>
<li>Cross platform, works on many devices &#8211; Android and iPhone &#8220;coming soon&#8221;.</li>
<li>C++ based, suitable for porting old embedded apps to native but a little higher barrier to cross for the beginner (but C++ isn&#8217;t <em>that</em> difficult).</li>
<li>Still a bit untested, MoSync needs a few more success stories that proves their claims.</li>
<li>One codebase, one tool!</li>
</ul>
<p>All in all, three completely different approaches to mobile development. Which one suits you? Well, that&#8217;s for you to decide. They all have their strengths and drawbacks and I think it will be quite obvious for you which one fits your bill. </p>
<p>Now, get out there and create great stuff for mobile!</p>
<p><strong>Updated</strong>: MoSync just announced <a href="http://www.mosync.com/blog/2010/02/whats-mosync-23">Android support</a>.</p>
<p><strong>Updated 2</strong>: David Wood wrote an <a href="http://dw2blog.com/2010/03/04/choosing-intermediate-mobile-platforms/">overview</a> of some other cross platform tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.softwaresweden.com/2010/02/16/mobile-development-sdks-compared-mosync-phonegap-and-appwhirl/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Flash Lite to Java Midlet in 10 seconds</title>
		<link>http://www.softwaresweden.com/2009/07/02/flash-lite-to-java-midlet-in-10-seconds/</link>
		<comments>http://www.softwaresweden.com/2009/07/02/flash-lite-to-java-midlet-in-10-seconds/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 10:17:43 +0000</pubDate>
		<dc:creator>Erik Starck</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[flash lite]]></category>
		<category><![CDATA[j2me]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java me]]></category>
		<category><![CDATA[midlet]]></category>
		<category><![CDATA[sony ericsson]]></category>

		<guid isPermaLink="false">http://www.softwaresweden.com/blog/?p=72</guid>
		<description><![CDATA[I am currently helping Sony Ericsson as a community manager for their developer site. As part of this I&#8217;m blogging over at blogs.sonyericsson.com and just recently I wrote a short post on how to convert swf to jar for mobile phones. In case you didn&#8217;t know, Sony Ericsson has a framework embedded in most of [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently helping Sony Ericsson as a community manager for their <a href="http://developer.sonyericsson.com">developer site</a>. As part of this I&#8217;m blogging over at <a href="http://blogs.sonyericsson.com/developerworld">blogs.sonyericsson.com</a> and just recently I wrote a short post on how to convert <a href="http://blogs.sonyericsson.com/developerworld/swf-to-jar-using-project-capuchin-and-swf2jar-tool/">swf to jar</a> for mobile phones.<br />
In case you didn&#8217;t know, Sony Ericsson has a framework embedded in most of their <a href="http://developer.sonyericsson.com/device/searchDevice.do?defaultSearch=true&#038;attributes=e3b7531a-468c-40c5-9e54-8b1ce192ebb3">newer phones</a> called Project Capuchin, making it possible to run a Flash Lite application inside a Java midlet. Quite cool, actually.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.softwaresweden.com/2009/07/02/flash-lite-to-java-midlet-in-10-seconds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.5: huge step forward</title>
		<link>http://www.softwaresweden.com/2009/05/01/firefox-35-huge-step-forward/</link>
		<comments>http://www.softwaresweden.com/2009/05/01/firefox-35-huge-step-forward/#comments</comments>
		<pubDate>Fri, 01 May 2009 07:18:38 +0000</pubDate>
		<dc:creator>Erik Starck</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firefox 3.5]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.softwaresweden.com/blog/?p=68</guid>
		<description><![CDATA[This article sums up all the new features in Firefox 3.5. An amazing list! HTML5, local data storage, vastly improved font support, location aware browsing and a bunch of new CSS-features are some of the highlight features. Adding it together sums up to a new web platform unlike anything we&#8217;ve seen before. The step forward [...]]]></description>
			<content:encoded><![CDATA[<p>This <a href="https://developer.mozilla.org/en/Firefox_3.5_for_developers">article</a> sums up all the new features in Firefox 3.5. An amazing list! HTML5, local data storage, vastly improved font support, location aware browsing and a bunch of new CSS-features are some of the highlight features.<br />
Adding it together sums up to a new web platform unlike anything we&#8217;ve seen before. The step forward is so big there will be web services written exclusively for Firefox 3.5. With a  <a href="http://marketshare.hitslink.com/firefox-market-share.aspx?qprid=0&#038;sample=28">growing</a> market share there&#8217;s certainly a <a href="http://gigaom.com/2009/04/28/facebook-firefox-twitter-lead-app-web-usage/">user base</a> big enough for developers to go Firefox-only.<br />
The web vill look vastly different in about a years time thanks to Firefox 3.5. Exciting times! Download a beta <a href="http://blog.mozilla.com/blog/2009/04/27/firefox-35-beta-4-now-available-for-download/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.softwaresweden.com/2009/05/01/firefox-35-huge-step-forward/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to become a good programmer</title>
		<link>http://www.softwaresweden.com/2009/04/08/how-to-become-a-good-programmer/</link>
		<comments>http://www.softwaresweden.com/2009/04/08/how-to-become-a-good-programmer/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 15:02:12 +0000</pubDate>
		<dc:creator>Erik Starck</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.softwaresweden.com/blog/?p=66</guid>
		<description><![CDATA[The blog CodeLathe offers some advice. This is true, and in line with the subtitle of this blog: Programming is purely a mental activity and has no relationship to any physical activity including typing. To become a better programmer, you will need to exercise and build up the part of the brain that deals with [...]]]></description>
			<content:encoded><![CDATA[<p>The blog CodeLathe offers <a href="http://www.codelathe.com/blog/index.php/2009/04/07/5-sure-fire-ways-to-become-better-at-programming/">some advice</a>. This is true, and in line with the subtitle of this blog:</p>
<blockquote><p>Programming is purely a mental activity and has no relationship to any physical activity including typing. To become a better programmer, you will need to exercise and build up the part of the brain that <strong>deals with managing complexity </strong>and dealing with the relationships between countless objects.</p></blockquote>
<p>Learn to manage complexities. That&#8217;s the core of programming. Add human communication to that and you have software engineering.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.softwaresweden.com/2009/04/08/how-to-become-a-good-programmer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SEO-friendly titles in WordPress with Atahualpa theme and Headspace plugin</title>
		<link>http://www.softwaresweden.com/2009/02/08/seo-friendly-titles-in-wordpress-with-atahualpa-theme-and-headspace-plugin/</link>
		<comments>http://www.softwaresweden.com/2009/02/08/seo-friendly-titles-in-wordpress-with-atahualpa-theme-and-headspace-plugin/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 12:08:36 +0000</pubDate>
		<dc:creator>Erik Starck</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.softwaresweden.com/blog/?p=62</guid>
		<description><![CDATA[The Atahualpa theme for WordPress is a really powerful theme with lots of settings. But it doesn&#8217;t give you full control over the titles of posts and pages the way the Headspace plugin does. How the titles of your blog posts look like is important for search engine optimization. If you want your post to [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://wordpress.bytesforall.com/">Atahualpa theme</a> for WordPress is a really powerful theme with lots of settings. But it doesn&#8217;t give you full control over the titles of posts and pages the way the <a href="http://urbangiraffe.com/plugins/headspace2/">Headspace</a> plugin does.<br />
How the titles of your blog posts look like is important for search engine optimization. If you want your post to be higher ranked in the search result (and who doesn&#8217;t?) the title is one of the most important factors to consider.<br />
The Atahualpa theme and the Headspace plugin doesn&#8217;t work together without a minor modification to one of the helper php-files in Atahualpa. Look in the <code>functions</code> directory of the theme for the file called <code>bfa_meta_tags.php</code>. Open it in an editor and look for the line that says:</p>
<p><code>&lt;title&gt;&lt;?php bloginfo('name'); ?&gt; &lt;?php wp_title(); ?&gt;&lt;/title&gt;</code></p>
<p>Change it to:</p>
<p><code>&lt;title&gt;&lt;?php wp_title(''); ?&gt;&lt;/title&gt;</code></p>
<p>Now you can enable the Headspace plugin and go to Settings -> Headspace and define exactly how your titles should be generated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.softwaresweden.com/2009/02/08/seo-friendly-titles-in-wordpress-with-atahualpa-theme-and-headspace-plugin/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Building a working web service in 24 hours &#8211; straight</title>
		<link>http://www.softwaresweden.com/2009/01/23/building-a-working-web-service-in-24-hours-straight/</link>
		<comments>http://www.softwaresweden.com/2009/01/23/building-a-working-web-service-in-24-hours-straight/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 02:00:46 +0000</pubDate>
		<dc:creator>Erik Starck</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.softwaresweden.com/blog/?p=60</guid>
		<description><![CDATA[Happy business campers! It&#8217;s the middle of the night and I&#8217;m in a big hallroom full of people all of them hacking on their computers. The event is called 24 hours Business Camp and the goal is to bring 90 entrepreneurial people together and have them build a service in 24 hours. There are 52 [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm4.static.flickr.com/3466/3217816023_d4f7ea2bed.jpg?v=0" alt="" /><br />
<em>Happy business campers!</em></p>
<p>It&#8217;s the middle of the night and I&#8217;m in a big hallroom full of people all of them hacking on their computers.</p>
<p>The event is called <a href="http://www.24hourbusinesscamp.com/">24 hours Business Camp</a> and the goal is to bring 90 entrepreneurial people together and have them build a service in 24 hours.</p>
<p>There are 52 teams (although it&#8217;s not a contest, there&#8217;s no winner) and the ideas are ranging from tampon subscriptions to Youtube wrappers.</p>
<p>Building a service in such an extremely short timespan has been (is, there&#8217;s still 9 hours left!) a learning experience, primarly about the importance of focusing on what&#8217;s really important.</p>
<p>A little too tired to write anything more right now but let&#8217;s just say that without my framework of choice, <a href="http://www.seamframework.org">JBoss Seam</a>, I wouldn&#8217;t have been as productive as I have been. A couple of hours have been lost doing stuff like configuring Apache proxies on my server or fixing Hibernate errors. Still, it&#8217;s really amazing how much you can do with all the frameworks and open APIs out there. Everything is in turbo speed compared to a couple of years ago.</p>
<p>But now I should get some sleep.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.softwaresweden.com/2009/01/23/building-a-working-web-service-in-24-hours-straight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copying a VirtualBox VDI file running Ubuntu Server and getting Drupal running</title>
		<link>http://www.softwaresweden.com/2009/01/19/copying-a-virtualbox-vdi-file-running-ubuntu-server-and-getting-drupal-running/</link>
		<comments>http://www.softwaresweden.com/2009/01/19/copying-a-virtualbox-vdi-file-running-ubuntu-server-and-getting-drupal-running/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 14:06:18 +0000</pubDate>
		<dc:creator>Erik Starck</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.softwaresweden.com/blog/?p=57</guid>
		<description><![CDATA[Sigh. Things are never as easy as you want them to be. I have two computers on my desk. My MacBook and my Asus EEE B202 running Windows XP. I wanted a development environment for Drupal (a php content management framework), so I tried running PHP on my MacBook. It worked fine, but the first [...]]]></description>
			<content:encoded><![CDATA[<p>Sigh. Things are never as easy as you want them to be. <img src='http://www.softwaresweden.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I have two computers on my desk. My MacBook and my <a href="http://www.softwaresweden.com/blog/index.php/2008/12/28/upgrading-ram-memory-on-asus-eee-b202-eee-box/">Asus EEE B202</a> running Windows XP. I wanted a development environment for <a href="http://www.drupal.org">Drupal</a> (a php content management framework), so I tried running <a href="http://www.softwaresweden.com/blog/index.php/2009/01/18/setting-up-php-and-web-server-on-os-x-105-leopard/">PHP on my MacBook</a>.</p>
<p>It worked fine, but the first problem appeared when I tried to run Drupal. The PHP GD library was missing (used by Drupal for graphics). This is a <a href="http://drupal.org/node/58725">known problem</a> and requires a recompilation of PHP. The problem is, the Apache web server installed on the MacBook is used by OS X and may change in future updates to the OS by Apple. It also seemed a bit cumbersome to get it all to work as it should. So, I figured, why not in stead run a virtual machine with a developer setup in linux and get a clean separation between my day to day OS (OS X) and my developer server.</p>
<p>I decided to use <a href="http://www.virtualbox.org">VirtualBox</a>, a free software provided by Sun, and run it on my XP machine (the B202). I installed <a href="http://www.ubuntu.com">Ubuntu Server 8.10</a> on the virtual machine.</p>
<p>If you haven&#8217;t used a software like VirtualBox or VMWare before, I can only say that it&#8217;s much easier than it sounds like. If you can install an operating system you can use VirtualBox. It&#8217;s a very slick and easy to use program.</p>
<p>But, there are of course a few problems.</p>
<p>The first problem was that Ubuntu Server was also missing PHP GD (not because of VirtualBox of course, but still). This time I only needed to do a:</p>
<p><code>apt-get install php5-gd</code></p>
<p>and voila, Drupal was running.</p>
<p>Now everything should have been fine and dandy if it hadn&#8217;t been for the <strong>bluescreens</strong> that suddenly started to occur on my EEE-box. After running VirtualBox and Ubuntu Server for a couple of minutes, maybe half an hour, XP decides to just crash. This happened over and over again.</p>
<p>Finding the cause of a bluescreen is never fun but it was clearly due to the VirtualBox setup.</p>
<p>But, hey, I&#8217;m in the virtual world here. So, I simply copied the .vdi-file (the file that VirtualBox uses to store the operating system on &#8211; it&#8217;s like a virtual hard drive) to my MacBook and set up a virtual machine with the vdi-file.</p>
<p>Everything worked as it should, except networking (I&#8217;m using hosted networking, making the virutal machine appear just like a third computer on my network &#8211; very neat, when it works).</p>
<p>The problem is that, although the environments are similar, the virtual network adapter gets a new MAC address. So, the Ubuntu OS gets confused and can&#8217;t find the network adapter. This is easily fixed by <a href="http://lastkth-en.blogspot.com/2008/04/virtualbox-clone-virtual-machine-ubuntu.html">simply deleting</a> an autogenerated file:</p>
<p><code>rm /etc/udev/rules.d/70-persistent-net.rules</code></p>
<p>and rebooting.</p>
<p>Now I have Ubuntu Server 8.10 running on my MacBook. I don&#8217;t have any desktop environment set up, making it rather slim (I use 384MB RAM and the full OS only takes about 1,5GB hard drive space). You probably want something like Webmin to make configuration a bit simpler. <a href="http://www.ubuntugeek.com/ubuntu-serverinstall-gui-and-webmin-in-ubuntu-810-intrepid-ibex-guide.html">Here</a> are instructions for setting it up.</p>
<p>Now, let&#8217;s just hope my MacBook doesn&#8217;t bluescreen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.softwaresweden.com/2009/01/19/copying-a-virtualbox-vdi-file-running-ubuntu-server-and-getting-drupal-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
