<?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>BigSmoke</title>
	<atom:link href="http://blog.bigsmoke.us/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.bigsmoke.us</link>
	<description>Smokes your problems, coughs fresh air.</description>
	<lastBuildDate>Thu, 10 May 2012 13:11:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Generating an SSL CSR and key</title>
		<link>http://blog.bigsmoke.us/2012/05/10/generating-an-ssl-csr-and-key</link>
		<comments>http://blog.bigsmoke.us/2012/05/10/generating-an-ssl-csr-and-key#comments</comments>
		<pubDate>Thu, 10 May 2012 13:11:57 +0000</pubDate>
		<dc:creator>halfgaar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[csr]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=2130</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>To generate an SSL certificate signing request (CSR) with key you can do this:</p>
<p><pre class="php">openssl req -nodes -newkey rsa:<span style="color: #cc66cc;">2048</span> -keyout bla.<a href="http://www.php.net/key"><span style="color: #000066;">key</span></a> -out bla.csr</pre></p>
<p>This syntax does not force you to supply a password, which is convenient.</p>
<p>If you generate a CSR for startcom, you don&#8217;t have to fill in any fields; only the public key from the CSR is used. For other vendors, the common name is important; the domain name must be entered there.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2012/05/10/generating-an-ssl-csr-and-key/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a drbd for an existing Xen domain</title>
		<link>http://blog.bigsmoke.us/2012/05/01/creating-a-drbd-for-an-existing-xen-domain</link>
		<comments>http://blog.bigsmoke.us/2012/05/01/creating-a-drbd-for-an-existing-xen-domain#comments</comments>
		<pubDate>Tue, 01 May 2012 16:51:34 +0000</pubDate>
		<dc:creator>halfgaar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[drbd]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=2123</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I needed some VMs to be available on a backup node, which I accomplished with the distributed remote block device, or DRBD. My host machine is Debian 6.</p>
<p>This post replaced an <a href="http://blog.bigsmoke.us/2009/12/28/creating-a-drbd-device">older one I made</a>.</p>
<p>First install drbd:</p>
<p><pre class="php">aptitude -P install drbd8-utils</pre></p>
<p>Then make some config files. First adjust /etc/drbd.d/global.conf (I only had to uncomment the notify rules):</p>
<p><pre class="php"><a href="http://www.php.net/global"><span style="color: #000066;">global</span></a> <span style="color: #66cc66;">&#123;</span>
        usage-<a href="http://www.php.net/count"><span style="color: #000066;">count</span></a> yes;
        <span style="color: #808080; font-style: italic;"># minor-count dialog-refresh disable-ip-verification</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
common <span style="color: #66cc66;">&#123;</span>
        protocol C;
&nbsp;
        handlers <span style="color: #66cc66;">&#123;</span>
                pri-on-incon-degr <span style="color: #ff0000;">&quot;/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b &gt; /proc/sysrq-trigger ; reboot -f&quot;</span>;
                pri-lost-after-sb <span style="color: #ff0000;">&quot;/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b &gt; /proc/sysrq-trigger ; reboot -f&quot;</span>;
                local-io-error <span style="color: #ff0000;">&quot;/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o &gt; /proc/sysrq-trigger ; halt -f&quot;</span>;
                <span style="color: #808080; font-style: italic;"># fence-peer &quot;/usr/lib/drbd/crm-fence-peer.sh&quot;;</span>
                split-brain <span style="color: #ff0000;">&quot;/usr/lib/drbd/notify-split-brain.sh root&quot;</span>;
                out-of-sync <span style="color: #ff0000;">&quot;/usr/lib/drbd/notify-out-of-sync.sh root&quot;</span>;
                <span style="color: #808080; font-style: italic;"># before-resync-target &quot;/usr/lib/drbd/snapshot-resync-target-lvm.sh -p 15 -- -c 16k&quot;;</span>
                <span style="color: #808080; font-style: italic;"># after-resync-target /usr/lib/drbd/unsnapshot-resync-target-lvm.sh;</span>
        <span style="color: #66cc66;">&#125;</span>
&nbsp;
        startup <span style="color: #66cc66;">&#123;</span>
                <span style="color: #808080; font-style: italic;"># wfc-timeout degr-wfc-timeout outdated-wfc-timeout wait-after-sb;</span>
        <span style="color: #66cc66;">&#125;</span>
