<?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>Marcus Follrud</title>
	<atom:link href="http://marcusfollrud.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://marcusfollrud.net</link>
	<description>Wish I had a slogan</description>
	<lastBuildDate>Thu, 22 Mar 2012 12:11:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Axis Parameter Class for Python</title>
		<link>http://marcusfollrud.net/2012/01/24/axis-parameter-class-for-python/</link>
		<comments>http://marcusfollrud.net/2012/01/24/axis-parameter-class-for-python/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 20:02:40 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Open source]]></category>
		<category><![CDATA[Programmering]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=646</guid>
		<description><![CDATA[A couple of days ago I was in need of making some scripts that removed duplicate parameter groups on a couple of Axis devices. For those of you who don&#8217;t know, Axis creates Digital Surveillance Cameras with IP technology, which in practice means that It&#8217;s surveillance cameras running Linux. All Axis devices offers an open [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmarcusfollrud.net%2F2012%2F01%2F24%2Faxis-parameter-class-for-python%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2012%2F01%2F24%2Faxis-parameter-class-for-python%2F&amp;source=marcusfollrud&amp;style=normal&amp;service=bit.ly&amp;service_api=R_7d280395e19104feae6bc0cd839f41c0&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A couple of days ago I was in need of making some scripts that removed duplicate parameter groups on a couple of Axis devices. For those of you who don&#8217;t know, Axis creates Digital Surveillance Cameras with IP technology, which in practice means that It&#8217;s surveillance cameras running Linux.</p>
<p>All Axis devices offers an <a title="Axis VAPIX" href="http://www.axis.com/techsup/cam_servers/dev/index.htm">open API for developers</a> who want to develop  that uses Axis devices. The most frequent API used is the Parameter API, that allows to change basic settings, create motion detection windows, events with triggers and so on. And this is the API that I had to implement a class for.</p>
<p>The class is written in Python and is pretty much an object oriented interface. Example</p>
<pre name="code" class="python">
param1 = AxisParameter("Motion.M0.Left","1120")
#param1.name = Motion.M0.Left, param1.value = "1120"
param2 = AxisParameter("Properties.Resolution")
#param2.name = Properties.Resolution, param2.value = None
</pre>
<p>Here we have two parameters that can be accessed from the class. <em>param1</em> contains a parameter with an assigned value to it, this can be used to modify an already existing parameter. <em>param2</em> contains a parameter name, but have no idea of the value of it, better used to receive the parameters</p>
<p>To use the class, you must first import the data from it.</p>
<pre name="code" class="python">
from AxisParameterClass import * #import both the working class and the information class

paramclass = AxisParameterClass("some.ip","username","password","vapixversion")
</pre>
<p>All arguments are optional and can be set later with the following functions</p>
<ul>
<li>setIP</li>
<li>setCredentials</li>
<li>setVapixVersion</li>
</ul>
<p>Axis currently have two API&#8217;s for handling vapix parameters. The only big difference is the URL, but still. The class will automatically try to determine the vapix version if not set before.</p>
<h3>Receive parameters</h3>
<p>To get parameters from a device, simply create a parameter that you&#8217;re interesting, both groups and subgroups are fine to use:</p>
<pre name="code" class="python">
paramclass.getParameters([AxisParameter('Motion'), AxisParameter('Properties'), AxisParameter('NonExistent')])
</pre>
<p>The class will return a list of all parameters that matches the search. Is a parameter not found, the Parameter will be returned with the value <em>None. </em>All parameters that are found have their value as a string.</p>
<h3>Remove parameters</h3>
<p>Just as add. Create your list, and send to</p>
<pre name="code" class="python">
paramclass.removeParameters([AxisParameter('Motion')])
</pre>
<p>Parameters returned have a status parameter that refers if the parameter was removed or not:</p>
<pre name="code" class="python">
AxisParameter.status = "OK" #removed
AxisParameter.status = "Error" #not removed.
</pre>
<h3>Update Parameters (Implementation still needs some work)</h3>
<p>To update, pass the list into</p>
<pre name="code" class="python">
paramclass.updateParameters([AxisParameter('Motion.M0.Left','1123')] )
</pre>
<p>If all works, the parameters returned will contain the same result as what you passed in.</p>
<p>&nbsp;</p>
<h3>Download</h3>
<p>It can all be downloaded from github, licensed under MIT, so feel free to do whatever you like with it <img src='http://marcusfollrud.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a href="https://github.com/marcusfollrud/AxisParameterPython">https://github.com/marcusfollrud/AxisParameterPython </a></p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2012/01/24/axis-parameter-class-for-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Annoyed with WordPress</title>
		<link>http://marcusfollrud.net/2012/01/18/annoyed-with-wordpress/</link>
		<comments>http://marcusfollrud.net/2012/01/18/annoyed-with-wordpress/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 21:38:38 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programmering]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=641</guid>
		<description><![CDATA[Yesterday I was faced with a problem from a friend who has a wordpress blog hosted at wordpress.com. The problem was that the 3GB space on the blog was filled up with the images to his blog posts. The reason that it was already used was due to the fact of that the images were [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmarcusfollrud.net%2F2012%2F01%2F18%2Fannoyed-with-wordpress%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2012%2F01%2F18%2Fannoyed-with-wordpress%2F&amp;source=marcusfollrud&amp;style=normal&amp;service=bit.ly&amp;service_api=R_7d280395e19104feae6bc0cd839f41c0&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Yesterday I was faced with a problem from a friend who has a wordpress blog hosted at wordpress.com. The problem was that the 3GB space on the blog was filled up with the images to his blog posts. The reason that it was already used was due to the fact of that the images were uploaded with their original size, which are of course with todays cameras kind of big.</p>
<p>Got me thinking. WordPress already offers the functionality of scaling images in the Media Library, but doing that one by one is very time consumin, and to be frank, it’s extremely boring <img src="http://marcusfollrud.net/wp-includes/images/smilies/icon_smile.gif" alt=":-)" /> , this took me onto google to see if there’s any xmlrpc api function (since WordPress supports this) that would let me do so. No, but I can upload images using wp.uploadFile, and it seems to support overwriting. Great!</p>
<p>Or was it? No. Firstly, the overwrite functionality doesn’t overwrite the particular image you’re interest in overwriting. It creates a new one, and removes the old one not even the name in the database is the same, all of a sudden it includes some sort of reference name to the old file, that you’re obviously interested in.</p>
<p>Piece of code:</p>
<pre name="code" class="php">if ( !empty($data['overwrite']) &amp;&amp; ($data['overwrite'] == true) ) {
			// Get postmeta info on the object.
			$old_file = $wpdb-&gt;get_row("
				SELECT ID
				FROM {$wpdb-&gt;posts}
				WHERE post_title = '{$name}'
					AND post_type = 'attachment'
			");

			// Delete previous file.
			wp_delete_attachment($old_file-&gt;ID);

			// Make sure the new name is different by pre-pending the
			// previous post id.
			$filename = preg_replace('/^wpid\d+-/', '', $name);
			$name = "wpid{$old_file-&gt;ID}-{$filename}";
		}</pre>
<p>As can be seen here when overwriting, we look up the old image (based on the parameter $name) and deletes the file from the upload directory, but take a look at the next couple of lines. WordPress choses to create a new table row in `posts` with the old filename based on the old id and then adds a new filename.</p>
<p>For me, and everybody else who just wanted to replace/edit their image without  a huge hassle all of a sudden got a lot more work to do. Instead of having the same url to the image there’s a new one, if folder were used for adding images to posts (etc: /wp-content/uploads/2011/09) which results in that we have to edit <em>all</em> the posts who directly link to the image and not just a media library entry.</p>
<p>Why didn’t WP just replace that particular file in the system, as we actually were interested in <em>overwriting</em> it. Ah well, editing the posts shouldn’t be too much of a big mess right? Nah, editing a post isn’t hard at all. Download all the posts with getPages and just replace the old url with the new one for the images (even if a post from 2010 will have image links to 2012, not very stylish)</p>
<p>Oh, and another thing i noticed. When using wp.uploadFile the $name parameter must add a file type prefix, such as ”.jpg”, or it won’t be uploaded. This is not a big problem, unless you wanted to <em>overwrite</em> an image that was uploaded from the web GUI where your description ended up being ”Hello donkey kong” without an file type prefix. That file won’t be able to be <del>overwritten</del> (replaced) by another image.</p>
<p>So basically, I can’t achieve what I want, and it really annoys me.</p>
<p>Of course, the best way of achieving this is to just use  an FTP server, download the images from their folders, scale them with imagemagick or any good piece of software out there and just upload them again. But wordpress.com doens’t support FTP:ing, which I’m totally fine with, and totally understand.</p>
<p>Ok. WordPress is the greatest blog platform out there, so far I’ve never had any hassle myself as I have complete access to the system, but if don’t have that, It lacks some features that I’d like to have <img src="http://marcusfollrud.net/wp-includes/images/smilies/icon_sad.gif" alt=":(" /></p>
<p>I could just write a plugin that does this, but as I cannot upload plugins to wp.com that approach also fails. I’m locked out of doing my scaling on the images, unless I want to be a script kiddie and use the AJAX interface with Wireshark traces and somewhat reverse engineering but this isn’t the right way of doing things.</p>
<p>I think I’ll just sit down, add a feature to scale images on <em>class-wp-xmlrpc-server.php</em> and if I’m lucky, it’ll end up on the official release for wordpress.org, and it might work on wordpress.com as well one day, at least that’s what I’m hoping for, so that all the rest of you guys can get your used space down a little bit!</p>
<p>/marcus</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2012/01/18/annoyed-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>presenting mfTabata</title>
		<link>http://marcusfollrud.net/2011/09/04/presenting-mftabata/</link>
		<comments>http://marcusfollrud.net/2011/09/04/presenting-mftabata/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 16:24:42 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=611</guid>
		<description><![CDATA[Some posts ago i wrote about my experience with Android development and the result of my learnings, I took the time to fix some minor bugs and make the application running. It wasn&#8217;t too hard, even though there might be some more bugs to it of course. It&#8217;s called &#8221;mfTabata&#8221; (naming things is the hardest [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmarcusfollrud.net%2F2011%2F09%2F04%2Fpresenting-mftabata%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2011%2F09%2F04%2Fpresenting-mftabata%2F&amp;source=marcusfollrud&amp;style=normal&amp;service=bit.ly&amp;service_api=R_7d280395e19104feae6bc0cd839f41c0&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a title="Developing with Android" href="http://marcusfollrud.net/2011/08/14/developing-with-android/">Some posts ago</a> i wrote about my experience with Android development and the result of my learnings, I took the time to fix some minor bugs and make the application running. It wasn&#8217;t too hard, even though there might be some more bugs to it of course.</p>
<p>It&#8217;s called &#8221;mfTabata&#8221; (naming things is the hardest part <img src='http://marcusfollrud.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ) and runs on all Android devices running version 2.2.3 or more (that&#8217;s all I&#8217;ve tested).</p>
<p>I&#8217;ll publish it to the market soon, but for now you can find it <a href="http://marcusfollrud.net/files/mfTabata101.apk">on the blog</a></p>
<p>Cheers</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2011/09/04/presenting-mftabata/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>dopingkollen.se</title>
		<link>http://marcusfollrud.net/2011/08/28/dopingkollen-se/</link>
		<comments>http://marcusfollrud.net/2011/08/28/dopingkollen-se/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 18:55:28 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Open source]]></category>
		<category><![CDATA[Programmering]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=603</guid>
		<description><![CDATA[Hej Vänner! För några dagar sedan hade jag och några vänner en diskussion kring kosttillskott och &#8221;misstagsdoping&#8221;. Finns misstagsdoping egentligen? Behöver man kosttillskott? Frågorna var många och vi hade väl ungefär lika många svar. Men samtidigt som jag var mitt uppe i diskussionen pågick där parallellt en härlig problemlösning i bakhuvudet som bara kommer fram [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmarcusfollrud.net%2F2011%2F08%2F28%2Fdopingkollen-se%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2011%2F08%2F28%2Fdopingkollen-se%2F&amp;source=marcusfollrud&amp;style=normal&amp;service=bit.ly&amp;service_api=R_7d280395e19104feae6bc0cd839f41c0&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Hej Vänner!</p>
<p><img class="alignleft size-thumbnail wp-image-604" title="piller" src="http://marcusfollrud.net/wp-content//2011/08/1488488588_892e45dbdb-150x150.jpg" alt="" width="150" height="150" />För några dagar sedan hade jag och några vänner en diskussion kring kosttillskott och &#8221;misstagsdoping&#8221;. Finns misstagsdoping egentligen? Behöver man kosttillskott? Frågorna var många och vi hade väl ungefär lika många svar. Men samtidigt som jag var mitt uppe i diskussionen pågick där parallellt en härlig problemlösning i bakhuvudet som bara kommer fram vid programmeringstillfälle.<em> Hur skulle det vara ifall man hade en databas som hade koll på vilka produkter som var stämplade som dopingklassade?Med innehållsförteckning, länkar mot nyheter osv osv?</em></p>
<p>Av att döma utav Riksidrottsförbundets lista på medel som inte är tillåtna blir man lätt blind, och t.om ger upp. Där finns helt enkelt inget bra sätt att se ifall ett kosttillskott är dopingklassat eller inte.</p>
<p>Samma dag som diskussionen satte igång var jag fullt igång med att göra något av det. Tekniskt intresserad som jag är lade jag nog mest tyngd på vilka komponenter jag skulle använda. Valen blev följande:</p>
<ul>
<li><a href="http://doophp.com/">DooPHP</a></li>
<li><a href="http://jquery.com/">jQuery</a></li>
<li><a href="http://mysql.com/">mySQL</a></li>
</ul>
<p>DooPHP blev valt av den anledningen att det är väldigt komplett, men ändå förvånansvärt snabbt och enkelt att använda.<br />
jQuery för enkelheten med JavaScript och dynamiska webbsidor.<br />
mySQL var lika enkelt att välja, jag behöver bara en enkel tabell med korsreferenser. sqlite hade säkert funkat, men DooPHP har grymt stöd för CRUD och tabellrelationer, som inte verkade vara helt stött med sqlite.</p>
<p>Så, jag satte mig ner och började skrida till verket. Efter några timmar har jag en sida uppe som ligger på <a title="dopingkollen" href="http://dopingkollen.se">http://dopingkollen.se</a>.</p>
<p>Dopingkollen är en kollaborativ sida där alla kan söka, ändra och lägga till produkter. Det som behövs är produktens titel samt dess innehållsförteckning. När produkten finns i databasen jämförs den direkt med RF&#8217;s lista och ger information ifall produkten gick igenom eller inte.</p>
<p>Enkelt och smidigt, men designen behöver jobbas på, och det gör jag <img src='http://marcusfollrud.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Förutom sidan i sigsjälv är där ett API, se <a href="http://dopingkollen.se/api">http://dopingkollen.se/api</a>, gjort i REST + JSON, för enkel och bandbreddssparande implementering.</p>
<p>Så, nästa steg är att gå igång sidan i sin enklaste form, vara nöjd med designen. Därefter blir det ett nytt spännande projekt som jag tänkte låta vara Open Source, en Android app som implementerar <a href="http://code.google.com/p/zxing/">zxing</a>, där man kan använda sin mobilkamera för att skanna en EAN-kod och därefter får resultatet direkt i luren när man står i affären och ska bestämma sig för vilket kosttillskott man funderar på att köpa.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2011/08/28/dopingkollen-se/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Goals of 2011</title>
		<link>http://marcusfollrud.net/2011/08/15/goals-of-2011/</link>
		<comments>http://marcusfollrud.net/2011/08/15/goals-of-2011/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 18:59:36 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[monotouch]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Programmering]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=594</guid>
		<description><![CDATA[Haha, just read my old post regarding the goals I had set in 2010. Did any of them come true? &#8211; No. This is how it went: #1 MonoTouch app I did start an iPhone application with MonoTouch, but the API for the application is was developing on never got completed so it just died. Would&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmarcusfollrud.net%2F2011%2F08%2F15%2Fgoals-of-2011%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2011%2F08%2F15%2Fgoals-of-2011%2F&amp;source=marcusfollrud&amp;style=normal&amp;service=bit.ly&amp;service_api=R_7d280395e19104feae6bc0cd839f41c0&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Haha, just read my <a href="http://marcusfollrud.net/2010/01/01/goals-for-the-year/">old post</a> regarding the goals I had set in 2010. Did any of them come true? &#8211; No.</p>
<p>This is how it went:</p>
<p><strong>#1 MonoTouch app<br />
</strong>I did start an iPhone application with MonoTouch, but the API for the application is was developing on never got completed so it just died. Would&#8217;ve been a great app that&#8217;s for sure</p>
<p><strong>#2 Payson drupal module.</strong><br />
Also got started, even got quite far actually, but my leaving of the drupal site I was part of (linuxportalen.se) resulted in a non-complete code. Besides, I have a shallow memory that there were some problems with drupal when it came to directly hook into POST parameters, which were needed by the Payson API. When i think about it I should&#8217;ve just made a hacky php that connected to the database with the proper result, but if I&#8217;m not mistaken mind was set to do it &#8221;the proper&#8221; way, which resulted in a no go.</p>
<p><strong>#3 Community site based on Django<br />
</strong>Ah, i really loved python back in early 2010, and I still do, but when I did some research I found tornado server of better use, as I started to more and more like to writer proper API&#8217;s, instead of views with hooks of code.</p>
<p>I stopped with the Django project after some time, got back to PHP, created a small framework and started developing the new community site, which also kind of died along with my interest in the Swedish Linux community (yeah, it was meant to replace linuxportalen) whom were too much interested of internal conflicts plus distro war.</p>
<p>But, through the year I looked up some different Web frameworks for PHP, and I found <a href="http://doophp.com">DooPHP</a>, a wonderful and fast framework which is easy to learn and use. There&#8217;s a small project going on there, without a release date though, just something I do when I&#8217;m bored.</p>
<p>So to sum it up, none of my plans happened with the spare time I had part from my ordinary job, but it&#8217;s ok, none of them were too important, even though it looked like it when I think back about it.</p>
<p>&nbsp;</p>
<p><span style="color: #000000;"><strong>Goals of 2011<br />
</strong>Ha ha, right, I won&#8217;t set up any goals this year. I spend far too little time in front of the computer when I&#8217;m not working and the truth is, there are other things in life far more important to cherish and enjoy besides techie stuff. But hey, do I find something not too big and fun, I&#8217;ll probably do it <img src='http://marcusfollrud.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</span></p>
<p>Take care,<br />
Marcus</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2011/08/15/goals-of-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spotify invites</title>
		<link>http://marcusfollrud.net/2011/08/15/spotify-invites-2/</link>
		<comments>http://marcusfollrud.net/2011/08/15/spotify-invites-2/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 05:01:06 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=589</guid>
		<description><![CDATA[I do have a lot of spotify invitations to give away. let me know if you&#8217;re interested in one, drop me a mail to marcus.follrud @ gmail]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmarcusfollrud.net%2F2011%2F08%2F15%2Fspotify-invites-2%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2011%2F08%2F15%2Fspotify-invites-2%2F&amp;source=marcusfollrud&amp;style=normal&amp;service=bit.ly&amp;service_api=R_7d280395e19104feae6bc0cd839f41c0&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I do have a lot of spotify invitations to give away.</p>
<p>let me know if you&#8217;re interested in one, drop me a mail to marcus.follrud @ gmail</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2011/08/15/spotify-invites-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing with Android</title>
		<link>http://marcusfollrud.net/2011/08/14/developing-with-android/</link>
		<comments>http://marcusfollrud.net/2011/08/14/developing-with-android/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 18:08:58 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=584</guid>
		<description><![CDATA[It&#8217;s been a while since I&#8217;ve had any needs of sitting by the computer and write any code. I just haven&#8217;t felt the need of doing it, or have I thought that it would&#8217;ve been fun. Idk, I guess that I&#8217;ve just lost the fun part of developing. Anyways, some days ago I received a [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmarcusfollrud.net%2F2011%2F08%2F14%2Fdeveloping-with-android%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2011%2F08%2F14%2Fdeveloping-with-android%2F&amp;source=marcusfollrud&amp;style=normal&amp;service=bit.ly&amp;service_api=R_7d280395e19104feae6bc0cd839f41c0&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<div id="attachment_585" class="wp-caption alignleft" style="width: 160px"><img class="size-thumbnail wp-image-585" title="photo" src="http://marcusfollrud.net/wp-content//2011/08/photo-e1313344029564-150x150.jpg" alt="Sunday of text" width="150" height="150" /><p class="wp-caption-text">Sunday of text</p></div>
<p>It&#8217;s been a while since I&#8217;ve had any needs of sitting by the computer and write any code. I just haven&#8217;t felt the need of doing it, or have I thought that it would&#8217;ve been fun. Idk, I guess that I&#8217;ve just lost the fun part of developing.</p>
<p>Anyways, some days ago I received a new phone from the company I work for. I&#8217;ve had an iPhone 3GS since it was released and it is starting to fall apart. This time I got to choose an Android phone, and the choice came down to HTC Incredible S, which is absolutely a cool phone. And Android is such a cool operating system. I really get what people mean when they say that they feel locked in with Apples iOS. Without jail breaking it, you don&#8217;t get all the nice stuff you might want, like the widgets, bit torrent client, SCP data transfer and all the media codecs. The list comes quite long if we&#8217;re suppose to write everything down what Android has and what iOS doesn&#8217;t, so lets skip it.</p>
<p><em>I still like iOS though, it&#8217;s really a great operating system as well.</em></p>
<p>So, after using the Android OS for a while I decided to look into the development environments of it. I knew it was based on Java, which I&#8217;m not too fond of, not due to it&#8217;s language, but to the performance, if it wasn&#8217;t running on Windows, it was terribly slow. But for Android, I was completely wrong, It responds fast, and it reminds a lot of C# (duh). So today I decided to do something for Android, just to see how it works. I chose to make an Tabata, or Interval sprint timer, that give you a honk on the horn when to sprint or to rest. From idea to working app in the phone was about 5 hours. I&#8217;m amazed how fast it went, for not having done too much development in the last months.</p>
<p>Below you can find a video of the result (P.s my writing feels like crap, it&#8217;s been a while since I expressed my mind on the keyboard <img src='http://marcusfollrud.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  D.S):</p>
<p><a href="http://marcusfollrud.net/wp-content//2011/08/IMG_0002.mov">IMG_0002</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2011/08/14/developing-with-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://marcusfollrud.net/wp-content//2011/08/IMG_0002.mov" length="3731633" type="video/quicktime" />
		</item>
		<item>
		<title>Adding bit.ly support to mu-feeder</title>
		<link>http://marcusfollrud.net/2010/01/23/adding-bit-ly-support-to-mu-feeder/</link>
		<comments>http://marcusfollrud.net/2010/01/23/adding-bit-ly-support-to-mu-feeder/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 09:10:42 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[bit.ly]]></category>
		<category><![CDATA[mu-feeder]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[twitterfeed]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=382</guid>
		<description><![CDATA[My twitterfeed haven&#8217;t been working for  a while now. The last update was 2009-11-25, so I went out googling on &#8221;twitterfeed replacement&#8221; and found mu-feeder. A small python script that publish your blog entrys (or whatever RSS feed that you might have) to twitter. It&#8217;s very sweet but i missed the bit.ly support. But, since [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmarcusfollrud.net%2F2010%2F01%2F23%2Fadding-bit-ly-support-to-mu-feeder%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2010%2F01%2F23%2Fadding-bit-ly-support-to-mu-feeder%2F&amp;source=marcusfollrud&amp;style=normal&amp;service=bit.ly&amp;service_api=R_7d280395e19104feae6bc0cd839f41c0&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>My twitterfeed haven&#8217;t been working for  a while now. The last update was 2009-11-25, so I went out googling on &#8221;twitterfeed replacement&#8221; and found <a href="https://launchpad.net/mu-feeder">mu-feeder</a>. A small python script that publish your blog entrys (or whatever RSS feed that you might have) to twitter. It&#8217;s very sweet but i missed the bit.ly support.</p>
<p>But, since it&#8217;s open source, there&#8217;s nothing that you can&#8217;t do about it <img src='http://marcusfollrud.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I went out hunting and i found <a href="http://code.google.com/p/python-bitly/">python-bitly</a>. A library for the bit.ly API!</p>
<p>After some tweaking in the bitly file I got it working.</p>
<p>Step 1: Download mu-feeder and unpack it.<br />
Step 2: <a href="http://marcusfollrud.net/wp-content/bitly.py">Download the modified bitly file</a> and put it in mu-feeder/shorteners (<a href="http://marcusfollrud.net/wp-content/bitly.diff">diff here</a>)<br />
Step 3:  Edit your mu-feeder settings.py. set URL_SHORTENING_SERVICE to &#8221;bitly&#8221; and URL_SHORTENER_LOGIN plus URL_SHORTENER_PASSWORD to your bit.ly username and the API key that you have on bit.ly.</p>
<p>That&#8217;s it. Now it should work just fine <img src='http://marcusfollrud.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Have a nice weekend.<br />
Marcus</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2010/01/23/adding-bit-ly-support-to-mu-feeder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>6 Spotify invites</title>
		<link>http://marcusfollrud.net/2010/01/18/6-spotify-invites/</link>
		<comments>http://marcusfollrud.net/2010/01/18/6-spotify-invites/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 10:43:21 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Privat]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[invites]]></category>
		<category><![CDATA[spotify]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=364</guid>
		<description><![CDATA[Hi folks. I have 6  invites to spotify. As always, enter your email in the comment and I&#8217;ll give you a &#8221;Spotify Free&#8221; invite. First come, first served. Oh and yeah. I will delete the mail info asap. Yeah&#8230; I&#8217;m out of invites.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmarcusfollrud.net%2F2010%2F01%2F18%2F6-spotify-invites%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2010%2F01%2F18%2F6-spotify-invites%2F&amp;source=marcusfollrud&amp;style=normal&amp;service=bit.ly&amp;service_api=R_7d280395e19104feae6bc0cd839f41c0&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://marcusfollrud.net/wp-content//Spotify_icon.png"><img class="alignleft" title="Spotify" src="http://marcusfollrud.net/wp-content//Spotify_icon.png" alt="" width="358" height="358" /></a>Hi folks. I have 6  invites to spotify. As always, enter your email in the comment and I&#8217;ll give you a &#8221;Spotify Free&#8221; invite.<br />
First come, first served.</p>
<p>Oh and yeah. I will delete the mail info asap.</p>
<p><strong>Yeah&#8230; I&#8217;m out of invites.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2010/01/18/6-spotify-invites/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>2010 &#8211; Goals for the year</title>
		<link>http://marcusfollrud.net/2010/01/01/goals-for-the-year/</link>
		<comments>http://marcusfollrud.net/2010/01/01/goals-for-the-year/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 17:01:07 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[monotouch]]></category>
		<category><![CDATA[Programmering]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=360</guid>
		<description><![CDATA[I didn&#8217;t make any new year promise to myself. Mostly because there&#8217;s nothing more broken than a promise made when welcoming the new year. So, instead of making promises, I&#8217;ve made goals that i&#8217;ll try to complete and deliver. #1 &#8211; My first iPhone application released A couple of months ago I beta tested MonoTouch, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmarcusfollrud.net%2F2010%2F01%2F01%2Fgoals-for-the-year%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2010%2F01%2F01%2Fgoals-for-the-year%2F&amp;source=marcusfollrud&amp;style=normal&amp;service=bit.ly&amp;service_api=R_7d280395e19104feae6bc0cd839f41c0&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I didn&#8217;t make any new year promise to myself. Mostly because there&#8217;s nothing more broken than a promise made when welcoming the new year. So, instead of making promises, I&#8217;ve made goals that i&#8217;ll <strong><em>try</em></strong> to complete and deliver.</p>
<p><strong>#1 &#8211; My first iPhone application released<br />
</strong></p>
<p style="padding-left: 30px;">A couple of months ago I beta tested MonoTouch, the .NET framework for the iPhone. It&#8217;s a great tool for all of us who doesn&#8217;t want to learn Objective-C. After some testing I started to do some actual work for an application. It still needs  more work to be functional but at least I have something to go on. I all goes well this will be done somewhat in April.</p>
<p><strong>#2 &#8211; Payson Drupal Module</strong></p>
<p style="padding-left: 30px;">This one is a bit disturbing and embarrasing. For a long time I&#8217;ve wanted to make this module for Drupal where you, as a user have the possibility to sponsor sites by paying a small amount of cash using paysons money transaction system. I like Payson, and it really deserves more focus <img src='http://marcusfollrud.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Hopefulle this will come handy to Drupal site administrators. Hopefully this will can be expected in fall of 2010.</p>
<p><strong>#3 &#8211; Community Site based on Django</strong></p>
<p style="padding-left: 30px;">The Swedish Community has for a long time lacked a good community web site for tracking one of the finest things with open source &#8211; The great open project that makes whatever disitribution worthy of. It can be all from background search engines like <a href="http://www.beagle-project.org"><em>beagle</em> </a>to music players like <a href="http://www.listen-project.org"><em>Listen</em></a>. All small components that makes the linux experience that great! This should be expected in late 2010.</p>
<p style="padding-left: 30px;">
<p>That&#8217;s the three prioritized goals that I have as it is right now. I&#8217;ll end this post now to get started <img src='http://marcusfollrud.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>See you!<br />
/Marcus</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2010/01/01/goals-for-the-year/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

