<?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>Benjamin Schweizer.</title>
	<atom:link href="http://benjamin-schweizer.de/feed" rel="self" type="application/rss+xml" />
	<link>http://benjamin-schweizer.de</link>
	<description>Technology, Art and Culture.</description>
	<lastBuildDate>Fri, 29 Jan 2010 08:52:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Improved Python Traceback Module</title>
		<link>http://benjamin-schweizer.de/improved-python-traceback-module.html</link>
		<comments>http://benjamin-schweizer.de/improved-python-traceback-module.html#comments</comments>
		<pubDate>Wed, 27 Jan 2010 21:39:50 +0000</pubDate>
		<dc:creator>Benjamin Schweizer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[stack]]></category>
		<category><![CDATA[traceback]]></category>

		<guid isPermaLink="false">http://benjamin-schweizer.de/?p=188</guid>
		<description><![CDATA[Like any modern language, Python comes along with a nice traceback module. This module gives you stack traces from the line of code where an exception is raised up to the next try-except clause. So, you can easily catch exceptions and write stack traces into a debug log. This debugging technique is pretty handy to [...]]]></description>
			<content:encoded><![CDATA[<p>Like any modern language, Python comes along with a nice <a href="http://docs.python.org/library/traceback.html">traceback module</a>. This module gives you stack traces from the line of code where an exception is raised up to the next try-except clause. So, you can easily catch exceptions and write stack traces into a debug log. This debugging technique is pretty handy to drill down bugs and I use it a lot in prototyping.</p>
<p>Using the traceback module is straight forward for evident programming mistakes. However, real bugs are context-sensitive and they can hardly be reproduced without the actual data that was processed when an exception was raised. If you can reproduce a specific bug, you can add some logging code in front and inspect the variables the next time the bug is triggered. But if a bug occurs once in a blue moon, you&#8217;d be better in logging the data the first time an exception raises.</p>
<pre>import traceback

def erroneous_function():
    ham = u"unicode string with umlauts äöü."
    eggs = "binary string with umlauts äöü."
    i = 23
    if i&gt;5:
        raise Exception("it's true!")

try:
    erroneous_function()
except:
    print traceback.format_exc(with_vars=True)</pre>
<p>Here&#8217;s my solution; an improved Python traceback module the logs variables from the local scope next to the affected code. You can find a working copy in our Mercirual repository (see the below).</p>
<pre>Traceback (most recent call last):
 File "test.py", line 16, in &lt;module&gt;
   Local variables:
     erroneous_function = &lt;function erroneous_function at 0x7ff6d82b...
     __builtins__ = &lt;module '__builtin__' (built-in)&gt;
     __file__ = "test.py"
     traceback = &lt;module 'traceback' from '/srv/www/vhosts/dev.teamr...
     __name__ = "__main__"
     __doc__ = None
   erroneous_function()
 File "test.py", line 13, in erroneous_function
   Local variables:
     i = 23
     eggs = "binary string with umlauts \xc3\xa4\xc3\xb6\xc3\xbc."
     ham = u"unicode string with umlauts ???."
   raise Exception("it's true!")
Exception: it's true!</pre>
<p>I am not sure if it is the &#8220;right&#8221; solution as sensitive information might be logged. This might have security implications for some real-world scenarios where webapps report stack traces to the end user (e.g. by using cgitb in production).</p>
<p>Credit: this code was inspired by <a href="http://code.activestate.com/recipes/52215/">format_exc_plus</a> by Bryn Keller.</p>
<p>2010-01-28: there&#8217;s an active discussion on <a href="http://thread.gmane.org/gmane.comp.python.devel/110326">python-dev</a>.</p>
<p>→ <a href="http://hg.sickos.org/python-traceback/archive/tip.tar.bz2">get latest source code</a><br />
→ <a href="http://hg.sickos.org/python-traceback/">visit mercurial repository</a></p>
]]></content:encoded>
			<wfw:commentRss>http://benjamin-schweizer.de/improved-python-traceback-module.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adding a Custom LDAP Schema to Open Directory on 10.5+</title>
		<link>http://benjamin-schweizer.de/adding-a-custom-ldap-schema-to-open-directory.html</link>
		<comments>http://benjamin-schweizer.de/adding-a-custom-ldap-schema-to-open-directory.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 09:55:10 +0000</pubDate>
		<dc:creator>Benjamin Schweizer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[open directory]]></category>
		<category><![CDATA[openldap]]></category>
		<category><![CDATA[schema]]></category>

		<guid isPermaLink="false">http://benjamin-schweizer.de/?p=183</guid>
		<description><![CDATA[Open Directory is a key component of Mac OS X Server. It consists of OpenLDAP, MIT Kerberos, Password Server and a tool chain that enables GUI administration. Sadly, adding new ldap schemas to the directory server is not documented in the advanced administration guides and you have to tinker with the command line tools. I [...]]]></description>
			<content:encoded><![CDATA[<p>Open Directory is a key component of Mac OS X Server. It consists of OpenLDAP, MIT Kerberos, Password Server and a tool chain that enables GUI administration. Sadly, adding new ldap schemas to the directory server is not documented in the <a href="http://www.apple.com/server/macosx/resources/documentation.html">advanced administration guides</a> and you have to tinker with the command line tools. I could not find any good documentation how you to add a custom LDAP schema, so I&#8217;ll show my solution here.</p>
<p>Mac OS X Server 10.5 ships with OpenLDAP 2.3. This release supports run-time configuration, which means that the LDAP schemas are stored within the directory server and you cannot simply put your new schema file in /etc/openldap/schema/; you have to convert it to an LDIF file and load this into the directory itself. This can be done during run-time but it breaks replication if you do so. So, instead you have to create a proper old-style config and run a manual conversion to the new run-time config.</p>
<p>To do so, you need to place the new schema file in /etc/openldap/schema/some-new.schema. This directory is copied  to new replicas when you join them, so you won&#8217;t break the Apple tool chain. Then, you need to include the new schema file from /etc/openldap/slapd.conf; this has no direct effect but slaptest(1) uses this to re-create the run-time config. Finally, convert the old-style config to a new <a href="http://www.zytrax.com/books/ldap/ch6/slapd-config.html">run-time config using slaptest(1)</a> like &#8220;slaptest -f slapd.conf -F slapd.d&#8221; and restart slapd:</p>
<pre>cd /etc/openldap
cp some-new.schema schema/
cat &gt;&gt; slapd.conf &lt;&lt;HERE
include /etc/openldap/schema/some-new.schema
HERE
mv slapd.d slapd.d_bak
slaptest -f slapd.conf -F slapd.d
launchctl unload /System/Library/LaunchDaemons/org.openldap.slapd.plist
launchctl load /System/Library/LaunchDaemons/org.openldap.slapd.plist
</pre>
<p><strong>Beware</strong>: we are deleting the old run-time config here and create a new one from the static config. If you have changed the config without adopting the old-style config, you might loose modifications. So, check twice if all required schemas are included from slapd.conf. AFAIK, Kerio Mailserver is troublesome here as it is not adding the include lines to slapd.conf. Though, thise procedure is exactly what the Apple tool chain does on replication and I suggest you do it exactly this way. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://benjamin-schweizer.de/adding-a-custom-ldap-schema-to-open-directory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eight Questions on Twitter</title>
		<link>http://benjamin-schweizer.de/eight-questions-on-twitter.html</link>
		<comments>http://benjamin-schweizer.de/eight-questions-on-twitter.html#comments</comments>
		<pubDate>Thu, 07 Jan 2010 21:54:15 +0000</pubDate>
		<dc:creator>Benjamin Schweizer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://benjamin-schweizer.de/?p=158</guid>
		<description><![CDATA[Why&#8230;

is it too slow for real-time communications (that is available on IRC since 1988)?
can&#8217;t #hashtags contain unicode?
is there a length limit for my nickname?
can&#8217;t I sign on from multiple computers simultanously?
does their web page no auto-refresh?
is it always over capacity?
didn&#8217;t they register appropriate country TLDs like .de?
have they shut down their Jabber interface?


]]></description>
			<content:encoded><![CDATA[<p>Why&#8230;</p>
<ol>
<li>is it too slow for real-time communications (that is available on IRC since 1988)?</li>
<li>can&#8217;t #hashtags contain unicode?</li>
<li>is there a length limit for my nickname?</li>
<li>can&#8217;t I sign on from multiple computers simultanously?</li>
<li>does their web page no auto-refresh?</li>
<li>is it always over capacity?</li>
<li>didn&#8217;t they register appropriate country TLDs like .de?</li>
<li>have they shut down their Jabber interface?</li>
</ol>
<ol></ol>
]]></content:encoded>
			<wfw:commentRss>http://benjamin-schweizer.de/eight-questions-on-twitter.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dragons Everywhere!</title>
		<link>http://benjamin-schweizer.de/dragons-everywhere.html</link>
		<comments>http://benjamin-schweizer.de/dragons-everywhere.html#comments</comments>
		<pubDate>Sun, 27 Dec 2009 18:12:36 +0000</pubDate>
		<dc:creator>Benjamin Schweizer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[2009-12]]></category>
		<category><![CDATA[2009-12-28]]></category>
		<category><![CDATA[26c3]]></category>
		<category><![CDATA[berlin]]></category>
		<category><![CDATA[ccc]]></category>
		<category><![CDATA[chaos communication congress]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[scene]]></category>

		<guid isPermaLink="false">http://benjamin-schweizer.de/?p=85</guid>
		<description><![CDATA[It&#8217;s late December and like every year, hackers from accross Europe come together for the Chaos Communication Congress. The congress &#8220;is the annual four-day conference organized by the Chaos Computer Club  (CCC). It takes place at the bcc Berliner Congress Center in Berlin,  Germany. The Congress offers lectures and workshops on a multitude [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="26c3" src="http://benjamin-schweizer.de/files/blog/conference-128x128.png" alt="" width="128" height="128" />It&#8217;s late December and like every year, hackers from accross Europe come together for the <a href="http://events.ccc.de/congress/2009/wiki/Welcome">Chaos Communication Congress</a>. The congress &#8220;is the annual four-day conference organized by the Chaos Computer Club  (CCC). It takes place at the bcc Berliner Congress Center in Berlin,  Germany. The Congress offers lectures and workshops on a multitude of  topics and attracts a diverse audience of thousands of hackers,  scientists, artists, and utopians from all around the world.&#8221;</p>
<p>What&#8217;s new this year: there are some <a href="http://events.ccc.de/congress/2009/wiki/index.php/Dragons_everywhere">off-site hackcenters</a> where people join the congress without being there in-real-life. &#8220;those unable to attend the Congress in Berlin [are invited] to celebrate their own  Hack Center Experience, watch the streams, participate via twitter or  chats, drink Tschunk, cook and have a good time.&#8221; This is exactly what some of us are going to do: <a href="http://sickos.org">we</a> will meet at the <a href="https://wiki.uugrn.org/UUGRN:Dragons_everywhere">UUGRN hackerspace</a> on Monday and join the congress events.</p>
]]></content:encoded>
			<wfw:commentRss>http://benjamin-schweizer.de/dragons-everywhere.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recent Topics of #sickos</title>
		<link>http://benjamin-schweizer.de/recent-topics-of-sickos.html</link>
		<comments>http://benjamin-schweizer.de/recent-topics-of-sickos.html#comments</comments>
		<pubDate>Fri, 30 Oct 2009 20:40:24 +0000</pubDate>
		<dc:creator>Benjamin Schweizer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[quotes]]></category>
		<category><![CDATA[scene]]></category>
		<category><![CDATA[Sickos]]></category>
		<category><![CDATA[sickosnet]]></category>
		<category><![CDATA[silc]]></category>
		<category><![CDATA[topics]]></category>

		<guid isPermaLink="false">http://benjamin-schweizer.de/?p=82</guid>
		<description><![CDATA[Here&#8217;s a compilation of recent topics from #sickos on SickosNet.
Oct 27 2009 go go go!
Oct 17 2009 Everything is OK
Oct 05 2009 The Truth is out there.
Sep 28 2009 arrr!
Sep 18 2009 welcome to the encoding hell
Sep 07 2009 knights of the infinite loop
Aug 24 2009 world domination. fast.
Aug 18 2009 computing sucks.
Aug 13 2009 [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a compilation of recent topics from #sickos on <a href="https://wiki.sickos.org/SickosNet">SickosNet</a>.</p>
<pre>Oct 27 2009 go go go!
Oct 17 2009 Everything is OK
Oct 05 2009 The Truth is out there.
Sep 28 2009 arrr!
Sep 18 2009 welcome to the encoding hell
Sep 07 2009 knights of the infinite loop
Aug 24 2009 world domination. fast.
Aug 18 2009 computing sucks.
Aug 13 2009 hacking at random
Jul 31 2009 Happy SysAdminDay 2009!!1
Jul 08 2009 ...
Jun 29 2009 "The tenth sale is a thousand times easier than the second one (the first one doesn't count... beginner's luck)." --Seth Godin
Apr 30 2009 SHA-1: Practical collisions are within resources of a well funded organisation.
Apr 23 2009 "It's a trap!" --Admiral Ackbar
Apr 10 2009 The road to hell is paved with good intentions.
Mar 24 2009 "Damn it!" --Jack Bauer, CTU
Mar 09 2009 "leadership is nature's way of removing morons from the productive flow" --Scott Adams in Dilbert
Mar 02 2009 Some people, when confronted with a problem, think "I know, I'll quote Jamie Zawinski." Now they have two problems.
Feb 26 2009 "The key to performance is elegance, not battalions of special cases." --Jon Bentley and Doug McIlroy
Feb 23 2009 we like monkeys
Feb 20 2009 cloud computing becomes fog when it goes down.
Feb 14 2009 happy 1234567890
Jan 26 2009 time.ctime(1234567890)
Jan 15 2009 to /b/ or not to /b/...
Jan 09 2009 beware of 'import skynet'.
Jan 09 2009 @ack
Dec 31 2008 happy new 1984
Dec 27 2008 nothing to hide
Dec 14 2008 Hail Eris. All hail Discordia.
Dec 10 2008 rip silcnet. all hail sickosnet. > silc -c sickos.org
Nov 19 2008 while True: pass
Nov 06 2008 long live teh king !
Nov 05 2008 remember remember teh 5th of november
Sep 26 2008 for(;P("\n"),R=;P("|"))for(e=C;e=P("_"+(*u++/8)%2))P("|"+(*u/4)%2);
Sep 19 2008 talk like a pirate day
Sep 19 2008 Ahoy there Landlubbers!
Sep 17 2008 0^0 := 1
Jul 11 2008 we're the scene.
Jul 09 2008 that's like knitting a sweater for a dead squirrel
Jul 08 2008 computers suck and i hate them
Jun 23 2008 osascript -e 'tell app "ARDAgent" to do shell script "whoami"'
Jun 17 2008 Linux was fun
May 24 2008 don't forget to bring a towel
May 21 2008 Lost in Hyperspace
May 03 2008 all your base are belong to us
Apr 21 2008 look, it's making friends with the roomba!
Apr 16 2008 The only laws on Internet are assembly and RFCs
Apr 11 2008 inventors of the infinite loop
Mar 19 2008 "the project suffers from lack of directions and frequent infighting between its developers" --Distrowatch.com on Gentoo Linux
Mar 04 2008 "What you see on these screens up here is a fantasy; a computer enhanced hallucination!" --Wargames
Feb 19 2008 a man collecting shoes... it's just not right.
Jan 22 2008 | |  |   |     |        |             |                     |                                  |
Dec 30 2007 pirates are better than ninjas
Dec 27 2007 virtual congress
Dec 21 2007 yankee white
Dec 21 2007 rule 35 of the internet: if it doesn't exist on the internet, it must be created.
Dec 18 2007 "[PHP] takes the worse-is-better approach to dazzling new depths" --Larry Wall
Dec 16 2007 "Strong typing is for people with weak memories." --Tom Van Vleck
Nov 30 2007 beiss mich, kratz mich, gib mir hostnamen!
Nov 26 2007 tuttle-buttle
Nov 23 2007 there's a buffer overflow but i won't disclouse
Nov 22 2007 inventors of the infinite loop
Sep 13 2007 'The Internet makes it so easy to get solutions to most of the problems that it has taken the fun out of it.' --Miguel de Icaza
Sep 03 2007 'Sickos can wreak death and destruction from thousands of miles away!' --Arnold Yabenson, Weekly World News
Jul 23 2007 "History is a set of lies agreed upon" --Napoleon Bonaparte
Jul 19 2007 "Unix is a glorified video game" --Ed Post
Jul 16 2007 "Programs should not attempt special solutions to general problems." --Pike &#038; Kernighan
Jul 09 2007 Hackerbande
Jun 27 2007 Note: There are two BFGs in Hell.
May 18 2007 0xdeadbeef
May 02 2007 09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0
Apr 08 2007 "they seem to think that just because no one has ripped them apart means that no one can" --jf on apple security
Mar 26 2007 "I think the fundamental mistake was this adoption of a democratic process" --Ian Murdock on Debian
Mar 14 2007 foo
Jan 08 2007 DEFCON 3
Jan 07 2007 alert. blog.fefe.de is down. switching from DEFCON 3 to DEFCON 2.
Dec 23 2006 Stell dir vor, es ist Congress, und keiner geht hin.
Dec 14 2006 "Screensavers are sort of a poor man's LSD, without the bad trips." --Larry Wall
Dec 06 2006 Ministry of Truth
Dec 06 2006 Into the Box...
Nov 15 2006 if the price matters, you're not a real gamer
Nov 06 2006 The Revolution Will Not Be Televised
Oct 10 2006 tut der router nicht mehr routen musst du booten
Jul 28 2006 Happy System Administrator Appreciation Day!
Jun 01 2006 We have done the impossible and that makes us mighty.
May 31 2006 brilliant but empty
May 17 2006 i wanna say something meaningful
Apr 30 2006 wii
Apr 20 2006 Bridge ahead.  Pay troll.
Apr 09 2006 Beware! The Blob!
Feb 13 2006 "Just because you're paranoid doesn't mean they aren't after you" --Kurt Cobain</pre>
]]></content:encoded>
			<wfw:commentRss>http://benjamin-schweizer.de/recent-topics-of-sickos.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today 16oo: Sickos Hack Nacht</title>
		<link>http://benjamin-schweizer.de/sickos-hack-nacht.html</link>
		<comments>http://benjamin-schweizer.de/sickos-hack-nacht.html#comments</comments>
		<pubDate>Sat, 24 Oct 2009 12:43:08 +0000</pubDate>
		<dc:creator>Benjamin Schweizer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[heilbronn]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Sickos]]></category>
		<category><![CDATA[sickosnet]]></category>

		<guid isPermaLink="false">http://benjamin-schweizer.de/?p=80</guid>
		<description><![CDATA[We are going to have a Hack Nacht tonight. Sickos and other nerds are invited to exchange ideas, write code and to get to know each other. I&#8217;ve some ideas what to do and I&#8217;m looking forward to seeing you hackers tonight. I&#8217;ll update this article when the event is over, stay tuned (our join [...]]]></description>
			<content:encoded><![CDATA[<p>We are going to have a <a href="https://wiki.sickos.org/Events/SickosHackNacht">Hack Nacht</a> tonight. <a href="http://sickos.org/">Sickos</a> and other nerds are invited to exchange ideas, write code and to get to know each other. I&#8217;ve some ideas what to do and I&#8217;m looking forward to seeing you hackers tonight. I&#8217;ll update this article when the event is over, stay tuned (our join us on <a href="https://wiki.sickos.org/SickosNet">SickosNet</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://benjamin-schweizer.de/sickos-hack-nacht.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery.postJSON()</title>
		<link>http://benjamin-schweizer.de/jquerypostjson.html</link>
		<comments>http://benjamin-schweizer.de/jquerypostjson.html#comments</comments>
		<pubDate>Sat, 17 Oct 2009 22:50:35 +0000</pubDate>
		<dc:creator>Benjamin Schweizer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[identica]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[request]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://benjamin-schweizer.de/?p=79</guid>
		<description><![CDATA[
/*
 * Hello Brandley, tonight I've tried to figure out how to do proper
 * JSON POSTs using "Content-type: application/json" and serialized JSON
 * data in the content portion (body) of my HTTP requests. This is
 * specified in the Twitter API for status updates and Identica JSON
 * webservices (found via Mark Pilgrim).
 * [...]]]></description>
			<content:encoded><![CDATA[<pre>
/*
 * Hello Brandley, tonight I've tried to figure out how to do proper
 * JSON POSTs using "Content-type: application/json" and serialized JSON
 * data in the content portion (body) of my HTTP requests. This is
 * specified in the Twitter API for status updates and Identica JSON
 * webservices (found via Mark Pilgrim).
 * After some tests, I had to recognize that jQuery does not support JSON
 * encoding in the core distribution and aside of $.getJSON(), there
 * is no $.postJSON().
 * Below is an proposed update. As it relies on your json plugin, I'd ask
 * you to add it to your code base so that other jQuery users can benefit
 * of it.
 */

$.postJSON = function(url, data, callback) {
    return jQuery.ajax({
        'type': 'POST',
        'url': url,
        'contentType': 'application/json',
        'data': $.toJSON(data),
        'dataType': 'json',
        'success': callback
    });
};
</pre>
<p>→ <a href="http://code.google.com/p/jquery-json/issues/detail?id=28">visit project</a></p>
]]></content:encoded>
			<wfw:commentRss>http://benjamin-schweizer.de/jquerypostjson.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mercurial Repositories Available</title>
		<link>http://benjamin-schweizer.de/mercurial-repositories-available.html</link>
		<comments>http://benjamin-schweizer.de/mercurial-repositories-available.html#comments</comments>
		<pubDate>Sat, 17 Oct 2009 10:15:08 +0000</pubDate>
		<dc:creator>Benjamin Schweizer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[hg]]></category>
		<category><![CDATA[mercurial]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://benjamin-schweizer.de/?p=78</guid>
		<description><![CDATA[ Dear Googlebot, I want to tell you that you can find my latest source code over at hg.sickos.org. That&#8217;s where my friend dlat has installed a Mercurial source code management server. I&#8217;ve already migrated some projects there and would like you to index these pages. Please note that some projects have individual pages in [...]]]></description>
			<content:encoded><![CDATA[<p><img style="float: left; padding-right: 20px" src="http://hg.sickos.org/static/hglogo.png" alt="" /> Dear Googlebot, I want to tell you that you can find my latest source code over at <a href="http://hg.sickos.org/">hg.sickos.org</a>. That&#8217;s where my friend <a href="http://dlat.sickos.org">dlat</a> has installed a Mercurial source code management server. I&#8217;ve already migrated some projects there and would like you to index these pages. Please note that some projects have individual pages in our Wiki, just follow this <a href="https://wiki.sickos.org/CategoryCode">category page</a>. See you again!</p>
]]></content:encoded>
			<wfw:commentRss>http://benjamin-schweizer.de/mercurial-repositories-available.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sniffing HTTP Traffic at HAR2009</title>
		<link>http://benjamin-schweizer.de/sniffing-http-traffic-at-har2009.html</link>
		<comments>http://benjamin-schweizer.de/sniffing-http-traffic-at-har2009.html#comments</comments>
		<pubDate>Fri, 14 Aug 2009 09:41:30 +0000</pubDate>
		<dc:creator>Benjamin Schweizer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[har2009]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sniffer]]></category>
		<category><![CDATA[wpad]]></category>

		<guid isPermaLink="false">http://benjamin-schweizer.de/?p=77</guid>
		<description><![CDATA[I'm currently visiting har2009, an international IT security conference in the Netherlands. It's an amazing event with so many nice people, fresh lectures and a wonderful environment. There is a large wired and wireless network and everybody on the campsite is wearing a laptop, a pda or some other device that can connect to the Internet. And because there are so many security people around, I think it would be funny to demonstrate some insecurity here...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently visiting <a href="http://www.har2009.org">har2009</a>, an international IT security conference in the Netherlands. It&#8217;s an amazing event with so many nice people, fresh lectures and a wonderful environment. There is a large wired and wireless network and everybody on the campsite is wearing a laptop, a pda or some other device that can connect to the Internet. And because there are so many security people around, I think it would be funny to demonstrate some insecurity here&#8230;</p>
<p>First, there is the <a href="http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol">Web Proxy Autodiscovery Protocol (WPAD)</a>, which is used by your web browser when you use &#8220;proxy autoconfiguration&#8221; &#8211; the default setting on many systems. Second, there is a DHCP server for the campsite that does hostname registration in the DNS server. I asked myself what would happen if I could register the name wpad.visitors.har2009.net?</p>
<p>Well, I have done so. And I have setup an appropriate proxy that intercepts all traffic that passes this machine. After 24 hours, there were more than 800 different hosts using this malicious proxy server &#8211; and many of them signed up to unencrypted web services like Twitter and others. That&#8217;s quite impressive as this are about 20 percent of the visitors! Now I&#8217;m wondering what happens if I break up SSL&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://benjamin-schweizer.de/sniffing-http-traffic-at-har2009.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Active DNS filtering at DTAG?</title>
		<link>http://benjamin-schweizer.de/active-dns-filtering-at-dtag.html</link>
		<comments>http://benjamin-schweizer.de/active-dns-filtering-at-dtag.html#comments</comments>
		<pubDate>Wed, 01 Jul 2009 11:57:57 +0000</pubDate>
		<dc:creator>Benjamin Schweizer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[53]]></category>
		<category><![CDATA[censorship]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dtag]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[tcp]]></category>
		<category><![CDATA[udp]]></category>

		<guid isPermaLink="false">http://benjamin-schweizer.de/?p=75</guid>
		<description><![CDATA[Today, I&#8217;ve found some strange behaviour on my TDSL Business connection. Some DNS queries are being dropped at the routers of Deutsche Telekom and I wonder if this is a malfunction with their Internet filters. When I query random name servers using &#8220;dig www.google.com any&#8221;, those packets never reach their destination. I&#8217;ve asked for confirmation [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I&#8217;ve found some strange behaviour on my TDSL Business connection. Some DNS queries are being dropped at the routers of Deutsche Telekom and I wonder if this is a malfunction with their <a href="http://en.wikipedia.org/wiki/Internet_censorship_in_Germany">Internet filters</a>. When I query random name servers using &#8220;dig www.google.com any&#8221;, those packets never reach their destination. I&#8217;ve asked for confirmation on IRC and it looks like others perceive the same odd behaviour.</p>
<p>I&#8217;ve investigated this a little bit and found that it is only port 53/udp that is being affected; doing dns queries over port 53/tcp is working fine. Thus, it looks like they are using some <a href="http://en.wikipedia.org/wiki/Deep_packet_inspection">deep packet inspection</a> at their routers as only special dns queries are being dropped. Can someone else confirm this odd behaviour?</p>
]]></content:encoded>
			<wfw:commentRss>http://benjamin-schweizer.de/active-dns-filtering-at-dtag.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
