<?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>Swedish fika</title>
	<atom:link href="http://www.swedishfika.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.swedishfika.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 14 Apr 2013 13:05:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Swedish Fika The Reboot</title>
		<link>http://www.swedishfika.com/2013/04/14/swedish-fika-the-reboot/</link>
		<comments>http://www.swedishfika.com/2013/04/14/swedish-fika-the-reboot/#comments</comments>
		<pubDate>Sun, 14 Apr 2013 13:03:42 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.swedishfika.com/?p=1919</guid>
		<description><![CDATA[We&#8217;ve just had the first Swedish Fika-fika with all the core members. The first one in years. So it&#8217;s not only we that have been unsocial with you guys. We&#8217;ve been unsocial with each other too. And that&#8217;s a shame, cause we still like each other and we still like the web. So this is [...]]]></description>
				<content:encoded><![CDATA[<p>We&#8217;ve just had the first Swedish Fika-fika with all the core members. The first one in years. So it&#8217;s not only we that have been unsocial with you guys. We&#8217;ve been unsocial with each other too. And that&#8217;s a shame, cause we still like each other and we still like the web. So this is the fresh start blog post that will explain what&#8217;s happening.</p>
<p><span id="more-1919"></span><br />
We decided to do this über transparent and you will be able to follow us in crafting our new brain child (web site). Do you feel outed on Idas <a href="http://kodsmuts.com/">kodsmuts blog</a>? Now is your chance for revenge. We will put <a href="https://github.com/SwedishFika/swedishfika.com">all our code in a GitHub repository</a> for you to judge, point fingers and laugh at (or just give us constructive feedback).</p>
<p>The plan is to do a bare minimum site and launch ASAP. It will be responsive from the get go but retina candy and all other bells and whistles will be added when the code is in drivable condition. We are not coding the designated driver style. Trial and error. You&#8217;ll prolly see some ugly road kills.</p>
<p>We will be using WordPress as before. We will use great stuff like jQuery, Normalize and Modernizr but apart from that we&#8217;ll build the theme from scratch. Alex have been doing wireframes in <a href="http://www.balsamiq.com/">Balsamique</a>. In the image of the wireframe above you can see some of the bells and whistles (it&#8217;s far more awesome then simple bells and whistles). Wanna know what they are? You can&#8217;t <img src='http://www.swedishfika.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . (ok you can, next blog post maybe).</p>
<p>// Johan, Alex, Ida och Simon</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swedishfika.com/2013/04/14/swedish-fika-the-reboot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Are Newsletter Unsubscription Success Emails Really Necessary?</title>
		<link>http://www.swedishfika.com/2011/11/25/is-newsletter-unsubscription-success-emails-really-necessary/</link>
		<comments>http://www.swedishfika.com/2011/11/25/is-newsletter-unsubscription-success-emails-really-necessary/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 21:50:19 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.swedishfika.com/?p=1906</guid>
		<description><![CDATA[Every site that has a newsletter signup should provide an easy way to unsubscribe from the subscription list that correspond to that newsletter. A nice way is just to add a link at the bottom of the newsletter labeled &#8220;Unsubscribe&#8221;. But what do we think should happen when you click on that link? I think [...]]]></description>
				<content:encoded><![CDATA[<p>Every site that has a newsletter signup should provide an easy way to unsubscribe from the subscription list that correspond to that newsletter. A nice way is just to add a link at the bottom of the newsletter labeled &#8220;Unsubscribe&#8221;. But what do we think should happen when you click on that link? </p>
<p><span id="more-1906"></span><br />
I think that that the link should open the unsubscription web page in my browser where I must confirm my unsubscription. (I could have clicked the link by mistake so it&#8217;s nice to provide a confirmation button) When I confirm my unsubscription all I want is just a message that says whether or not I successfully got unsubscribed. What I see in a lot of newsletter-systems that you unsubscribe from is that you get a unsubscription success email. Yes, another email you don&#8217;t want. I wanted to opt out from the newsletter subscription because I didn&#8217;t want to get any more emails. </p>
<p>If you have any other thoughts on this topic, please add a comment!</p>
<p>/Simon</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swedishfika.com/2011/11/25/is-newsletter-unsubscription-success-emails-really-necessary/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The making of a Color Memory Game</title>
		<link>http://www.swedishfika.com/2011/05/21/the-making-of-a-color-memory-game/</link>
		<comments>http://www.swedishfika.com/2011/05/21/the-making-of-a-color-memory-game/#comments</comments>
		<pubDate>Sat, 21 May 2011 12:53:18 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.swedishfika.com/?p=1860</guid>
		<description><![CDATA[A while ago I made a javascript-based color memory game. I used plain markup, css and javascript for this and I used the Prototype JavaScript Framework instead of jQuery. You can discuss the pros and cons between Prototype and jQuery for hours (if you want to) but this is not something I&#8217;ll cover in this [...]]]></description>
				<content:encoded><![CDATA[<p>A while ago I made a javascript-based color memory game. I used plain markup, css and javascript for this and I used the <a href="http://www.prototypejs.org/">Prototype JavaScript Framework</a> instead of <a href="http://jquery.com/">jQuery</a>. You can discuss the pros and cons between Prototype and jQuery for hours (if you want to) but this is not something I&#8217;ll cover in this post, instead I&#8217;ll go through the core functions of the game. </p>
<p>First off, take a <a href="http://www.simonkjellberg.com/colormemory/">look at the demo here</a>. In writing moment the fastest known player was done in less than 25 secs! </p>
<p><span id="more-1860"></span><br />
This is how I&#8217;ve set up the files for the game: </p>
<p><img src="/wp-content/uploads/colormemory-setup.png" alt="" /></p>
<p>I&#8217;ll actually not write any code in this post, I&#8217;ll just simply go through each function in the javascript (that is the core of the game) and talk about what each function does. I&#8217;ve compressed <a href="/wp-content/uploads/colormemory.tar.gz">the files of the game</a> so if you want, you can download them and take a look at the code in your editor when you continue your reading below. </p>
<p>The .html-file is quite straightforward. It has a container-div where the javascript put the actual gameboard, it initiates the javascript and some other stuff. I don&#8217;t think there&#8217;s any need to go into this file in detail so I&#8217;ll just leave it there. The CSS is, as always, just used for the presentation. The image is used for the backside-cover of the cards. The javascript file named memory.js is the interesting part. So let&#8217;s take a look at this file and go through each function step by step. </p>
<h3>initialize()</h3>
<p>The initialize function has a few default options that can be dynamically changed from wherever you initiate an object of this class. This approach by using the Object.extend-functionality on the default-options is, in my opinion, very powerful since it adds a lot of flexibility to your code. </p>
<p>I said I wouldn&#8217;t post any code in this post but there might be a point to show how you can change these default options. You do that where you create an object of the memory class (in this case in index.html) and this example below shows how you could change the rows and cols without altering the javascript-file itself:  </p>
<p><code>var m = new Memory({<br />
  rows: 3,<br />
  cols: 4<br />
});</code></p>
<p>So, let&#8217;s get back to the initialize function, as you can see, we first set the options for this class. As you see above, the code is dynamic so you can change how many rows and cols you want on your gameboard. Please note that there&#8217;s no functionality that checks whether the total amount of cards is an even number or not so if you change these params, please have in mind that the cols multiplied by the rows should sum up to an even number. </p>
<p>After that we initiate some of the other default properties of this class and then we call the initCards-function. </p>
<h3>initCards()</h3>
<p>In the initCards-function we create the cards for the gameboard. We use some loops to make this happen and we check if a color already has been used. It also shuffles the array that is containing the cards. When this function has done what it&#8217;s supposed to the code then goes on to the createBoard-function. </p>
<h3>createBoard()</h3>
<p>Here, the actual gameboard is created and as it creates each card it also adds an onclick eventlistener to each card. When a card is clicked the flipCard-function is triggered. </p>
<h3>flipCard()</h3>
<p>When the player clicks on a card, this function starts to run and it starts the timer (if it hasn&#8217;t already been started) and then it flips the card you clicked and check whether the player has found a pair or not. This is done with the help of the function named getCardNumberFromId(). </p>
<p>We&#8217;ll that&#8217;s it, I&#8217;ll not go into more details so if you have any questions or feedback, please post a comment! I&#8217;d really like some feedback on the code and if you guys would have done anything differently. </p>
<p>/Simon</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swedishfika.com/2011/05/21/the-making-of-a-color-memory-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Publishing in Coda Suddenly Stopped Working</title>
		<link>http://www.swedishfika.com/2011/02/26/publishing-in-coda-suddenly-stopped-working/</link>
		<comments>http://www.swedishfika.com/2011/02/26/publishing-in-coda-suddenly-stopped-working/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 10:23:02 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.swedishfika.com/?p=1851</guid>
		<description><![CDATA[The other day the publishing function in Coda just stopped working. This might have had something to do with me (finally) upgrading to Snow Leopard. The publishing function in Coda is a very sweet tool that keeps track on your changes that you make in your local copy of a site and lets you publish [...]]]></description>
				<content:encoded><![CDATA[<p>The other day the publishing function in Coda just stopped working. This might have had something to do with me (finally) upgrading to Snow Leopard. The publishing function in Coda is a very sweet tool that keeps track on your changes that you make in your local copy of a site and lets you publish the changes from your local copy to your live site and I use it every day in my work. I already had the latest version of Coda installed so I tried to reinstall it but that didn&#8217;t make any difference. I then started searching the web for a solution and found a few discussion threads where people had the same problem. But unfortunately the solutions there did not help me. </p>
<p><span id="more-1851"></span><br />
I finally solved the problem by downloading version 1.6.12 (instead of the in writing moment latest version 1.7). The Coda-people keeps a museum of older versions of Coda if you want to download them which is a great idea (why don&#8217;t everyone do this?), you can find it here: <a href="http://www.panic.com/museum/coda/older/">http://www.panic.com/museum/coda/older/</a></p>
<p>I really don&#8217;t know why it stopped working for me. I really like Coda as a developing tool and I know that this works for others in the latest version. Maybe I just had bad luck when upgrading to Snow Leopard I guess? Just thought that this information could be useful if this happens to someone else. </p>
<p>Cheers! </p>
<p>/Simon</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swedishfika.com/2011/02/26/publishing-in-coda-suddenly-stopped-working/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Browser Sketch Pad</title>
		<link>http://www.swedishfika.com/2011/02/18/browser-sketch-pad/</link>
		<comments>http://www.swedishfika.com/2011/02/18/browser-sketch-pad/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 20:01:59 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://www.swedishfika.com/?p=1831</guid>
		<description><![CDATA[A friend of mine posted a link on Facebook a while ago. The link was to a site where they sell Browser Sketch Pads. One of my colleagues had already found out about them and I tested one at work a couple of days ago and all I can say is that they are helpful [...]]]></description>
				<content:encoded><![CDATA[<p>A friend of mine posted a link on Facebook a while ago. The link was to a site where they sell <a href="http://www.uistencils.com/products/browser-sketch-pad">Browser Sketch Pads</a>. </p>
<p><span id="more-1831"></span></p>
<p>One of my colleagues had already found out about them and I tested one at work a couple of days ago and all I can say is that they are helpful and quite fun. Simply said, a great tool for brainstorming and sketching!</p>
<p>/Simon</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swedishfika.com/2011/02/18/browser-sketch-pad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One Evening at Geek Meet</title>
		<link>http://www.swedishfika.com/2011/02/17/one-evening-at-geek-meet/</link>
		<comments>http://www.swedishfika.com/2011/02/17/one-evening-at-geek-meet/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 22:25:41 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.swedishfika.com/?p=1825</guid>
		<description><![CDATA[Just got back from another great Geek Meet. Jake Archibald talked about optimizing javascript where it hurts and about writing reusable javascript. Jakes presentation was one of the best I&#8217;ve ever been to. His presentation was very sharp, filled with humour and great examples. Many thanks to bwin that sponsored the event and to all [...]]]></description>
				<content:encoded><![CDATA[<p>Just got back from another great <a href="http://robertnyman.com/2011/01/12/geek-meet-february-2011-with-jake-archibald/">Geek Meet</a>. <a href="http://jakearchibald.com/">Jake Archibald</a> talked about optimizing javascript where it hurts and about writing reusable javascript. </p>
<p><span id="more-1825"></span><br />
Jakes presentation was one of the best I&#8217;ve ever been to. His presentation was very sharp, filled with humour and great examples. </p>
<p>Many thanks to <a href="http://www.bwingames.se/">bwin</a> that sponsored the event and to all the interesting people that where there and made it all be what it was. </p>
<p>On <a href="http://jakearchibald.com/">Jake&#8217;s website</a> you can find more info about a talk he held at Full frontal and you can check out his slides. </p>
<p>/Simon</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swedishfika.com/2011/02/17/one-evening-at-geek-meet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Going Full Frontal</title>
		<link>http://www.swedishfika.com/2010/11/11/going-to-full-frontal/</link>
		<comments>http://www.swedishfika.com/2010/11/11/going-to-full-frontal/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 16:23:55 +0000</pubDate>
		<dc:creator>Ida</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.swedishfika.com/?p=1819</guid>
		<description><![CDATA[Right now I&#8217;m on my way to Full Frontal, a JavaScript conference in the UK. I&#8217;m extremely excited! This is my first time in the UK and I have high expectations on a snogalicious experience. I&#8217;m going there together with three of my co-workers and you can follow our epic JavaScript adventures at http://creunaatfullfrontal.tumblr.com. Please [...]]]></description>
				<content:encoded><![CDATA[<p>Right now I&#8217;m on my way to <a href="http://2010.full-frontal.org/">Full Frontal</a>, a JavaScript conference in the UK. I&#8217;m extremely excited! This is my first time in the UK and I have high expectations on a snogalicious experience. </p>
<p><span id="more-1819"></span></p>
<p>I&#8217;m going there together with three of my co-workers and you can follow our epic JavaScript adventures at <a href="http://creunaatfullfrontal.tumblr.com/">http://creunaatfullfrontal.tumblr.com</a>.</p>
<p>Please do!</p>
<p>/Ida</p>
<p>Ps. Will of course post a full summary of the conference once I&#8217;m safely back home again…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swedishfika.com/2010/11/11/going-to-full-frontal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rails-like framework for mobile apps</title>
		<link>http://www.swedishfika.com/2010/11/08/rails-like-framework-for-mobile-apps/</link>
		<comments>http://www.swedishfika.com/2010/11/08/rails-like-framework-for-mobile-apps/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 17:51:31 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.swedishfika.com/?p=1815</guid>
		<description><![CDATA[In an interview with the guys at Think Vitamin, Ryan Singer from 37signals reports that they are working on a Rails-like MVC framework for HTML 5 phone apps. Read more on the Think Vitamin blog. // Johan]]></description>
				<content:encoded><![CDATA[<p>In an interview with the guys at <a href="http://thinkvitamin.com/">Think Vitamin</a>, <a href="http://twitter.com/#!/rjs">Ryan Singer</a> from <a href="http://37signals.com/">37signals</a> reports that they are working on a Rails-like MVC framework for HTML 5 phone apps. Read more on the <a href="http://thinkvitamin.com/mobile/new-rails-like-framework-from-37signals-for-html5-mobile-apps/">Think Vitamin</a> blog.</p>
<p>// Johan</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swedishfika.com/2010/11/08/rails-like-framework-for-mobile-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Mobile Alpha 1 Released</title>
		<link>http://www.swedishfika.com/2010/10/17/jquery-mobile-alpha-1-released/</link>
		<comments>http://www.swedishfika.com/2010/10/17/jquery-mobile-alpha-1-released/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 19:53:08 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.swedishfika.com/?p=1799</guid>
		<description><![CDATA[A friend of mine told me to take a look at jQuery Mobile Alpha 1 that was released yesterday (Oct 16th) and I must say that it looks promising. So what is it? &#8220;jQuery Mobile is a user interface framework, built on top of jQuery, designed to simplify the process of building applications that target [...]]]></description>
				<content:encoded><![CDATA[<p>A friend of mine told me to take a look at jQuery Mobile Alpha 1 that was released yesterday (Oct 16th) and I must say that it looks promising. So what is it? &#8220;jQuery Mobile is a user interface framework, built on top of jQuery, designed to simplify the process of building applications that target mobile devices.&#8221; </p>
<p><span id="more-1799"></span>This is not an in-depth article and, if you want, you can read more about it on jQuery Mobile&#8217;s official site that you find here <a href="http://jquerymobile.com/2010/10/jquery-mobile-alpha-1-released/">http://jquerymobile.com/2010/10/jquery-mobile-alpha-1-released/ </a></p>
<p>If you want to see the demos, take a look here: <a href="http://jquerymobile.com/demos/1.0a1/">http://jquerymobile.com/demos/1.0a1/</a> </p>
<p>/Simon</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swedishfika.com/2010/10/17/jquery-mobile-alpha-1-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Opera Mini for Android</title>
		<link>http://www.swedishfika.com/2010/10/15/opera-mini-for-android/</link>
		<comments>http://www.swedishfika.com/2010/10/15/opera-mini-for-android/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 16:10:00 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.swedishfika.com/?p=1786</guid>
		<description><![CDATA[Opera Mini for Android is being released within the month. Hopefully less sucky than the iPhone version. The video also reassures that they&#8217;re not working on an update for the iPhone :/. WP7 next?]]></description>
				<content:encoded><![CDATA[<p>Opera Mini for Android is being released within the month.<br />
<span id="more-1786"></span><br />
Hopefully less sucky than the iPhone version. The video also reassures that they&#8217;re not working on an update for the iPhone :/. WP7 next?<br />
<span><br />
<script src="http://player.ooyala.com/player.js?embedCode=B2Z2lyMTp9p7DzBNq0uwAS70pSVwzHD9&#038;width=456&#038;deepLinkEmbedCode=B2Z2lyMTp9p7DzBNq0uwAS70pSVwzHD9&#038;height=342"></script></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.swedishfika.com/2010/10/15/opera-mini-for-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
