<?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>blacknode &#187; work</title>
	<atom:link href="http://blog.blacknode.net/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.blacknode.net</link>
	<description>NO CARRIER</description>
	<lastBuildDate>Mon, 13 Jun 2011 07:12:29 +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>Worlock (live)</title>
		<link>http://blog.blacknode.net/2011/05/worlock-live/</link>
		<comments>http://blog.blacknode.net/2011/05/worlock-live/#comments</comments>
		<pubDate>Wed, 25 May 2011 16:07:19 +0000</pubDate>
		<dc:creator>jrod</dc:creator>
				<category><![CDATA[Unwired]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[worlock "Skinny Puppy"]]></category>

		<guid isPermaLink="false">http://blog.blacknode.net/?p=809</guid>
		<description><![CDATA[wasted truth. why call it all, blue? hot lines. eventual decline. with the right attitude you will succed, blue. resent that discontent. sidestep. define the state of things so far. crazy things, soft spoken..overide. with your eyes open, you know soft spoken changes nothing. a view so cruel. nothing. &#038;nbsp]]></description>
			<content:encoded><![CDATA[<p>wasted truth.<br />
why call it all, blue?<br />
hot lines.<br />
eventual decline.<br />
with the right attitude you will succed, blue.<br />
resent that discontent.<br />
sidestep.<br />
define the state of things so far.<br />
crazy things, soft spoken..overide.<br />
with your eyes open, you know soft spoken changes nothing.<br />
a view so cruel.<br />
nothing.</p>
<p>&nbsp;</p>
<p><iframe width="480" height="390" src="http://www.youtube.com/embed/dEm8cleyTlE" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blacknode.net/2011/05/worlock-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A good day</title>
		<link>http://blog.blacknode.net/2010/11/a-good-day/</link>
		<comments>http://blog.blacknode.net/2010/11/a-good-day/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 18:30:51 +0000</pubDate>
		<dc:creator>jrod</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.blacknode.net/2010/11/a-good-day/</guid>
		<description><![CDATA[@ the office]]></description>
			<content:encoded><![CDATA[<p><img style="display:block;margin-right:auto;margin-left:auto;" alt="image" src="http://blog.blacknode.net/wp-content/uploads/2010/11/wpid-IMG_20101101_133028.jpg" /></p>
<p>@ the office</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blacknode.net/2010/11/a-good-day/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Email, the painful truth</title>
		<link>http://blog.blacknode.net/2010/10/email-the-painful-truth/</link>
		<comments>http://blog.blacknode.net/2010/10/email-the-painful-truth/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 16:49:48 +0000</pubDate>
		<dc:creator>jrod</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[jokes]]></category>

		<guid isPermaLink="false">http://blog.blacknode.net/?p=548</guid>
		<description><![CDATA[My co-workers often harass me for not consistently checking my email. This is the best explanation for my behavior I can offer: Lots more reasons at The oatmeal: Email]]></description>
			<content:encoded><![CDATA[<p>My co-workers often harass me for not consistently checking my email. This is the best explanation  for my behavior I can offer:</p>
<p style="text-align: center;"><a href="http://blog.blacknode.net/wp-content/uploads/2010/10/4.png"><img class="aligncenter size-medium wp-image-551" title="DoucheSpeak" src="http://blog.blacknode.net/wp-content/uploads/2010/10/4.png" alt="" width="543" height="700" /></a></p>
<p>Lots more reasons at <a href="http://theoatmeal.com/comics/email">The oatmeal: Email </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blacknode.net/2010/10/email-the-painful-truth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ready for the weekend</title>
		<link>http://blog.blacknode.net/2010/09/ready-for-the-weekend/</link>
		<comments>http://blog.blacknode.net/2010/09/ready-for-the-weekend/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 20:51:26 +0000</pubDate>
		<dc:creator>jrod</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[screenshot iga]]></category>

		<guid isPermaLink="false">http://blog.blacknode.net/?p=495</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.blacknode.net/wp-content/uploads/2010/09/igalove2.png"><img class="aligncenter size-medium wp-image-496" title="=)" src="http://blog.blacknode.net/wp-content/uploads/2010/09/igalove2-300x90.png" alt="" width="300" height="90" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blacknode.net/2010/09/ready-for-the-weekend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Captain Rekick</title>
		<link>http://blog.blacknode.net/2010/09/captain-rekick/</link>
		<comments>http://blog.blacknode.net/2010/09/captain-rekick/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 04:23:22 +0000</pubDate>
		<dc:creator>jrod</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.blacknode.net/?p=473</guid>
		<description><![CDATA[Well, I nuked / (root) on my work computer today and it finally occurred to me how this happened. I was working on a gentoo deployment image for a customer. I didn&#8217;t want to manually build a kernel for all hardware options, so I was using genkernel. I needed to rebuild the kernel to include ]]></description>
			<content:encoded><![CDATA[<p>Well, I nuked / (root) on my work computer today and it finally occurred to me how this happened.</p>
<p><a href="http://blog.blacknode.net/wp-content/uploads/2010/09/double_facepalm_lg.jpg"><img class="aligncenter size-medium wp-image-480" title="double_facepalm_lg" src="http://blog.blacknode.net/wp-content/uploads/2010/09/double_facepalm_lg-300x241.jpg" alt="" width="300" height="241" /></a></p>
<p>I was working on a gentoo deployment image for a customer. I didn&#8217;t want to manually build a kernel for all hardware options, so I was using genkernel.</p>
<p>I needed to rebuild the kernel to include nic drivers for net booting.  As it turns out, when running genkernel, the program attempts to mount /boot (based on the fstab) before copying the initramfs image and kernel to /boot (brilliant?). Under normal circumstances, this is perfectly ok, however, I was working in a chroot, with the host /dev bind mounted under the chroot /dev. The chroot fstab specified /dev/sda1 as boot while on the host device&#8230; drum roll .. this actually corresponded to (what was) my root partition.</p>
<p>After I was done with my work, I ran my deployment script; which tars up the important parts of the file system and deletes the source; which this time, included my root partition.</p>
<p>So, what have I learned&#8230;</p>
<p>Never mount /dev in a chroot unless you actually need access  to the hardware. ESPECIALLY, when using Tardix.</p>
<p>From <a href="http://www.gentoo.org/doc/en/genkernel.xml"> The Gentoo Genkernel Guide </a></p>
<p><strong>&#8211;no-install</strong>: Activates [or deactivates] the make install command, which installs your new kernel image, configuration file, initrd image and system map onto your mounted boot partition. Any compiled modules will be installed as well&#8230;</p>
<p>(note, it doesn&#8217;t mention that it will try to mount /boot if it is not mounted&#8230;.)</p>
<p>Does anyone know if make install attempts to do this? I think not! I hope not. If we forget to mount /boot (and we wanted to mount boot) when running make install, <strong>and</strong> we are too dumb to figure out why it doesn&#8217;t work.. please don&#8217;t try to fix it for us.. please.. we need to learn.. or maybe .. just maybe.. we knew what we were <strong> fucking doing in the first place!!!!!! </strong></p>
<p>FUCK!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blacknode.net/2010/09/captain-rekick/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PHP Perl Class</title>
		<link>http://blog.blacknode.net/2009/10/php-perl-class/</link>
		<comments>http://blog.blacknode.net/2009/10/php-perl-class/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 16:11:53 +0000</pubDate>
		<dc:creator>jrod</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.blacknode.net/?p=335</guid>
		<description><![CDATA[Hello, I have a bit of problem combining PHP and Perl language. I am trying to pass Perl variables into PHP and keep getting this error &#8220;PHP Fatal error: Class &#8216;Perl&#8217; not found in /var/www/html/hidden.php on line 3 &#8221; find attached copy of my script. Regards, Customer Naturally, I thought the customer was crazy. Then ]]></description>
			<content:encoded><![CDATA[<blockquote><p>
Hello,</p>
<p>I have a bit of problem combining PHP and Perl language.</p>
<p>I am trying to pass Perl variables into PHP and keep getting this error</p>
<p>&#8220;PHP Fatal error: Class &#8216;Perl&#8217; not found in /var/www/html/hidden.php on line 3<br />
&#8221;<br />
find attached copy of my script.</p>
<p>Regards,<br />
Customer
</p></blockquote>
<p>Naturally, I thought the customer was crazy. Then I looked at the script:</p>
<p>$perl = new Perl();<br />
$perl->require(&#8220;userexit.pl&#8221;);</p>
<p>I lol&#8217;ed and then search, it seems the Perl class is provided by the Zend people in the form of a php extension, which is, fortunately, in pecl. </p>
<p>Unfortunately, this package seems to be broken <img src='http://blog.blacknode.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>
( ~ ) pecl install perl<br />
Package &#8220;perl&#8221; Version &#8220;1.0.0&#8243; does not have REST xml available<br />
install failed
</p></blockquote>
<p>I did some searching and found an &#8216;open&#8217; bug report:<br />
<a href='http://pecl.php.net/bugs/bug.php?id=16807'>16807</a></p>
<p>Rather than did too deep, I decided to just install the module manually for the customer. </p>
<blockquote><p>
# wget http://pecl.php.net/get/perl-1.0.0.tgz<br />
# tar xzfv perl-1.0.0.tgz<br />
# cd perl-1.0.0<br />
# phpize<br />
# ./configure<br />
# make<br />
# make install
</p></blockquote>
<p>Now edit your php.ini to include:</p>
<p>extension=perl.so</p>
<p>Or on Red Hat/Fedora, simply:</p>
<p>echo &#8220;extension=perl.so&#8221; > /etc/php.d/perl.ini</p>
<p>Don&#8217;t forget to restart apache.</p>
<p>viola:</p>
<blockquote><p>
# php -v ; php -m | grep perl<br />
PHP 5.1.6 (cli) (built: Feb 26 2009 07:01:12)<br />
Copyright (c) 1997-2006 The PHP Group<br />
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies<br />
perl
</p></blockquote>
<p>As always, be careful when installing unmanaged modules. Future updates to php may introduce instability when depending modules are not rebuilt with the new symbol table.</p>
<p>Happy Hacking. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blacknode.net/2009/10/php-perl-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screenshots</title>
		<link>http://blog.blacknode.net/2008/08/screenshots/</link>
		<comments>http://blog.blacknode.net/2008/08/screenshots/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 06:13:32 +0000</pubDate>
		<dc:creator>jrod</dc:creator>
				<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.blacknode.net/?p=39</guid>
		<description><![CDATA[Well, I got a new workstation with pci-express and a gforce 8600. I generally like to use lightweight window manages (I have been using blackbox/fluxbox for the past 6 years or so) but I wanted to play around with the xgl hotness. Anyway, here are some screens. Workstation is running debian testing. ~]]></description>
			<content:encoded><![CDATA[<p>Well, I got a new workstation with pci-express and a gforce 8600. I generally like to use lightweight window manages (I have been using blackbox/fluxbox for the past 6 years or so) but I wanted to play around with the xgl hotness. Anyway, here are some screens. Workstation is running debian testing.</p>
<p><a href="http://blog.blacknode.net/wp-content/uploads/2008/08/evework.png"><img class="alignnone size-medium wp-image-47" title="evework" src="http://blog.blacknode.net/wp-content/uploads/2008/08/evework-300x187.png" alt="" width="300" height="187" /></a></p>
<p><a href="http://blog.blacknode.net/wp-content/uploads/2008/08/hack3r.png"><img class="alignnone size-thumbnail wp-image-48" title="hack3r" src="http://blog.blacknode.net/wp-content/uploads/2008/08/hack3r-150x150.png" alt="" width="242" height="165" /></a></p>
<p><a href="http://blog.blacknode.net/wp-content/uploads/2008/08/pimp.png"><img class="alignnone size-medium wp-image-49" title="pimp" src="http://blog.blacknode.net/wp-content/uploads/2008/08/pimp-300x187.png" alt="" width="300" height="187" /></a></p>
<p>~</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blacknode.net/2008/08/screenshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

