<?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>Ubi panis ibi patria</title>
	<atom:link href="http://blog.ericmalloy.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ericmalloy.net</link>
	<description>notes from the road by Eric Malloy</description>
	<lastBuildDate>Sun, 05 Feb 2012 17:01:39 +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>non-interventionism</title>
		<link>http://blog.ericmalloy.net/2012/01/non-interventalism/</link>
		<comments>http://blog.ericmalloy.net/2012/01/non-interventalism/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 02:42:07 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[2nd Declaration of Independence]]></category>
		<category><![CDATA[Los Hereos Almighty]]></category>
		<category><![CDATA[USA - Globalization]]></category>
		<category><![CDATA[Congressman Ron Paul]]></category>
		<category><![CDATA[Diplomacy]]></category>
		<category><![CDATA[Economic Nationalism]]></category>
		<category><![CDATA[Entangling Alliances]]></category>
		<category><![CDATA[Farewell Address]]></category>
		<category><![CDATA[Government Need]]></category>
		<category><![CDATA[Internal Politics]]></category>
		<category><![CDATA[Interventionism]]></category>
		<category><![CDATA[Isolationism]]></category>
		<category><![CDATA[Mainstream Media]]></category>
		<category><![CDATA[Political Rulers]]></category>
		<category><![CDATA[Proponents]]></category>
		<category><![CDATA[Protectionism]]></category>
		<category><![CDATA[Ron Paul]]></category>
		<category><![CDATA[Self Determination]]></category>
		<category><![CDATA[Senator Robert Taft]]></category>
		<category><![CDATA[State Sovereignty]]></category>
		<category><![CDATA[United States Senator]]></category>
		<category><![CDATA[Usgov]]></category>
		<category><![CDATA[Wikipedia]]></category>
		<category><![CDATA[Wwi]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=5436</guid>
		<description><![CDATA[George Washington touted it best, notably in his farewell address &#8220;steer clear of entangling alliances&#8221; &#8211; I like this policy not only for my country but also for my individual person-hood. Why is it that the MSM (mainstream media) has to constantly refer to the concept as not what it is, but rather as isolationism. [...]]]></description>
			<content:encoded><![CDATA[<p>George Washington touted it best, <a href="http://www.mtholyoke.edu/acad/intrel/garrity.htm" target="_blank">notably in his farewell address</a> &#8220;steer clear of entangling alliances&#8221; &#8211; I like this policy not only for my country but also for my individual person-hood. Why is it that the MSM (mainstream media) has to constantly refer to the concept as not what it is, but rather as isolationism. Why is it so hard to even consider this possibility; Think this, what if the USGOV didn&#8217;t interfere and play policeman in every issue in every country across the globe?</p>
<p>What if we didn&#8217;t have commitments to the French, British and others before the outbreak of WWI and WWII?</p>
<p>What good would come of this? What bad would come of this? What savings would come of this? What deficiencies would arise of this?</p>
<p>Think about this: You, as a individual person-hood, do you like when your mother gets involved in every aspect of your life? Why does our government need to get involved in the lives of others?</p>
<p>From Wikipedia article on <a href="http://en.wikipedia.org/wiki/Non-interventionism" target="_blank">non-interventionism</a></p>
<p>Nonintervention or non-interventionism is a foreign policy which holds that political rulers should avoid alliances with other nations, but still retain diplomacy, and avoid all wars not related to direct self-defense. This is based on the grounds that a state should not interfere in the internal politics of another state, based upon the principles of state sovereignty and self-determination. A similar phrase is &#8220;strategic independence&#8221;.[1] Historical examples of supporters of non-interventionism are US Presidents George Washington and Thomas Jefferson, who both favoured non-intervention in European Wars while maintaining free trade. Other proponents include United States Senator Robert Taft and United States Congressman Ron Paul.[2]</p>
<p>Non-intervention is distinct from and is not isolationism, the latter featuring economic nationalism (protectionism) and restrictive immigration. Proponents of non-interventionism distinguish their policies from isolationism through their advocacy of more open national relations, to include diplomacy and free trade.</p>
<p>From: http://en.wikipedia.org/wiki/Non-interventionism</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2012/01/non-interventalism/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>comment out/affect mulitple lines in vi</title>
		<link>http://blog.ericmalloy.net/2011/12/comment-outaffect-mulitple-lines-in-vi/</link>
		<comments>http://blog.ericmalloy.net/2011/12/comment-outaffect-mulitple-lines-in-vi/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 13:16:42 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Carpal Tunnel]]></category>
		<category><![CDATA[Half An Hour]]></category>
		<category><![CDATA[Keyboard]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Regular Expression]]></category>
		<category><![CDATA[Shell Scripts]]></category>
		<category><![CDATA[Slashes]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[Writing Scripts]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=2773</guid>
		<description><![CDATA[Ever wanted to comment out multiple lines of code while writing shell scripts in vi, but didn&#8217;t want to pound your keyboard for half an hour doing it?
(I#Escape j.j.j.j. = carpal tunnel)
Here&#8217;s the nerdy way to do it:
:.,+N-1 s/^/#/g
Where N-1 is the number of lines minus one that you want to comment out, and s/^/#/g [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to comment out multiple lines of code while writing shell scripts in vi, but didn&#8217;t want to pound your keyboard for half an hour doing it?</p>
<p>(I#Escape j.j.j.j. = carpal tunnel)</p>
<p>Here&#8217;s the nerdy way to do it:</p>
<p>:.,+N-1 s/^/#/g</p>
<p>Where N-1 is the number of lines minus one that you want to comment out, and s/^/#/g is the regular expression (the pattern between the first two slashes is what you want to replace, in this case the beginning of the line, and the pattern between the last two slashes is what you want to replace it with).</p>
<p>For example, if you&#8217;re a bad coder like me and want to comment out 500 lines of code, you would do:</p>
<p>:.,+499 s/^/#/g</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2011/12/comment-outaffect-mulitple-lines-in-vi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux-3.1.x power regression issues i915 core-i5,i7</title>
		<link>http://blog.ericmalloy.net/2011/11/linux-3-1-x-power-regression-issues-i915-core-i5i7/</link>
		<comments>http://blog.ericmalloy.net/2011/11/linux-3-1-x-power-regression-issues-i915-core-i5i7/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 07:13:35 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[5w]]></category>
		<category><![CDATA[Ac97 Codec]]></category>
		<category><![CDATA[acpi]]></category>
		<category><![CDATA[Background Ratio]]></category>
		<category><![CDATA[Bash Script]]></category>
		<category><![CDATA[Bus Pci]]></category>
		<category><![CDATA[Bus Usb]]></category>
		<category><![CDATA[Echo 1]]></category>
		<category><![CDATA[Echo 5]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Hda]]></category>
		<category><![CDATA[Host Host]]></category>
		<category><![CDATA[Host Link]]></category>
		<category><![CDATA[i915]]></category>
		<category><![CDATA[Kernel 2]]></category>
		<category><![CDATA[Kernel Parameters]]></category>
		<category><![CDATA[Kernel Patch]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Linux Kernel]]></category>
		<category><![CDATA[linux-3]]></category>
		<category><![CDATA[Lvds]]></category>
		<category><![CDATA[Management Policy]]></category>
		<category><![CDATA[Ondemand]]></category>
		<category><![CDATA[power consumption]]></category>
		<category><![CDATA[Power Management]]></category>
		<category><![CDATA[powertop]]></category>
		<category><![CDATA[Rc6]]></category>
		<category><![CDATA[Sysctl]]></category>
		<category><![CDATA[System Cpu]]></category>
		<category><![CDATA[thinkpad x220]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[X Power]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=1716</guid>
		<description><![CDATA[there&#8217;s been a lot of talk about the power regression issues with the linux-3.x kernel on the new intel sandy bridge core i3,5,7 chipsets.
after spending several hours with this issue on a new thinkpad x220 laptop, i&#8217;ll share a solution thanks to the peeps over at #fedora-qa
***UPDATE &#8211; Kernel patch now available at LKML &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>there&#8217;s been a lot of talk about the power regression issues with the linux-3.x kernel on the new intel sandy bridge core i3,5,7 chipsets.</p>
<p>after spending several hours with this issue on a new thinkpad x220 laptop, i&#8217;ll share a solution thanks to the peeps over at #fedora-qa</p>
<p>***UPDATE &#8211; Kernel patch now available at LKML &#8211; <a href="https://lkml.org/lkml/2011/11/10/467" target="_blank">https://lkml.org/lkml/2011/11/10/467</a>   (i&#8217;ll report my results with this when I get a chance to build the patch rpm, i&#8217;ll post) As of now I&#8217;m still having issues with the iwlagn module.</p>
<p>fyi , i&#8217;m running fedora 16 RC5 x86_64 but these kernel parameters apply to any distro</p>
<p>you&#8217;ll want to pass the following parameters at runtime or at boot, however you like  :</p>
<p>pcie_aspm=force power_save=3 i915.i915_enable_fbc=1 i915.i915_enable_rc6=1 i915.lvds_downclock=1</p>
<p>then generate a new grub2 (or 1.xx) config file and reinstall grub to your mba on the disk.</p>
<p>my results were pretty good. idle 70% lcd brightness from 16W to 7.5W average and 5.76W baseline. I&#8217;ve yet to tell but it seems at about 16 hour battery life.</p>
<p>you&#8217;ll also want irqbalance installed to take best advantage of power management balance, distribution and usage over the processors</p>
<p>finally, i use this bash script at runtime so further fine tune my acpi power usage</p>
<p>#!/bin/bash<br />
echo 1 > /sys/module/snd_hda_intel/parameters/power_save</p>
<p>for i in /sys/class/scsi_host/host?/link_power_management_policy; do<br />
    echo min_power > $i<br />
done</p>
<p>for i in /sys/bus/usb/devices/*/power/autosuspend; do<br />
    echo 1 > $i<br />
done</p>
<p>for i in /sys/bus/{pci,i2c}/devices/*/power/control; do<br />
    echo auto > $i<br />
done</p>
<p>echo 1 > /sys/devices/system/cpu/sched_mc_power_savings</p>
<p>echo 5 > /proc/sys/vm/laptop_mode<br />
echo 0 > /proc/sys/kernel/nmi_watchdog<br />
#echo Y > /sys/module/snd_ac97_codec/parameters/power_save<br />
echo 1 > /sys/devices/system/cpu/sched_mc_power_savings<br />
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor<br />
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs<br />
echo 60 > /proc/sys/vm/dirty_ratio<br />
echo 20 > /proc/sys/vm/dirty_background_ratio<br />
echo 1500 > /proc/sys/vm/dirty_expire_centisecs<br />
for i in /sys/bus/usb/devices/*/power/autosuspend; do echo 1 > $i; done<br />
# those sysctl&#8217;s are only available if you have an AHCI compatible SATA<br />
# controler and use kernel > 2.6.24-rc2 (or use Kristen ALPM patchset) :<br />
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy<br />
echo min_power > /sys/class/scsi_host/host1/link_power_management_policy<br />
echo 1 > /sys/module/snd_hda_intel/parameters/power_save<br />
echo Y > /sys/module/snd_hda_intel/parameters/power_save_controller<br />
ifconfig em1 down<br />
ifconfig virbr0 down<br />
/etc/init.d/libvirtd stop<br />
rmmod bluetooth<br />
hdparm -B 1 -S 12 /dev/sda > /dev/null<br />
echo 1 > /proc/sys/vm/swappiness<br />
service atd stop &#038;> /dev/null<br />
service cron stop &#038;> /dev/null<br />
service anacron stop &#038;> /dev/null</p>
<p>Want to monitor your power usage with dstat? Try this</p>
<p>dstat -t -c &#8211;power &#8211;top-cpu &#8211;top-io &#8211;top-bio &#8211;top-latency &#8211;top-cputime &#8211;power &#8211;battery-remain 10</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2011/11/linux-3-1-x-power-regression-issues-i915-core-i5i7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dealing with a sd2f file</title>
		<link>http://blog.ericmalloy.net/2011/08/dealing-with-a-sd2f-file/</link>
		<comments>http://blog.ericmalloy.net/2011/08/dealing-with-a-sd2f-file/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 14:31:45 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Audacity]]></category>
		<category><![CDATA[Export Format]]></category>
		<category><![CDATA[File Point]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac Os]]></category>
		<category><![CDATA[Raw Data]]></category>
		<category><![CDATA[Toast Mac]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=1323</guid>
		<description><![CDATA[it took me a while to find out (on google) how to deal with a sd2f audio file. I figured I&#8217;d share the solution with others
I wanted to listen to a sd2f audio while. Further investigation revealed this is a &#8216;Toast&#8217; File for Mac. I don&#8217;t run Mac OS, I run Linux
1- Download + Install [...]]]></description>
			<content:encoded><![CDATA[<p>it took me a while to find out (on google) how to deal with a sd2f audio file. I figured I&#8217;d share the solution with others</p>
<p>I wanted to listen to a sd2f audio while. Further investigation revealed this is a &#8216;Toast&#8217; File for Mac. I don&#8217;t run Mac OS, I run Linux</p>
<p>1- Download + Install  audacity<br />
    &#8211; yum install -y audacity<br />
    &#8211; apt-get install audacity<br />
2. Open the file<br />
    &#8211; Point File -> Import Raw Data<br />
3. Export the file<br />
    &#8211; Point, File -> Export<br />
    &#8211; Select your audio export format of choice.<br />
    &#8211; Done.</p>
<p><a href="http://blog.ericmalloy.net/wp-content/uploads/2011/08/Screenshot-08152011-092449-AM.png"><img src="http://blog.ericmalloy.net/wp-content/uploads/2011/08/Screenshot-08152011-092449-AM-300x118.png" alt="" title="audacity" width="300" height="118" class="aligncenter size-medium wp-image-1324" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2011/08/dealing-with-a-sd2f-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shout Out &#8211; RIP</title>
		<link>http://blog.ericmalloy.net/2011/06/shout-out-rip/</link>
		<comments>http://blog.ericmalloy.net/2011/06/shout-out-rip/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 04:04:45 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[2nd Declaration of Independence]]></category>
		<category><![CDATA[Los Hereos Almighty]]></category>
		<category><![CDATA[Complement]]></category>
		<category><![CDATA[Course Correction]]></category>
		<category><![CDATA[David Ross]]></category>
		<category><![CDATA[Good Friends]]></category>
		<category><![CDATA[Laliberte]]></category>
		<category><![CDATA[Lot]]></category>
		<category><![CDATA[Malloy]]></category>
		<category><![CDATA[Mandate]]></category>
		<category><![CDATA[Memories]]></category>
		<category><![CDATA[Michael Mcdonald]]></category>
		<category><![CDATA[Rest In Peace]]></category>
		<category><![CDATA[S 600]]></category>
		<category><![CDATA[Scribe]]></category>
		<category><![CDATA[Wolpoff]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=1246</guid>
		<description><![CDATA[A lot of important people in my life have passed away this year. If wordpress/web publishing is today&#8217;s answer to the scribe , a complement to Gutenberg&#8217;s 600 year old press, then I&#8217;d like to put one in record.
Rest In Peace, to good friends who helped justify the mandate bestowed upon me aka. the course [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of important people in my life have passed away this year. If wordpress/web publishing is today&#8217;s answer to the <a href="http://en.wikipedia.org/wiki/Scribe">scribe</a> , a complement to <a href="http://inventors.about.com/od/gstartinventors/a/Gutenberg.htm">Gutenberg&#8217;s</a> 600 year old press, then I&#8217;d like to put one in record.</p>
<p>Rest In Peace, to good friends who helped justify the mandate bestowed upon me aka. the course correction.</p>
<p>Julianne Laliberte (Jan 30, 2011)<br />
David Ross Wolpoff (Dec 22, 2010)<br />
Michael McDonald, Sr. (Oct 17, 2010)<br />
Luke J Malloy ( Apr 21, 2010 )</p>
<p>May a candle be lit and the memories live on eternally. We shall meet again.</p>
<p style="text-align: center;"><a href="http://blog.ericmalloy.net/wp-content/uploads/2011/06/243099_10150216106323737_581548736_7279610_6976896_o.jpg"><img class="aligncenter size-large wp-image-1247" title="243099_10150216106323737_581548736_7279610_6976896_o" src="http://blog.ericmalloy.net/wp-content/uploads/2011/06/243099_10150216106323737_581548736_7279610_6976896_o-1024x768.jpg" alt="" width="614" height="461" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2011/06/shout-out-rip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php-fpm /nGINX on CentOS-5.6-RELEASE</title>
		<link>http://blog.ericmalloy.net/2011/06/php-fpm-nginx-on-centos-5-6-release/</link>
		<comments>http://blog.ericmalloy.net/2011/06/php-fpm-nginx-on-centos-5-6-release/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 03:44:37 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Bzip2]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Fpm]]></category>
		<category><![CDATA[Freetype]]></category>
		<category><![CDATA[Gcc]]></category>
		<category><![CDATA[Inquiring Minds]]></category>
		<category><![CDATA[Libjpeg]]></category>
		<category><![CDATA[Libpng]]></category>
		<category><![CDATA[Libxml2]]></category>
		<category><![CDATA[Lightning]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[Package Names]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php-fpm]]></category>
		<category><![CDATA[Server Check]]></category>
		<category><![CDATA[Sqlite]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=1236</guid>
		<description><![CDATA[We&#8217;ve skeeet enterprise baby &#8230; Want to be on your way to a load balanced lightning fast cached-up wordpress server with very little resources? Check up on this!

We dig RedHat, package names are standard and not as confusing as Debian/Ubuntu. This new standard world is new to us. Ridin` with the King!
yum install openssl-devel curl-devel [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve skeeet enterprise baby &#8230; Want to be on your way to a load balanced lightning fast cached-up wordpress server with very little resources? Check up on this!</p>
<p><a href="http://blog.ericmalloy.net/wp-content/uploads/2011/06/Don-King.jpg"><img src="http://blog.ericmalloy.net/wp-content/uploads/2011/06/Don-King.jpg" alt="" title="Don King" width="500" height="637" class="aligncenter size-full wp-image-1237" /></a></p>
<p>We dig RedHat, package names are standard and not as confusing as Debian/Ubuntu. This new standard world is new to us. Ridin` with the King!</p>
<p>yum install openssl-devel curl-devel curl libjpeg-devel libjpeg libpng libmcrypt mysql++-devel freetype-devel freetype t1lib-devel t1lib t1utils libc-client-devel libc-client bzip2-devel bzip2-libs libevent-devel libevent gd-devel gd-progs gd libxml2-devel libxml2 expat-devel expat sqlite-devel sqlite libjpeg-devel libpng-devel libmcrypt-devel<br />
mysql-devel gcc pcre-devel redhat-lsb-graphics libexif ImageMagick</p>
<p>Now follow rest of directions <a href="http://blog.ericmalloy.net/2010/10/optimizing-webservers-for-php-wordpress-wordcamp-2010/">here</a>: . You will need to build libmemcached from source, however. I will post further instructions later for all inquiring minds.</p>
<p>But for sho` , if you are running x_86_64 you will need to use the &#8211;with-libdir=lib64 when you configure php, other-wise you haz problems with libmysqlclient (script won&#8217;t know where to find mySQL)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2011/06/php-fpm-nginx-on-centos-5-6-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimizing Webservers for PHP / WordPress: Wordcamp 2010</title>
		<link>http://blog.ericmalloy.net/2010/10/optimizing-webservers-for-php-wordpress-wordcamp-2010/</link>
		<comments>http://blog.ericmalloy.net/2010/10/optimizing-webservers-for-php-wordpress-wordcamp-2010/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 19:13:43 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Dev Php]]></category>
		<category><![CDATA[Distributions]]></category>
		<category><![CDATA[Fpm]]></category>
		<category><![CDATA[Gd]]></category>
		<category><![CDATA[Libxml2]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Mail Imap]]></category>
		<category><![CDATA[Mail Pop3]]></category>
		<category><![CDATA[Mail Smtp]]></category>
		<category><![CDATA[Mysql Client]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[Pear]]></category>
		<category><![CDATA[Provos]]></category>
		<category><![CDATA[Sockets]]></category>
		<category><![CDATA[Ssl Module]]></category>
		<category><![CDATA[Tar Bz2]]></category>
		<category><![CDATA[Tar Xzvf]]></category>
		<category><![CDATA[Team Solution]]></category>
		<category><![CDATA[Ttf]]></category>
		<category><![CDATA[Tw2]]></category>
		<category><![CDATA[Usr Bin]]></category>
		<category><![CDATA[Webservers]]></category>
		<category><![CDATA[wordcamp philippines 2010]]></category>
		<category><![CDATA[Xpm]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=710</guid>
		<description><![CDATA[Optimizing wordpress
View more presentations from A-Team Solution.

aid to presentation:
if fresh debian install make sure you&#8217;ve before anything, as root;
apt-get install build-essential openssl-server sudo postfix
sudo apt-get install libssl-dev libcurl4-gnutls-dev libjpeg62-dev libpng12-dev libmcrypt-dev libmysql++-dev libfreetype6-dev libt1-dev libc-client-dev libbz2-dev mysql-client libevent-dev libxml2-dev mysql-server libmysqlclient15-dev libgd2-xpm-dev libeventdb-dev libexpat1-dev libsqlite3-dev
php 5.3.3 from source
wget http://tw2.php.net/distributions/php-5.3.3.tar.bz2
tar xjvf php-5.3.3.tar.bz2
./configure &#8211;enable-fpm &#8211;with-mcrypt &#8211;enable-mbstring &#8211;with-openssl [...]]]></description>
			<content:encoded><![CDATA[<div style="width:425px" id="__ss_5335476"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/ateamsolution/optimizing-wordpress" title="Optimizing wordpress">Optimizing wordpress</a></strong><object id="__sse5335476" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=optimizingwordpress-101001142450-phpapp01&#038;stripped_title=optimizing-wordpress&#038;userName=ateamsolution" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse5335476" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=optimizingwordpress-101001142450-phpapp01&#038;stripped_title=optimizing-wordpress&#038;userName=ateamsolution" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/ateamsolution">A-Team Solution</a>.</div>
</div>
<p>aid to presentation:</p>
<p>if fresh debian install make sure you&#8217;ve before anything, as root;</p>
<p>apt-get install build-essential openssl-server sudo postfix</p>
<p>sudo apt-get install libssl-dev libcurl4-gnutls-dev libjpeg62-dev libpng12-dev libmcrypt-dev libmysql++-dev libfreetype6-dev libt1-dev libc-client-dev libbz2-dev mysql-client libevent-dev libxml2-dev mysql-server libmysqlclient15-dev libgd2-xpm-dev libeventdb-dev libexpat1-dev libsqlite3-dev</p>
<p>php 5.3.3 from source</p>
<p>wget http://tw2.php.net/distributions/php-5.3.3.tar.bz2<br />
tar xjvf php-5.3.3.tar.bz2<br />
./configure &#8211;enable-fpm &#8211;with-mcrypt &#8211;enable-mbstring &#8211;with-openssl &#8211;with-mysql &#8211;with-mysql-sock &#8211;with-gd &#8211;with-jpeg-dir=/usr/lib &#8211;enable-gd-native-ttf &#8211;with-pdo-mysql &#8211;with-libxml-dir=/usr/lib &#8211;with-mysqli=/usr/bin/mysql_config &#8211;with-curl &#8211;enable-zip &#8211;enable-sockets &#8211;with-zlib &#8211;enable-exif &#8211;enable-ftp &#8211;with-iconv &#8211;with-gettext &#8211;enable-gd-native-ttf &#8211;with-t1lib=/usr &#8211;with-freetype-dir=/usr &#8211;prefix=/usr/local/php &#8211;with-fpm-user=www-data &#8211;with-fpm-group=www-data &#8211;with-pear<br />
make<br />
sudo make install<br />
make clean</p>
<p>libevent 1.4.13<br />
wget http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz<br />
./configure &#038;&#038; make<br />
sudo make install<br />
make clean</p>
<p>nginx 0.7.67</p>
<p>wget http://nginx.org/download/nginx-0.7.67.tar.gz<br />
tar xzvf nginx-0.7.67.tar.gz<br />
./configure &#8211;sbin-path=/usr/local/sbin &#8211;with-http_ssl_module &#8211;without-mail_pop3_module &#8211;without-mail_imap_module &#8211;without-mail_smtp_module &#8211;with-http_stub_status_module<br />
make<br />
sudo make install<br />
make clean</p>
<p>sudo mkdir -p /usr/local/nginx/{sites-available,sites-enabled}</p>
<p>memcached<br />
wget http://launchpad.net/libmemcached/1.0/0.44/+download/libmemcached-0.44.tar.gz<br />
tar xzfv libmemcached-0.44.tar.gz<br />
./configure &#038;&#038; make<br />
sudo make install<br />
make clean<br />
sudo apt-get install sqlite3 memcached<br />
sudo pecl install memcache</p>
<p>configuration files</p>
<p><a href="http://blog.ericmalloy.net/wp-content/uploads/2010/10/fastcgi_params">fastcgi_params</a><br />
<a href="http://http://blog.ericmalloy.net/wp-content/uploads/2010/10/nginx.conf">nginx.conf</a><br />
<a href="http://blog.ericmalloy.net/wp-content/uploads/2010/10/php-fpm.conf">php-fpm.conf</a><br />
<a href="http://blog.ericmalloy.net/wp-content/uploads/2010/10/php.ini">php.ini</a><br />
<a href="http://blog.ericmalloy.net/wp-content/uploads/2010/10/sample_vhost_nginx.conf">sample_vhost_nginx.conf</a><br />
<a href="http://blog.ericmalloy.net/wp-content/uploads/2010/10/wordpress_params.regular">wordpress_params.regular</a><br />
<a href="http://blog.ericmalloy.net/wp-content/uploads/2010/10/wordpress_params_cache">wordpress_params_cache</a></p>
<p>init.d scripts<br />
<a href="http://blog.ericmalloy.net/wp-content/uploads/2010/10/nginx">nginx</a><br />
<a href="http://blog.ericmalloy.net/wp-content/uploads/2010/10/nginx">php-fpm</a></p>
<p>if any of this is unclear, please contact me so that we can make it easier for anyone who searches for it. let&#8217;s take down the notion that apache is the only webserver good enough for production.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2010/10/optimizing-webservers-for-php-wordpress-wordcamp-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>That thing</title>
		<link>http://blog.ericmalloy.net/2010/08/that-thing/</link>
		<comments>http://blog.ericmalloy.net/2010/08/that-thing/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 07:18:55 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[2nd Declaration of Independence]]></category>
		<category><![CDATA[philippine experiences]]></category>
		<category><![CDATA[Ayn Rand]]></category>
		<category><![CDATA[Ayn Rand The Fountainhead]]></category>
		<category><![CDATA[gail wynand]]></category>
		<category><![CDATA[Love]]></category>
		<category><![CDATA[Maggie Kelly]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=494</guid>
		<description><![CDATA[
	One evening he spoke.  Sitting at her feet, his face raised to her, he allowed his soul to be heard.  &#8220;My darling, anything you wish, anything I am, anything I can ever be&#8230;  That&#8217;s what I want to offer you &#8212; not the things I&#8217;ll get for you, but the thing in [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
	One evening he spoke.  Sitting at her feet, his face raised to her, he allowed his soul to be heard.  &#8220;My darling, anything you wish, anything I am, anything I can ever be&#8230;  That&#8217;s what I want to offer you &#8212; not the things I&#8217;ll get for you, but the thing in me that will make me able to get<br />
them.  That thing &#8212; a man can&#8217;t renounce it &#8212; but I want to renounce it &#8212; so that it will be yours &#8212; so that it will be in your service &#8212; only for you.&#8221;</p>
<p>	The girl smiled and asked: &#8220;Do you think I&#8217;m prettier than Maggie Kelly?&#8221;</p>
<p>	He got up.  He said nothing and walked out of the house.  He never saw that girl again.  Gail Wynand, who prided himself on never needing a lesson twice, did not fall in love again in the years that followed.<br />
		&#8211; Ayn Rand, &#8220;The Fountainhead&#8221;
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2010/08/that-thing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Introduction to Pip, Virtualenv &amp; virtualenvwrapper</title>
		<link>http://blog.ericmalloy.net/2010/08/introduction-to-pip-virtualenv-virtualenvwrapper/</link>
		<comments>http://blog.ericmalloy.net/2010/08/introduction-to-pip-virtualenv-virtualenvwrapper/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 05:32:35 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[cheeseshop]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Pip]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[slides]]></category>
		<category><![CDATA[Team Solution]]></category>
		<category><![CDATA[virtualenv]]></category>
		<category><![CDATA[virtualenvwrapper]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=446</guid>
		<description><![CDATA[A Brief presentation for the Manila Python Hackers Guild meetup. Join the Facebook page here
http://www.slideshare.net/confirm/MjY1NTQ0MjA7ZXJpY0A=/
View more presentations from A-Team Solution.

]]></description>
			<content:encoded><![CDATA[<p>A Brief presentation for the Manila Python Hackers Guild meetup. <a href="http://www.facebook.com/group.php?gid=134155686601223">Join the Facebook page here</a></p>
<div style="width:425px" id="__ss_4922013"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/ateamsolution/httpwwwslidesharenetconfirmmjy1ntq0mja7zxjpy0a" title="http://www.slideshare.net/confirm/MjY1NTQ0MjA7ZXJpY0A=/">http://www.slideshare.net/confirm/MjY1NTQ0MjA7ZXJpY0A=/</a></strong><object id="__sse4922013" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=virtualenv-100808003053-phpapp01&#038;stripped_title=httpwwwslidesharenetconfirmmjy1ntq0mja7zxjpy0a" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse4922013" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=virtualenv-100808003053-phpapp01&#038;stripped_title=httpwwwslidesharenetconfirmmjy1ntq0mja7zxjpy0a" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/ateamsolution">A-Team Solution</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2010/08/introduction-to-pip-virtualenv-virtualenvwrapper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apache/mod_wsgi vs. uwsgi</title>
		<link>http://blog.ericmalloy.net/2010/08/apachemod_wsgi-vs-uwsgi/</link>
		<comments>http://blog.ericmalloy.net/2010/08/apachemod_wsgi-vs-uwsgi/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 07:16:55 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Internetworking]]></category>
		<category><![CDATA[Apache 2]]></category>
		<category><![CDATA[Apache Server]]></category>
		<category><![CDATA[Blown Away]]></category>
		<category><![CDATA[C 250]]></category>
		<category><![CDATA[Concurrency]]></category>
		<category><![CDATA[Concurrent Connections]]></category>
		<category><![CDATA[Hardware Linux]]></category>
		<category><![CDATA[Kernel 2]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mod_wsgi]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[Note To Self]]></category>
		<category><![CDATA[Response Time]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[Server Hardware]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Throughput]]></category>
		<category><![CDATA[Time 3]]></category>
		<category><![CDATA[Transaction Rate]]></category>
		<category><![CDATA[uwsgi]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=398</guid>
		<description><![CDATA[Quick note to self. I was blown away by siege tests this afternoon.
Two servers, identical
Server Hardware
linux kernel 2.6.32-12
512MB RAM
siege -c 90 &#8211;time=120s
server 1= running apache 2.2 with mod_wsgi with nginx 0.7.35 as front end wwwsvr.
Lifting the server siege&#8230;      done.
Transactions:		        2735 hits
Availability:		   [...]]]></description>
			<content:encoded><![CDATA[<p>Quick note to self. I was blown away by siege tests this afternoon.</p>
<p>Two servers, identical<br />
Server Hardware<br />
linux kernel 2.6.32-12<br />
512MB RAM</p>
<p>siege -c 90 &#8211;time=120s<br />
server 1= running apache 2.2 with mod_wsgi with nginx 0.7.35 as front end wwwsvr.<br />
Lifting the server siege&#8230;      done.<br />
Transactions:		        2735 hits<br />
Availability:		      100.00 %<br />
Elapsed time:		      120.21 secs<br />
Data transferred:	        9.17 MB<br />
Response time:		        3.38 secs<br />
Transaction rate:	       22.75 trans/sec<br />
Throughput:		        0.08 MB/sec<br />
Concurrency:		       77.00<br />
Successful transactions:        2735<br />
Failed transactions:	           0<br />
Longest transaction:	       11.08<br />
Shortest transaction:	        0.16</p>
<p>vs.<br />
siege -c 90 &#8211;time=120s<br />
no apache, nginx 0.7.35 with uwsgi<br />
Lifting the server siege&#8230;      done.<br />
Transactions:		       20605 hits<br />
Availability:		      100.00 %<br />
Elapsed time:		      120.06 secs<br />
Data transferred:	       74.51 MB<br />
Response time:		        0.03 secs<br />
Transaction rate:	      171.62 trans/sec<br />
Throughput:		        0.62 MB/sec<br />
Concurrency:		        4.82<br />
Successful transactions:       20605<br />
Failed transactions:	           0<br />
Longest transaction:	        9.02<br />
Shortest transaction:	        0.01</p>
<p>Who said you need apache?</p>
<p>siege -c 250 &#8211;time=30s<br />
apache/mod_wsgi<br />
Lifting the server siege&#8230;      done.<br />
Transactions:		         185 hits<br />
Availability:		      100.00 %<br />
Elapsed time:		       30.01 secs<br />
Data transferred:	        0.62 MB<br />
Response time:		        7.69 secs<br />
Transaction rate:	        6.16 trans/sec<br />
Throughput:		        0.02 MB/sec<br />
Concurrency:		       47.42<br />
Successful transactions:         185<br />
Failed transactions:	           0<br />
Longest transaction:	       27.10<br />
Shortest transaction:	        0.15</p>
<p>nginx/uwsgi<br />
Lifting the server siege&#8230;      done.<br />
Transactions:		        8147 hits<br />
Availability:		      100.00 %<br />
Elapsed time:		       29.60 secs<br />
Data transferred:	       29.46 MB<br />
Response time:		        0.39 secs<br />
Transaction rate:	      275.24 trans/sec<br />
Throughput:		        1.00 MB/sec<br />
Concurrency:		      108.68<br />
Successful transactions:        8145<br />
Failed transactions:	           0<br />
Longest transaction:	       21.02<br />
Shortest transaction:	        0.01</p>
<p><strong>uwsgi was able to serve 8147 requests to 250 concurrent connections in the same time mod_wsgi could only serve 185</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2010/08/apachemod_wsgi-vs-uwsgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