&nbsp;
        disk <span style="color: #66cc66;">&#123;</span>
                <span style="color: #808080; font-style: italic;"># on-io-error fencing use-bmbv no-disk-barrier no-disk-flushes</span>
                <span style="color: #808080; font-style: italic;"># no-disk-drain no-md-flushes max-bio-bvecs   </span>
        <span style="color: #66cc66;">&#125;</span>
&nbsp;
        net <span style="color: #66cc66;">&#123;</span>
                <span style="color: #808080; font-style: italic;"># snd‐buf-size rcvbuf-size timeout connect-int ping-int ping-timeout max-buffers</span>
                <span style="color: #808080; font-style: italic;"># max-epoch-size ko-count allow-two-primaries cram-hmac-alg shared-secret</span>
                <span style="color: #808080; font-style: italic;"># after-sb-0pri after-sb-1pri after-sb-2pri data-integrity-alg no-tcp-cork</span>
        <span style="color: #66cc66;">&#125;</span>
&nbsp;
        syncer <span style="color: #66cc66;">&#123;</span>
                <span style="color: #808080; font-style: italic;"># rate after al-extents use-rle cpu-mask verify-alg csums-alg</span>
        <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></p>
<p>Then I made a resource for my existing logical volume:</p>
<p><pre class="php">resource r0
<span style="color: #66cc66;">&#123;</span>
  meta-disk internal;
  device /dev/drbd1;
&nbsp;
  startup
  <span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;"># The timeout value when the last known state of the other side was available.</span>
    wfc-timeout <span style="color: #cc66cc;">0</span>;
&nbsp;
    <span style="color: #808080; font-style: italic;"># Timeout value when the last known state was disconnected.</span>
    degr-wfc-timeout <span style="color: #cc66cc;">180</span>;
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  syncer
  <span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;"># This is recommended only for low-bandwidth lines, to only send those</span>
    <span style="color: #808080; font-style: italic;"># blocks which really have changed.</span>
    <span style="color: #808080; font-style: italic;">#csums-alg md5;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;"># Set to about half your net speed</span>
    rate 8M;
&nbsp;
    <span style="color: #808080; font-style: italic;"># It seems that this option moved to the 'net' section in drbd 8.4.</span>
    verify-alg <a href="http://www.php.net/md5"><span style="color: #000066;">md5</span></a>;
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  net
  <span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;"># The manpage says this is recommended only in pre-production (because of its performance), to determine</span>
    <span style="color: #808080; font-style: italic;"># if your LAN card has a TCP checksum offloading bug. </span>
    <span style="color: #808080; font-style: italic;">#data-integrity-alg md5;</span>
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  disk
  <span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;"># Detach causes the device to work over-the-network-only after the</span>
    <span style="color: #808080; font-style: italic;"># underlying disk fails. Detach is not default for historical reasons, but is</span>
    <span style="color: #808080; font-style: italic;"># recommended by the docs.</span>
    <span style="color: #808080; font-style: italic;"># However, the Debian defaults in drbd.conf suggest the machine will reboot in that event...</span>
    on-io-error detach;
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  on top
  <span style="color: #66cc66;">&#123;</span>
    disk /dev/universe/lvtest;
    address <span style="color: #cc66cc;">192.168</span><span style="color: #cc66cc;">.2</span><span style="color: #cc66cc;">.6</span>:<span style="color: #cc66cc;">7789</span>;
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  on bottom
  <span style="color: #66cc66;">&#123;</span>
    disk /dev/universe/lvtest;
    address <span style="color: #cc66cc;">192.168</span><span style="color: #cc66cc;">.2</span><span style="color: #cc66cc;">.7</span>:<span style="color: #cc66cc;">7790</span>;
  <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></p>
