<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://papasian.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>papasian.org - lifehacking</title>
 <link>http://papasian.org</link>
 <description></description>
 <language>en</language>
<item>
 <title>Using IPv6</title>
 <link>http://papasian.org/node/26</link>
 <description>&lt;p&gt;I&#039;ve gone ahead and deployed IPv6 on the server that hosts this site, as well as my desktop.  I&#039;m using &lt;A href=&quot;http://en.wikipedia.org/wiki/6to4&quot;&gt;6to4&lt;/a&gt; to tunnel IPv6 over the existing IPv4 connection.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://papasian.org/node/26&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://papasian.org/node/26#comments</comments>
 <category domain="http://papasian.org/taxonomy/term/14">ipv6</category>
 <category domain="http://papasian.org/taxonomy/term/10">system administration</category>
 <pubDate>Tue, 30 Dec 2008 20:28:14 +0000</pubDate>
 <dc:creator>Danny</dc:creator>
 <guid isPermaLink="false">26 at http://papasian.org</guid>
</item>
<item>
 <title>In case you haven&#039;t heard by now - I&#039;m moving!</title>
 <link>http://papasian.org/node/25</link>
 <description>&lt;p&gt;In case you haven&#039;t heard yet, I&#039;m leaving my current job at &lt;a href=&quot;http://chronicle.com/&quot;&gt;The Chronicle&lt;/a&gt; and am accepting a position back in Pittsburgh.&lt;/p&gt;
&lt;p&gt;I&#039;m transitioning to a perl and catalyst environment, which I&#039;m excited about. Been working my way through a catalyst book, so hopefully I&#039;ll be able to hit the ground running.&lt;/p&gt;
</description>
 <comments>http://papasian.org/node/25#comments</comments>
 <category domain="http://papasian.org/taxonomy/term/3">life</category>
 <pubDate>Wed, 25 Jun 2008 02:05:35 +0000</pubDate>
 <dc:creator>Danny</dc:creator>
 <guid isPermaLink="false">25 at http://papasian.org</guid>
</item>
<item>
 <title>PHP texis plugin</title>
 <link>http://papasian.org/node/24</link>
 <description>&lt;p&gt;Several months back I wrote a hackish PHP extension to natively connect and talk with &lt;a href=&quot;http://thunderstone.com/&quot;&gt;Thunderstone&#039;s&lt;/a&gt; &lt;a href=&quot;http://docs.thunderstone.com/site/texisman/texisd.html&quot;&gt;texis SQL daemon&lt;/a&gt; and now it&#039;s just sitting around unused and unfinished.  What I can&#039;t figure out is whether there&#039;s anyone out there who&#039;d actually want such a beast - we were only thinking about going that route because we had a poorly deployed search index running out of texis, and replacing vortex with PHP seemed like a good idea.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://papasian.org/node/24&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://papasian.org/node/24#comments</comments>
 <category domain="http://papasian.org/taxonomy/term/7">hacks</category>
 <category domain="http://papasian.org/taxonomy/term/4">php</category>
 <pubDate>Fri, 11 Apr 2008 03:02:35 +0000</pubDate>
 <dc:creator>Danny</dc:creator>
 <guid isPermaLink="false">24 at http://papasian.org</guid>
</item>
<item>
 <title>Exploit written for recently discovered PHP-APC vuln</title>
 <link>http://papasian.org/node/23</link>
 <description>&lt;p&gt;So I discovered a vulnerability recently (see the previous article) in APC and disclosed it, and it&#039;s sat there for a few days without feedback... so I went ahead and wrote a &lt;a href=&quot;/~dannyp/apcsmash.php.txt&quot;&gt;proof of concept exploit&lt;/a&gt; for it.&lt;/p&gt;
</description>
 <comments>http://papasian.org/node/23#comments</comments>
 <category domain="http://papasian.org/taxonomy/term/4">php</category>
 <category domain="http://papasian.org/taxonomy/term/9">security</category>
 <pubDate>Sat, 22 Mar 2008 19:55:16 +0000</pubDate>
 <dc:creator>Danny</dc:creator>
 <guid isPermaLink="false">23 at http://papasian.org</guid>
</item>
<item>
 <title>Vulnerability dicovered in PHP APC module</title>
 <link>http://papasian.org/node/22</link>
 <description>&lt;p&gt;&lt;strong&gt;UPDATE: &lt;/strong&gt;&lt;a href=&quot;http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-1488&quot;&gt;CVE-2008-1488 has been opened for this vulnerability&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So I was noticing apache segfaulting today when I was accidentally attempting to include() a Savant3 Error object.  Attached strace, and saw that it was trying to stat the string representation of Savant3 (woops!) and was getting back -1 and name too long as the errorno, but then shortly after it was segfaulting.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://papasian.org/node/22&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://papasian.org/node/22#comments</comments>
 <category domain="http://papasian.org/taxonomy/term/4">php</category>
 <category domain="http://papasian.org/taxonomy/term/9">security</category>
 <pubDate>Mon, 17 Mar 2008 17:58:09 +0000</pubDate>
 <dc:creator>Danny</dc:creator>
 <guid isPermaLink="false">22 at http://papasian.org</guid>
</item>
<item>
 <title>sneak peek: wizDom - manipulating the DOM with the ease of jQuery from PHP</title>
 <link>http://papasian.org/node/21</link>
 <description>&lt;p&gt;What do you get if you take the ease of jQuery, the standards compliance of XPath, and implement it in PHP?  wizDom!  &lt;/p&gt;
