<?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>ATW Braindump &#187; dev</title>
	<atom:link href="http://dump.adiwidjaja.com/tag/dev/feed/" rel="self" type="application/rss+xml" />
	<link>http://dump.adiwidjaja.com</link>
	<description>The thoughts and discoveries of the ATW team - unfiltered. Warning: This is a high traffic blog. If you want to read something more sophisticated, try http://www.adiwidjaja.com.</description>
	<lastBuildDate>Sat, 18 Jun 2011 18:20:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8-beta2-11491</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Von Michael:  Vergleich von Django und Y&#8230;</title>
		<link>http://dump.adiwidjaja.com/2011/06/von-michael-vergleich-von-django-und-y/</link>
		<comments>http://dump.adiwidjaja.com/2011/06/von-michael-vergleich-von-django-und-y/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 08:54:45 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2011/06/von-michael-vergleich-von-django-und-y/</guid>
		<description><![CDATA[Von Michael:
Vergleich von Django und Yii. An sich ja ein Äpfel-und-Birnen-Vergleich, für mich aber relevant:
http://blog.leehsueh.com/2010/03/django-vs-yii/]]></description>
			<content:encoded><![CDATA[<p>Von Michael:</p>
<p>Vergleich von Django und Yii. An sich ja ein Äpfel-und-Birnen-Vergleich, für mich aber relevant:<br />
<a href="http://blog.leehsueh.com/2010/03/django-vs-yii/" rel="nofollow">http://blog.leehsueh.com/2010/03/django-vs-yii/</a></p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2011/06/von-michael-vergleich-von-django-und-y/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Löschen aller Unterstriche (zum manuelle&#8230;</title>
		<link>http://dump.adiwidjaja.com/2011/05/loschen-aller-unterstriche-zum-manuelle/</link>
		<comments>http://dump.adiwidjaja.com/2011/05/loschen-aller-unterstriche-zum-manuelle/#comments</comments>
		<pubDate>Tue, 10 May 2011 18:33:56 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2011/05/loschen-aller-unterstriche-zum-manuelle/</guid>
		<description><![CDATA[Löschen aller Unterstriche (zum manuellen Austausch in Silverstripe):

#! /bin/bash
for file in *; do
    filename=${file}
    file_clean=`echo $filename &#124; tr -d "_" `
    final="$file_clean"
    mv "$file" "$final"
done
]]></description>
			<content:encoded><![CDATA[<p>Löschen aller Unterstriche (zum manuellen Austausch in Silverstripe):</p>
<p><code><br />
#! /bin/bash<br />
for file in *; do<br />
    filename=${file}<br />
    file_clean=`echo $filename | tr -d "_" `<br />
    final="$file_clean"<br />
    mv "$file" "$final"<br />
done<br />
</code></p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2011/05/loschen-aller-unterstriche-zum-manuelle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Von michael:  &gt; RexExp Tool &gt; http://txt&#8230;</title>
		<link>http://dump.adiwidjaja.com/2011/04/von-michael-rexexp-tool-httptxt/</link>
		<comments>http://dump.adiwidjaja.com/2011/04/von-michael-rexexp-tool-httptxt/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 08:35:48 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2011/04/von-michael-rexexp-tool-httptxt/</guid>
		<description><![CDATA[Von michael:
> RexExp Tool
> http://txt2re.com/index-php.php3?s=Thu,%2014%20Apr%202011%2011:46PM&#038;16&#038;22&#038;6]]></description>
			<content:encoded><![CDATA[<p>Von michael:</p>
<p>> RexExp Tool<br />
> <a href="http://txt2re.com/index-php.php3?s=Thu,%2014%20Apr%202011%2011:46PM&#038;16&#038;22&#038;6" rel="nofollow">http://txt2re.com/index-php.php3?s=Thu,%2014%20Apr%202011%2011:46PM&#038;16&#038;22&#038;6</a></p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2011/04/von-michael-rexexp-tool-httptxt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shit, ich hatte die Idee, meine Python-I&#8230;</title>
		<link>http://dump.adiwidjaja.com/2010/08/shit-ich-hatte-die-idee-meine-python-i/</link>
		<comments>http://dump.adiwidjaja.com/2010/08/shit-ich-hatte-die-idee-meine-python-i/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 20:39:11 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2010/08/shit-ich-hatte-die-idee-meine-python-i/</guid>
		<description><![CDATA[Shit, ich hatte die Idee, meine Python-Installationen so zu bauen, dass sie auf dem Mac-OSX Filesystem arbeiten und über eine VMWare hgfs-Freigabe dann von Ubuntu benutzt werden. Klappt nicht, weil:
http://weblog.hamishharvey.com/mishmash/2009/08/beware-the-osx-case-insensitive-filesystem-zopeplone-ubuntu-os-x-and-virtualisation.html
das Mac-Filesystem case-insensitive ist. Shit, ich wollte damit meine &#8220;svn in eclipse klappt nicht, weil Mac das SMB mistig mounted&#8221;. Nächster Versuch: NFS, diesmal aber mit [...]]]></description>
			<content:encoded><![CDATA[<p>Shit, ich hatte die Idee, meine Python-Installationen so zu bauen, dass sie auf dem Mac-OSX Filesystem arbeiten und über eine VMWare hgfs-Freigabe dann von Ubuntu benutzt werden. Klappt nicht, weil:</p>
<p><a href="http://weblog.hamishharvey.com/mishmash/2009/08/beware-the-osx-case-insensitive-filesystem-zopeplone-ubuntu-os-x-and-virtualisation.html" rel="nofollow">http://weblog.hamishharvey.com/mishmash/2009/08/beware-the-osx-case-insensitive-filesystem-zopeplone-ubuntu-os-x-and-virtualisation.html</a></p>
<p>das Mac-Filesystem case-insensitive ist. Shit, ich wollte damit meine &#8220;svn in eclipse klappt nicht, weil Mac das SMB mistig mounted&#8221;. Nächster Versuch: NFS, diesmal aber mit Ubuntu als Server.</p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2010/08/shit-ich-hatte-die-idee-meine-python-i/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gerade mal SilverStripe 2.4 ausprobiert&#8230;.</title>
		<link>http://dump.adiwidjaja.com/2010/05/gerade-mal-silverstripe-2-4-ausprobiert/</link>
		<comments>http://dump.adiwidjaja.com/2010/05/gerade-mal-silverstripe-2-4-ausprobiert/#comments</comments>
		<pubDate>Wed, 05 May 2010 22:53:33 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[silverstripe]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2010/05/gerade-mal-silverstripe-2-4-ausprobiert/</guid>
		<description><![CDATA[Gerade mal SilverStripe 2.4 ausprobiert. Installiert aktuell nur, wenn man in der php.ini die Option
asp_tags = Off
schaltet.]]></description>
			<content:encoded><![CDATA[<p>Gerade mal SilverStripe 2.4 ausprobiert. Installiert aktuell nur, wenn man in der php.ini die Option</p>
<p>asp_tags = Off</p>
<p>schaltet.</p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2010/05/gerade-mal-silverstripe-2-4-ausprobiert/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interessant: Wenn man in einem IP-Feld i&#8230;</title>
		<link>http://dump.adiwidjaja.com/2010/05/interessant-wenn-man-in-einem-ip-feld-i/</link>
		<comments>http://dump.adiwidjaja.com/2010/05/interessant-wenn-man-in-einem-ip-feld-i/#comments</comments>
		<pubDate>Sun, 02 May 2010 21:41:04 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[silverstripe]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2010/05/interessant-wenn-man-in-einem-ip-feld-i/</guid>
		<description><![CDATA[Interessant: Wenn man in einem IP-Feld in mysql sehr viele Vorkommen der IP 127.255.255.255 hat, hat man einen falschen Feldtyp verwendet. Ein INT(11) kann nur bis zu dieser IP speichern, alles nach 128.0.0.0 hat den gleichen Speicherinhalt:
http://www.bot-trap.de/forum/index.php?topic=96465.0
Eine Lösung in Silverstripe ist schwierig, weil es weder unsigned noch bigint als Feldtyp erlaubt.]]></description>
			<content:encoded><![CDATA[<p>Interessant: Wenn man in einem IP-Feld in mysql sehr viele Vorkommen der IP 127.255.255.255 hat, hat man einen falschen Feldtyp verwendet. Ein INT(11) kann nur bis zu dieser IP speichern, alles nach 128.0.0.0 hat den gleichen Speicherinhalt:</p>
<p><a href="http://www.bot-trap.de/forum/index.php?topic=96465.0" rel="nofollow">http://www.bot-trap.de/forum/index.php?topic=96465.0</a></p>
<p>Eine Lösung in Silverstripe ist schwierig, weil es weder unsigned noch bigint als Feldtyp erlaubt.</p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2010/05/interessant-wenn-man-in-einem-ip-feld-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ah &#8211; Benutzernamen statt E-Mail. Noch ni&#8230;</title>
		<link>http://dump.adiwidjaja.com/2010/04/ah-benutzernamen-statt-e-mail-noch-ni/</link>
		<comments>http://dump.adiwidjaja.com/2010/04/ah-benutzernamen-statt-e-mail-noch-ni/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 21:00:38 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[silverstripe]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2010/04/ah-benutzernamen-statt-e-mail-noch-ni/</guid>
		<description><![CDATA[Ah &#8211; Benutzernamen statt E-Mail. Noch nicht getestet, ob man zusätzlich eine E-Mail-Adresse pflegen kann und Passwort vergessen funktioniert.
http://silverstripe.org/auth-username-module/]]></description>
			<content:encoded><![CDATA[<p>Ah &#8211; Benutzernamen statt E-Mail. Noch nicht getestet, ob man zusätzlich eine E-Mail-Adresse pflegen kann und Passwort vergessen funktioniert.</p>
<p><a href="http://silverstripe.org/auth-username-module/" rel="nofollow">http://silverstripe.org/auth-username-module/</a></p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2010/04/ah-benutzernamen-statt-e-mail-noch-ni/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ok, das ist sehr nützlich zum Debuggen: &#8230;</title>
		<link>http://dump.adiwidjaja.com/2010/03/ok-das-ist-sehr-nutzlich-zum-debuggen/</link>
		<comments>http://dump.adiwidjaja.com/2010/03/ok-das-ist-sehr-nutzlich-zum-debuggen/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 09:33:10 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[silverstripe]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2010/03/ok-das-ist-sehr-nutzlich-zum-debuggen/</guid>
		<description><![CDATA[Ok, das ist sehr nützlich zum Debuggen:

Email::bcc_all_emails_to(&#34;mail@test.de&#34;);
Email::send_all_emails_to(&#34;test@test.de&#34;);

Das sendet alle E-Mails an einen bestimmten Empfänger.]]></description>
			<content:encoded><![CDATA[<p>Ok, das ist sehr nützlich zum Debuggen:</p>
<pre class="brush: php;">
Email::bcc_all_emails_to(&quot;mail@test.de&quot;);
Email::send_all_emails_to(&quot;test@test.de&quot;);
</pre>
<p>Das sendet alle E-Mails an einen bestimmten Empfänger.</p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2010/03/ok-das-ist-sehr-nutzlich-zum-debuggen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Haha, endlich! Silverstripe setzt immer &#8230;</title>
		<link>http://dump.adiwidjaja.com/2010/02/haha-endlich-silverstripe-setzt-immer/</link>
		<comments>http://dump.adiwidjaja.com/2010/02/haha-endlich-silverstripe-setzt-immer/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 20:06:47 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[silverstripe]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2010/02/haha-endlich-silverstripe-setzt-immer/</guid>
		<description><![CDATA[Haha, endlich! Silverstripe setzt immer solche Kommentare in den HTML-Code, wenn der dev-Mode gesetzt ist.

&#60;!-- template /nesting/mysite/templates/Page.ss --&#62;

Normalerweise nicht so schlimm, manchmal (mir nicht klar, wann, vielleicht bei HTML5) setzt er so einen Kommentar aber *vor* den Doctype der Seite, was dazu führt, dass IE6+7 in den Quirks-Mode gehen, was diverse Bugs auslöst.
Ok, und so [...]]]></description>
			<content:encoded><![CDATA[<p>Haha, endlich! Silverstripe setzt immer solche Kommentare in den HTML-Code, wenn der dev-Mode gesetzt ist.</p>
<pre class="brush: html;">
&lt;!-- template /nesting/mysite/templates/Page.ss --&gt;
</pre>
<p>Normalerweise nicht so schlimm, manchmal (mir nicht klar, wann, vielleicht bei HTML5) setzt er so einen Kommentar aber *vor* den Doctype der Seite, was dazu führt, dass IE6+7 in den Quirks-Mode gehen, was diverse Bugs auslöst.</p>
<p>Ok, und so kann man es verhindern:</p>
<pre class="brush: php;">
SSViewer::set_source_file_comments(false);
</pre>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2010/02/haha-endlich-silverstripe-setzt-immer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ok, utf-8 in Silverstripe braucht:  mysq&#8230;</title>
		<link>http://dump.adiwidjaja.com/2010/02/ok-utf-8-in-silverstripe-braucht-mysq/</link>
		<comments>http://dump.adiwidjaja.com/2010/02/ok-utf-8-in-silverstripe-braucht-mysq/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 13:12:04 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[silverstripe]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2010/02/ok-utf-8-in-silverstripe-braucht-mysq/</guid>
		<description><![CDATA[Ok, utf-8 in Silverstripe braucht:
mysql_query (&#8221;SET CHARACTER SET utf8&#8243;);
mysql_query(&#8221;set names &#8216;utf8&#8242;&#8221;);
im Konstruktor der MysqlDatabase.
Das entspricht diesem Ticket:
http://open.silverstripe.org/ticket/2377
Könnte auch so gelöst werden:
http://silverstripe.org/migrating-a-site-to-silverstripe/show/256159?start=8
und ist in SS 2.4 gelöst. Und in unserem SVN auch.]]></description>
			<content:encoded><![CDATA[<p>Ok, utf-8 in Silverstripe braucht:</p>
<p>mysql_query (&#8221;SET CHARACTER SET utf8&#8243;);<br />
mysql_query(&#8221;set names &#8216;utf8&#8242;&#8221;);</p>
<p>im Konstruktor der MysqlDatabase.</p>
<p>Das entspricht diesem Ticket:<br />
<a href="http://open.silverstripe.org/ticket/2377" rel="nofollow">http://open.silverstripe.org/ticket/2377</a></p>
<p>Könnte auch so gelöst werden:<br />
<a href="http://silverstripe.org/migrating-a-site-to-silverstripe/show/256159?start=8" rel="nofollow">http://silverstripe.org/migrating-a-site-to-silverstripe/show/256159?start=8</a></p>
<p>und ist in SS 2.4 gelöst. Und in unserem SVN auch.</p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2010/02/ok-utf-8-in-silverstripe-braucht-mysq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

