<?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>BlueCalyx</title>
	<atom:link href="http://blog.bluecalyx.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bluecalyx.org</link>
	<description></description>
	<lastBuildDate>Wed, 07 Sep 2011 13:32:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Reviewing the Maven 3 Cookbook</title>
		<link>http://blog.bluecalyx.org/2011/09/07/reviewing-maven-3-cookbook/</link>
		<comments>http://blog.bluecalyx.org/2011/09/07/reviewing-maven-3-cookbook/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 13:32:10 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Builds]]></category>
		<category><![CDATA[Packt]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://blog.bluecalyx.org/?p=74</guid>
		<description><![CDATA[Packt Publishing has graciously provided me a review copy of their newly published Apache Maven 3 Cookbook written by Srirangan. I&#8217;ve just received my review copy and checked the table of contents. Several recipes looked useful considering my interest in JRuby and other non-Java JVM languages. Once I&#8217;ve completed my review I will post it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.packtpub.com/apache-maven-3-0-cookbook/book"><img src="http://blog.bluecalyx.org/wp-content/uploads/2011/09/Apache_Maven_3_Cookbook.png" alt="Apache Maven 3 Cookbook cover" title="Apache Maven 3 Cookbook" width="125" height="152" class="alignright size-full wp-image-80" /></a><br />
Packt Publishing has graciously provided me a review copy of their newly published <a href="http://www.packtpub.com/apache-maven-3-0-cookbook/book" title="Apache Maven 3 Cookbook" target="_blank">Apache Maven 3 Cookbook</a> written by <a href="http://srirangan.net/" title="Srirangan" target="_blank">Srirangan</a>.</p>
<p>I&#8217;ve just received my review copy and checked the table of contents. Several recipes looked useful considering my interest in JRuby and other non-Java JVM languages. Once I&#8217;ve completed my review I will post it here for future reference.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bluecalyx.org/2011/09/07/reviewing-maven-3-cookbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m a Friend of Gnome!</title>
		<link>http://blog.bluecalyx.org/2010/04/07/friend-of-gnome-postcard/</link>
		<comments>http://blog.bluecalyx.org/2010/04/07/friend-of-gnome-postcard/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 22:30:39 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Gnome]]></category>
		<category><![CDATA[F/OSS]]></category>
		<category><![CDATA[free desktop]]></category>

		<guid isPermaLink="false">http://blog.bluecalyx.org/?p=52</guid>
		<description><![CDATA[I received my Friends of Gnome thank you postcard. Consider sponsoring the project so more hackers can attend hackfests!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gnome.org/friends/"><img src="http://blog.bluecalyx.org/wp-content/uploads/2010/04/Andre_Gnome_Postcard-206x300.jpg" alt="Friends of Gnome postcard" title="Andre_Gnome_Postcard" width="206" height="300" class="aligncenter size-medium wp-image-51" /></a></p>
<p>I received my postcard from André yesterday thanking me for becoming a <a href="http://www.gnome.org/friends/">Friend of Gnome</a>. As I write this their campaign to hire a sysadmin for Gnome is about $114 away from meeting their goal!</p>
<p>If you also love the Gnome desktop, consider sponsoring the project. As André noted in his postcard, hackfests are an integral part of the Gnome lifecycle and many developers cannot afford to travel to one of these key events without the assistance of the Gnome Foundation. Sponsorships make it possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bluecalyx.org/2010/04/07/friend-of-gnome-postcard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple single user mode on Fedora 12</title>
		<link>http://blog.bluecalyx.org/2010/04/07/fedora-simple-single-user-mode/</link>
		<comments>http://blog.bluecalyx.org/2010/04/07/fedora-simple-single-user-mode/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 15:30:27 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[fedora 12]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://blog.bluecalyx.org/?p=46</guid>
		<description><![CDATA[Boot into single user mode to perform a system rescue.]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-19" title="fedora_128" src="http://blog.bluecalyx.org/wp-content/uploads/2010/03/fedora_1.png" alt="Fedora Logo 128x128" width="128" height="128" />Recently I had a problem with my nvidia driver and kernel which crippled my machine at boot-up. After the grub screen the pretty plymouth eye candy never appeared, the monitor went into power-saving mode, and I couldn&#8217;t even access a local console with Ctrl-Alt-F2.</p>
<p>Normally I would have reverted to a previous kernel, but in this instance the machine had just been clean installed with web repositories, so it only had the broken kernel. To make matters even worse, the DNS server refused to return information about the machine, which had registered with DHCP, but hadn&#8217;t sent the host name. Since I didn&#8217;t know the IP, I couldn&#8217;t log in with SSH.</p>
<p>Single User mode to the rescue! This is the perfect use for a single user login. The procedure is pretty simple, as far as Linux recovery steps go.</p>
<ol>
<li>Interrupt grub at startup and press &#8216;<code>a</code>&#8216; to edit the kernel line.</li>
<li>Remove the &#8216;<code>rhgb</code>&#8216; and &#8216;<code>quiet</code>&#8216; options and replace them with &#8216;<code>single</code>&#8216;</li>
<li>Boot the kernel with your modified options</li>
<li>Once the kernel boots, you can run disk checks or other repair activities.</li>
<li>In this case, I wanted to continue to a normal boot prompt, which is run-level three. On Fedora and other RedHat-derived systems simply type &#8216;<code>init 3</code>&#8216; at the single user prompt.</li>
</ol>
<p>The machine will immediately continue with the boot sequence, starting other necessary services. The process stops at a login prompt. Hopefully you have instructions to assist in fixing the problem from there. When you are done you can issue a &#8216;<code>reboot</code>&#8216; and find out if you&#8217;ve fixed the problem!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bluecalyx.org/2010/04/07/fedora-simple-single-user-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Help Gnome hire a sysadmin</title>
		<link>http://blog.bluecalyx.org/2010/03/24/help-gnome-hire-a-sysadmin/</link>
		<comments>http://blog.bluecalyx.org/2010/03/24/help-gnome-hire-a-sysadmin/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 20:52:53 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Gnome]]></category>
		<category><![CDATA[F/OSS]]></category>
		<category><![CDATA[evolution]]></category>
		<category><![CDATA[free desktop]]></category>

		<guid isPermaLink="false">http://blog.bluecalyx.org/?p=34</guid>
		<description><![CDATA[Help support the GNOME Foundation's goal to provide a free desktop for all users - <a href="http://www.gnome.org/friends/index.html">become a Friend of GNOME</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gnome.org/friends/"><img src="http://blog.bluecalyx.org/wp-content/uploads/2010/03/fog-120x240.png" alt="Friends of Gnome Logo" title="fog-120x240" width="120" height="240" class="alignright size-full wp-image-33" /></a>Since I&#8217;ve added the banner to the sidebar of my blog, I wanted to re-post information on supporting one of the best projects in the Free/Open Source Software ecosystem: Gnome.</p>
<blockquote><p>Help support the GNOME Foundation&#8217;s goal to provide a free desktop for all users &#8211; <a href="http://www.gnome.org/friends/index.html">become a Friend of GNOME</a>. Your donation will ensure that GNOME continues to be a free and open source desktop by providing resources to developers, software and education for end users, and promotion for GNOME worldwide.</p>
<p>The GNOME desktop is free and accessible software available in many languages. GNOME is the software of choice for programs like One Laptop Per Child, governments, and mobile phone applications. </p></blockquote>
<p><span id="more-34"></span>If you are a user of Ubuntu, Fedora, or another Linux distribution which packages Gnome as the default desktop, <strong>or</strong> you use it heavily for other reasons, consider supporting a part-time employee to manage the Gnome servers. As of today the project has $5,303 to go to reach their goal.</p>
<p>I&#8217;m personally fond of the &#8220;Adopt a Hacker&#8221; subscription, which starts at $10 a month. I&#8217;m placing my donation today to adopt the work of &#8216;<a href="http://live.gnome.org/JohnnyJacob">Johnny Jacob</a>&#8216; who is working on the Evolution MAPI provider. (Technically you have to choose from a list, probably because they send you a postcard, but in spirit I&#8217;m adopting Johnny!)</p>
<p>Here&#8217;s my reason to support Gnome:</p>
<p>Since my employer made the switch to Exchange 2007, I sadly had to switch from my Ubuntu laptop back to a Macbook so I could work effectively with my coworkers. Almost a half dozen people that were managing to use Linux as our primary desktops were forced to migrate to another platform. One die-hard even used Outlook on our overworked Terminal Server via Remote Desktop so he could keep his Linux desktop. So, for me I&#8217;ve placed a personal priority on returning to my Linux desktop as soon as possible, and I can&#8217;t do that without great MAPI support. Thus, Johnny Jacob will receive my support.</p>
<p>So, if you have a similar story, please consider <a href="http://www.gnome.org/friends/index.html">becoming a Friend of Gnome</a> today, thanks!</p>
<p>[edit---]</p>
<p>I&#8217;ve started my subscription by adopting Gnome hacker <a href="http://live.gnome.org/AndreKlapper">Andre Klapper</a> for his tireless work as bugmaster, especially as Bugmaster Emeritus on Evolution.</p>
<p><center><a href="http://www.gnome.org/friends/"><img src="http://blog.bluecalyx.org/wp-content/uploads/2010/03/monthly.png" alt="Become a Friend of GNOME" border="0" width="127" height="26" class="aligncenter size-full wp-image-39" /></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bluecalyx.org/2010/03/24/help-gnome-hire-a-sysadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated: Fixing Fedora 12 and nvidia black screen at startup</title>
		<link>http://blog.bluecalyx.org/2010/03/23/f12-nvidia-black-screen/</link>
		<comments>http://blog.bluecalyx.org/2010/03/23/f12-nvidia-black-screen/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 13:11:16 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[fedora 12]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://blog.bluecalyx.org/?p=13</guid>
		<description><![CDATA[A quick overview of blacklisting / excluding a specific package from yum updates. I needed this when a recent kernel update killed my nvidia driver.]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.bluecalyx.org/wp-content/uploads/2010/03/fedora_1.png" alt="Fedora Logo 128x128" title="fedora_128" width="128" height="128" class="alignright size-full wp-image-19" />I recently updated my Fedora 12 workstation at work and was greeted with a black screen at reboot. Actually, the screen shut off almost immediately. The console was unresponsive, so I couldn&#8217;t even log in locally by switching to a local console. (You know you are in trouble when Ctrl-Alt-F2 doesn&#8217;t work.)</p>
<p>From my laptop I SSH&#8217;d in and discovered that the nvidia driver had oops&#8217;d and killed X11 very dead. Searching the forums led me to believe my problem was from the most recent kernel update and selecting the previous kernel from the grub screen proved to boot normally.</p>
<p>This is the first occasion where I&#8217;ve ever needed to blacklist an item from yum. The process is pretty simple, so I&#8217;m jotting it down here for future reference.</p>
<p><span id="more-13"></span>First, determine the package which is causing the problem, the &#8220;kernel-2.6.32.9-70&#8243; in this case.</p>
<p>Note: if you have a recent clean installation, which doesn&#8217;t contain an older &#8220;safe&#8221; kernel   in the grub menu you can probably still boot into single user mode.</p>
<pre class="brush: bash; light: true">$ rpm -q kernel</pre>
<pre class="brush: plain; light: true; highlight: [3]">
kernel-2.6.31.12-174.2.19.fc12.x86_64
kernel-2.6.31.12-174.2.22.fc12.x86_64
kernel-2.6.32.9-70.fc12.x86_64
</pre>
<p>Next, edit the <em>/etc/yum.conf</em> file to add the broken package to the excluded list. In this case the most recent kernel, 2.3.32.9 seems to be the problem.</p>
<pre class="brush: bash; light: true">$ su -c "vim /etc/yum.conf"</pre>
<p>Add the following line to exclude this exact package. You may also use wildcards, in the form &#8220;<code>kernel-2.3.32*</code>&#8221; and separate items with spaces. By blacklisting the entire kernel 2.3.32 series with a wildcard you can remain on the stable 2.3.31 kernel until some of the issues are ironed out.</p>
<p>Remember, when blacklisting the kernel, there is more than one RPM related to the kernel. If you use akmod to build a new nvidia driver you will also need to blacklist the -headers and -devel RPMs.</p>
<pre class="brush: bash; light: true">exclude=kernel-2.6.32.9-70.fc12.x86_64</pre>
<p>Here&#8217;s what my <em>yum.conf</em> looked like when I was done, for reference.</p>
<pre class="brush: bash; highlight: [11]">
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
exclude=kernel-2.6.32* kernel-headers-2.3.32* kernel-devel-2.3.32* kernel-firmware-2.3.32*

#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
</pre>
<p>Finally, remove the broken packages from the system.</p>
<pre class="brush: bash; light: true">su -c "yum remove kernel-2.6.32.9-70.fc12.x86_64 kernel-headers-2.6.32.9-70.fc12.x86_64 kernel-devel-2.6.32.9-70.fc12.x86_64 kernel-firmware-2.6.32.9-70.fc12.x86_64"</pre>
<p><strong>UPDATE 2010-04-06</strong></p>
<p>I have updated this post to improve the original instructions if your system doesn&#8217;t have a previous working kernel. This recently happened to me when I clean installed a machine with the Fedora Updates repository enabled during installation.</p>
<p>I had failed to blacklist the related kernel RPMs such as kernel-headers, this prevents <code>akmod</code> from creating new drivers if you haven&#8217;t already generated them.</p>
<p>If you have a clean installation which contains the 2.3.32 kernel you can &#8220;yum downgrade&#8221; the packages:</p>
<pre class="brush: bash; light: true">su -c "yum downgrade kernel kernel-headers kernel-devel kernel-firmware"</pre>
<p>I had some trouble downgrading the -devel package, so instead I &#8220;yum install&#8221;&#8216;d it again and yum installed the non-blacklisted previous version alongside the blacklisted version. I then removed the broken -devel package. Make sure that you <strong>double-check</strong> that you have removed the new/offending RPMs before you restart.</p>
<pre class="brush: bash; light: true">rpm -qa | grep kernel</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.bluecalyx.org/2010/03/23/f12-nvidia-black-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dusting off the database</title>
		<link>http://blog.bluecalyx.org/2010/03/21/dusting-off-the-database/</link>
		<comments>http://blog.bluecalyx.org/2010/03/21/dusting-off-the-database/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 09:48:15 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.bluecalyx.org/?p=8</guid>
		<description><![CDATA[Remembering how to fix "You do not have sufficient permissions to access this page." when changing table names in WordPress.]]></description>
			<content:encoded><![CDATA[<p>I just wanted to make a quick pointer to an article which has saved me a bit of hair pulling. I&#8217;ve become interested in pretending to blog again, and I dusted off my WordPress installation. So far I&#8217;ve been lucky because no one reads this blog, not even the bots&#8230; but I wanted some extra security.</p>
<p>While I was updating the WordPress table names I wound up locking myself out of the system. This manifests itself as the following error when you log in:</p>
<blockquote><p>You do not have sufficient permissions to access this page.</p></blockquote>
<p>Luckily, the exact fix is contained here:</p>
<p><a href="http://www.routeofqueue.com/2009/07/you-do-not-have-sufficient-permissions-to-access-this-page-after-wordpress-upgrade/">http://www.routeofqueue.com</a></p>
<p>Namely, there are some database table names buried in a few settings within the database. Thus it takes more than a wp-config file update to switch table names!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bluecalyx.org/2010/03/21/dusting-off-the-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated: Missing environment variables in IntelliJ IDEA?</title>
		<link>http://blog.bluecalyx.org/2009/07/02/missing-environment-variables-in-intellij/</link>
		<comments>http://blog.bluecalyx.org/2009/07/02/missing-environment-variables-in-intellij/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 18:37:27 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[IDEA]]></category>
		<category><![CDATA[IntelliJ]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://blog.bluecalyx.org/?p=4</guid>
		<description><![CDATA[How to fix missing environment variables when running JetBrains IntelliJ IDEA on Linux or Mac OS X]]></description>
			<content:encoded><![CDATA[<p><strong>Updated 2010-04-08</strong></p>
<p>I am running IntelliJ IDEA on an Ubuntu 9.04 desktop at work and I&#8217;ve had troubles when the IDE attempts to run build scripts, such as Ant or Maven. Typically the scripts would fail with an error message along the lines of &#8220;unable to find ${env.APP_HOME}&#8221; when looking for a folder whose path was set by my environment variables.</p>
<p>I&#8217;ve troubleshot this and found that IDEA isn&#8217;t starting with <strong>any</strong> of my login environment variables when launched from the panel. When I started the <em>IDEAPATH/bin/idea.sh</em> script from the Terminal, everything was peachy. It only failed when I started the application with the gnome-panel or Gnome-Do.</p>
<p><span id="more-4"></span>There has been at least <a href="http://www.jetbrains.net/jira/browse/IDEA-17063">one bug</a> filed about this on the IntelliJ bug tracker as best I can determine. People are often caught by this and post regularly in the Jetbrains Community Forumns. Perhaps Google will turn up this post and save a few of them the hassle.</p>
<p><em>I am also working on another post regarding integrating IntelliJ into a Gnome or KDE desktop, coming shortly.</em></p>
<h3>If you are using Linux:</h3>
<p>The fix is quite easy, prepend the shell command with &#8216;<code>bash --login</code>&#8216; like so:<br />
<code>bash --login IDEAPATH/bin/idea.sh</code></p>
<p>Once bash starts as a login shell it will read the correct configuration files and set your environment just as if you had logged in. Simple, right? If you have created a custom desktop entry simply edit it with the menu editors in Gnome or KDE.</p>
<h3>If you are using a Mac:</h3>
<p>A similar problem can occur, make sure you start IDEA via the application icon, and not using Spotlight, or make sure that Quicksilver has found the real application (.app) and not the startup script (.sh) when you launch it. Personally, I locked Quicksilver to the &#8220;correct&#8221; version of IDEA, since I also had several installed, and it&#8217;s worked well since.</p>
<p>You can add required environment variables <a href="http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/588442#588442">to the launchd.conf file</a>, which will make them available to all processes started via Spotlight.</p>
<p><code>$ sudo vim /etc/launchd.conf</code></p>
<p>Add the Java environment variables to the file.</p>
<pre>setenv JAVA_VERSION 1.6
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
setenv GROOVY_HOME /Applications/Dev/groovy
setenv JRUBY_HOME /Applications/Dev/jruby
setenv ANT_HOME /Applications/Dev/apache-ant
setenv ANT_OPTS -Xmx512M
setenv MAVEN_OPTS -Xmx1024M
setenv M2_HOME /Applications/Dev/apache-maven</pre>
<p>Reboot the Mac and test your changes with <code>export</code> or <code>env</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bluecalyx.org/2009/07/02/missing-environment-variables-in-intellij/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