<p>Copy all config files to the slave machine (and write an rsync-script for it&#8230;).</p>
<p>The drbd data is going to be written on the actual LV, so on the primary node, we need to make space:</p>
<p><pre class="php">e2fsck -f /dev/universe/lvtest
resize2fs /dev/universe/lvtest 500M <span style="color: #808080; font-style: italic;"># or however big that's a tad smaller than the actual LV.</span>
drbdadm create-md r0
drbdadm up r0</pre></p>
<p>On the secondary node, make the device as well:</p>
<p><pre class="php">drbdadm create-md r0
drbdadm up r0</pre></p>
<p>Then we can start syncing and re-grow it. On the primary: </p>
<p><pre class="php">drbdadm -- --overwrite-data-of-peer primary r0 <span style="color: #808080; font-style: italic;"># the -- is necessary because of weird option handling by drbdadm.</span>
resize2fs /dev/drbd1</pre></p>
<p>The logical volume has been converted from ext3 to drbd:</p>
<p><pre class="php"><span style="color: #808080; font-style: italic;"># mount /dev/universe/lvtest /mnt/temp</span>
mount: unknown filesystem type <span style="color: #ff0000;">'drbd'</span></pre></p>
<p>Then, it is recommended you create /etc/modprobe.d/drbd.conf with:</p>
<p><pre class="php">options drbd disable_sendpage=<span style="color: #cc66cc;">1</span></pre></p>
<p>I don&#8217;t know what it does, but it&#8217;s recommended by the DRBD devices docs when you put Xen domains on DRBD devices.</p>
<p>In Xen, you can configure the disk device of a VM like this:</p>
<p><pre class="php">disk = <span style="color: #66cc66;">&#91;</span> <span style="color: #ff0000;">'drbd:resource,xvda,w'</span> <span style="color: #66cc66;">&#93;</span></pre></p>
<p>Drbd has installed the necessary scripts in /etc/xen/scripts to support this. Xen will now automatically promote a drbd device to primary when you start a VM.</p>
<p><strong>Bewarned</strong>: because of that, don&#8217;t put the VM in the /etc/xen/auto dir on the fallback node, otherwise whichever machine is faster will start the VM, preventing the other machine from starting it (because you can&#8217;t have two primaries).</p>
<p>I noticed that Debian arranges it&#8217;s boot process erroneously, starting xemdomains before drbd. I comment on an old <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476545">bug</a>.</p>
<p>You can fix it by adding xendomains to the following lines in /etc/init.d/drbd:</p>
<p><pre class="php"><span style="color: #808080; font-style: italic;"># X-Start-Before: heartbeat corosync xendomains</span>
<span style="color: #808080; font-style: italic;"># X-Stop-After:   heartbeat corosync xendomains </span></pre></p>
<p>Mdadm (software RAID) schedules monthly checks of your array. You can do that for DRBD too). You do that on the primary node with a cronjob in /etc/cron.d/:</p>
<p><pre class="php"><span style="color: #cc66cc;">42</span> <span style="color: #cc66cc;">0</span> * * <span style="color: #cc66cc;">0</span>    root    /sbin/drbdadm verify all</pre></p>
<p>One last thing: the docs state that when you perform a verify and it detects an out-of-sync device, all you have to do is disconnect and connect. That didn&#8217;t work for me. Instead, I ran the following on the secondary node (the one I had destroyed with dd) to initiate a resync:</p>
<p><pre class="php">drbdadm invalidate r0</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2012/05/01/creating-a-drbd-for-an-existing-xen-domain/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Internet Explorer in VirtualBox 4.1 in Ubuntu 10.10</title>
		<link>http://blog.bigsmoke.us/2012/04/16/internet-explorer-in-virtualbox-4.1-in-ubuntu-10.10</link>
		<comments>http://blog.bigsmoke.us/2012/04/16/internet-explorer-in-virtualbox-4.1-in-ubuntu-10.10#comments</comments>
		<pubDate>Mon, 16 Apr 2012 12:14:22 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=2114</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been needing IE for testing payformystay.com for some time now, but now I&#8217;m studying and I need it to work with some interactive Silverlight stuff.</p>
