<?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></title>
	<atom:link href="http://www.floschnell.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.floschnell.de</link>
	<description></description>
	<lastBuildDate>Sat, 05 Feb 2011 18:40:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Grooveshark</title>
		<link>http://www.floschnell.de/2011/02/05/grooveshark/</link>
		<comments>http://www.floschnell.de/2011/02/05/grooveshark/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 18:37:13 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.floschnell.de/?p=346</guid>
		<description><![CDATA[Nachdem ich den &#8220;kostenlosen&#8221; online Musik streaming Service jetzt schon einen Monat lang ausgiebig getestet habe, muss ich mal eben einen positiven Kommentar dazu los werden. Vor allem im Ausland ist es immer problematisch mit Musikrechten. Dienste wie last.fm oder spotify sind entweder nur in Frankreich oder Deutschland verfügbar oder stark begrenzt. Eine youtube Playlist [...]]]></description>
			<content:encoded><![CDATA[<p><img style="float:right;margin-left:5px;margin-bottom:5px;" class="alignright size-full wp-image-348" title="20100817234320b" src="http://www.floschnell.de/wp-content/uploads/2011/02/20100817234320b.gif" alt=""  width="126" height="108"/>Nachdem ich den &#8220;kostenlosen&#8221; online Musik streaming Service jetzt schon einen Monat lang ausgiebig getestet habe, muss ich mal eben einen positiven Kommentar dazu los werden.<br />
Vor allem im Ausland ist es immer problematisch mit Musikrechten. Dienste wie last.fm oder spotify sind entweder nur in Frankreich oder Deutschland verfügbar oder stark begrenzt. Eine youtube Playlist mag schön und gut sein, aber auch diese wird des öfteren unterbrochen oder Lieder werden übersprungen weil Titel nicht mehr verfügbar sind etc.<br />
Grooveshark hat sich hier als sehr unkompliziert erwiesen. Eine riesige Musikdatenbank und diese ohne Unterbrechungen abrufbar. Man findet tatsächlich alles, selbst unbekannte oder eher lokale Interpreten werden gefunden.<br />
Zwei kleine negative Faktoren sind aus meiner Sicht allerdings die Umsetzung des Players mit Flash/AIR und die chaotische Organisation der Musik mit teils falschen Titeln oder doppelten Liedern.<br />
Ich habe mich trotz dieser Mängel gerade für ein Anywhere Upgrade entschieden und bin schon voll begeistert von den Vorzügen. Für umgerechnet 8 Euro im Monat erhält man eine Desktop Applikation, werbefreien Zugang, eine IPhone App und die Möglichkeit Musik offline abzuspielen.<br />
Die Iphone Anwendung funktioniert leider nur auf gejailbreakten Telefonen, daher habe ich damit gerechnet, dass diese eventuell auf einige Features verzichtet oder eher instabil läuft. Lädt man sie über Cydia herunter kann man sie erstmals für 14 Tage testen. Bis jetzt hatte ich noch keine Probleme und gehe davon aus, dass sie entgegen meiner Erwartungen sehr gut funktioniert.<br />
So viel von einem bislang sehr überzeugten Grooveshark Nutzer.<br />
Danke Martin für die Empfehlung <img src='http://www.floschnell.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.floschnell.de/2011/02/05/grooveshark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buddy Resource Allocation</title>
		<link>http://www.floschnell.de/2010/12/02/buddy-resource-allocation/</link>
		<comments>http://www.floschnell.de/2010/12/02/buddy-resource-allocation/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 21:46:15 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Englisch]]></category>
		<category><![CDATA[Studium]]></category>

		<guid isPermaLink="false">http://www.floschnell.de/?p=336</guid>
		<description><![CDATA[I needed it for a private project and thought it might be helpful for someone else. Ever had the problem of needing to share a limited resource between several program components? As teached in operating systems course there is a method called &#8220;Buddy Memory Allocation&#8221; which is used to share the computer&#8217;s memory between the [...]]]></description>
			<content:encoded><![CDATA[<p>I needed it for a private project and thought it might be helpful for someone else.<br />
Ever had the problem of needing to share a limited resource between several program components?<br />
As teached in operating systems course there is a method called &#8220;Buddy Memory Allocation&#8221; which is used to share the computer&#8217;s memory between the different applications running on the OS.<br />
I have ported this to php, you can use it for any amount of resources and no matter what type.</p>
<pre class="brush: php; title: ;">&lt;?php

/**
 * Each BuddyNode manages part of the resource.
 * And may even divide this part again.
 * Is used to build a binary tree.
 * @author Florian Schnell
 */
class BuddyNode
{
	public $start;
	public $exp;
	public $parent;
	public $free;
	public $amount;
	public $buddy_left;
	public $buddy_right;
}

/**
 * Manages resources of a limited amount.
 * Use the request method to receive a buddy node
 * matching the required value.
 * If resource is not needed anymore use free to
 * share with others again.
 * @author Florian Schnell
 */
class BuddyResourcesManager
{
	protected $total;
	protected $blocks;
	protected $root;

	function __construct($min, $max)
	{
		$this-&gt;total = abs($min) + $max;

		// create main buddy node
		$this-&gt;root = new BuddyNode();
		$this-&gt;root-&gt;start = 0;
		$this-&gt;root-&gt;parent = null;
		$this-&gt;root-&gt;free = true;
		$this-&gt;root-&gt;amount = $this-&gt;total;
		$this-&gt;root-&gt;buddy_left = null;
		$this-&gt;root-&gt;buddy_right = null;

		// init buddy list ...
		$this-&gt;lists[1] = array($this-&gt;root);
	}

	/**
	 * Retrieves the specified amount of resources.
	 * @param integer $amount
	 * @return BuddyNode
	 */
	function request($amount)
	{
		$exp_fit = floor(log($this-&gt;total / $amount, 2));

		// try to get an available block in right size ...
		$exp = $exp_fit;
		while (!isset($this-&gt;lists[$exp]))
			$exp--;

		$free = false;
		do
		{
			if ($exp &lt; 1) // no resources available!
				return false;

			// check if there's a free buddy on this level ...
			foreach ($this-&gt;lists[$exp] as $buddy)
			{
				if ($buddy-&gt;free)
				{
					$free = $buddy;
					if ($exp == $exp_fit){
						$free-&gt;free = false;
						return $free;
					}
					break;
				}
			}

			// try next level ...
			$exp--;

		} while (!$free);

		// break blocks apart until they have the right size ...
		while ($exp_fit &gt; $exp)
		{
			$this-&gt;splitBuddyNode($free);
			$free = $free-&gt;buddy_left;
			$exp++;
		}

		$free-&gt;free = false;
		return $free;
	}

	/**
	 * This method deallocates the retrieved part of
	 * the resource so that others can access it again.
	 * @param BuddyNode $buddy
	 */
	function free(BuddyNode $buddy)
	{
		$buddy-&gt;free = true;

		do
		{
			$buddy = $buddy-&gt;parent;
			if ($buddy-&gt;buddy_left-&gt;free
				&amp;&amp; $buddy-&gt;buddy_right-&gt;free)
			{
				$buddy-&gt;buddy_left-&gt;parent = null;
				$buddy-&gt;buddy_right-&gt;parent = null;
				$buddy-&gt;buddy_left = null;
				$buddy-&gt;buddy_right = null;
				$buddy-&gt;free = true;
			}
		} while ($buddy-&gt;parent &amp;&amp; $buddy-&gt;free);
	}

	/**
	 * Take one BuddyNode that is a leaf and split it
	 * into a left and a right node.
	 * @param BuddyNode $parent
	 */
	protected function splitBuddyNode(BuddyNode $parent)
	{
		// only if this node is not in use
		if (!$parent-&gt;free)
			return;

		// can't split already split nodes
		if ($parent-&gt;buddy_left != null
			&amp;&amp; $parent-&gt;buddy_right != null)
			return;

		$subsize = $parent-&gt;amount / 2;
		$parent-&gt;free = false;

		// build left leaf
		$buddy = new BuddyNode();
		$buddy-&gt;exp = $parent-&gt;exp+1;
		$buddy-&gt;parent = $parent;
		$buddy-&gt;amount = $subsize;
		$buddy-&gt;free = true;
		$buddy-&gt;start = $parent-&gt;start;
		$parent-&gt;buddy_left = $buddy;
		$this-&gt;lists[$buddy-&gt;exp][] = $buddy;

		// build right leaf
		$buddy = new BuddyNode();
		$buddy-&gt;exp = $parent-&gt;exp+1;
		$buddy-&gt;parent = $parent;
		$buddy-&gt;amount = $subsize;
		$buddy-&gt;free = true;
		$buddy-&gt;start = $parent-&gt;start
			+ $parent-&gt;buddy_left-&gt;amount;
		$parent-&gt;buddy_right = $buddy;
		$this-&gt;lists[$buddy-&gt;exp][] = $buddy;
	}
}

?&gt;</pre>
<p>First create a new object of type BuddyResourcesManager, you need to give a min and a max value. Normally you would set min to zero and set the max value to the available amount of the resource. After that you can the object&#8217;s methods request and free to simply get more resources if needed or return any if not anymore.<br />
Hope it helps, cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.floschnell.de/2010/12/02/buddy-resource-allocation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paris</title>
		<link>http://www.floschnell.de/2010/10/04/paris/</link>
		<comments>http://www.floschnell.de/2010/10/04/paris/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 07:15:03 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Studium]]></category>

		<guid isPermaLink="false">http://www.floschnell.de/?p=330</guid>
		<description><![CDATA[Bin gut in Paris angekommen, gab zwar das eine oder andere Problem als ich mit meinen Koffern versucht habe Paris einmal unterirdisch zu durchqueren &#8230; ansonsten ist aber alles in bester Ordnung. Die Leute hier sind total nett und hilfsbereit, vor allem dann, wenn man sich im Französisch versucht &#8211; obwohl man weiß, dass die [...]]]></description>
			<content:encoded><![CDATA[<p>Bin gut in Paris angekommen, gab zwar das eine oder andere Problem als ich mit meinen Koffern versucht habe Paris einmal unterirdisch zu durchqueren &#8230; ansonsten ist aber alles in bester Ordnung.<br />
Die Leute hier sind total nett und hilfsbereit, vor allem dann, wenn man sich im Französisch versucht &#8211; obwohl man weiß, dass die Lage eher aussichtslos ist <img src='http://www.floschnell.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .<br />
Meine Arbeit wird glaube ich durchaus Spaß machen, da ich ziemlich viel eigenverantwortlich machen darf und nur hin und wieder eine Präsentation abgeben muss, welche dann &#8220;evaluiert&#8221; wird &#8230;<br />
Insgesamt habe ich bisher schon einiges gesehen &#8211; eigentlich nur gutes &#8211; habe dadurch aber auch eher wenig Zeit gehabt mal was hören zu lassen. Werde mal sehen ob ich heute Abend ein paar Fotos hochstellen kann.<br />
A propos Arbeit &#8211; ich muss dann auch mal los, hier fängt man ja glücklicherweise erst um 10 Uhr an!<br />
Donc, bonjour<br />
Flo</p>
<p>UPDATE:<br />
Okay, ich habe nun mal ein paar Fotos hochgeladen, dass man sich ein &#8220;Bild&#8221; machen kann&#8230;<br />
Hoffe es gefällt!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.floschnell.de/2010/10/04/paris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fallen Flower</title>
		<link>http://www.floschnell.de/2010/09/15/fallen-flower/</link>
		<comments>http://www.floschnell.de/2010/09/15/fallen-flower/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 18:02:30 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.floschnell.de/?p=310</guid>
		<description><![CDATA[Huhu, ich habe heute auf www.interfacelift.com ein Bild, welches ich mit meiner neuen Kamer aufgenommen habe, hochgeladen. Wenn&#8217;s euch gefällt, dann könnt ihr dafür voten und vielleicht schafft&#8217;s die Blume dann ja auf die Titelseite . Hier könnt ihr eure Stimme abgeben: http://interfacelift.com/wallpaper_beta/loupe/ Danke!]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-311 alignnone" style="margin: 4px; float: left;" title="DSC00502_small" src="http://www.floschnell.de/wp-content/uploads/2010/09/DSC00502_small.jpg" alt="DSC00502_small" width="240" height="161" /></p>
<p>Huhu, ich habe heute auf www.interfacelift.com ein Bild, welches ich mit meiner neuen Kamer aufgenommen habe, hochgeladen.</p>
<p>Wenn&#8217;s euch gefällt, dann könnt ihr dafür voten und vielleicht schafft&#8217;s die Blume dann ja auf die Titelseite <img src='http://www.floschnell.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  .</p>
<p>Hier könnt ihr eure Stimme abgeben:<br />
<a href="http://interfacelift.com/wallpaper_beta/loupe/">http://interfacelift.com/wallpaper_beta/loupe/</a><br />

<p style="float:clear;">Danke!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.floschnell.de/2010/09/15/fallen-flower/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aseco++</title>
		<link>http://www.floschnell.de/2010/09/07/aseco/</link>
		<comments>http://www.floschnell.de/2010/09/07/aseco/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 16:39:03 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.floschnell.de/?p=304</guid>
		<description><![CDATA[Vielleicht kennen es ja ein paar schon, vor ca 2 Jahren habe ich ein Tool geschrieben welches es ermöglicht den Trackmania Dedicated Server aus dem Spiel zu steuern oder automatisch Rekorde aufzeichnen zu lassen und vieles mehr. Dieses Tool nennt sich Aseco und ist in php geschrieben, außerdem bekam ich Hilfe von Assembler Maniac, welcher [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.floschnell.de/wp-content/uploads/2010/09/asecopp.png"><img class="size-medium wp-image-305" style="margin: 4px; float: right;" title="Aseco++" src="http://www.floschnell.de/wp-content/uploads/2010/09/asecopp-300x178.png" alt="Aseco++ nach dem Start." width="300" height="178" /></a></p>
<p>Vielleicht kennen es ja ein paar schon, vor ca 2 Jahren habe ich ein Tool geschrieben welches es ermöglicht den Trackmania Dedicated Server aus dem Spiel zu steuern oder automatisch Rekorde aufzeichnen zu lassen und vieles mehr.<br />
Dieses Tool nennt sich Aseco und ist in php geschrieben, außerdem bekam ich Hilfe von Assembler Maniac, welcher einen großen Teil zu dem Projekt beigetragen hat. Es ist mittlerweile schon recht ausgereift und kann auf <a href="http://www.sourceforge.net/projects/aseco">sourceforge</a> heruntergeladen werden.<br />
Allerdings stießen wir relativ bald an die Grenzen der Interpretersprache wie zum Beispiel bei der Geschwindigkeit, Multithreading oder der leckenden Speicherverwaltung.</p>
<p>Nun hat es eine Weile gedauert bis ich mich wieder aufraffen konnte und für eine C++ Umsetzung nochmal von Null auf angefangen habe. Der Grundstein ist bald gelegt, das heißt die Netzwerkkommunikation klappt und viele Hilfsfunktionen und die Pluginverwaltung funktionieren. Hinter Aseco++ stecken bereits fast 3k Zeilen Code, ich hoffe, dass es bald möglich ist die ersten Plugins zu schreiben <img src='http://www.floschnell.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Achso, auch wenn ich jetzt gleich ein Windows-Bildschirmfoto poste, das Augenmerk liegt schon auch auf einer platformunabhängigen Lösung &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.floschnell.de/2010/09/07/aseco/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Rapidshare API auf sourceforge</title>
		<link>http://www.floschnell.de/2010/02/16/rapidshare-api-auf-sourceforge/</link>
		<comments>http://www.floschnell.de/2010/02/16/rapidshare-api-auf-sourceforge/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 16:17:27 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.floschnell.de/?p=284</guid>
		<description><![CDATA[Nachdem ich noch ein wenig Arbeit investiert habe um den Upload-Vorgang endlich auf ein akzeptables Niveau zu bringen habe ich mir gedacht, dass wohl mehr Leute davon profitieren könnten wenn ich das Werk mal auf sourceforge stelle. In Zukunft findet man neue Versionen der Bibliothek also nicht mehr (nur) hier. Neu bei dieser Version &#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>Nachdem ich noch ein wenig Arbeit investiert habe um den Upload-Vorgang endlich auf ein akzeptables Niveau zu bringen habe ich mir gedacht, dass wohl mehr Leute davon profitieren könnten wenn ich das Werk mal auf sourceforge stelle.<br />
In Zukunft findet man neue Versionen der Bibliothek also nicht mehr (nur) hier.</p>
<p>Neu bei dieser Version &#8230;<br />
- Downloads und Uploads haben vom Konzept her gleiche Callback-Handler.<br />
- Upload ist nicht mehr Sync und braucht auch keine DoEvents mehr.<br />
- Upload hat nun auch eine ProgressChanged-Rückmeldung.<br />
- HTML-Dokumentation<br />
- Sourcecode in der .zip</p>
<p><strong>Download</strong>: <a href="https://sourceforge.net/projects/rapidshareapi/" target="_blank">http://sourceforge.net/projects/rapidshareapi/</a><br />
<strong>Dokumentation</strong>: <a href="http://www.floschnell.de/rapidshareapi/" target="_blank">http://www.floschnell.de/rapidshareapi/</a></p>
<p>Hier noch zum besseren Verständnis, das alte Beispiel mit den neuen Methoden &#8230;</p>
<pre class="brush: csharp; title: ;">
static RapidshareApi RSApi;

[STAThread]
static void Main()
{
  // create the api wrapper ...
  RSApi = new RapidshareApi(&quot;login&quot;, &quot;password&quot;,
  RSClient.RSAccountType.Premium,[usessl], [enablemaxcpulock]);
  UploadFile();
}

void UploadFile()
{
  // do the file upload ...
  string filelocation = &quot;C:\\bananenkompott.zip&quot;;
  RapidshareApi.UploadCallbacks uc =
    new RapidshareApi.UploadCallbacks();
  uc.onCompleted = DownloadFile;
  uc.onProgressChanged = ProgressChanged;
  RSApi.UploadFile(filelocation, uc);
}

void DownloadFile(UploadFileResponse ufr)
{
  string downloadlink = ufr.link;
  // download the file again ...
  string location =  &quot;C:\\Users\\YourLoginName\\Desktop&quot;;
  RapidshareApi.DownloadCallbacks dc =
    new RapidshareApi.DownloadCallbacks();
  dc.onCompleted = Done;
  dc.onProgressChanged = ProgressChanged;
  RSApi.DownloadFile(downloadlink, location, DownloadFileDone);
}

void ProgressChanged(int percent)
{
  // this might update some progress bar ...
}

void Done()
{
  // okay were finished!
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.floschnell.de/2010/02/16/rapidshare-api-auf-sourceforge/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The Known Universe</title>
		<link>http://www.floschnell.de/2010/02/04/the-known-universe/</link>
		<comments>http://www.floschnell.de/2010/02/04/the-known-universe/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 14:33:39 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.floschnell.de/?p=267</guid>
		<description><![CDATA[Ein sehr interessantes Video über das bisher erkundete Universum. Es lässt einen von den Himalayas an allen Sternen vorbei bis zum Nachglühen des Urknalls reisen. Ich finde es sehr imposant, vor allem die Entfernungsangaben am unteren Bildschirmrand sind einfach unvorstellbar &#8230; Muss man sich anschauen, selbst wenn man eigentlich nichts für Physik oder Astronomie über [...]]]></description>
			<content:encoded><![CDATA[<p>Ein sehr interessantes Video über das bisher erkundete Universum. Es lässt einen von den Himalayas an allen Sternen vorbei bis zum Nachglühen des Urknalls reisen.</p>
<p><center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/17jymDn0W6U&amp;hl=de_DE&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/17jymDn0W6U&amp;hl=de_DE&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></center></p>
<p>Ich finde es sehr imposant, vor allem die Entfernungsangaben am unteren Bildschirmrand sind einfach unvorstellbar &#8230;</p>
<p>Muss man sich anschauen, selbst wenn man eigentlich nichts für Physik oder Astronomie über hat <img src='http://www.floschnell.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.floschnell.de/2010/02/04/the-known-universe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rapidshare API &#8211; Update</title>
		<link>http://www.floschnell.de/2010/01/13/rapidshare-api-update/</link>
		<comments>http://www.floschnell.de/2010/01/13/rapidshare-api-update/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 19:32:39 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.floschnell.de/?p=254</guid>
		<description><![CDATA[Nachdem ich ein wenig Feedback bezüglich der Wrapper-Bibliothek erhalten und ein paar Fehler korrigiert habe, dachte ich mir, dass es mal wieder Zeit für eine neue Version sei. Die Bibliothek läuft jetzt ab dem Framework 3.5 und nicht erst ab 4.0b, was ich vorher vergessen hatte zu erwähnen. Des Weiteren habe ich noch ein paar [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.floschnell.de/wp-content/uploads/2010/01/rapidsharelib.png"><img class="size-medium wp-image-255" style="margin: 10px; float:left;" title="rapidsharelib" src="http://www.floschnell.de/wp-content/uploads/2010/01/rapidsharelib-300x187.png" alt="rapidsharelib" width="300" height="187" /></a>Nachdem ich ein wenig Feedback bezüglich der Wrapper-Bibliothek erhalten und ein paar Fehler korrigiert habe, dachte ich mir, dass es mal wieder Zeit für eine neue Version sei.</p>
<p>Die Bibliothek läuft jetzt ab dem Framework 3.5 und nicht erst ab 4.0b, was ich vorher vergessen hatte zu erwähnen.</p>
<p>Des Weiteren habe ich noch ein paar Bugs gefixt:</p>
<li>Bei Dateien fehlten nach Upload 2 bytes</li>
<li>Collector Accounts</li>
<li>Optionale Parameter</li>
<li>Kleinigkeiten</li>
<p><a href="http://sourceforge.net/projects/rapidshareapi/" target="_blank">Die aktuelle Version der RapidshareAPI könnt ihr hier herunterladen.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.floschnell.de/2010/01/13/rapidshare-api-update/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>floschnell.de Upgrade &#8230;</title>
		<link>http://www.floschnell.de/2009/11/16/floschnell-de-upgrade/</link>
		<comments>http://www.floschnell.de/2009/11/16/floschnell-de-upgrade/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 08:14:33 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.floschnell.de/?p=224</guid>
		<description><![CDATA[Aufgrund eines WordPress Updates kam es die letzten zwei Tage immer wieder zu kleineren Fehlern auf der Seite. Mittlerweile sollte aber alles wieder laufen =) Am meisten Probleme hat mir das Last.fm Plugin gemacht, allerdings kann man hier eine neue Version der http.php Datei herunterladen welche die auftretenden Fehler beseitigt.]]></description>
			<content:encoded><![CDATA[<p>Aufgrund eines WordPress Updates kam es die letzten zwei Tage immer wieder zu kleineren Fehlern auf der Seite.<br />
Mittlerweile sollte aber alles wieder laufen =)</p>
<p>Am meisten Probleme hat mir das <a href="http://rick.jinlabs.com/code/lastfm/" target="_blank">Last.fm Plugin</a> gemacht, allerdings kann man <a href="http://rick.jinlabs.com/code/lastfm/" target="_blank">hier</a> eine neue Version der http.php Datei herunterladen welche die auftretenden Fehler beseitigt.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.floschnell.de/2009/11/16/floschnell-de-upgrade/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rapidshare Wrapper Update</title>
		<link>http://www.floschnell.de/2009/11/14/rapidshare-wrapper-update/</link>
		<comments>http://www.floschnell.de/2009/11/14/rapidshare-wrapper-update/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 12:50:54 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Studium]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[rapidshare]]></category>

		<guid isPermaLink="false">http://www.floschnell.de/?p=208</guid>
		<description><![CDATA[Die Rapidshare Bibliothek nähert sich ihrem Ende &#8230; Ich habe jetzt die letzten zwei fehlenden Methoden eingebaut und außerdem ein paar weitere Features übernommen. Durch die SSL Option ist es nun möglich die Rapidshare API über das verschlüsselte SSL Protokoll aufzurufen. Außerdem kann man die automatische CPU-Überprüfung aktivieren, diese ermittelt nach jeder Anfrage die aktuelle [...]]]></description>
			<content:encoded><![CDATA[<p>Die Rapidshare Bibliothek nähert sich ihrem Ende &#8230;<br />
Ich habe jetzt die letzten zwei fehlenden Methoden eingebaut und außerdem ein paar weitere Features übernommen.</p>
<p>Durch die SSL Option ist es nun möglich die Rapidshare API über das verschlüsselte SSL Protokoll aufzurufen.<br />
Außerdem kann man die automatische CPU-Überprüfung aktivieren, diese ermittelt nach jeder Anfrage die aktuelle ApiCpu (ein Counter, welcher für die CPU Auslastung einer bestimmten IP Adresse steht und diese blockt sobald sie ein bestimmtes Limit überschritten hat).<br />
Wird das Limit nahezu erreicht wird die Api so lange gelockt bis der Counter resettet wird und weitere Anfragen gestartet werden können ohne Gefahr zu laufen, dass die IP geblockt wird.</p>
<p>Wie schon erwähnt habe ich jetzt die Methoden zum Up- und Download eingebaut.<br />
Ein Beispiel zur Benutzung hier:</p>
<pre class="brush: csharp; title: ;">void UpAndDownFile()
{
  // create the api wrapper ...
  RapidshareApi RSApi = new RapidshareApi(&quot;login&quot;, &quot;password&quot;,
  RSClient.RSAccountType.Premium,[usessl], [enablemaxcpulock]);

  // do the file upload ...
  string filelocation = &quot;C:\\bananenkompott.zip&quot;;
  RapidshareApi.UploadFileResponse response = RSApi.UploadFile(filelocation,
  UploadProgressChanged);
  string downloadlink = response.link;

  // download the file again ...
  string location =  &quot;C:\\Users\\YourLoginName\\Desktop&quot;;
  RSApi.DownloadFile(downloadlink, location, DownloadFileDone);
}

void UploadProgressChanged(float percent)
{
  // this might update some progress bar or other interface component ...
}

void DownloadFileDone()
{
  // file has been downloaded successfully!
}
</pre>
<p>Ich hab versucht das Ganze so einfach wie möglich zu halten, ich hoffe dass es das auch geworden ist <img src='http://www.floschnell.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  .</p>
<p>Hier gibt es die Bibliothek letztendlich zum Download: <a href="http://www.sourceforge.net/projects/rapidshareapi" target="_blank">Rapidshare Api</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.floschnell.de/2009/11/14/rapidshare-wrapper-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

