<?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 &#187; Linux</title>
	<atom:link href="http://marcusfollrud.net/category/linux/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>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>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>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>
		<item>
		<title>Say hello to Moblin</title>
		<link>http://marcusfollrud.net/2009/11/09/say-hello-to-moblin/</link>
		<comments>http://marcusfollrud.net/2009/11/09/say-hello-to-moblin/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 21:25:39 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[moblin]]></category>
		<category><![CDATA[netbook]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/2009/11/09/say-hello-to-moblin/</guid>
		<description><![CDATA[Today I downloaded moblin, as it were supposed to be good for netbooks. After I&#8217;ve testing it for awhile I can&#8217;t do anything but agree. It&#8217;s really that great! It everything that a good os needs, and all the applications seem to be highy integrated in the main interface! Try it out at: moblin.org!]]></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%2F2009%2F11%2F09%2Fsay-hello-to-moblin%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2009%2F11%2F09%2Fsay-hello-to-moblin%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>Today I downloaded moblin, as it were supposed to be good for netbooks. After I&#8217;ve testing it for awhile I can&#8217;t do anything but agree. It&#8217;s really that great!</p>
<p>It everything that a good os needs, and all the applications seem to be highy integrated in the main interface!</p>
<p>Try it out at: moblin.org!</p>
<p><a href="http://marcusfollrud.net/wp-content//l_550_322_556F3318-FDC8-46C6-BC70-575DF93E1DC5.jpeg"><img src="http://marcusfollrud.net/wp-content//l_550_322_556F3318-FDC8-46C6-BC70-575DF93E1DC5.jpeg" alt="" width="300" height="175" class="alignnone size-full wp-image-364" /></a></p>
<p><a href="http://marcusfollrud.net/wp-content//l_550_322_9F3BFFE3-AC8D-4B29-8B8A-9450CCDCA020.jpeg"><img src="http://marcusfollrud.net/wp-content//l_550_322_9F3BFFE3-AC8D-4B29-8B8A-9450CCDCA020.jpeg" alt="" width="300" height="175" class="alignnone size-full wp-image-364" /></a></p>
<p><a href="http://marcusfollrud.net/wp-content//l_550_322_765409D1-8A19-4FB0-8124-398246DB6EA4.jpeg"><img src="http://marcusfollrud.net/wp-content//l_550_322_765409D1-8A19-4FB0-8124-398246DB6EA4.jpeg" alt="" width="300" height="175" class="alignnone size-full wp-image-364" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2009/11/09/say-hello-to-moblin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Drupal Modules using Python</title>
		<link>http://marcusfollrud.net/2009/10/23/getting-drupal-modules-using-python/</link>
		<comments>http://marcusfollrud.net/2009/10/23/getting-drupal-modules-using-python/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 16:25:23 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programmering]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[modules]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=335</guid>
		<description><![CDATA[A good friend of mine wrote yesterday a small python script that allows the user to search and download Drupal modules directly via the official ftp. This was made since it is quite boring/irritating to first browse through the module page on drupal.org and then copy the link to a shell where you download the [...]]]></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%2F2009%2F10%2F23%2Fgetting-drupal-modules-using-python%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2009%2F10%2F23%2Fgetting-drupal-modules-using-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 href="http://jonasbjork.net">A good friend of mine</a> wrote yesterday a small python script that allows the user to search and download Drupal modules directly via the official ftp.<br />
This was made since it is quite boring/irritating to first browse through the module page on drupal.org and then copy the link to a shell where you download the module you want on your web server.</p>
<p>Instead, Jonas (that&#8217;s my friends name, btw) wrote this program that directly scans through the drupal module directory on the ftp and returns the output in a shell where the user just enter the choice that he/she wants. Example:</p>
<pre class="shell" style="border: 1px solid #ccc; background-color: #fff; color:#666;">jonas@thinkpad61:~$ ./idm.py hello
Found 32436 files!
[0] hellomobile-5.x-1.0.tar.gz
[1] hellomobile-5.x-1.1.tar.gz
[2] hellomobile-5.x-1.x-dev.tar.gz
[3] hellotxt-6.x-1.x-dev.tar.gz
Which module do you want to download? 1
Ok, lets get hellomobile-5.x-1.1.tar.gz
jonas@thinkpad61:~$ ls -l hellomobile-5.x-1.1.tar.gz
-rw-r--r-- 1 jonas jonas 824473 2009-10-22 22:34 hellomobile-5.x-1.1.tar.gz</pre>
<p>I believe that this is quite usefull and interesting. But, <a href="http://www.linuxportalen.se/blogs/jonasbjork/2009/10/22/jb-install-drupal-module-idmpy">as Jonas mentions in this post</a>. It does not contain the functions that you might need, such as: version filter and dev filter. Meaning that you don&#8217;t want to see results for drupal 5 if you are running six. Nor do you want to use developer packages when you are in a critical installation.</p>
<p>I had some time so I made some improvements on the original:</p>
<pre style="border: 1px solid #ccc; background-color: #fff; color:#666;">tomburk@linux-e9bm:~&gt; python idm-mf.py --help
Usage: idm-mf.py [options]</code>

Options:
-h, --help            show this help message and exit
-f version, --filter=version
Filter the results in version numbers.
-d, --dev             Show developer packages</pre>
<p>This allows the user to filter between the version, of course &#8221;all&#8221; can be applied, if one wants to show all the results. Plus, It&#8217;s possible to toggle between showing the developer packages or not.</p>
<p>Final result:</p>
<pre style="border: 1px solid #ccc; background-color: #fff; color:#666;">tomburk@linux-e9bm:~&gt; python idm-mf.py -f 5 hello
Found a total of 32451 files!
Files containing "hello"
 Based on filter: 5
  Not showing developer packages
[0] hellomobile-5.x-1.0.tar.gz
[1] hellomobile-5.x-1.1.tar.gz
Which module do you want to download? 1
Ok, lets get hellomobile-5.x-1.1.tar.gz
tomburk@linux-e9bm:~&gt; ls -s hellomobile-5.x-1.1.tar.gz
812 hellomobile-5.x-1.1.tar.gz</pre>
<p>The file is available here: <a href="http://marcusfollrud.net/wp-content/idm-mf.py">http://marcusfollrud.net/wp-content/idm-mf.py</a><br />
Or at github: <a href="http://github.com/marcusfollrud/idm">http://github.com/marcusfollrud/idm</a><br />
See you!</p>
<p style="text-align: center;"><strong>A small update</strong></p>
<p style="text-align: center;">2009-10-24 &#8211; Added support for multiple file download, Available on both github and in wp-content</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2009/10/23/getting-drupal-modules-using-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian in Virtualbox</title>
		<link>http://marcusfollrud.net/2009/10/14/debian-in-virtualbox/</link>
		<comments>http://marcusfollrud.net/2009/10/14/debian-in-virtualbox/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 18:59:39 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://marcusfollrud.net/?p=331</guid>
		<description><![CDATA[In the Swedish linux community, it&#8217;s quite common to experience linux by: Install ubuntu/opensuse/mint Fix the lack of mp3/mkv/h264/xvid blabla support Install virtualbox Test distributions Brag about the ones you installed (especially Debian) It&#8217;s always good to try out different flavors, till you find the one the match your needs and requirements. It is also [...]]]></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%2F2009%2F10%2F14%2Fdebian-in-virtualbox%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmarcusfollrud.net%2F2009%2F10%2F14%2Fdebian-in-virtualbox%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>In the Swedish linux community, it&#8217;s quite common to experience linux by:</p>
<ol>
<li>Install ubuntu/opensuse/mint</li>
<li>Fix the lack of mp3/mkv/h264/xvid blabla support</li>
<li>Install virtualbox</li>
<li>Test distributions</li>
<li>Brag about the ones you installed (<em>especially</em> Debian)</li>
</ol>
<p>It&#8217;s always good to try out different flavors, till you find the one the match your needs and requirements. It is also always good for people that&#8217;s creating the different distributions as it often generates feedback. If not directly towards the developers, then at least a comment about it on the web will be made in most cases. This means indirect feedback plus the growth of Linux overall.</p>
<p>When it comes to myself, I&#8217;ve never been much of a distribution tester. Sure, I&#8217;ve installed quite many over my 6 years running Linux. Such as Ubuntu, OpenSuSE, Fedora, Slackware, Arch, Crux and so on. But I have always tried them out fairly, in the meaning that none of them have been in a Virtualbox just to test the installation and the mp3 support in the chosen distribution. To me, the most importance thing is how productive I am.</p>
<p>Anyways, what I was going to say is that I made my first Virtualbox+Debian installation today (yay, my time to shine!!). To me Debian has always seemed to be this quite advanced installation to get it up and running, according to what Swedish users express on the web. . But today, I realized that it&#8217;s just as simple as installing it&#8217;s buddy Ubuntu. Why do people brag about this?</p>
<p>The true reason for why I chosed Debian, and more important installing via Virtualbox is because of the recent Appartment change me and my darling made I&#8217;ve only set up the MacMini as my working station. The PC is now standing doing nothing, and I&#8217;m too lazy to insert all the cables, hehe <img src='http://marcusfollrud.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Also, it&#8217;s the recommended distribution by the company that I work for. Therefor it felt naturally to install Debian!</p>
<p>This entry was never to start a Flame war between distributions, they are all good. It all just depends on your needs.</p>
<p>And if any Virtualbox distribution tester feels pointed out or accused inappropriately, then I apologize. I never meant to sound negative, rude or wiseacre.</p>
<p>Best,<br />
Marcus</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusfollrud.net/2009/10/14/debian-in-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

