<?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/"
	>

<channel>
	<title>devlogic.org &#187; 2004 &#187; September</title>
	<atom:link href="http://devlogic.org/2004/09/feed/" rel="self" type="application/rss+xml" />
	<link>http://devlogic.org</link>
	<description>No tagline, no purpose.</description>
	<pubDate>Thu, 20 Nov 2008 05:53:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-beta3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fun javascript thingy</title>
		<link>http://devlogic.org/2004/09/29/fun-javascript-thingy/</link>
		<comments>http://devlogic.org/2004/09/29/fun-javascript-thingy/#comments</comments>
		<pubDate>Wed, 29 Sep 2004 06:33:06 +0000</pubDate>
		<dc:creator>devlogic</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.devlogic.org/2004/09/29/fun-javascript-thingy/</guid>
		<description><![CDATA[I just (well, a couple of hours ago) finished putting in this nifty javascript that makes for large "title" mouseovers.  Try it out on the links over on the right, or any link in this post; I added title attributes to&#160;them.
I initially saw this on Kitta.net, on the colophon page.  I though it [...]]]></description>
			<content:encoded><![CDATA[<p>I just (well, a couple of hours ago) finished putting in this nifty javascript that makes for large "title" mouseovers.  Try it out on the links over on the right, or any link in this post; I added title attributes to&nbsp;them.</p>
<p>I initially saw this on <a href="http://kitta.net/colophon.php" title="Kitta.net">Kitta.net</a>, on the colophon page.  I though it looked really cool, so I took a gander at the javascript that does it.  The comments indicated that I could swipe it for my own means, so I did just&nbsp;that.</p>
<p>I'm still not sure if I like the color, but that's pretty easy to fix; it's a stylesheet&nbsp;entry.</p>
<p><strong>Update:</strong> If you're using IE and just see a rectangular box, you should know it looks even cooler in <a href="http://www.spreadfirefox.com/?q=affiliates&#038;id=12510&#038;t=82" title="Firefox - Rediscover the web">Firefox</a> (or probably any Mozilla-based browser); the Mozilla rendering engine supports radii on stylesheet elements, so the "tooltip" actually has 3 round corners that you just can't see in&nbsp;IE.</p>
]]></content:encoded>
			<wfw:commentRss>http://devlogic.org/2004/09/29/fun-javascript-thingy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress Themes</title>
		<link>http://devlogic.org/2004/09/25/wordpress-themes/</link>
		<comments>http://devlogic.org/2004/09/25/wordpress-themes/#comments</comments>
		<pubDate>Sat, 25 Sep 2004 09:36:30 +0000</pubDate>
		<dc:creator>devlogic</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Technical]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.devlogic.org/2004/09/25/wordpress-themes/</guid>
		<description><![CDATA[Wordpress 1.3 includes a "Presentation" section in the admin area; its use is to switch between themes that have been installed.  But there's currently little to no documentation about what themes actually are, and how they're written, how they're installed, and how they&#160;work.
I seem to have figured it all out.  At least, I [...]]]></description>
			<content:encoded><![CDATA[<p>Wordpress 1.3 includes a "Presentation" section in the admin area; its use is to switch between themes that have been installed.  But there's currently little to no documentation about what themes actually are, and how they're written, how they're installed, and how they&nbsp;work.</p>
<p>I seem to have figured it all out.  At least, I think I have.  There's still some robustness checking I should do, in case specific files in my theme aren't present, but here are the steps I took to make what you see here into a wordpress&nbsp;theme.</p>
<ol>
<li>First and foremost, create the style.css for your theme.  You will need to make specific additions to the top of the stylesheet page, specifically the following portion:<br />
<code><br />
/*<br />
Name:<br />
URI:<br />
Description:<br />
Author:<br />
Author URI:<br />
Template:<br />
Version:<br />
*/<br />
</code>Fill all of those fields out.  For "Template", put the name of the directory you'll be installing your theme in.  In my case, "Template" is "devlogic-condition".  This will enable wp-blog-header.php and other files to actually locate your theme files and use your custom index, header, footer, and sidebar&nbsp;files.</li>
<li>Now, make a directory to hold the actual pages you use to display your site.  This includes index.php, wp-comments*.php, wp-header.php, wp-footer.php,  and wp-sidebar.php (if you're basing your theme off of the new "modular" page layout).  Copy all of the files you modified (or plan on modifying) to a new  directory, and then make a few small changes.  In your theme's index.php file, you should ignore the warning at the top and delete the line "require('./wp-blog-header.php');".  It's already called by the master index.php file in the webroot, and I'm pretty sure that calling it a second time does nothing more than increase the page load time.<br />
Then, modify all of the php files you just copied, thusly:<br />
find all of the lines that use the include() function, and modify the arguments.  Change<br />
<code>include(ABSPATH . '/filename.php');</code><br />
to<br />
<code>include(ABSPATH . "wp-content/${wp_template}filename.php");</code><br />
This makes the modular system load your custom header, footer, and sidebar files.  It took me a while to figure that out, let me tell&nbsp;you.</li>
<li>copy and/or move the directory everything's in into your wp-content/themes/ directory, and make sure the dir's name is the same as the value you entered for "template" in step&nbsp;1.</li>
<li>Oh, yeah.  Once everything's in place, go to the "Presentation" menu in wp-admin, and enable your theme.  If everything worked correctly, you should be able to view your site with your theme instead of whatever was there before.  The most dramatic way to see this actually work is to put your theme file into a fresh installation of wordpress 1.3cvs (or release, when it comes out); you will see everything with the nice "default" theme (or "Kubrick", if it's there), before enabling your own hard work (or your hacking of someone else's hard work,&nbsp;whatever).</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://devlogic.org/2004/09/25/wordpress-themes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Yay!  Fixed Wordpress Paging!</title>
		<link>http://devlogic.org/2004/09/18/yay-fixed-wordpress-paging/</link>
		<comments>http://devlogic.org/2004/09/18/yay-fixed-wordpress-paging/#comments</comments>
		<pubDate>Sat, 18 Sep 2004 11:48:00 +0000</pubDate>
		<dc:creator>devlogic</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Technical]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.devlogic.org/archives/2004/09/18/yay-fixed-wordpress-paging/</guid>
		<description><![CDATA[Those nifty "next page" and "previous page" links at the bottom of the page finally work!  Here's how I fixed it.  Well, actually, here's the changes I made that corrected the problem.  How I fixed it involved digging through PHP files for about half an&#160;hour.
It seems that with the Wordpress 1.3 nightlies [...]]]></description>
			<content:encoded><![CDATA[<p>Those nifty "next page" and "previous page" links at the bottom of the page finally work!  Here's how I fixed it.  Well, actually, here's the changes I made that corrected the problem.  How I fixed it involved digging through PHP files for about half an&nbsp;hour.</p>
<p>It seems that with the Wordpress 1.3 nightlies (and, I assume, the CVS and alpha versions as well), the "blogfilename" option in the wp_options table isn't populated.  I issued this statement in mysql_client to fix&nbsp;it:</p>
<blockquote><p>update wp_options set option_value='index.php' where&nbsp;option_id=2;</p></blockquote>
<p>and lo and behold: after a refresh the pages actually work correctly!   Note:  in my wp_options table, option_id 2 was also option_name 'blogfilename'.  If you're going to try this, please make sure that YOUR option_id 2 is also option_name 'blogfilename'.  That, or use this statement&nbsp;instead:</p>
<blockquote><p>update wp_options set option_value='index.php' where&nbsp;option_name='blogfilename';</p></blockquote>
<p>Of course, I thoroughly suggest you make a backup of your database before changing anything.  If you mess up your blog by trying this without checking what your current values are, I can't be held&nbsp;responsible.</p>
<p>I'm sure there's an option in the wp-admin section to enter this value appropriately (and if not, I'm sure it'll be added soon), but I couldn't find&nbsp;it.</p>
]]></content:encoded>
			<wfw:commentRss>http://devlogic.org/2004/09/18/yay-fixed-wordpress-paging/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linux update</title>
		<link>http://devlogic.org/2004/09/18/linux-update/</link>
		<comments>http://devlogic.org/2004/09/18/linux-update/#comments</comments>
		<pubDate>Sat, 18 Sep 2004 09:27:34 +0000</pubDate>
		<dc:creator>devlogic</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.devlogic.org/archives/2004/09/18/linux-update/</guid>
		<description><![CDATA[I'd been wondering for the last few weeks what I was doing wrong, such that I was always presented with a "enter super-user password for maintenance, or ^D for normal boot".  Then when my system crashed this morning, and I had to drive home on a break to fix it, I noticed that there [...]]]></description>
			<content:encoded><![CDATA[<p>I'd been wondering for the last few weeks what I was doing wrong, such that I was always presented with a "enter super-user password for maintenance, or ^D for normal boot".  Then when my system crashed this morning, and I had to drive home on a break to fix it, I noticed that there was that nice little word "single" on the boot= line in GRUB.  Remove that, and presto! The system boots up without me needing to press&nbsp;^D.</p>
<p>Now if I could only train myself to actually type "vmlinuz" instead of "vmlinux".  That gets me every&nbsp;time.</p>
<p>Incidentally, I recently switched from <a href="http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html">devfs</a> to <a href="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ">udev</a>..  Good stuff.  It actually deals with the buggy usb-storage kernel module correctly:  Before I switched, when I unplugged my Archos Jukebox, and then plugged it back in, I'd have to manually change the mount command, since the jukebox'd keep being assigned a new SCSI ID.  Udev deals with this correctly:  "/dev/sda1" is the first SCSI disk connected to the system, regardless of its actual host/bus/target/lun.  This is, in my opinion, very&nbsp;useful.</p>
<p>Plus, it makes it so that I can use an automount daemon again, instead of mounting the drive by hand.  Since I'm really lazy, this is a good&nbsp;thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://devlogic.org/2004/09/18/linux-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>DVD player</title>
		<link>http://devlogic.org/2004/09/15/dvd-player/</link>
		<comments>http://devlogic.org/2004/09/15/dvd-player/#comments</comments>
		<pubDate>Wed, 15 Sep 2004 06:29:01 +0000</pubDate>
		<dc:creator>devlogic</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">//?p=</guid>
		<description><![CDATA[I finally broke down and got a new DVD player; my old Panasonic one was starting to "No Play" most DVDs (including ones that I'd previously watched on it), and my newer RCA one was manufactured poorly, and the gears would start skipping when trying to access data near the end of&#160;discs.
So I went over [...]]]></description>
			<content:encoded><![CDATA[<p>I finally broke down and got a new DVD player; my old Panasonic one was starting to "No Play" most DVDs (including ones that I'd previously watched on it), and my newer RCA one was manufactured poorly, and the gears would start skipping when trying to access data near the end of&nbsp;discs.</p>
<p>So I went over to my local CompUSA and picked up a <a href="http://www.videohelp.com/dvdplayers.php?DVDnameid=4117&#038;Search=Search#comments">Philips DVP642/37</a>.  And man is it sweet.  It's better than the Apex I had way back when (which has since gone the way of the dinosaurs):  It's DivX certified, and can play just about anything I want.  DVDs work perfectly, of course (I even found the region-free hack so I can play any DVD).  VCDs and SVCDs work like a breeze.  CDRs with mpeg files?  No sweat.  And of course it can play DivX movies that are burned onto CDRs as well.  If I had a DVD burner, I suspect it'd also play DVDs full of DivX files (handy for my collection of Twin Peaks season 2&nbsp;avi's).</p>
<p>So all in all, I look at this as a worthwhile purchase.  For 70 bucks, I get a device that'll play just about anything I care to throw at it.  Now I just need to find a reliable source of DivX movies that don't suck (unlike Usenet; people in newsgroups frequently have no taste in&nbsp;movies).</p>
]]></content:encoded>
			<wfw:commentRss>http://devlogic.org/2004/09/15/dvd-player/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Whew</title>
		<link>http://devlogic.org/2004/09/07/whew/</link>
		<comments>http://devlogic.org/2004/09/07/whew/#comments</comments>
		<pubDate>Tue, 07 Sep 2004 09:10:20 +0000</pubDate>
		<dc:creator>devlogic</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.devlogic.org/archives/2004/09/07/whew/</guid>
		<description><![CDATA[I finally got all of the posts re-postified.
I didn't take the time to put in categories for most of them, though.  Even the newer ones that used to have categories.  I may go back eventually and put in categories for everything, but that's really a lot of effort.  I think I'll concentrate [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got all of the posts re-postified.<br />
I didn't take the time to put in categories for most of them, though.  Even the newer ones that used to have categories.  I may go back eventually and put in categories for everything, but that's really a lot of effort.  I think I'll concentrate my efforts on getting the stupid archive section on the front page working correctly first; then I'll see about the&nbsp;categories...</p>
]]></content:encoded>
			<wfw:commentRss>http://devlogic.org/2004/09/07/whew/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fuck.</title>
		<link>http://devlogic.org/2004/09/07/fuck/</link>
		<comments>http://devlogic.org/2004/09/07/fuck/#comments</comments>
		<pubDate>Tue, 07 Sep 2004 07:46:20 +0000</pubDate>
		<dc:creator>devlogic</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.devlogic.org/archives/2004/09/07/fuck/</guid>
		<description><![CDATA[I guess this is just the god of computers slapping me around for not making a backup.  I still have my entire post database, but I can't access it via wordpress.  This is upsetting, to say the least.  I'm in the process of re-posting them all, but it's gonna take a bit [...]]]></description>
			<content:encoded><![CDATA[<p>I guess this is just the god of computers slapping me around for not making a backup.  I still have my entire post database, but I can't access it via wordpress.  This is upsetting, to say the least.  I'm in the process of re-posting them all, but it's gonna take a bit of time.  Especially since I'm modifying the timestamps on each one back to their original&nbsp;values.</p>
<p>Memo to myself: make more frequent backups,&nbsp;dammit.</p>
]]></content:encoded>
			<wfw:commentRss>http://devlogic.org/2004/09/07/fuck/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Graaaagh!</title>
		<link>http://devlogic.org/2004/09/01/graaaagh/</link>
		<comments>http://devlogic.org/2004/09/01/graaaagh/#comments</comments>
		<pubDate>Wed, 01 Sep 2004 10:17:32 +0000</pubDate>
		<dc:creator>devlogic</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.devlogic.org/archives/2004/09/01/graaaagh/</guid>
		<description><![CDATA[Graaaagh!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://kevan.org/brain.cgi?devlogic">Graaaagh!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://devlogic.org/2004/09/01/graaaagh/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Kernel 2.6.7</title>
		<link>http://devlogic.org/2004/09/01/kernel-267/</link>
		<comments>http://devlogic.org/2004/09/01/kernel-267/#comments</comments>
		<pubDate>Wed, 01 Sep 2004 09:07:27 +0000</pubDate>
		<dc:creator>devlogic</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.devlogic.org/archives/2004/09/07/kernel-267/</guid>
		<description><![CDATA[Ah.  Much better.  I just finished upgrading to Linux 2.6.7 (I was running 2.4.23 previously).  I didn't opt for 2.6.8 because of that nasty problem where non-root users can't burn&#160;CDs.
But everything just fell into place.  I did need to make a few tweaks to a couple of files, but by and [...]]]></description>
			<content:encoded><![CDATA[<p>Ah.  Much better.  I just finished upgrading to Linux 2.6.7 (I was running 2.4.23 previously).  I didn't opt for 2.6.8 because of <a href="http://k3b.plainblack.com/index.pl/news2">that nasty problem</a> where non-root users can't burn&nbsp;CDs.</p>
<p>But everything just fell into place.  I did need to make a few tweaks to a couple of files, but by and large there were no huge problems.  Until I got the right driver loaded for my USB controller (the module filename had changed to uhci_hcd), my mouse was going WAY too fast for me; it was almost&nbsp;unusable.  </p>
<p>But on the bright side, now that I've stopped using IDE-SCSI emulation, my CD burning is a bit faster.  It also takes a LOT less CPU to burn now, which is good.  I always hated turning off my mp3 player to burn CDs.  I burned season 7, volume 6 of Good Eats earlier while refreshing headers in my newsreader, listening to MP3s, and chatting on AIM.  Before the upgrade, the burn would have to be the only thing I was actively&nbsp;doing.</p>
<p>And with ALSA (instead of the OSS I had before), there's <b>lots</b> more mixer controls for my BS Live!&nbsp;card.</p>
<p>All in all, I call this upgrade&nbsp;successful.</p>
<p><b>Update:</b> um, that's "SB Live!".  Freudian typo, or just the regular kind?  Who's to&nbsp;say?</p>
]]></content:encoded>
			<wfw:commentRss>http://devlogic.org/2004/09/01/kernel-267/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