<p>I&#8217;ve found some instructions on installing a recent version of <a href="http://www.webupd8.org/2011/07/virtualbox-41-released-with-gui-option.html">VirtualBox</a> and<br />
<a href="http://www.webupd8.org/2011/09/test-websites-in-internet-explorer-9-8.html">a number of Internet Explorer versions</a>, all that without requiring a Windows license thanks to a <a href="http://www.microsoft.com/download/en/details.aspx?id=11575">specialized Windows VHD by Microsoft</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2012/04/16/internet-explorer-in-virtualbox-4.1-in-ubuntu-10.10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What all programmers must know about character encoding</title>
		<link>http://blog.bigsmoke.us/2012/04/12/what-all-programmers-must-know-about-character-encoding</link>
		<comments>http://blog.bigsmoke.us/2012/04/12/what-all-programmers-must-know-about-character-encoding#comments</comments>
		<pubDate>Thu, 12 Apr 2012 13:18:52 +0000</pubDate>
		<dc:creator>halfgaar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[char]]></category>
		<category><![CDATA[character encoding]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[utf-8]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=2111</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.joelonsoftware.com/printerFriendly/articles/Unicode.html">click</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2012/04/12/what-all-programmers-must-know-about-character-encoding/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing mailscanner insecure dependancy</title>
		<link>http://blog.bigsmoke.us/2012/02/25/fixing-mailscanner-insecure-dependancy</link>
		<comments>http://blog.bigsmoke.us/2012/02/25/fixing-mailscanner-insecure-dependancy#comments</comments>
		<pubDate>Sat, 25 Feb 2012 13:10:05 +0000</pubDate>
		<dc:creator>halfgaar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[mailscanner]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=2104</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Mailscanner cut out on me, without errors in the log. It was only after turning on debug (which prevents backgrounding and it then only processes one batch) that it showed me. </p>
<p>I needed to change the first line of Mailscanner in /usr/sbin/Mailscanner:</p>
<p><pre class="php"><span style="color: #808080; font-style: italic;">#!/usr/bin/perl -I/usr/share/MailScanner/ -U </span></pre></p>
<p><a href="http://guy.vsbnet.be/content/fixing-mailscanner-ubuntu-1004">Source</a>.</p>
<p>Of course, this is far from optimal and it bugs me that Debian didn&#8217;t fix this yet, because it&#8217;s an old issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2012/02/25/fixing-mailscanner-insecure-dependancy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why doesn&#8217;t he just…</title>
		<link>http://blog.bigsmoke.us/2012/02/04/why-doesn-he-just</link>
		<comments>http://blog.bigsmoke.us/2012/02/04/why-doesn-he-just#comments</comments>
		<pubDate>Sat, 04 Feb 2012 17:50:53 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Nakedness]]></category>
		<category><![CDATA[gossip]]></category>
		<category><![CDATA[superiority]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=2084</guid>
		<description><![CDATA[You know the conversation. You <em>had</em> the conversation: “Why doesn't he just …”]]></description>
			<content:encoded><![CDATA[<p>You know the conversation. You <em>had</em> the conversation:<br />
“Why doesn&#8217;t he just …”<br />
“I don&#8217;t understand why he can&#8217;t simply …”<br />
“If he&#8217;d only …”</p>
<p>Usually followed by: “I used to, but I …”<br />
Or: “At least you have (not) …”</p>
<p>Well, I had this conversation, but at least I …<br />
I am writing about it, so that at least you …</p>
<p>You know the truth:<br />
No, he can&#8217;t just …<br />
At least, he couldn&#8217;t …</p>
<p>Now, you might …<br />
But if it&#8217;d be so easy to …<br />
You wouldn&#8217;t be congratulating each other that …<br />
You&#8217;re just slightly better than him …</p>
<p>How does it feel?<br />
Safe?</p>
<p>If only you would …</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2012/02/04/why-doesn-he-just/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commenting fixed for blog.bigsmoke.us</title>
		<link>http://blog.bigsmoke.us/2012/02/04/upgraded-blog.bigsmoke.us</link>
		<comments>http://blog.bigsmoke.us/2012/02/04/upgraded-blog.bigsmoke.us#comments</comments>
		<pubDate>Sat, 04 Feb 2012 11:10:31 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[BigSmoke.US]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[blog.bigsmoke.us]]></category>
		<category><![CDATA[reCAPTCHA]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=2089</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>To my great surprise, thanks to <a href="http://vvv.tobiassjosten.net/">Tobias Sjösten</a>, I found out that commenting was broken on blog.bigsmoke.us. I couldn&#8217;t pinpoint the exact problem, but it must have been introduced with some WordPress upgrade somewhere along the line. I never noticed it because it did work for logged in users. (If I must really guess, I suspect a silent ReCaptcha version compatibility problem.)</p>
<p>Upgrading WordPress and wp-recaptcha to their latest versions (3.3.1 and 3.1.4 respectively) seems to have solved the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2012/02/04/upgraded-blog.bigsmoke.us/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Psychopathic Saturday</title>
		<link>http://blog.bigsmoke.us/2012/01/21/psychopathic-saturday</link>
		<comments>http://blog.bigsmoke.us/2012/01/21/psychopathic-saturday#comments</comments>
		<pubDate>Sat, 21 Jan 2012 12:30:46 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Nakedness]]></category>
		<category><![CDATA[psychopathy]]></category>
		<category><![CDATA[science]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=2068</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to pump up myself to write a piece of text about psychopathy. All three other group members already wrote <em>their</em> part. We&#8217;re making a scientific poster titled “Is there a psychopath hidden in your brain?” But, do I even want to know? It&#8217;s all very close to home, with a mother who&#8217;s been accusing her ex-husband (my dad) of being a psychopath for, like, forever, and, simultaneously, this monkey in my brain, pointing it&#8217;s accusative little finger straight at me.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2012/01/21/psychopathic-saturday/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>I am naked and feeling very vulnerable</title>
		<link>http://blog.bigsmoke.us/2012/01/20/i-am-naked-and-feeling-very-vulnerable</link>
		<comments>http://blog.bigsmoke.us/2012/01/20/i-am-naked-and-feeling-very-vulnerable#comments</comments>
		<pubDate>Thu, 19 Jan 2012 22:12:56 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Nakedness]]></category>
		<category><![CDATA[deception]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=2057</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>There are many clever ways to tell you this. There are many ways to deceive. But in the end I feel that more often than not the deception merely serves to reinforce that image of a very vulnerable naked man.</p>
<p>Thus: <i>“I am naked and feeling very vulnerable.”</i></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2012/01/20/i-am-naked-and-feeling-very-vulnerable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MediaWiki ConfirmEdit/QuestyCaptcha extension</title>
		<link>http://blog.bigsmoke.us/2012/01/17/mediawiki-questycaptcha</link>
		<comments>http://blog.bigsmoke.us/2012/01/17/mediawiki-questycaptcha#comments</comments>
		<pubDate>Tue, 17 Jan 2012 13:43:44 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[CAPTCHA]]></category>
		<category><![CDATA[ConfirmEdit]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[PALDAP]]></category>
		<category><![CDATA[QuestyCaptcha]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=2039</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Since I moved my <a href="http://www.paldap.org/">LDAP wiki</a> over from DokuWiki to MediaWiki, I&#8217;ve been burried by a daily torrent of spam. Just like with my <a href="http://wiki.hardwood-investments.net/">tropical timber investments wiki</a>, the ReCaptcha extension (with pretty intrusive settings) doesn&#8217;t seem to do much to stop this shitstream.</p>
<p>How do the spammers do this? Do they primarily trick visitors of other websites into solving this captchas for them or do they employ spam-sweatshops in third-world countries? Fuck them! I&#8217;m trying something new.</p>
<p>I&#8217;ve upgraded to the <a href="http://www.mediawiki.org/wiki/Extension:ConfirmEdit">ConfirmEdit extension</a>. (ReCaptcha has also moved into this extension.) This allows me to try different Captcha types. The one I was most interested in is QuestyChaptcha, which allows me to define a set of questions which the user needs to answer. I&#8217;m now trying it out with the following question:</p>
<p><pre class="php"><span style="color: #0000ff;">$wgCaptchaQuestions</span><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> = <a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">'question'</span> =&gt; <span style="color: #ff0000;">&quot;LDAP stands for ...&quot;</span>, <span style="color: #ff0000;">'answer'</span> =&gt; <span style="color: #ff0000;">&quot;Lightweight Directory Access Protocol&quot;</span> <span style="color: #66cc66;">&#41;</span>;</pre></p>
<p>I don&#8217;t think it&#8217;s a particularly good question, since it&#8217;s incredibly easy to Google. But, we&#8217;ll see, and in the mean time I&#8217;ll try to come up with one or two questions that are context-sensitive, yet easy enough to answer for anyone with some knowledge of LDAP. If you have an idea, please leave a comment. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2012/01/17/mediawiki-questycaptcha/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

