<?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>Matthias Schmidt - Bloggertastic</title>
	<atom:link href="http://m-schmidt.eu/feed/" rel="self" type="application/rss+xml" />
	<link>http://m-schmidt.eu</link>
	<description>Stuff about running projects and new cognitions from my tech life</description>
	<lastBuildDate>Fri, 29 Mar 2013 22:30:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Fix locale setting on Ubuntu EC2 instances</title>
		<link>http://m-schmidt.eu/2013/03/29/fix-locale-setting-on-ubuntu-ec2-instances/</link>
		<comments>http://m-schmidt.eu/2013/03/29/fix-locale-setting-on-ubuntu-ec2-instances/#comments</comments>
		<pubDate>Fri, 29 Mar 2013 22:30:33 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://m-schmidt.eu/?p=435</guid>
		<description><![CDATA[After booting a fresh EC2 instance with Ubuntu 12.10 this showed up right after login: And when running some apt-get commands I got this: There are plenty of supposed solutions out there but none worked for me but this one:]]></description>
				<content:encoded><![CDATA[<p>After booting a fresh EC2 instance with Ubuntu 12.10 this showed up right after login:</p>
<pre class="brush: bash; light: true; title: ; notranslate">
WARNING! Your environment specifies an invalid locale.
This can affect your user experience significantly, including the
ability to manage packages.
</pre>
<p>And when running some apt-get commands I got this:</p>
<pre class="brush: bash; light: true; title: ; notranslate">
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = &quot;de_DE.UTF-8&quot;,
	LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
</pre>
<p>There are plenty of supposed solutions out there but none worked for me but this one:</p>
<pre class="brush: bash; light: true; title: ; notranslate">
# add this line to /etc/environment; then reboot
LC_ALL=&quot;en_US.UTF-8&quot;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://m-schmidt.eu/2013/03/29/fix-locale-setting-on-ubuntu-ec2-instances/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install Ruby 1.9.3 on Mac OS X with LLVM and rbenv</title>
		<link>http://m-schmidt.eu/2012/02/25/how-to-install-ruby-on-mac-os-x-with-llvm-and-rbenv/</link>
		<comments>http://m-schmidt.eu/2012/02/25/how-to-install-ruby-on-mac-os-x-with-llvm-and-rbenv/#comments</comments>
		<pubDate>Sat, 25 Feb 2012 16:17:39 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://m-schmidt.eu/?p=419</guid>
		<description><![CDATA[Since Xcode 4.2 Apple doesn&#8217;t ship a normal GCC anymore, but instead packages LLVM. While it was possible to compile Ruby with LLVM before, the result was error prone. Not anymore! Since 1.9.3-p125 Ruby is fully compatible with LLVM and here is how you can install it without the need of any additional GCC installation. [...]]]></description>
				<content:encoded><![CDATA[<p>Since Xcode 4.2 Apple doesn&#8217;t ship a normal GCC anymore, but instead packages LLVM. While it was possible to compile Ruby with LLVM before, the result was error prone. Not anymore! Since 1.9.3-p125 Ruby is fully compatible with LLVM and here is how you can install it without the need of any additional GCC installation.</p>
<p>I&#8217;m going to use <a href="https://github.com/sstephenson/rbenv">rbenv</a> and <a href="https://github.com/sstephenson/ruby-build">ruby-build</a> in the progress. This way everything is installed in ~/.rbenv and you won&#8217;t need any administrator privileges.</p>
<ol>
<li>Install Xcode 4.3 or the new stand-alone command line tools</li>
<li>Install rbenv and ruby-build
<pre class="brush: bash; light: true; title: ; notranslate">
# install rbenv
$ git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
$ echo 'export PATH=&quot;$HOME/.rbenv/bin:$PATH&quot;' &gt;&gt; .bash_profile
$ echo 'eval &quot;$(rbenv init -)&quot;' &gt;&gt; .bash_profile
# You may be using Zsh or any other shell.
# I presume you know how to adopt the previous two lines then.

# install ruby-build
$ mkdir -p ~/.rbenv/plugins
$ git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build

# reload bash (alternatively close and re-open Terminal)
$ source ~/.bash_profile
</pre>
</li>
<li>Compile Ruby 1.9.3-p125 and make default ruby
<pre class="brush: bash; light: true; title: ; notranslate">
$ env CC=/usr/bin/gcc rbenv install 1.9.3-p125
$ rbenv global 1.9.3-p125
$ rbenv rehash
</pre>
</li>
<li>Done. Check everything is ok now
<pre class="brush: bash; light: true; title: ; notranslate">
$ ruby -v
# =&gt; ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]
</pre>
</li>
</ol>
<p>Sweet. Leave a note in the comments if this helped you. Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://m-schmidt.eu/2012/02/25/how-to-install-ruby-on-mac-os-x-with-llvm-and-rbenv/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Der Facebook-Erfinder von Görlitz</title>
		<link>http://m-schmidt.eu/2012/02/01/facebook-erfinder-von-goerlitz/</link>
		<comments>http://m-schmidt.eu/2012/02/01/facebook-erfinder-von-goerlitz/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 15:53:27 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[daily life]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://m-schmidt.eu/?p=404</guid>
		<description><![CDATA[Gestern hat die Sächsischen Zeitung einen Artikel mit der Überschrift &#8220;Der Facebook-Erfinder von Görlitz&#8221; veröffentlicht. Der Beitrag beschreibt meinen Werdegang vom Erfinder des Görlitzer Netwerkes the-reality.net vor 8 Jahren bis hin zu einem Ausblick in die Zukunft. Sehr lesenswert! Vielen Dank an Frank Seibel für das nette Interview und Wolfgang Wittchen für die hervorragenden Fotos! Link [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_408" class="wp-caption alignright" style="width: 310px"><a href="http://m-schmidt.eu/wp-content/uploads/IMG_5906.jpg" rel="lightbox[404]" title="Facebook-Erfinder von Görlitz"><img class="size-thumbnail wp-image-408" title="Facebook-Erfinder von Görlitz" src="http://m-schmidt.eu/wp-content/uploads/IMG_5906-300x199.jpg" alt="" width="300" height="199" /></a><p class="wp-caption-text">Der Facebook-Erfinder von Görlitz</p></div>
<p>Gestern hat die Sächsischen Zeitung einen Artikel mit der Überschrift &#8220;Der Facebook-Erfinder von Görlitz&#8221; veröffentlicht. Der Beitrag beschreibt meinen Werdegang vom Erfinder des Görlitzer Netwerkes the-reality.net vor 8 Jahren bis hin zu einem Ausblick in die Zukunft. Sehr lesenswert! Vielen Dank an Frank Seibel für das nette Interview und Wolfgang Wittchen für die hervorragenden Fotos!</p>
<p>Link zum vollen Artikel: <a href="http://m-schmidt.eu/wp-content/uploads/Zuckerberg_goerlitz.pdf">Schöne neue Neiße-Welt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://m-schmidt.eu/2012/02/01/facebook-erfinder-von-goerlitz/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Develop MongoDB web apps with MAMP under Mac OS X</title>
		<link>http://m-schmidt.eu/2011/11/06/develop-mongodb-web-apps-with-mamp-under-mac-os-x/</link>
		<comments>http://m-schmidt.eu/2011/11/06/develop-mongodb-web-apps-with-mamp-under-mac-os-x/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 15:29:00 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[Cognitions]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[PECL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://m-schmidt.eu/?p=388</guid>
		<description><![CDATA[There is still plenty of interest in my old article &#8220;Develop memcached web apps with XAMPP under Mac OS X&#8221; so I decided to write a little follow up. XAMPP for OS X hasn&#8217;t seen any updates in quite a while so I decided to go with MAMP after upgrading to Mac OS X Lion (10.7.2 [...]]]></description>
				<content:encoded><![CDATA[<p>There is still plenty of interest in my old article <a href="http://m-schmidt.eu/2010/03/30/develop-memcached-web-apps-with-xampp-under-mac-os-x/">&#8220;Develop memcached web apps with XAMPP under Mac OS X&#8221;</a> so I decided to write a little follow up.</p>
<p>XAMPP for OS X hasn&#8217;t seen any updates in quite a while so I decided to go with MAMP after upgrading to Mac OS X Lion (10.7.2 as of now). Quite ironic since I originally changed from MAMP to XAMPP because of the lack of updates from MAMP. However, both are quite similar when it comes to installing extensions from pecl or pear so you may have some luck applying the following steps to either dev environment.</p>
<p>Also while I am installing the mongo driver for php here, the very same steps should work for other pecl packages such as memcache, uploadprogress or xdebug. So let&#8217;s get started!</p>
<p>Prerequisites:</p>
<ul>
<li>Install XCode (I&#8217;m on 4.2 at the moment)</li>
<li>Install MAMP (2.0.5)</li>
</ul>
<div>Install MongoDB if you haven&#8217;t done so yet: (I&#8217;m using <a href="http://mxcl.github.com/homebrew/">homebrew</a> for that, it&#8217;s the fastest way to get MongoDB running)</div>
<ol>
<li>
<pre class="brush: bash; light: true; title: ; notranslate">$ brew install mongodb</pre>
</li>
<li>Start the MongoDB server
<pre class="brush: bash; light: true; title: ; notranslate">$ mongod</pre>
</li>
</ol>
<p>Now it&#8217;s time to install the mongo php extension:</p>
<ol>
<li>Download the matching version of the php source code from php.net (MAMP 2.0.5 comes with <a href="http://www.php.net/get/php-5.3.6.tar.bz2/from/a/mirror">PHP 5.3.6</a>)</li>
<li>Create an <em>include</em>-folder in your MAMP php installation
<pre class="brush: bash; light: true; title: ; notranslate">$ mkdir /Applications/MAMP/bin/php/php5.3.6/include</pre>
</li>
<li>Extract the php source code into that new folder. The extracted folder is called <em>php-5.3.6</em>.</li>
<li>Rename that folder to just <em>php</em>, then the php source code should be located here:
<pre class="brush: bash; light: true; title: ; notranslate">/Applications/MAMP/bin/php/php5.3.6/include/php</pre>
</li>
<li>Change into that directory and configure php:
<pre class="brush: bash; light: true; title: ; notranslate">$ cd /Applications/MAMP/bin/php/php5.3.6/include/php</pre>
<pre class="brush: bash; light: true; title: ; notranslate">$ ./configure</pre>
</li>
<li>MAMP comes with a weird pear config file that causes issues, let&#8217;s remove it:
<pre class="brush: bash; light: true; title: ; notranslate">$ rm /Applications/MAMP/bin/php/php5.3.6/conf/pear.conf</pre>
</li>
<li>Now install the mongo driver with pecl:
<pre class="brush: bash; light: true; title: ; notranslate">$ cd /Applications/MAMP/bin/php/php5.3.6/bin</pre>
<pre class="brush: bash; light: true; title: ; notranslate">$ ./pecl install mongo</pre>
</li>
<li>Activate the extension in your php.ini:
<pre class="brush: bash; light: true; title: ; notranslate">extension=mongo.so</pre>
</li>
</ol>
<p>And that&#8217;s all. From now on you only need the last two steps to install other extensions.</p>
]]></content:encoded>
			<wfw:commentRss>http://m-schmidt.eu/2011/11/06/develop-mongodb-web-apps-with-mamp-under-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Amazon S3: doing the math</title>
		<link>http://m-schmidt.eu/2011/05/01/amazon-s3-doing-the-math/</link>
		<comments>http://m-schmidt.eu/2011/05/01/amazon-s3-doing-the-math/#comments</comments>
		<pubDate>Sun, 01 May 2011 01:51:56 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[Cognitions]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://m-schmidt.eu/?p=379</guid>
		<description><![CDATA[In the past months I have been confronted with a few web projects requiring scalable file storage solutions. One of them is my very own service comemories, which stores user-uploaded photos. Those photos are stored in original size as well as a few generated thumbnails. To deal with file uploads, most developers seem to use [...]]]></description>
				<content:encoded><![CDATA[<p>In the past months I have been confronted with a few web projects requiring scalable file storage solutions. One of them is my very own service <a href="http://comemories.com/">comemories</a>, which stores user-uploaded photos. Those photos are stored in original size as well as a few generated thumbnails.</p>
<p>To deal with file uploads, most developers seem to use Amazon S3 these days, so did I. Surely it&#8217;s a great service that pretty much just works, but with increasing traffic on comemories I started to feel a little uncomfortable about the way Amazon charges me. Basically they let a month pass and then sum up how much storage I use, how much traffic I used and how many API calls my app did.</p>
<p>So far so good, but what if my app sees some tremendous success suddenly and many more people upload photos than I anticipated? S3 would scale just fine and handle all the traffic with no issues at all&#8230; And by the end of the month I would get the big surprise in form of a credit card bill.</p>
<p>Of course it depends a lot on what you are trying to do, but if you are anything like me and you are running a web service more or less for fun and because you are learning about technology, you should really reconsider if S3 is the right choice.</p>
<p>Let&#8217;s have a look at their pricing for a little example application:</p>
<p>Image we run a web service with 10.000 users who uploaded 100 photo each at 5MB per photo. This would sum up at about <strong>5TB of storage</strong> needed.</p>
<ul>
<li>Amazon charges $0.14 per GB for the first TB leading to <strong>$140</strong></li>
<li>then the other 4TB cost $0.125 per GB summing up at <strong>+$500</strong></li>
<li>every image has to be transferred in once: <strong>+$500</strong></li>
<li>and for simplicity let&#8217;s say every images is transferred out once: <strong>+$750</strong></li>
</ul>
<p>A total of <strong>$1890 for the month the images are uploaded</strong>. Now let&#8217;s imagine no more photos are uploaded from this point on but every photo is accessed once per month again. This means we would keep paying <strong>$1390 month to month</strong>.</p>
<p>Wow! 5TB is not even that much. You could buy three 2TB HDDs for 210€ altogether to get 6TB of storage and this would only be a one time cost instead of monthly charges. But ok, just buying plain HDDs is not really comparable to the service Amazon offers. But what about rented dedicated servers?</p>
<p>Hetzner Online offers the <a href="http://www.hetzner.de/en/hosting/produkte_rootserver/eq9">EQ9</a> for <strong>99€</strong> per month and the server has 4500GB storage installed. Coming to 0.022€ per GB. So I could just get two of them and have 9TB storage for less than 200€ per month. Now Amazon offers some redundancy. So let&#8217;s just get 4 of those servers and have everything stored twice. Voilà, redundant storage for under 400€ per month.</p>
<p>Let&#8217;s not forget that we actually have 4 powerful machines here with Core i7 and 12GB of RAM each! Those make some pretty good app servers too. If we ran this on Amazon EC2 instead, it would cost us another fortune.</p>
<p>Don&#8217;t get me wrong here. I know getting a bunch of dedicated servers is no cool and fancy cloud with unlimited automatic scaling capabilities and also requires quite a bit of operations know how and work, but for web applications of small to medium size with just 1-2 people working on them this may just be the better solution. Big enterprises on the other hand could see some benefits from outsourcing all storage worries to a over-priced 3rd party. But really, who can count themselves to those?</p>
]]></content:encoded>
			<wfw:commentRss>http://m-schmidt.eu/2011/05/01/amazon-s3-doing-the-math/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Breaking the ice</title>
		<link>http://m-schmidt.eu/2011/04/25/breaking-the-ice/</link>
		<comments>http://m-schmidt.eu/2011/04/25/breaking-the-ice/#comments</comments>
		<pubDate>Mon, 25 Apr 2011 00:53:43 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[Cognitions]]></category>
		<category><![CDATA[daily life]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://m-schmidt.eu/?p=374</guid>
		<description><![CDATA[It&#8217;s been really calm around this blog for quite a while now but this is about to change. There is a lot to catch up with so I&#8217;ll get to this asap. It will be a graduate process of blogging about all the exciting things that happened last year, followed by more recent ones as [...]]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s been really calm around this blog for quite a while now but this is about to change. There is a lot to catch up with so I&#8217;ll get to this asap. It will be a graduate process of blogging about all the exciting things that happened last year, followed by more recent ones as well as new things to come.</p>
<p>Most notably is my stay with thoughtbot, inc. last summer, which I&#8217;ll lose a few words about as well as projects I have worked on lately.</p>
<p>One of the reasons I didn&#8217;t post anything in the last months was from technical nature. I wasn&#8217;t happy with the article layout and syntax highlighting of the blog as well as the URL schema of my whole site. This is all fixed up now and I feel ready to post something new.</p>
]]></content:encoded>
			<wfw:commentRss>http://m-schmidt.eu/2011/04/25/breaking-the-ice/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>uninitialized constant MysqlCompat::MysqlRes</title>
		<link>http://m-schmidt.eu/2010/08/05/uninitialized-constant-mysqlcompatmysqlres/</link>
		<comments>http://m-schmidt.eu/2010/08/05/uninitialized-constant-mysqlcompatmysqlres/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 16:12:17 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[Cognitions]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.m-schmidt.eu/?p=359</guid>
		<description><![CDATA[When running rake tasks (that are related to the database) in Rails apps I ran into the following error a couple of times on different OS X Snow Leopard machines: The mysql gem is installed but got compiled for a wrong architecture for some reason. I&#8217;m not 100% sure when this happens but if you [...]]]></description>
				<content:encoded><![CDATA[<p>When running rake tasks (that are related to the database) in Rails apps I ran into the following error a couple of times on different OS X Snow Leopard machines:</p>
<pre class="brush: plain; light: true; title: ; notranslate">uninitialized constant MysqlCompat::MysqlRes</pre>
<p>The mysql gem is installed but got compiled for a wrong architecture for some reason. I&#8217;m not 100% sure when this happens but if you run into the problem uninstall the mysql gem</p>
<pre class="brush: bash; light: true; title: ; notranslate">$ sudo gem uninstall mysql</pre>
<p>and reinstall it with this flag</p>
<pre class="brush: bash; light: true; title: ; notranslate">$ sudo env ARCHFLAGS=&quot;-arch x86_64&quot; gem install mysql</pre>
<p>if you are using <strong>rvm</strong> you can skip the &#8220;sudo&#8221; on all commands.</p>
]]></content:encoded>
			<wfw:commentRss>http://m-schmidt.eu/2010/08/05/uninitialized-constant-mysqlcompatmysqlres/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My talk about what happens behind Social Networks</title>
		<link>http://m-schmidt.eu/2010/07/07/my-talk-about-what-happens-behind-social-networks/</link>
		<comments>http://m-schmidt.eu/2010/07/07/my-talk-about-what-happens-behind-social-networks/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 09:39:55 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[Cognitions]]></category>
		<category><![CDATA[daily life]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[pecha kucha]]></category>
		<category><![CDATA[salzburg]]></category>
		<category><![CDATA[talk]]></category>

		<guid isPermaLink="false">http://blog.m-schmidt.eu/?p=354</guid>
		<description><![CDATA[On June 17 I was talking about some stories from my social community the-reality.net at Pecha Kucha Night Salzburg. Pecha Kucha Nights are happening all around the world and allow presenters to talk about any topic they like. There is only one rule for presentations: Each presentation has exactly 20 different slides and each slide [...]]]></description>
				<content:encoded><![CDATA[<p>On June 17 I was talking about some stories from my social community <a href="http://www.the-reality.net/">the-reality.net</a> at <a href="http://pechakuchasalzburg.at/">Pecha Kucha Night Salzburg</a>. Pecha Kucha Nights are happening all around the world and allow presenters to talk about any topic they like. There is only one rule for presentations: Each presentation has exactly 20 different slides and each slide is displayed for exactly 20 seconds. This means each talk is 6 minutes and 40 seconds long. So in case a presenter choose a topic you don&#8217;t like you will only have to waste 6:40min of your life listening to it!</p>
<p>I choose to speak about some funny and interesting stories from my social network <a href="http://www.the-reality.net/">the-reality.net</a> to give people a little understanding of whats happening behind the walls of social networks. My talk is in German, so if you understand a little German have a look!</p>
<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='630' height='385' src='http://www.youtube.com/embed/VGuTOIHwAD8?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span></p>
]]></content:encoded>
			<wfw:commentRss>http://m-schmidt.eu/2010/07/07/my-talk-about-what-happens-behind-social-networks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WWDC 10</title>
		<link>http://m-schmidt.eu/2010/07/06/wwdc-10/</link>
		<comments>http://m-schmidt.eu/2010/07/06/wwdc-10/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 12:38:12 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[daily life]]></category>
		<category><![CDATA[San Francisco]]></category>
		<category><![CDATA[USA]]></category>
		<category><![CDATA[WWDC]]></category>

		<guid isPermaLink="false">http://blog.m-schmidt.eu/?p=342</guid>
		<description><![CDATA[Wow. That was a great week! It&#8217;s been roughly a month since I went to San Francisco to attend Apples Worldwide Developers Conference 2010, going down in Moscone West from June 7 to June 11. I flew into San Francisco on Friday, June 4th and had a nice look around the city at the weekend [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_343" class="wp-caption alignright" style="width: 310px"><a title="Moscone West WWDC10 at night" rel="lightbox" href="http://blog.m-schmidt.eu/wp-content/uploads/moscone_west_wwdc10.jpg"><img class="size-thumbnail wp-image-343" title="moscone_west_wwdc10" src="http://blog.m-schmidt.eu/wp-content/uploads/moscone_west_wwdc10-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">Moscone West WWDC10 at night</p></div>
<p>Wow. That was a great week! It&#8217;s been roughly a month since I went to San Francisco to attend Apples Worldwide Developers Conference 2010, going down in Moscone West from June 7 to June 11.</p>
<p>I flew into San Francisco on Friday, June 4th and had a nice look around the city at the weekend before getting into WWDC on Monday. WWDC started off with a keynote by Steve Jobs. Doors opened on Monday morning at 7am, full 3 hours before the Keynote kicked off. So I thought getting there right at 7 would be fine. But people are actually more mad about seeing Steve Jobs than 15 years old girls for Tokio Hotel. They must have been queueing all night to get in first. At the time I got there, there was a full queue around the Moscone West building. Everyone was playing nice and queued up. The atmosphere was really welcoming and friendly. Since I was on my own I got lucky and could enter the building quite early and ended up getting a seat in the very front of the Presidio room where the keynote happened. It was a great experience to attend a Ketnote for real once. Basically you can feel how excited everyone in that room is, which is a very unique atmosphere for a press event.</p>
<p>After the keynote a busy week full of great sessions started. They are all covered by the developer NDA so I can&#8217;t really write much about them. But I can say that I saw and learned some really neat things about HTML5!</p>
<p>After WWDC I had one more day in San Francisco which I used to visit Alcatraz and the SF Bay Aquarium. Then I flew back on Sunday where I met a few another German iOS developers who where on the same flight back to Munich.</p>
]]></content:encoded>
			<wfw:commentRss>http://m-schmidt.eu/2010/07/06/wwdc-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Develop memcached web apps with XAMPP under Mac OS X</title>
		<link>http://m-schmidt.eu/2010/03/30/develop-memcached-web-apps-with-xampp-under-mac-os-x/</link>
		<comments>http://m-schmidt.eu/2010/03/30/develop-memcached-web-apps-with-xampp-under-mac-os-x/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 20:07:37 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[Cognitions]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[PECL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.m-schmidt.eu/?p=327</guid>
		<description><![CDATA[While developing scalable web applications you will come across memcached at some point. Memcached is a free &#38; open source, high-performance, distributed memory object caching system. XAMPP is great for development in a local environment but does not come with a php memcached extension preinstalled. Since there are 2 good memcached php extensions in the [...]]]></description>
				<content:encoded><![CDATA[<p>While developing scalable web applications you will come across <a href="http://memcached.org/">memcached</a> at some point. Memcached is a free &amp; open source, high-performance, distributed memory object caching system.</p>
<p>XAMPP is great for development in a local environment but does not come with a php memcached extension preinstalled. Since there are 2 good memcached php extensions in the PECL repository (memcached and memcache) it could be as easy as installing them through XAMPPs PECL installer. Unfortunately XAMPP for Mac (1.7.3) is still compiled for 32bit and the PECL installer would create a 64bit snow leopard extension. So let&#8217;s do it manually by setting some 32bit flags&#8230;</p>
<p>Install memcache PHP extension (2.2.5) for XAMPP (1.7.3) under Mac OS X 10.6 Snow Leopard (10.6.2)</p>
<ol>
<li>make sure Apple Developer Tools (Xcode) are installed</li>
<li>make sure XAMPP Developer Package is installed</li>
<li>
<pre class="brush: bash; light: true; title: ; notranslate">$ cd /tmp</pre>
</li>
<li>
<pre class="brush: bash; light: true; title: ; notranslate">$ pecl download memcache</pre>
</li>
<li>
<pre class="brush: bash; light: true; title: ; notranslate">$ tar xzf memcache-2.2.5.tgz</pre>
</li>
<li>
<pre class="brush: bash; light: true; title: ; notranslate">$ cd memcache-2.2.5</pre>
</li>
<li>
<pre class="brush: bash; light: true; title: ; notranslate">$ /Applications/XAMPP/xamppfiles/bin/phpize-5.3.1</pre>
</li>
<li>This line looks just a bit complicated because it tries to deal with architecture problems between XAMPP (compiled for 32bit) and Snow Leopard (compiles everything by default to 64bit)
<pre class="brush: bash; light: true; title: ; notranslate">$ MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS='-O3 -fno-common -arch i386 -arch x86_64' LDFLAGS='-O3 -arch i386 -arch x86_64' CXXFLAGS='-O3 -fno-common -arch i386 -arch x86_64' ./configure --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config-5.3.1</pre>
</li>
<li>
<pre class="brush: bash; light: true; title: ; notranslate">$ make</pre>
</li>
<li>
<pre class="brush: bash; light: true; title: ; notranslate">$ sudo make install</pre>
</li>
<li>change XAMPPs php.ini to load the extension: (in [Dynamic Extensions])
<pre class="brush: plain; light: true; title: ; notranslate">extension=memcache.so</pre>
</li>
</ol>
<p>Those steps enable you to use memcached in your PHP Code. But to actually test the application and caching in your local development environment you have to start the memcached daemon. Fortunately memcached got already installed by the Mac OS X Developer Tools (Xcode).</p>
<p>Just go ahead and start the memcached daemon:</p>
<pre class="brush: bash; light: true; title: ; notranslate">$ memcached -m 8 -l 127.0.0.1 -p 11211 -d</pre>
<p><strong>-m 8</strong> limits memcached to use a maximum of 8MB RAM to operate</p>
<p><strong>-l 127.0.0.1 -p 11211</strong> is the ip and port to listen on</p>
<p><strong>-d</strong> tells it to start as a daemon</p>
<p>(instead of -l and -p you can also use <strong>-s</strong> to use an unix domain socket)</p>
]]></content:encoded>
			<wfw:commentRss>http://m-schmidt.eu/2010/03/30/develop-memcached-web-apps-with-xampp-under-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
	</channel>
</rss>
