<?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>RLASKEY::words</title>
	<atom:link href="http://rlaskey.org/words/feed/" rel="self" type="application/rss+xml" />
	<link>http://rlaskey.org/words</link>
	<description></description>
	<lastBuildDate>Thu, 17 May 2012 03:22:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>#dBlogWeek One Thing to Improve</title>
		<link>http://rlaskey.org/words/1786/dblogweek-one-thing-to-improve/</link>
		<comments>http://rlaskey.org/words/1786/dblogweek-one-thing-to-improve/#comments</comments>
		<pubDate>Thu, 17 May 2012 03:22:00 +0000</pubDate>
		<dc:creator>rlaskey</dc:creator>
				<category><![CDATA[Diabetes]]></category>

		<guid isPermaLink="false">http://rlaskey.org/words/1786/dblogweek-one-thing-to-improve/</guid>
		<description><![CDATA[Another post inspired by Diabetes Blog Week; today: one thing I could be doing better. I had my second appointment with my endocrinologist today, and it went really well. He was happy with my numbers and where I&#8217;m at, but &#8230; <a href="http://rlaskey.org/words/1786/dblogweek-one-thing-to-improve/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Another post inspired by <a href="http://www.bittersweetdiabetes.com/p/2012-diabetes-blog-week-topics-posts.html">Diabetes Blog Week</a>; today: one thing I could be doing better.</p>
<p>I had my second appointment with my endocrinologist today, and it went really well. He was happy with my numbers and where I&#8217;m at, but he taught me something new which has me more motivated to lock things down a bit more.</p>
<p>A few months in, now, I&#8217;m not taking any insulin most days. I am apparently still definitely a type 1, not really LADA, but even then a special case. My numbers have been where they need to be, but I&#8217;ve certainly been more resistant to using my insulin pen than I should. My homework, then, is to settle down a bit with the pushups and do a bit better with the needles. I&#8217;m also going to be working on my technique a bit, since I manage to draw blood more often than not. XP this diabetes, I will.</p>
]]></content:encoded>
			<wfw:commentRss>http://rlaskey.org/words/1786/dblogweek-one-thing-to-improve/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://rlaskey.org/words/1828/1828/</link>
		<comments>http://rlaskey.org/words/1828/1828/#comments</comments>
		<pubDate>Wed, 16 May 2012 16:20:01 +0000</pubDate>
		<dc:creator>rlaskey</dc:creator>
				<category><![CDATA[Science/Technology]]></category>

		<guid isPermaLink="false">http://rlaskey.org/words/?p=1828</guid>
		<description><![CDATA[RT @nprnews: How Common Is Your Birthday? npr.tumblr.com]]></description>
			<content:encoded><![CDATA[<p>RT @<a href="http://twitter.com/nprnews">nprnews</a>: How Common Is Your Birthday? <a href="http://npr.tumblr.com/post/23169208430/hm-interesting-me-my-brother-and-four-of-my">npr.tumblr.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://rlaskey.org/words/1828/1828/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>#dBlogWeek One Great Thing</title>
		<link>http://rlaskey.org/words/1823/dblogweek-one-great-thing/</link>
		<comments>http://rlaskey.org/words/1823/dblogweek-one-great-thing/#comments</comments>
		<pubDate>Tue, 15 May 2012 16:03:35 +0000</pubDate>
		<dc:creator>rlaskey</dc:creator>
				<category><![CDATA[Diabetes]]></category>

		<guid isPermaLink="false">http://rlaskey.org/words/1823/dblogweek-one-great-thing/</guid>
		<description><![CDATA[Day 2 of the Diabetes Blog Week is about one great thing you or your loved one does about diabetes. Drew got out there before me, writing about the support he gets from his partner. I was nodding my head &#8230; <a href="http://rlaskey.org/words/1823/dblogweek-one-great-thing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Day 2 of the <a href="http://www.bittersweetdiabetes.com/2012/05/third-annual-diabetes-blog-week.html">Diabetes Blog Week</a> is about one great thing you or your loved one does about diabetes.</p>
<p>Drew <a href="http://myt1d.com/one-great-thing/">got out there before me</a>, writing about the support he gets from his partner. I was nodding my head a lot while reading that post, because I really cannot imagine going through any part of the past few months without Allison. She jumped right in, too, and has been there with me at every step of the way, reading everything in sight and watching out for me in every way possible. Even now as I have a better handle on everything I still feel safer and more relaxed with her around.</p>
<p>I&#8217;m going to violate the rules a bit again and mention a second great thing, which also wouldn&#8217;t have been possible without Allison&#8217;s support: exercise. I&#8217;ve generally been an active person, though it was never a very consistent thing; I&#8217;d have months where I&#8217;d walk more, and then others where I&#8217;d be mostly sitting on the couch. Lately I&#8217;ve been doing a lot of yoga, stretching, walking, and general exercise; all with her support and encouragement. Even though exercise is more often a &#8220;type 2&#8243; topic, it honestly is just as important for everyone, type 1, 2, and non-diabetics alike.</p>
]]></content:encoded>
			<wfw:commentRss>http://rlaskey.org/words/1823/dblogweek-one-great-thing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://rlaskey.org/words/1827/1827/</link>
		<comments>http://rlaskey.org/words/1827/1827/#comments</comments>
		<pubDate>Tue, 15 May 2012 09:18:19 +0000</pubDate>
		<dc:creator>rlaskey</dc:creator>
				<category><![CDATA[Science/Technology]]></category>

		<guid isPermaLink="false">http://rlaskey.org/words/?p=1827</guid>
		<description><![CDATA[RT @slashdot: An 8,000 Ton Giant Made the Jet Age Possible hardware.slashdot.org]]></description>
			<content:encoded><![CDATA[<p>RT @<a href="http://twitter.com/slashdot">slashdot</a>: An 8,000 Ton Giant Made the Jet Age Possible <a href="http://hardware.slashdot.org/story/12/05/15/0234237/an-8000-ton-giant-made-the-jet-age-possible?utm_source=slashdot&amp;utm_medium=twitter">hardware.slashdot.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://rlaskey.org/words/1827/1827/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://rlaskey.org/words/1824/1824/</link>
		<comments>http://rlaskey.org/words/1824/1824/#comments</comments>
		<pubDate>Tue, 15 May 2012 08:10:21 +0000</pubDate>
		<dc:creator>rlaskey</dc:creator>
				<category><![CDATA[Gaming]]></category>

		<guid isPermaLink="false">http://rlaskey.org/words/?p=1824</guid>
		<description><![CDATA[RT @der_bisl: for every hour one million people sit around waiting for Diablo 3, 114 man-years are lost. That&#8217;s more than a human life. BLIZZARD KILLS]]></description>
			<content:encoded><![CDATA[<p>RT @<a href="http://twitter.com/der_bisl">der_bisl</a>: for every hour one million people sit around waiting for Diablo 3, 114 man-years are lost. That&#8217;s more than a human life. BLIZZARD KILLS</p>
]]></content:encoded>
			<wfw:commentRss>http://rlaskey.org/words/1824/1824/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brainput</title>
		<link>http://rlaskey.org/words/1825/brainput/</link>
		<comments>http://rlaskey.org/words/1825/brainput/#comments</comments>
		<pubDate>Mon, 14 May 2012 22:57:14 +0000</pubDate>
		<dc:creator>rlaskey</dc:creator>
				<category><![CDATA[Science/Technology]]></category>

		<guid isPermaLink="false">http://rlaskey.org/words/?p=1825</guid>
		<description><![CDATA[Your Xbox might detect that you&#8217;re in the mood for fighting games, and change its splash screen accordingly. Eventually, computer interfaces might completely remold themselves to your mental state. via &#8220;Brainput&#8221; Boosts Your Brain Power By Offloading Multitasking To a &#8230; <a href="http://rlaskey.org/words/1825/brainput/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p>Your Xbox might detect that you&#8217;re in the mood for fighting games, and change its splash screen accordingly. Eventually, computer interfaces might completely remold themselves to your mental state.</p></blockquote>
<p>via <a href="http://slashdot.org/story/12/05/14/1458256/brainput-boosts-your-brain-power-by-offloading-multitasking-to-a-computer">&#8220;Brainput&#8221; Boosts Your Brain Power By Offloading Multitasking To a Computer &#8211; Slashdot</a>. The future is near..</p>
]]></content:encoded>
			<wfw:commentRss>http://rlaskey.org/words/1825/brainput/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>#dBlogWeek Find a Friend</title>
		<link>http://rlaskey.org/words/1814/dblogweek-find-a-friend/</link>
		<comments>http://rlaskey.org/words/1814/dblogweek-find-a-friend/#comments</comments>
		<pubDate>Mon, 14 May 2012 16:02:01 +0000</pubDate>
		<dc:creator>rlaskey</dc:creator>
				<category><![CDATA[Diabetes]]></category>

		<guid isPermaLink="false">http://rlaskey.org/words/1814/dblogweek-find-a-friend/</guid>
		<description><![CDATA[I haven&#8217;t written about the &#8216;beetus for a bit, now, though I&#8217;ve seen some posts about the 3rd annual Diabetes Blog Week and I want to take part. Today&#8217;s assignment is to &#8220;Find a Friend,&#8221; to highlight a personal blog &#8230; <a href="http://rlaskey.org/words/1814/dblogweek-find-a-friend/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t written about the &#8216;beetus for a bit, now, though I&#8217;ve seen some posts about the <a href="http://www.bittersweetdiabetes.com/2012/05/third-annual-diabetes-blog-week.html">3rd annual Diabetes Blog Week</a> and I want to take part.</p>
<p>Today&#8217;s assignment is to &#8220;Find a Friend,&#8221; to highlight a personal blog about diabetes. My recommendation is to <a href="http://dexcity.wordpress.com/">Dex and the City</a>, one of the first diabetic blog I found after meeting the author at a local diabetic gathering. She has some great posts, and she led me to find a whole lot of other diabetics on Twitter.</p>
<h3>Twitter</h3>
<p>I understand this post is supposed to be singular; a friend, rather than friends. Even so, I&#8217;d like to point out that <a href="https://twitter.com/">Twitter</a> is an unbelievably cool resource for diabetics. There are a number of <a href="https://support.twitter.com/entries/49309-what-are-hashtags-symbols">hashtags</a> out there. Some I like to check are:</p>
<ul>
<li><a href="https://twitter.com/search/%23bgnow">#bgnow</a> &#8212; posts about a current blood glucose level</li>
<li><a href="https://twitter.com/search/%23doc">#doc</a> &#8212; diabetic online community</li>
</ul>
<p>Also on Twitter there&#8217;s <a href="http://diabetessocmed.com/tweetchat/">#DSMA Chat</a> Wednesdays at 9pm EST. There are a lot of people who participate and it&#8217;s a great place to find other diabetics.</p>
<h3>#reddit-diabetes</h3>
<p>I&#8217;m not on <a href="http://www.reddit.com/">reddit</a> all that often, but it does have a wonderful diabetic community at <a href="http://www.reddit.com/r/diabetes/">/r/diabetes</a>. There&#8217;s a fair amount of traffic on the site, and the IRC channel is generally well populated.</p>
]]></content:encoded>
			<wfw:commentRss>http://rlaskey.org/words/1814/dblogweek-find-a-friend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>03262011242</title>
		<link>http://rlaskey.org/words/1822/03262011242/</link>
		<comments>http://rlaskey.org/words/1822/03262011242/#comments</comments>
		<pubDate>Fri, 11 May 2012 01:24:48 +0000</pubDate>
		<dc:creator>rlaskey</dc:creator>
				<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">https://rlaskey.org/words/?p=1822</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/moss/5922590658/" title="03262011242"><img src="http://farm7.staticflickr.com/6131/5922590658_c2e7f57063.jpg"  /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://rlaskey.org/words/1822/03262011242/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CoDel buffer management</title>
		<link>http://rlaskey.org/words/1821/codel-buffer-management/</link>
		<comments>http://rlaskey.org/words/1821/codel-buffer-management/#comments</comments>
		<pubDate>Fri, 11 May 2012 01:20:32 +0000</pubDate>
		<dc:creator>rlaskey</dc:creator>
				<category><![CDATA[Code/Systems]]></category>

		<guid isPermaLink="false">http://rlaskey.org/words/?p=1821</guid>
		<description><![CDATA[CoDel buffer management could solve the Internet’s bufferbloat jams &#124; Ars Technica. Interesting stuff. So there&#8217;s an open source algorithm that they released which can attack the buffer bloat problem, and it seems like it works. I do hope this &#8230; <a href="http://rlaskey.org/words/1821/codel-buffer-management/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://arstechnica.com/information-technology/2012/05/codel-buffer-management-could-solve-the-internets-bufferbloat-jams/">CoDel buffer management could solve the Internet’s bufferbloat jams | Ars Technica</a>. Interesting stuff. So there&#8217;s an open source algorithm that they released which can attack the <a href="http://en.wikipedia.org/wiki/Bufferbloat">buffer bloat problem</a>, and it seems like it works. I do hope this all gets pushed forward and made live soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://rlaskey.org/words/1821/codel-buffer-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving to mod_fcgid + event MPM</title>
		<link>http://rlaskey.org/words/1804/moving-to-mod_fcgid-event-mpm/</link>
		<comments>http://rlaskey.org/words/1804/moving-to-mod_fcgid-event-mpm/#comments</comments>
		<pubDate>Wed, 09 May 2012 18:14:48 +0000</pubDate>
		<dc:creator>rlaskey</dc:creator>
				<category><![CDATA[Code/Systems]]></category>

		<guid isPermaLink="false">http://rlaskey.org/words/1804/moving-to-mod_fcgid-event-mpm/</guid>
		<description><![CDATA[I just moved from Apache&#8216;s prefork MPM to the event MPM, which also meant that I had to move away from mod_php. The prefork MPM works alright, but it does take more resources than the event MPM so I took &#8230; <a href="http://rlaskey.org/words/1804/moving-to-mod_fcgid-event-mpm/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just moved from <a href="http://httpd.apache.org/">Apache</a>&#8216;s <a href="http://httpd.apache.org/docs/current/mod/prefork.html">prefork MPM</a> to the <a href="http://httpd.apache.org/docs/current/mod/event.html">event MPM</a>, which also meant that I had to move away from mod_php. The prefork MPM works alright, but it does take more resources than the event MPM so I took it out for a spin. I&#8217;m focusing this article around CentOS, though the process should be rather similar for most distributions and systems</p>
<h3>mod_fcgid</h3>
<p>The first step in the journey was to replace mod_php with <a href="http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html">mod_fcgid</a>. In the default CentOS installation this is not available, but via <a href="http://download.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html">EPEL</a> it&#8217;s an easy <code>yum install mod_fcgid</code> away.</p>
<p>Next, you want to make sure that mod_fcgid is running PHP instead of mod_php. You can blank out the entire file, though simply commenting out the <code>AddHandler</code> line in the <code>/etc/httpd/conf.d/php.conf</code> is enough. Now, add in your configuration for mod_fcgid:</p>
<pre># run PHP via FCGI
AddHandler fcgid-script .php
FcgidWrapper /usr/bin/php-cgi .php
FcgidMaxRequestsPerProcess 499
FcgidMaxRequestLen 536870912

# important! make sure this matches DocumentRoot/your PHP directories
&lt;Directory /var/www/html&gt;
  Options +ExecCGI
&lt;/Directory&gt;</pre>
<p>I just put this in my <code>/etc/httpd/conf.d/fcgid.conf</code>, though in theory you could make a separate file for it in that directory. It is going to be important that you have the +ExecCGI line for wherever you run PHP, else you&#8217;ll only get a 403 for each PHP request.</p>
<p>The official docs tell you to write a wrapper script for the <code>FcgidWrapper</code> variable, though I&#8217;m comfortable with the defaults. You likely do want to set the <code>FcgidMaxRequestsPerProcess</code>, however, to a value less than or equal to the max number of requests that the sub-process will serve. The default is 500, ergo I went with 499.</p>
<h3>Beware RewriteRule w/ .php/.. !</h3>
<p>One sneaky problem I found was that in switching to mod_fcgid, all my <code>RewriteRule</code>&#8216;s caused some major problems. Namely, I had written them such that they included the pattern <code>RewriteRule ^(.*)$ controller.php/$1</code>. For whatever reason, <code>PHP_SELF</code> wasn&#8217;t being set properly and it caused all sorts of havoc. Switching to instead be <code>RewriteRule ^(.*)$ controller.php?$1</code> (just a ? in place of the /) made everything come back to normal. That was a tricky one to sort out.</p>
<h3>Switching to event MPM</h3>
<p>All of the above will work just fine under the prefork MPM, so it&#8217;s worth doing those parts first. Rather than the event MPM, you can also now just move to the <a href="http://httpd.apache.org/docs/current/mod/worker.html">worker MPM</a>, which is admittedly more common and older/more tested than event MPM. Still, even though it&#8217;s not well documented, the event MPM is included in the stock CentOS installation, and switching over is easy as editing one line in the <code>/etc/sysconfig/httpd</code>:</p>
<pre>HTTPD=/usr/sbin/httpd.event</pre>
<p>That is seriously all you need to do. Restart the httpd service, and you&#8217;ll be good to go. I&#8217;ve been running <a href="http://nginx.org/">nginx</a> for some projects, but with the above setup I&#8217;m seeing rather good performance and much lower system requirements than with the default Apache setup.</p>
<p>If you have any comments, suggestions, or if you&#8217;re stuck at a certain point, please leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://rlaskey.org/words/1804/moving-to-mod_fcgid-event-mpm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://rlaskey.org/words/1820/1820/</link>
		<comments>http://rlaskey.org/words/1820/1820/#comments</comments>
		<pubDate>Mon, 07 May 2012 14:11:12 +0000</pubDate>
		<dc:creator>rlaskey</dc:creator>
				<category><![CDATA[Code/Systems]]></category>

		<guid isPermaLink="false">http://rlaskey.org/words/?p=1820</guid>
		<description><![CDATA[GIMP &#8211; Release Notes for GIMP 2.8 www.gimp.org &#8212; very cool. Hasn&#8217;t had a version bump in a bit, looks great, very smooth]]></description>
			<content:encoded><![CDATA[<p>GIMP &#8211; Release Notes for GIMP 2.8 <a href="http://www.gimp.org/release-notes/gimp-2.8.html">www.gimp.org</a> &#8212; very cool. Hasn&#8217;t had a version bump in a bit, looks great, very smooth</p>
]]></content:encoded>
			<wfw:commentRss>http://rlaskey.org/words/1820/1820/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

