<?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>sector-5.net</title>
	<atom:link href="http://sector-5.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://sector-5.net</link>
	<description></description>
	<lastBuildDate>Wed, 06 Apr 2011 08:40:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Most Wordpress themes suck.</title>
		<link>http://sector-5.net/archives/wordpress-themes-suck/</link>
		<comments>http://sector-5.net/archives/wordpress-themes-suck/#comments</comments>
		<pubDate>Fri, 22 Oct 2010 18:48:47 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://sector-5.net/archives/wordpress-themes/</guid>
		<description><![CDATA[Dear &#8220;web developers&#8221; writing Wordpress themes,

I know, CSS can be hard to grasp, especially if you attempt to come up with something that will work moderately well on all major browsers, but please, listen to this one request:

If you have no clue, don&#8217;t upload themes that break spectacularly as soon as you stretch the browser [...]]]></description>
			<content:encoded><![CDATA[<p>Dear &#8220;web developers&#8221; writing Wordpress themes,</p>

<p>I know, CSS can be hard to grasp, especially if you attempt to come up with something that will work moderately well on all major browsers, but please, listen to this one request:</p>

<p>If you have no clue, don&#8217;t upload themes that break spectacularly as soon as you stretch the browser window by more than 10 pixels. I am fed up with having to fix themes that are beyond fixing. Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/wordpress-themes-suck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>irssi-python for irssi 0.8.15</title>
		<link>http://sector-5.net/archives/irssi-python-for-irssi-0-8-15/</link>
		<comments>http://sector-5.net/archives/irssi-python-for-irssi-0-8-15/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 21:45:49 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://sector-5.net/?p=111</guid>
		<description><![CDATA[I recently became aware of a Python plugin for irssi, which conveniently resides in the irssi SVN repository. This plugin presumably exposes an API very similar to the one used in the Perl plugin, so creating new scripts should be easy with all those Perl samples out there. 

There&#8217;s an useful guide for building the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently became aware of a Python plugin for irssi, which conveniently resides in the <a href="http://svn.irssi.org/repos/irssi-python">irssi SVN repository</a>. This plugin presumably exposes an API very similar to the one used in the Perl plugin, so creating new scripts should be easy with all those Perl samples out there. </p>

<p>There&#8217;s an useful guide for <a href="http://bsg.lericson.se/howto-irssi-python.html">building the plugin here</a>, but I found that some lose ends still needed to be patched up. </p>

<p>For one, the plugin apparently hasn&#8217;t been updated in a while, so some function calls still reference old irssi structures and functions. Naturally, these don&#8217;t compile with irssi 0.8.15, which is the latest version as of this writing. For those issues, I compiled <a href="http://files.sector-5.net/irssi-python-for-0.8.14.patch">a patch with various fixes here</a>. This isn&#8217;t exactly a perfect fix, but should do in most cases. (The name is still 0.8.14 as that is the version it was originally written for, but it still applies cleanly for 0.8.15)</p>

<p><code>ac_python_devel.m4</code> can be downloaded from various sources, for example from <a href="http://stasis.googlecode.com/svn/trunk/m4/ac_python_devel.m4">this project</a>. <code>pyconstants.c</code> is supposed to be generated with <code>awk -f src/constants.awk src/constants.txt &gt; src/pyconstants.c</code>.</p>

<p>There is one more catch that isn&#8217;t mentioned in above guide: The plugin tries to load <code>irssi_startup.py</code> on startup, which will have to be on a specific path to be found. Without any parameters to <code>./configure</code>, that will be <code>/usr/local/share/irssi/scripts</code>. So, if you&#8217;d rather have it in <code>/usr/share/irssi/scripts</code> (this is where my distribution places scripts, at least), you have to explicitly specify this when calling <code>./configure</code>:</p>

<pre><code>./configure --with-irssi=&lt;path to irssi sources&gt; \
    --datadir=/usr/share
</code></pre>

<p>After that, make should (<em>hopefully</em>) work and <code>libpython.so</code> will be placed in <code>src/.libs/</code>. This file should be moved to irssi&#8217;s module directory, which should be <code>/usr/lib/irssi/modules</code> or <code>/usr/local/lib/irssi/modules</code>, depending on distribution.
Copy <code>irssi_startup.py</code> and <code>irssi.py</code> from <code>src/</code> to the data directory you specified above, and irssi should be able to load the Python plugin without problems via <code>/load python</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/irssi-python-for-irssi-0-8-15/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Well fuck.</title>
		<link>http://sector-5.net/archives/well-fuck/</link>
		<comments>http://sector-5.net/archives/well-fuck/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 19:03:19 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://sector-5.net/archives/well-fuck/</guid>
		<description><![CDATA[Destroyed my theme for the third time now &#8211; this time thanks to Wordpress&#8217; automatic update feature, which takes the liberty to overwrite the default theme files. 

I&#8217;m not going to completely fix it again, so you&#8217;ll just have to do with this somewhat faggy style.
]]></description>
			<content:encoded><![CDATA[<p>Destroyed my theme for the <em>third time</em> now &#8211; this time thanks to Wordpress&#8217; automatic update feature, which takes the liberty to overwrite the default theme files. </p>

<p>I&#8217;m not going to completely fix it <em>again</em>, so you&#8217;ll just have to do with this somewhat faggy style.</p>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/well-fuck/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>4chan /b/ackwash for Opera</title>
		<link>http://sector-5.net/archives/4chan-backwash-for-opera/</link>
		<comments>http://sector-5.net/archives/4chan-backwash-for-opera/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 17:30:41 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[4chan]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[backwash]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[userscript]]></category>

		<guid isPermaLink="false">http://sector-5.net/?p=70</guid>
		<description><![CDATA[Another conversion for 4chan, /b/ackwash, which shows quoted posts in a small hovering window next to the quote link when moving the mouse over it.

Screenshot



Download

4chan Backwash for Opera, Version 1.2c



Installation instructions

See installation instructions here.

Changelog

01/22/2009 &#8211; Version 1.0a. Tested and working with Opera 9.6. Fixed a serious bug with scrolling to the wrong position when clicking [...]]]></description>
			<content:encoded><![CDATA[<p>Another conversion for 4chan, <a href="http://userscripts.org/scripts/show/25876" title="/b/ackwash">/b/ackwash</a>, which shows quoted posts in a small hovering window next to the quote link when moving the mouse over it.</p>

<p><strong>Screenshot</strong></p>

<p><img src="http://sector-5.net/wp-content/uploads/2009/01/backwash.png" alt="Backwash screenshot" title="Moving the mouse over a quote shows the quoted post." /></p>

<p><strong>Download</strong></p>

<p><a href="http://files.sector-5.net/4chan-backwash.js" title="4chan Backwash">4chan Backwash for Opera, Version 1.2c</a></p>

<p><span id="more-70"></span></p>

<p><strong>Installation instructions</strong></p>

<p>See installation instructions <a href="http://sector-5.net/archives/4chan-filter-userscript-for-opera/">here</a>.</p>

<p><strong>Changelog</strong></p>

<p>01/22/2009 &#8211; Version 1.0a. Tested and working with Opera 9.6. Fixed a serious bug with scrolling to the wrong position when clicking a quote.</p>

<p>01/23/2009 &#8211; Version 1.1. Now works with fychan by sneakily re-attaching event listeners when the document was modified.</p>

<p>01/27/2009 &#8211; Version 1.2. Now also shows quotes pointing to the thread starter.</p>

<p>01/28/2009 &#8211; Version 1.2a. Somewhat fixed quirky display for posts quoting the thread starter.</p>

<p>02/01/2009 &#8211; Version 1.2b. Minor changes to prevent functions and variables from leaking outside of Backwash&#8217;s namespace.</p>

<p>01/09/2010 &#8211; Version 1.2c. Should work for the new URL layout now.</p>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/4chan-backwash-for-opera/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>4chan Filter userscript for Opera</title>
		<link>http://sector-5.net/archives/4chan-filter-userscript-for-opera/</link>
		<comments>http://sector-5.net/archives/4chan-filter-userscript-for-opera/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 17:11:46 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[4chan]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[thread filter]]></category>
		<category><![CDATA[userscript]]></category>

		<guid isPermaLink="false">http://sector-5.net/?p=54</guid>
		<description><![CDATA[Inspired by various Firefox extensions that deal with filtering posts on 4chan, I&#8217;ve taken some time to rewrite such a script for Opera. The current version doesn&#8217;t yet come with as many features as the original, but provides most of the important functionality. If you are using Opera 10.50 or higher, I encourage you to [...]]]></description>
			<content:encoded><![CDATA[<p>Inspired by various Firefox extensions that deal with filtering posts on 4chan, I&#8217;ve taken some time to rewrite such a script for Opera. The current version doesn&#8217;t yet come with as many features as the <a href="http://userscripts.org/scripts/show/33916" title="4chan Thread Filter">original</a>, but provides most of the important functionality. <strong>If you are using Opera 10.50 or higher, I encourage you to use the linked script instead of the one in this post.</strong> (More features, more maintainance, and so forth).</p>

<p><strong>Sample settings (based on real-life /a/)</strong></p>

<p><img src="/wp-content/uploads/2009/01/threadfilter-controlpanel.png" alt="Control panel" title="The control panel" /></p>

<p><strong>Download</strong></p>

<p><a href="http://files.sector-5.net/4chan-filter.js" title="4chan Thread Filter">4chan Filter for Opera, Version 1.3a</a></p>

<p><span id="more-54"></span></p>

<p><strong>Installation instructions</strong></p>

<p>Set up an userscript directory for Opera. This option can be accessed using Tools -> Preferences -> Advanced -> Content -> JavaScript Options. After you&#8217;ve selected a directory, simply drop the .js file there and the script should load automatically.</p>

<p><strong>Things to note</strong></p>

<ul>
<li>All values are interpreted as regular expressions, meaning that some special characters will not work as expected when entered. Those are, for example, <em>.+^$?*[]{}()</em>. Such characters should be escaped with backslash unless you actually know what you&#8217;re doing.</li>
<li>Since Opera doesn&#8217;t provide a way to store variables over a period of time, this script uses cookies to save settings. This means that a) if you disabled cookies nothing will work and b) if you set up Opera to delete new cookies on exit, all your settings will be gone the next time you start your browser.</li>
</ul>

<p><strong>Changelog</strong></p>

<p>01/21/2009 &#8211; Version 1.0. Tested and working with Opera 9.6. Reports indicate it also works with Opera 10.</p>

<p>01/22/2009 &#8211; Version 1.1.</p>

<ul>
<li>Added toggle to sticky or unsticky control panel</li>
<li>Fixed mouseover/mouseout for control panel</li>
<li>All strings are precompiled to RegExps</li>
<li>Added apply and reset buttons</li>
</ul>

<p>02/01/2009 &#8211; Version 1.2. Improved support for <a href="http://www.fybertech.com/userjs/fychan.js">fychan</a>. Still some rough edges though. The post counter isn&#8217;t corrected after expanding a thread, and the `Reset page&#8217; button destroys fychan. Nothing to be done about the latter since fychan always executes after this script.</p>

<p>02/02/2009 &#8211; Version 1.2a. Fixed new settings not taking effect unless the page was reloaded.</p>

<p>01/09/2010 &#8211; Version 1.3a. Updated some code which I don&#8217;t remember the significance of, and changed URL layout to conform to 4chan&#8217;s new URL scheme.</p>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/4chan-filter-userscript-for-opera/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Comix: Windows start script</title>
		<link>http://sector-5.net/archives/comix-win32-start-script/</link>
		<comments>http://sector-5.net/archives/comix-win32-start-script/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 21:13:36 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[comix]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://sector-5.net/?p=47</guid>
		<description><![CDATA[There has been some progress on Comix recently, fixing some slight flaws that prevented the program from starting up correctly on Win32. With that gone, the only issue left is that Comix cannot be directly started on Windows without an .exe file, so I wrote a simple startup script to handle that. It invokes Python [...]]]></description>
			<content:encoded><![CDATA[<p>There has been some progress on <a href="http://comix.sourceforge.net">Comix</a> recently, fixing some slight flaws that prevented the program from starting up correctly on Win32. With that gone, the only issue left is that Comix cannot be directly started on Windows without an .exe file, so I wrote a simple startup script to handle that. It invokes Python and runs the file <code>src\comix.py</code>, so it should be put into the SVN checkout root directory of Comix. C++ source included.</p>

<p><a href="http://sector-5.net/wp-content/uploads/2009/01/comix-starter.zip">Win32 Comix Starter</a> (obsolete, only works for Python 2.5)</p>

<p><strong>Update:</strong> <a href="http://mcomix.sourceforge.net">MComix</a>, a fork of Comix, has superior Windows integration and comes with an installer that automatically generates an executable wrapper.</p>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/comix-win32-start-script/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>This just in&#8230;</title>
		<link>http://sector-5.net/archives/this-just-in/</link>
		<comments>http://sector-5.net/archives/this-just-in/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 07:11:36 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[Real-Life]]></category>

		<guid isPermaLink="false">http://sector-5.net/?p=44</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><center><img src="/img/piracy.jpg" alt="Piracy helps stop global warming" /></center></p>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/this-just-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scripting wallpaper changes, Part 2: KDE</title>
		<link>http://sector-5.net/archives/scripting-wallpaper-changes-part-2-kde/</link>
		<comments>http://sector-5.net/archives/scripting-wallpaper-changes-part-2-kde/#comments</comments>
		<pubDate>Thu, 20 Sep 2007 14:20:12 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://sector-5.net/archives/scripting-wallpaper-changes-part-2-kde/</guid>
		<description><![CDATA[Looking at the Windows wallpaper changer way down the archives, scripting a wallpaper change in KDE is quite simple in comparison:

dcop kdesktop KBackgroundIface setWallpaper /path/to/file 7

The integer after the file path is the tiling mode, and mapped one-to-one to the choices in the KDE wallpaper selection dialog, meaning that the following options are available:


Centered
Tiled
Centered Tiled
Centered [...]]]></description>
			<content:encoded><![CDATA[<p>Looking at the Windows wallpaper changer way down the archives, scripting a wallpaper change in KDE is quite simple in comparison:</p>

<pre><code>dcop kdesktop KBackgroundIface setWallpaper /path/to/file 7</code></pre>

<p>The integer after the file path is the tiling mode, and mapped one-to-one to the choices in the KDE wallpaper selection dialog, meaning that the following options are available:</p>

<ol>
<li>Centered</li>
<li>Tiled</li>
<li>Centered Tiled</li>
<li>Centered Maxpect</li>
<li>Maxpect Tiled</li>
<li>Scaled</li>
<li>Centered Autofit</li>
<li>Scale &amp; Crop</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/scripting-wallpaper-changes-part-2-kde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh God Louise is hot!</title>
		<link>http://sector-5.net/archives/oh-god-louise-is-hot/</link>
		<comments>http://sector-5.net/archives/oh-god-louise-is-hot/#comments</comments>
		<pubDate>Sat, 04 Aug 2007 12:29:27 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[Anime]]></category>

		<guid isPermaLink="false">http://sector-5.net/archives/oh-god-louise-is-hot/</guid>
		<description><![CDATA[&#8230;wait, what?





]]></description>
			<content:encoded><![CDATA[<p>&#8230;wait, what?</p>

<p><center>
<img src="/wp-content/images/znt/louise-small-1.gif" alt="Louise" title="This must hurt." />
<img src="/wp-content/images/znt/louise-small-2.gif" alt="Louise" title="Same here." />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/oh-god-louise-is-hot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opera UserJS: 4chan &#8216;enhancements&#8217;</title>
		<link>http://sector-5.net/archives/opera-userjs-4chan-enhancements/</link>
		<comments>http://sector-5.net/archives/opera-userjs-4chan-enhancements/#comments</comments>
		<pubDate>Fri, 20 Apr 2007 19:41:49 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[4chan]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[hide threads]]></category>
		<category><![CDATA[sage]]></category>

		<guid isPermaLink="false">http://sector-5.net/archives/opera-userjs-4chan-enhancements/</guid>
		<description><![CDATA[My feeble attempts to get to know the more in-depth aspects of JavaScript. 

It adds some more advanced functionality like buttons to delete/report posts without having to go to the bottom of the page. With the current version it is also possible to `hide&#8217; threads, a feature from the 4chan extension for Firefox that is [...]]]></description>
			<content:encoded><![CDATA[<p>My feeble attempts to get to know the more in-depth aspects of JavaScript. </p>

<p>It adds some more advanced functionality like buttons to delete/report posts without having to go to the bottom of the page. With the current version it is also possible to `hide&#8217; threads, a feature from the 4chan extension for Firefox that is sorely missed by Opera users.</p>

<p><strong>Download</strong>:
<a href="http://files.sector-5.net/4chan.js" title="4chan Opera UserJS">4chan.js, 02/06/09</a></p>

<p>Has to be placed into your Opera UserJS directory, which can be set up under Preferences > Advanced > Content > JavaScript Options.</p>

<p><strong>Full list of features</strong></p>

<ul>
<li>Kills any iframes (you know who you are)</li>
<li>Also kills any &lt;embed&gt; tags to prevent, for example, background sound caused by Flash objects.</li>
<li>`Fixes&#8217; quoting, that is, the comment box now properly advances to a new line after clicking on a post id. Also note that you can CTRL-click post ids to prevent the window from jumping up to the comment box.</li>
<li>Adds buttons to delete, report and hide posts/threads.</li>
<li>Also adds noko and sage boxes next to the e-Mail text control.</li>
</ul>

<p><strong>Notes on compatibility with fychan.js</strong></p>

<p>The buttons to delete, report and hide posts do not work with fychan. <s>Might or</s> might not work on a fix for this in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/opera-userjs-4chan-enhancements/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