&lt;p&gt;(This is my first post in some time - I&#039;ve been busy!  Since the last post, I&#039;ve migrated the site from wordpress to drupal, and there are some outstanding character encoding and lack-of-attachment problems I need to attend to.  Hopefully I&#039;ll get to that soon...)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://papasian.org/node/21&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://papasian.org/node/21#comments</comments>
 <category domain="http://papasian.org/taxonomy/term/4">php</category>
 <pubDate>Sun, 20 Jan 2008 23:37:06 +0000</pubDate>
 <dc:creator>Danny</dc:creator>
 <guid isPermaLink="false">21 at http://papasian.org</guid>
</item>
<item>
 <title>Excitement for plainTemplates</title>
 <link>http://papasian.org/node/20</link>
 <description>&lt;p&gt;I wanted to express my excitement about &lt;a href=&quot;http://meta20.net/plainTemplates&quot;&gt;plainTemplates&lt;/a&gt; today.&lt;/p&gt;
&lt;p&gt;The plainTemplates approach for template generation is to have the template be plain HTML, and then to have a PHP processor fill certain parts of the document with dynamic content.  It&#039;s familiar territory for anyone who has written an AJA[X?] application in recent times.&lt;/p&gt;
&lt;p&gt;It makes a lot of sense for anyone who is used to adding javascript entirely at the head of a page instead of by adding javascript throughout the HTML, and I suspect that, properly implemented, it could not only save time, but increase the hardiness of web applications.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://papasian.org/node/20&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://papasian.org/node/20#comments</comments>
 <category domain="http://papasian.org/taxonomy/term/4">php</category>
 <category domain="http://papasian.org/taxonomy/term/9">security</category>
 <category domain="http://papasian.org/taxonomy/term/8">xss</category>
 <pubDate>Mon, 20 Aug 2007 08:34:26 +0000</pubDate>
 <dc:creator>Danny</dc:creator>
 <guid isPermaLink="false">20 at http://papasian.org</guid>
</item>
<item>
 <title>A simple RSS to SQL generator</title>
 <link>http://papasian.org/node/19</link>
 <description>&lt;p&gt;Was looking for a simple way to put entries from an RSS feed into a database the other day, and didn&#039;t like what I found via a quick google.  So, I put together a very short and to the point script using SimpleXML and the php mysql driver:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$ch = curl_init($argv[1]);&lt;br /&gt;
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;
$rss = new SimpleXMLElement(curl_exec($ch));&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;// fill these next two rows in!&lt;br /&gt;
$dbLink = mysql_connect(&#039;localhost&#039;, &#039;username&#039;, &#039;xxxxx&#039;);&lt;br /&gt;
mysql_select_db(&#039;xxxxx&#039;, $dbLink);&lt;/p&gt;
&lt;p&gt;foreach($rss-&amp;gt;channel-&amp;gt;item as $blah) {&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://papasian.org/node/19&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://papasian.org/node/19#comments</comments>
 <category domain="http://papasian.org/taxonomy/term/4">php</category>
 <pubDate>Mon, 20 Aug 2007 06:03:12 +0000</pubDate>
 <dc:creator>Danny</dc:creator>
 <guid isPermaLink="false">19 at http://papasian.org</guid>
</item>
<item>
 <title>Drupal module performance</title>
 <link>http://papasian.org/node/17</link>
 <description>&lt;p&gt;Now that chx has beaten me to it, I&#039;m going to profile and patch and find all the low hanging fruit to cache in drupal.  Here&#039;s an improvement to  the module_hook function.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://papasian.org/node/17&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://papasian.org/node/17#comments</comments>
 <category domain="http://papasian.org/taxonomy/term/12">drupal</category>
 <category domain="http://papasian.org/taxonomy/term/7">hacks</category>
 <category domain="http://papasian.org/taxonomy/term/6">memcached</category>
 <category domain="http://papasian.org/taxonomy/term/5">performance</category>
 <category domain="http://papasian.org/taxonomy/term/4">php</category>
 <pubDate>Fri, 12 Jan 2007 07:50:56 +0000</pubDate>
 <dc:creator>Danny</dc:creator>
 <guid isPermaLink="false">17 at http://papasian.org</guid>
</item>
<item>
 <title>drupal theme performance</title>
 <link>http://papasian.org/node/16</link>
 <description>&lt;p&gt;I&#039;ve been playing with callgrind, xdebug, and kcachegrind to profile &lt;a href=&quot;http://drupal.org/&quot;&gt;drupal&lt;/a&gt;.  I&#039;ll go over the details of my results in a future blog entry, but if you want the short story just check out &lt;a href=&quot;http://www.zend.com/lists/php-dev/200603/msg00359.html&quot;&gt;Rasmus&#039;s directions&lt;/a&gt;.   Rasmus has given lots of talks with similar names to &quot;Getting Rich with PHP5&quot; and I&#039;ll leave it to the reader to google and find slides from this talk.&lt;/p&gt;
&lt;p&gt;Profiling is an iterative process, and after awhile I might blog about it with something more concrete.  But for now, I have early results.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://papasian.org/node/16&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://papasian.org/node/16#comments</comments>
 <category domain="http://papasian.org/taxonomy/term/12">drupal</category>
 <category domain="http://papasian.org/taxonomy/term/7">hacks</category>
 <category domain="http://papasian.org/taxonomy/term/5">performance</category>
 <category domain="http://papasian.org/taxonomy/term/4">php</category>
 <pubDate>Fri, 12 Jan 2007 05:44:51 +0000</pubDate>
 <dc:creator>Danny</dc:creator>
 <guid isPermaLink="false">16 at http://papasian.org</guid>
</item>
</channel>
</rss>

