<?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 &#187; Linkedin</title>
	<atom:link href="http://blog.ericmalloy.net/tag/linkedin/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>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>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>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>
		<item>
		<title>Experience ….</title>
		<link>http://blog.ericmalloy.net/2010/07/experience/</link>
		<comments>http://blog.ericmalloy.net/2010/07/experience/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 19:35:23 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[2nd Declaration of Independence]]></category>
		<category><![CDATA[Bash Shell]]></category>
		<category><![CDATA[Compass]]></category>
		<category><![CDATA[Employments]]></category>
		<category><![CDATA[Execution]]></category>
		<category><![CDATA[Fly]]></category>
		<category><![CDATA[Fortune]]></category>
		<category><![CDATA[Francis Bacon]]></category>
		<category><![CDATA[Inconveniences]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Mediocrity]]></category>
		<category><![CDATA[New Projects]]></category>
		<category><![CDATA[One Time]]></category>
		<category><![CDATA[Ruin]]></category>
		<category><![CDATA[Virtues]]></category>
		<category><![CDATA[Young Men]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=328</guid>
		<description><![CDATA[each time i pull a new bash shell, i&#8217;m enlightened by /usr/bin/fortune
this one time caught me off guard and I had to share it.
Young men are fitter to invent than to judge; fitter for execution than for
counsel; and fitter for new projects than for settled business.  For the
experience of age, in things that fall [...]]]></description>
			<content:encoded><![CDATA[<p>each time i pull a new bash shell, i&#8217;m enlightened by /usr/bin/fortune</p>
<p>this one time caught me off guard and I had to share it.</p>
<p>Young men are fitter to invent than to judge; fitter for execution than for<br />
counsel; and fitter for new projects than for settled business.  For the<br />
experience of age, in things that fall within the compass of it, directeth<br />
them; but in new things, abuseth them.  The errors of young men are the ruin<br />
of business; but the errors of aged men amount but to this, that more might<br />
have been done, or sooner.  Young men, in the conduct and management of<br />
actions, embrace more than they can hold; stir more than they can quiet; fly<br />
to the end, without consideration of the means and degrees; pursue some few<br />
principles which they have chanced upon absurdly; care not how they innovate,<br />
which draws unknown inconveniences; and, that which doubleth all errors, will<br />
not acknowledge or retract them; like an unready horse, that will neither stop<br />
nor turn.  Men of age object too much, consult too long, adventure too little,<br />
repent too soon, and seldom drive business home to the full period, but<br />
content themselves with a mediocrity of success.  Certainly, it is good to<br />
compound employments of both &#8230; because the virtues of either age may correct<br />
the defects of both.<br />
		&#8211; Francis Bacon, &#8220;Essay on Youth and Age&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2010/07/experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>adapter missing in exported vm?</title>
		<link>http://blog.ericmalloy.net/2010/06/adapter-missing-in-exported-vm/</link>
		<comments>http://blog.ericmalloy.net/2010/06/adapter-missing-in-exported-vm/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 02:40:52 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Internetworking]]></category>
		<category><![CDATA[Asprin]]></category>
		<category><![CDATA[D 70]]></category>
		<category><![CDATA[Export Image]]></category>
		<category><![CDATA[Image Name]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Mac Address]]></category>
		<category><![CDATA[Ovf]]></category>
		<category><![CDATA[Udev]]></category>
		<category><![CDATA[Virtual Mac]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Virtualbox]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=319</guid>
		<description><![CDATA[I&#8217;m adding this to my checklist when exporting a virtual machine via virtualbox.
on the guest image,

become superuser
echo &#8220;&#8221; &#62; /etc/udev/rules.d/70-persistent-net.rules
shutdown -r now
open up the 70 persistent net rules again. change eth1 to eth0
shutdown -h now
go ahead and export (VBoxManage export $image_name -o $image_name.ovf)

For me, this saved a lot of asprin when importing VM on a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m adding this to my checklist when exporting a virtual machine via <a href="http://virtualbox.org">virtualbox</a>.</p>
<p>on the guest image,</p>
<ol>
<li>become superuser</li>
<li>echo &#8220;&#8221; &gt; /etc/udev/rules.d/70-persistent-net.rules</li>
<li>shutdown -r now</li>
<li>open up the 70 persistent net rules again. change eth1 to eth0</li>
<li>shutdown -h now</li>
<li>go ahead and export (VBoxManage export $image_name -o $image_name.ovf)</li>
</ol>
<p>For me, this saved a lot of asprin when importing VM on a new machine. This permits udev to assign the first available eth adpater to your machines virtual mac address.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2010/06/adapter-missing-in-exported-vm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creativity x Organization = Impact.</title>
		<link>http://blog.ericmalloy.net/2010/06/creativity-x-organization-impact/</link>
		<comments>http://blog.ericmalloy.net/2010/06/creativity-x-organization-impact/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 08:54:51 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[2nd Declaration of Independence]]></category>
		<category><![CDATA[All The Hoopla]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Boils]]></category>
		<category><![CDATA[Cheers]]></category>
		<category><![CDATA[creative impact]]></category>
		<category><![CDATA[discipline]]></category>
		<category><![CDATA[Innovation Creativity]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Organization Impact]]></category>
		<category><![CDATA[peter drucker]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[self improvement]]></category>
		<category><![CDATA[startup company]]></category>

		<guid isPermaLink="false">http://blog.ericmalloy.net/?p=314</guid>
		<description><![CDATA[I really enjoyed this article from the blog of  Swaroop CH
In it he de-mystifies all the hoopla about innovation, creativity and boils it down to two basic ideas.
Solving a Problem,
then,
Implementing a Solution.
That&#8217;s it really folks,
Read Swaroop&#8217;s Article Here.
Cheers Swaroop, keep it coming!
also check out:
10 Laws of Productivity
The Discipline of Creativity, P. Drucker
]]></description>
			<content:encoded><![CDATA[<p>I really enjoyed this article from the blog of  <a href="http://www.swaroopch.com" target="_blank">Swaroop CH</a></p>
<p>In it he de-mystifies all the hoopla about innovation, creativity and boils it down to two basic ideas.</p>
<h2>Solving a Problem,</h2>
<h2>then,</h2>
<h2>Implementing a Solution.</h2>
<p>That&#8217;s it really folks,</p>
<p><a href="http://www.swaroopch.com/blog/creativity-and-organization-is-impact/" target="_blank">Read Swaroop&#8217;s Article Here.</a></p>
<p>Cheers Swaroop, keep it coming!</p>
<p>also check out:</p>
<p><a href="http://the99percent.com/tips/6585/10-laws-of-productivity" target="_blank">10 Laws of Productivity</a></p>
<p><a href="http://www.scribd.com/doc/5579/Creativity-The-Discipline-of-Innovation-By-Drucker-Peter">The Discipline of Creativity, P. Drucker</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ericmalloy.net/2010/06/creativity-x-organization-impact/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

