<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>pylons &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/pylons/</link>
	<description>Feed of posts on WordPress.com tagged "pylons"</description>
	<pubDate>Sun, 06 Dec 2009 23:47:05 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[returning json with pylons]]></title>
<link>http://selunedev.wordpress.com/2009/12/01/returning-json-with-pylons/</link>
<pubDate>Mon, 30 Nov 2009 23:54:23 +0000</pubDate>
<dc:creator>selunedev</dc:creator>
<guid>http://selunedev.wordpress.com/2009/12/01/returning-json-with-pylons/</guid>
<description><![CDATA[The pylons web framework offers a nice decorator to return json code from a python dictionnary. In y]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The <a href="http://pylonshq.com">pylons</a> web framework offers a nice decorator to return json code from a python dictionnary. In your pylons controller, this is as simple as :</p>
<pre class="brush: python;">

@jsonify

def do_something(self):

mydict = {name:&#34;foo&#34;}

return mydict
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Underground lines replace pylons]]></title>
<link>http://newsaboutcities.wordpress.com/2009/11/01/underground-lines-replace-pylons/</link>
<pubDate>Sun, 01 Nov 2009 14:55:42 +0000</pubDate>
<dc:creator>tellmenews</dc:creator>
<guid>http://newsaboutcities.wordpress.com/2009/11/01/underground-lines-replace-pylons/</guid>
<description><![CDATA[The skyline in part of Derbyshire is to be transformed when electricity pylons are taken down and re]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The skyline in part of Derbyshire is to be transformed when electricity pylons are taken down and replaced with underground cables&#8230;. From BBC News. <a href="http://news.bbc.co.uk/go/rss/-/2/hi/uk_news/england/derbyshire/8336654.stm">Full story</a></p>
<p>This site may contain information about:  los angeles city.  The blog is also related to: solar city.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Flash Forward: Senator Joyce Clemente (Spoiler Alert!)]]></title>
<link>http://toyanxiety.wordpress.com/2009/10/24/flash-forward-madam-president-spoiler-alert/</link>
<pubDate>Sat, 24 Oct 2009 14:47:24 +0000</pubDate>
<dc:creator>Michael</dc:creator>
<guid>http://toyanxiety.wordpress.com/2009/10/24/flash-forward-madam-president-spoiler-alert/</guid>
<description><![CDATA[Episode 5 of Flash Forward started at the end of the episode and then flashed backward 39 hours to t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h3><span style="color:#0000ff;"><img class="aligncenter size-full wp-image-1391" title="Senator Clemente" src="http://toyanxiety.wordpress.com/files/2009/10/clemente.jpg" alt="Senator Clemente" width="500" height="380" /></span></h3>
<h3><span style="color:#0000ff;">Episode 5 of Flash Forward started at the end of the episode and then flashed <span style="text-decoration:underline;">backward</span> 39 hours to tell us how we got there (taking a cue from LOST by traversing time in all directions).</span></h3>
<h3><span style="color:#0000ff;">The episode opens with FBI agents Mark Benford (Fiennes), Demetri Noh (Cho),  Stanford Weddick (Courtney B. Vance) , and Agent Vreede (Barry Shabaka Henley) in Washington, D.C. getting into their car after exiting a Karoke bar when their car is suddenly rammed and then shot at by a group of Asian men.</span></h3>
<h3><span style="color:#0000ff;">39 hours earlier, the guys are in Washington to testify at Senate hearings and hopefully get funding for the Mosaic project. We get a few humorous moments where other people are giving testimony at the hearings suggest aliens or Chinese involvement in the blackout. Mark and his team are now focused on the dead crow event that occurred in 1991 in Somalia. During Mark&#8217;s lie detector test, he talks about the two men in masks with flashlights. However, he does not mention he was drinking too. </span></h3>
<h3><span style="color:#0000ff;">Mark&#8217;s partner, Janis Hawk (Christine Woods) is seen taking a karate class and kicks the stuffing out of the guy she is sparring with. Not to be put off, he asks her out on a date which she rebuffs. As we soon learn, Janis is more interested in her chef classmate Maya (played by Numb3rs star Navi Rawat), in a development the series has been hinting at since the visit to Germany. So Janis is &#8220;out-ed&#8221; to the viewers but will stay closeted on the show because, &#8220;I work for the federal government, and they&#8217;re not too big on trusting gays with guns.&#8221; </span></h3>
<h3><span style="color:#0000ff;"><img class="alignright size-medium wp-image-1402" title="Southern Somalia" src="http://toyanxiety.wordpress.com/files/2009/10/somalia.jpg?w=300" alt="Southern Somalia" width="300" height="177" />Janis is given a flash drive (no pun intended) with 18 years worth of imagery from southern Somalia. In reviewing the photos, Janis notes an asphalt road and mysterious pylons around 100 feet tall under construction there just before the dead crows event.</span></h3>
<h3><span style="color:#0000ff;"> In another development, it seems that Stan is the man. We catch him playing basketball with the President (Peter Coyote). He tells Stan the Senate hearings will be closed. Stan asks him if he&#8217;s made his choice for the new Vice President since the old one was killed during the blackout. The President also tells Stan about his flashforward. He is sleeping in bed and a secret service agent walks in, wakes him, and tells him &#8220;Mr. President, something happened.&#8221; </span></h3>
<h3><span style="color:#0000ff;">The President also asks Stan if he would be interested in becoming the Director of Homeland Security. He also informs Stan that his nemesis, Senator Joyce Clemente (Barbara Williams) will be conducting the hearings.</span></h3>
<h3><span style="color:#0000ff;">In other developments, Mark&#8217;s wife Olivia is talking with Mark&#8217;s AA sponsor, Aaron and expresses her concerns about the possibility of Mark drinking again.</span></h3>
<h3><span style="color:#0000ff;">Stan has words with Senator Joyce Clemente, who is chairing the hearings. She chastises Stan for &#8220;what he did with that woman.&#8221; She also is still bitter about his helping the President get elected instead of her. However, she does drop the bombshell by telling us that, in her flashforward, she saw herself as President in 6 months. She is also unhappy with Mark&#8217;s explanation of his flashforward and wants to question him at the hearings.</span></h3>
<h3><span style="color:#0000ff;">The next day, Mark is on the stand at the hearings and goes over what he knows. He discusses the dead crows, the Los Angeles FBI office being the center of the blackout investigation in the future, and the two masked gunmen who try to kill him. He may have also been on the phone. He refers to the event as &#8220;impressionistic flashes of reality.&#8221;</span></h3>
<h3><span style="color:#0000ff;">The problem is, Mark&#8217;s flashforward on covers 30 seconds not the 137 seconds everyone was blacked out for. Plus, most people have vivid memories and his seem hazy and disoriented. Senator Clemente wants to know about the other 107 seconds of Mark&#8217;s flashforward. Joyce calls his story voodoo or fraud.</span></h3>
<h3><span style="color:#0000ff;">Janis meets her girlfriend, Maya, at an art gallery and Maya starts questioning her on her sexuality. It seems Maya&#8217;s flashforward was of her wearing a wedding band. She has also &#8220;Mosaic-ed&#8221; Janis and found out she is pregnant in six months. Janis gets freaked out by this and leaves.</span></h3>
<h3><span style="color:#0000ff;">Stan visits the President at the Oval Office. It seems Stan was the &#8220;bag man&#8221; for the then presidential candidate and covered up an affair the President had six years ago. Stan made the whole thing go away except his affair also produced a child. Stan shows him a picture of the girl and the boy (Stan visits them in Georgetown) and asks for him to get Senator Clemente off his back and give him the funding. He also tells the President that the girl&#8217;s flashforward has her living in Puerto Rico in 6 months. Stan leaves and the President makes a call stating &#8220;I have a problem I need you to take care of.&#8221;</span></h3>
<h3><span style="color:#0000ff;"><img class="alignright size-medium wp-image-1405" title="cellphone" src="http://toyanxiety.wordpress.com/files/2009/10/cellphone.jpg?w=300" alt="cellphone" width="300" height="214" />Oliva is getting the house ready to go to bed when she receives a mysterious text message telling her Mark was drinking in his flashforward.</span></h3>
<h3><span style="color:#0000ff;">The guys are at a karaoke bar after the hearing. Demetri and Agent Vreede are getting loose single a few karaoke songs while Stan and Mark have a heated discussion. Mark finally tells Stan he was &#8220;loaded&#8221; in his flashforward. He tells Stan he has been sober 7 years and has no intentions of having another drink again. Stan feels that he put his career on the line for Mark and now he learns he was impaired.</span></h3>
<h3><span style="color:#0000ff;">In a news announcement, we learn that the President has selected Senator Clemente as his choice for Vice President. Stan tells Mark there are trade-offs to getting the funding.</span></h3>
<h3><span style="color:#0000ff;">The episode ends with the same attack seen in the opening of the episode. We see the FBI agents having a shootout with the Asian men to a karaoke version of the song &#8220;Like a Rolling Stone.&#8221; Most interesting is how Demetri shows no fear in standing up and walking toward his attackers while shooting at them. </span></h3>
<h3><span style="color:#0000ff;">At the same time, Janis is ambushed by an assailant and shot (in the stomach?). However, she is able to kill him before she falls down. The last scene shows her possibly dying, having visions of her being told at the ultrasound that she is having a little girl. So, if Janis does end up dying, we need to answer the question: Why did she have a flashforward of being pregnant if she is going to be dead in 6 months?</span></h3>
<h3><span style="color:#0000ff;"><span style="text-decoration:underline;">New things we learned this week:</span></span></h3>
<h3><span style="color:#0000ff;">It is now three weeks since the blackout.</span></h3>
<h3><span style="color:#0000ff;">&#8220;Mosaic-ing&#8221; is the new Google.</span></h3>
<h3><span style="color:#0000ff;"><img class="alignright size-medium wp-image-1398" title="7S - 8487" src="http://toyanxiety.wordpress.com/files/2009/10/license-plate-large.jpg?w=300" alt="7S - 8487" width="300" height="213" />The license plate of the van leaving the shootout is 7S &#8211; 8487 (See photo to the right).</span></h3>
<h3><span style="color:#0000ff;">I love how they keep throwing out famous quotes at us. Here was one from this episode as stated by Senator Clemente to Stan.</span></h3>
<dt>
<h3><span style="color:#0000ff;">&#8220;If you sit by the river long enough, you will see the body of your enemy float by. &#8220;  &#8212; Japanese Proverb, also quoted in the movie <em>Rising Sun.</em></span></h3>
</dt>
<dt>
<h3><span style="color:#0000ff;">China had a low amount of casualties during the blackout since it was 2:00 am there.</span></h3>
</dt>
<h3><span style="color:#0000ff;">The construction of the pylons in southern Somalia were completed in April 1991.</span></h3>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[6diagrams.com: Create your own forum.]]></title>
<link>http://rapd.wordpress.com/2009/10/04/6diagrams-com-create-your-own-forum/</link>
<pubDate>Mon, 05 Oct 2009 05:31:11 +0000</pubDate>
<dc:creator>didip</dc:creator>
<guid>http://rapd.wordpress.com/2009/10/04/6diagrams-com-create-your-own-forum/</guid>
<description><![CDATA[I&#8217;ve been building this little thing for a while now. That little thing is Forum software. It ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve been building this little thing for a while now. That little thing is Forum software.</p>
<p>It does everything you would expect from using PHPBB, Reddit or HackerNews, and more. With 6diagrams you can bookmark that interesting topic without having to go through your piles of links in that bookmark tab. It also, of course, remember your own posting.</p>
<p>To learn more of what it can do, please follow this <a href="http://6diagrams.com/demo/" target="_blank">link</a>.</p>
<p><strong>Why?</strong></p>
<p>Already 3 guys asked me this questions. Why are you building this thing that looks like Reddit or HackerNews rip off? Well&#8230; in my defense, Reddit, HackerNews, (and Google) do a great job in displaying list of interesting things effectively. It&#8217;s not a coincidence that I&#8217;m following the path of Reddit/HackerNews because I want to follow the path of success.</p>
<p>Besides that UX decision, I build this because I&#8217;m starting to have difficulties when blogging. The standards of blogging is going higher and higher. Blogging takes more than just well-written article these days. I have to stay consistent in following the blogs general theme. If I want to write slightly controversial topic, I better do a lot of research and write it in concise manner. When my post is mildly interesting, I have to be vigilant in responding to visitors in less than 24 hours time frame. It&#8217;s tough (I believe this is 1 of many keys to Twitter success, it&#8217;s very personal).</p>
<p>Those are too much burden for a programmer who have probably only 1 hour a week to write a blog post. Sometimes I just want to voice out my opinion regardless of the accuracy (I never policed any of my real life friends when it comes to factual accuracy, I&#8217;m hoping to experience the same thing online). I want to write something that&#8217;s interesting enough to create a conversation for social interaction and personal knowledge.</p>
<p>That&#8217;s why I defaulted back to Forum format. Forum is great, it doesn&#8217;t force people to use real name. Participation in a thread can extends to weeks, so that I have time to respond to conversation (just like mailing list).</p>
<p>Most forums have informal, laid-back conversation about common things that people like, such as OSS project, anime, coffee grinders, Mitsubishi Evolution, etc. There&#8217;s no pressure to be right, everyone is simply sharing and hanging out.</p>
<p>That&#8217;s why I build 6diagrams.</p>
<p><strong>Technical</strong></p>
<p>6diagrams is open source forum software. The project page can be found <a href="http://6diagrams.com/6diagrams.org/" target="_blank">here</a>. It is built using Python, Pylons, MySQL, TinyMCE, and Tokyo Tyrant.</p>
<p>For those who stopped by and created accounts, I hope you find 6diagrams enjoyable.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Construction (273/366 10-02-09)]]></title>
<link>http://carusophoto.wordpress.com/2009/10/02/construction-273366-10-02-09/</link>
<pubDate>Fri, 02 Oct 2009 17:57:44 +0000</pubDate>
<dc:creator>CarusoPhoto</dc:creator>
<guid>http://carusophoto.wordpress.com/2009/10/02/construction-273366-10-02-09/</guid>
<description><![CDATA[Construction (273/366 10-02-09) Originally uploaded by CarusoPhoto When I saw this nice trio of caut]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div style="float:right;margin-left:10px;margin-bottom:10px;"><a title="photo sharing" href="http://www.flickr.com/photos/carusophoto/3975103022/"><img style="border:solid 2px #000000;" src="http://farm3.static.flickr.com/2438/3975103022_5c499a1247_m.jpg" alt="" /></a></p>
<p><span style="font-size:.9em;margin-top:0;"><br />
<a href="http://www.flickr.com/photos/carusophoto/3975103022/">Construction (273/366 10-02-09)</a></p>
<p>Originally uploaded by <a href="http://www.flickr.com/people/carusophoto/">CarusoPhoto</a><br />
</span></div>
<p>When I saw this nice trio of caution horses all in a row, I immediately put camera to eye and made an expsoure, figuring it would be a nice scene to continue my work with my vintage vintage 50mm Pentax lens on the K-7.</p>
<p>Using an old manual focus, manual aperture lens really gives one a sense of shooting with a film body. I also believe the image quality is&#8230;different&#8230;using an old manual lens rather than a new lens constructed for digital work.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pylons: production environments]]></title>
<link>http://rapd.wordpress.com/2009/09/20/pylons-production-environments/</link>
<pubDate>Mon, 21 Sep 2009 05:31:43 +0000</pubDate>
<dc:creator>didip</dc:creator>
<guid>http://rapd.wordpress.com/2009/09/20/pylons-production-environments/</guid>
<description><![CDATA[First of all, there are several wiki posts at pylonshq.com already, below are some of them: http://p]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>First of all, there are several wiki posts at pylonshq.com already, below are some of them:</p>
<ul>
<li><a href="http://pylonsbook.com/en/1.0/deployment.html" target="_blank">http://pylonsbook.com/en/1.0/deployment.html</a></li>
<li><a href="http://wiki.pylonshq.com/display/pylonscookbook/Running+Pylons+with+NGINX" target="_blank">http://wiki.pylonshq.com/display/pylonscookbook/Running+Pylons+with+NGINX</a></li>
<li><a href="http://wiki.pylonshq.com/display/pylonscookbook/Running+Pylons+with+SCGI+and+Lighttpd" target="_blank">http://wiki.pylonshq.com/display/pylonscookbook/Running+Pylons+with+SCGI+and+Lighttpd</a></li>
</ul>
<p>I believe there&#8217;s not a single best solution in choosing any of these strategies. This post is intended as sharing my experience in some of these. I&#8217;m definitely not set on particular one and will change my mind once I gained better understanding.</p>
<p><strong>My testing methodology</strong></p>
<p>I&#8217;m currently testing multiple deployment configurations on the same app, thus giving me the opportunity to blog about it. I use <em>Apache Benchmark</em> (on client side), <em>top</em> and <em>ps afx</em> on server side. My machine is 1 Linode 1440 instance.</p>
<p>My AB setup are:</p>
<pre><code>ab -n 500 -c 50 -k http://rootapp.com/

ab -n 1200 -c 50 -k http://rootapp.com/

ab -n 1500 -c 50 -k http://rootapp.com/

ab -n 800 -c 800 -k http://rootapp.com/</code></pre>
<p>The results varied insignificantly with some subtle interesting differences. I&#8217;ll explain those below.</p>
<p><strong>Note:</strong> I am testing these configuration on dynamic AJAX-y web application, thus reporting hard numbers is not very useful.</p>
<p><strong>CherryPy vs Paste HTTP Server behind NGINX<br />
</strong></p>
<p>One thing  that I noticed immediately is that CherryPy has better performance than Paste&#8217;s HTTP server. On both, having multiple processes does not help much on overall performance, but significantly reduces number of failed requests. When run under multiple processes, CherryPy consistently have the least number of failed requests.</p>
<p>For my setup having 7-8 processes is the sweet spot. When I have more than that, <em>top</em> is telling me that the latter processes are under utilized.</p>
<p>Setting up CherryPy on your production.ini is painless:</p>
<pre><code>use = egg:PasteScript#cherrypy
numthreads = 20
request_queue_size = 512
host = %(http_host)s
port = %(http_port)s
</code></pre>
<p>By just comparing the two, CherryPy is easily the winner.</p>
<p><strong>Lighttpd and SCGI</strong></p>
<p>This <a href="http://gist.github.com/190076" target="_blank">gist</a> is basic configuration to get SCGI up and running on lighttpd while the following is setup for your production.ini:</p>
<pre><code>use = egg:Flup#scgi_thread
host = %(http_host)s
port = %(http_port)s</code></pre>
<p>given the same AB configuration as CherryPy and Paste counterpart, lighttpd and SCGI consistently capable of handling 30 requests/seconds. About 8-10 requests/seconds more than CherryPy. Even though this setup is better, I noticed that memory consumption continues to go up after 2 weeks. I haven&#8217;t spend much time in investigating why. The reason I didn&#8217;t choose this path is more because I simply like NGINX better.</p>
<p>If only SCGI module on NGINX isn&#8217;t so experimental.</p>
<p><strong>NGINX and FastCGI</strong></p>
<p>This <a href="http://gist.github.com/190084" target="_blank">gist</a> is basic configuration to get FastCGI running on NGINX while the following is setup for your production.ini:</p>
<pre><code>use = egg:Flup#fcgi_thread
host = %(http_host)s
port = %(http_port)s</code></pre>
<p>With this configuration, I consistently get about 25 requests/seconds. It&#8217;s a bit behind lighttpd and SCGI configuration. Interestingly, when run under <em>ab -n 1500 -c 50 -k</em>, this configuration hangs NGINX requiring it to be restarted. It only happen once though.</p>
<p>Again, when load balanced properly (depending on your app), any one of these configurations would work well. Hopefully this post can help others to get up to speed in Pylons deployment.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[how to use WSGI + Authkit + Beaker for OpenID authentication]]></title>
<link>http://vrde.wordpress.com/2009/09/20/how-to-use-wsgi-authkit-beaker-for-openid-authentication/</link>
<pubDate>Sun, 20 Sep 2009 01:28:49 +0000</pubDate>
<dc:creator>vrde</dc:creator>
<guid>http://vrde.wordpress.com/2009/09/20/how-to-use-wsgi-authkit-beaker-for-openid-authentication/</guid>
<description><![CDATA[This is a simple how to for enabling OpenID authentication using Authkit (and Beaker, we need cooook]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://vrde.wordpress.com/2009/09/20/how-to-use-wsgi-authkit-beaker-for-openid-authentication/"><img src="http://vrde.wordpress.com/files/2009/09/openid.png" style="border:1px solid black;" alt="openid auth form" title="openid auth form" width="266" height="144" class="alignright size-full wp-image-331" /></a></p>
<p>This is a simple how to for enabling <a href="http://en.wikipedia.org/wiki/OpenID">OpenID</a> authentication using <a href="http://authkit.org/">Authkit</a> (and <a href="http://wiki.pylonshq.com/display/beaker/Home">Beaker</a>, we need <a href="http://i193.photobucket.com/albums/z301/Clairvoyant_Disease_A7X/EvilCookies.jpg">cooookies</a>!!!) over <a href="http://wsgi.org/wsgi/">WSGI</a>.</p>
<p>The following <a href="http://vrde.wordpress.com/tag/snippet/">snippet</a> is inspired by the (broken?) <a href="http://wiki.pylonshq.com/pages/viewpage.action?pageId=6684791">example</a> I found in the <a href="http://pylonshq.com/">Pylons</a> <a href="http://wiki.pylonshq.com/dashboard.action">documentation wiki</a>.</p>
<p></p>
<pre class="brush: python;">from authkit.authenticate import middleware, sample_app
from beaker.middleware import SessionMiddleware

app = middleware(
    sample_app,
    setup_method='openid,cookie',
    openid_path_signedin='/private',
    openid_store_type='file',
    openid_store_config='',
    cookie_secret='secret encryption string',
    cookie_signoutpath = '/signout',
)

app = SessionMiddleware(app, key='mysession', secret='randomsecret')

if __name__ == '__main__':
    from paste.httpserver import serve
    serve(app, host='0.0.0.0', port=8080)
</pre>
<p>TODO: fix the broken example in the wiki (:</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pylons: Tokyo and Redis for caching backend]]></title>
<link>http://rapd.wordpress.com/2009/08/25/pylons-tokyo-and-redis-for-caching-backend/</link>
<pubDate>Wed, 26 Aug 2009 06:40:36 +0000</pubDate>
<dc:creator>didip</dc:creator>
<guid>http://rapd.wordpress.com/2009/08/25/pylons-tokyo-and-redis-for-caching-backend/</guid>
<description><![CDATA[First of all, I love Tokyo and already use Tokyo as secondary database for Pylons development and so]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div>
<p>First of all, I love Tokyo and already use Tokyo as secondary database for Pylons development and so far it has been a great success.</p>
<p>Since my box does not have a lot of memory, and a lot more disk space, it make sense to use Tokyo as caching solution instead of memcache.</p>
<p>Quick googling revealed that Jack Hsu has already <a href="http://www.jackhsu.com/2009/05/27/pylons-with-tokyo-cabinet-beaker-sessions" target="_blank">implemented</a> beaker&#8217;s Tokyo extension. His snippet works out of the box.</p>
<p>For my use case, I change the serializing strategy to using pickle instead of json. My reasoning is that pickle allows serializing complex object and I don&#8217;t have requirement for portability on cache data.</p>
<p>You can find the Tokyo extension <a href="http://github.com/didip/beaker_extensions/tree/master" target="_blank">here</a>. I added Redis extension as well since it is very similar to Tokyo.</p>
<p><strong>Edit (08/26/2009):</strong> Added extension for Dynomite</p>
<p><strong>Edit (08/26/2009):</strong> Added extension for Ringo</p>
<p>[fixing bad layout]</p>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Office hieroglyphs (14)]]></title>
<link>http://susanllewellyn.wordpress.com/2009/08/14/office-hieroglyphs-14/</link>
<pubDate>Fri, 14 Aug 2009 13:28:32 +0000</pubDate>
<dc:creator>susanllewellyn</dc:creator>
<guid>http://susanllewellyn.wordpress.com/2009/08/14/office-hieroglyphs-14/</guid>
<description><![CDATA[It&#8217;s the fourteenth post, and time to visit my favourite temple, Abydos, via the third of Osir]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It&#8217;s the fourteenth post, and time to visit my favourite temple, Abydos, via the third of Osiris&#8217; titles in this formula:</p>
<p><img class="alignleft size-full wp-image-241" title="neb abdju hieroglyphs" src="http://susanllewellyn.wordpress.com/files/2009/08/neb-abdju-hieroglyphs.jpg" alt="neb abdju hieroglyphs" width="186" height="97" />   <img class="alignright size-full wp-image-242" title="nb abdju transliteration" src="http://susanllewellyn.wordpress.com/files/2009/08/nb-abdju-transliteration.jpg" alt="nb abdju transliteration" width="201" height="91" /></p>
<p> </p>
<p> </p>
<p><strong>neb Abdju</strong>, Lord of Abydos.</p>
<p>We&#8217;ve done <strong>neb</strong>, haven&#8217;t we?  We can get straight on to <strong>Abdju:</strong></p>
<p><img class="alignleft size-full wp-image-243" title="abju hieroglyphs" src="http://susanllewellyn.wordpress.com/files/2009/08/abju-hieroglyphs.jpg" alt="abju hieroglyphs" width="121" height="97" />   <img class="alignright size-medium wp-image-244" title="Abdju075" src="http://susanllewellyn.wordpress.com/files/2009/08/abdju075.jpg?w=300" alt="Abdju075" width="300" height="157" /></p>
<p> </p>
<p> </p>
<p>Just for a change, I thought we&#8217;d compare handwritten hieroglyphs and the more detailed painted hieroglyphs for the whole word side by side.  They&#8217;re facing in opposite directions, but that&#8217;s not going to bother experienced office scribes, is it?  And I know you&#8217;re going to take the spelling variation in your stride.  As for the slightly different arrangement of hieroglyphs for the sake of artistic balance &#8211; pah!  We laugh in its face.</p>
<p>OK, let&#8217;s do a bit of dissection. </p>
<p><img class="alignleft size-full wp-image-245" title="ab hieroglyph" src="http://susanllewellyn.wordpress.com/files/2009/08/ab-hieroglyph.jpg" alt="ab hieroglyph" width="21" height="94" />    <img title="ab transliteration" src="http://susanllewellyn.wordpress.com/files/2009/08/ab-transliteration1.jpg" alt="ab transliteration" width="54" height="91" /></p>
<p>The first sign is &#8211; well, no-one&#8217;s quite sure, but it could be a chisel. In which case, the blade is probably the wide, flat bit that looks like the handle.  It&#8217;s painted green in the inscription on the right, which would figure if it were copper or bronze .  (Almost the whole of the Pharaonic Period, took place in the Bronze Age in Egypt &#8211; something to contemplate while you&#8217;re waiting for that response from the IT helpdesk.)  The horizontal lines in the painted version may be cords lashing the blade to the handle.</p>
<p>So, when you&#8217;re drawing it, you need to draw a shape something like a short, wide vase or jar, then add a long thin shaft to the bottom.</p>
<p>The second sign (or the third sign in the painted version)</p>
<p><img class="alignleft size-full wp-image-251" title="b hieroglyph" src="http://susanllewellyn.wordpress.com/files/2009/08/b-hieroglyph1.jpg" alt="b hieroglyph" width="39" height="97" /></p>
<p><img class="aligncenter size-full wp-image-250" title="b transliteration" src="http://susanllewellyn.wordpress.com/files/2009/08/b-transliteration.jpg" alt="b transliteration" width="25" height="91" /></p>
<p>is a reinforcement of the <strong>b</strong> already present in <strong>Ab.</strong>  It&#8217;s a human foot, and in the second version painted the normal colour used for male skin in ancient Egypt &#8211; a dark, suntanned he-man red.  Ladies (and, in later periods, privileged men like scribes who worked indoors), were painted a pale yellow.</p>
<p>When you&#8217;re drawing your foot, give him a straight shin, an indication of the toes and heel and maybe a bit of instep &#8211; unlike the painted one, which seems to be flat-footed.  I know what that&#8217;s like and it&#8217;s cruel, so be kind to your hieroglyphs and don&#8217;t deform them (unless you&#8217;re writing them for someone ina  traditionally flat-footed profession, like the police).</p>
<p>Which brings us to the third sign (or second in the alternative version)</p>
<p><img class="alignleft size-full wp-image-255" title="dju hieroglyph" src="http://susanllewellyn.wordpress.com/files/2009/08/dju-hieroglyph1.jpg" alt="dju hieroglyph" width="60" height="36" /><img class="aligncenter size-full wp-image-258" title="dju transliteration" src="http://susanllewellyn.wordpress.com/files/2009/08/dju-transliteration1.jpg" alt="dju transliteration" width="69" height="91" /></p>
<p><strong>dju</strong>.  See how the artist in the painted inscription has given it a reddish, speckled, grainy appearance above a thick, dark baseline?  That is because the<strong>  dju </strong>hieroglyph is a depiction of the desert hills rising above the fertile plain of the Nile.  And the gap between the hills is where the sun would rise above or set below the horizon.  (The two pylons of a temple and the gap of the gateway also represent this idea.)</p>
<p>Finally, some familiar signs to complete the word;  the cute little quail chick reinforcing the <strong>u</strong> sound of <strong>dju </strong>in the painting; the city or village determinative, and the single stroke, as much to fill an otherwise empty space as for any other reason.</p>
<p><strong>Abdju</strong>, or Abydos, was the major cult centre of Osiris in Upper Egypt, or the Nile Valley.  It&#8217;s not as easy to get there as it used to be, for security reasons, and there are restrictions on how long you can stay (nowhere near long enough) but it&#8217;s the most wonderful place. </p>
<p>For one thing, it&#8217;s very ancient.  There are royal tombs out in the desert which date back to around the time of the unification of Egypt &#8211; the tombs of several &#8220;he of the sedges&#8221;.  In later times, the Egyptians believed that one of them was the tomb of Osiris himself, and it became a place of pilgrimage for people from all over the country.  There was a huge festival there every year, where mystery plays re-enacting the death and resurrection of Osiris and the battles of Horus and Seth were performed.  People came from far and wide to be part of them.</p>
<p>Kings built magnificent temples to Osiris there: the temple of Seti I is just about the only Pharaonic temple of any size with it roof intact.  This plus the fact that the Christians whitewashed over the walls  meant sthat the colours of  the reliefs are the best preserved of any Egyptian temple &#8211; and Seti I went for quality; just compare them with his son Ramesses II&#8217;s temple next door &#8211; even allowing for the fat that the roof is gone, there&#8217;s no comparison really.  Behind the Seti I temple is a highly intrguing underground temple called the Osireion, with an island in an underground lake, and&#8230;</p>
<p>Oh, I can&#8217;t wait to go back!. Go, go, go!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Tehran, 1998]]></title>
<link>http://walkingollie.wordpress.com/2009/07/20/tehran-1998/</link>
<pubDate>Mon, 20 Jul 2009 21:47:44 +0000</pubDate>
<dc:creator>Stephen Foster</dc:creator>
<guid>http://walkingollie.wordpress.com/2009/07/20/tehran-1998/</guid>
<description><![CDATA[]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img src="http://walkingollie.wordpress.com/files/2009/07/par136753.jpg" alt="PAR136753" title="PAR136753" width="500" height="365" class="aligncenter size-full wp-image-3298" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pylons: Session set for all subdomains]]></title>
<link>http://rapd.wordpress.com/2009/07/14/pylons-session-set-for-all-subdomains/</link>
<pubDate>Wed, 15 Jul 2009 05:55:27 +0000</pubDate>
<dc:creator>didip</dc:creator>
<guid>http://rapd.wordpress.com/2009/07/14/pylons-session-set-for-all-subdomains/</guid>
<description><![CDATA[In order to have Beaker&#8217;s session applied to all subdomains, set cookie_domain to: .yourdomain]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>In order to have Beaker&#8217;s session applied to all subdomains, set cookie_domain to: .yourdomain.com (notice the dot in front).</p>
<p>In pylons, the cookie domain is available as: beaker.session.cookie_domain.</p>
<p>Also, in Google Group, Cezary mentioned to set also set sub_domain in routing.py</p>
<p><strong>Note:</strong></p>
<ul>
<li>This howto won&#8217;t work in Firefox. As far as I know, only Safari allows me to do this.</li>
</ul>
<p><strong>Reference:</strong></p>
<ul>
<li><a href="http://groups.google.com/group/pylons-discuss/browse_thread/thread/db4054fa3cc3b8e7">http://groups.google.com/group/pylons-discuss/browse_thread/thread/db4054fa3cc3b8e7</a></li>
<li><a href="http://beaker.groovie.org/configuration.html?highlight=sub%20domain" target="_blank">http://beaker.groovie.org/configuration.html?highlight=sub%20domain</a></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The Pylons of Norwich]]></title>
<link>http://walkingollie.wordpress.com/2009/07/12/the-pylons-of-norwich/</link>
<pubDate>Sun, 12 Jul 2009 22:31:35 +0000</pubDate>
<dc:creator>Stephen Foster</dc:creator>
<guid>http://walkingollie.wordpress.com/2009/07/12/the-pylons-of-norwich/</guid>
<description><![CDATA[I&#8217;ve always loved their sculptural drama. In Stoke, when I was young, there were a pair in a f]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve always loved their sculptural drama. In Stoke, when I was young, there were a pair in a field that we used to climb to the point where a platform was framed with barbed wire that raked out at an angle. That stopped you getting to the top and electrocuting yourself, but it was high enough up that the fall could kill you.</p>
<p><img src="http://walkingollie.wordpress.com/files/2009/07/img_3282.jpg" alt="IMG_3282" title="IMG_3282" width="400" height="650" class="aligncenter size-full wp-image-3256" /></p>
<p>5. <em>Pylons</em></p>
<p><img src="http://walkingollie.wordpress.com/files/2009/07/img_3283.jpg" alt="IMG_3283" title="IMG_3283" width="500" height="360" class="aligncenter size-full wp-image-3257" /></p>
<p>6. <em>Pylons II</em></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Kelan ka huling nag-SLEX?]]></title>
<link>http://therealtyroncaliente.wordpress.com/2009/07/11/kelan-ka-huling-nag-slex/</link>
<pubDate>Sat, 11 Jul 2009 10:31:00 +0000</pubDate>
<dc:creator>tyroncaliente</dc:creator>
<guid>http://therealtyroncaliente.wordpress.com/2009/07/11/kelan-ka-huling-nag-slex/</guid>
<description><![CDATA[The South Luzon Expressway has undergone a major facelift. Additional lanes and fresh asphalt galore]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The South Luzon Expressway has undergone a major facelift. Additional lanes and fresh asphalt galore. These were taken on the way to and from work last year when the freeway was under reconstruction. Can&#8217;t take pictures anymore because it was great to drive uninterrupted, except for the portion where the Skyway works commence.</p>
<p style="text-align:center;"><a title="Ultrawide lens, bad traffic by incunabulus, on Flickr" href="http://www.flickr.com/photos/caesurium/3708863335/"><img class="aligncenter" src="http://farm3.static.flickr.com/2466/3708863335_1746086e7f_o.jpg" alt="Ultrawide lens, bad traffic" width="500" height="342" /></a></p>
<p style="text-align:center;"><a title="Wish I had a Volvo toy like that by incunabulus, on Flickr" href="http://www.flickr.com/photos/caesurium/3708863313/"><img class="aligncenter" src="http://farm3.static.flickr.com/2470/3708863313_ce4db2526f_o.jpg" alt="Wish I had a Volvo toy like that" width="500" height="338" /></a></p>
<p style="text-align:center;"><a title="Mount Makiling, at the Asia Brewery exit by incunabulus, on Flickr" href="http://www.flickr.com/photos/caesurium/3708863283/"><img class="aligncenter" src="http://farm3.static.flickr.com/2555/3708863283_549961d528_o.jpg" alt="Mount Makiling, at the Asia Brewery exit" width="500" height="338" /></a></p>
<p style="text-align:center;"><a title="Men at work by incunabulus, on Flickr" href="http://www.flickr.com/photos/caesurium/3708863255/"><img class="aligncenter" src="http://farm4.static.flickr.com/3488/3708863255_2aec00c1fe_o.jpg" alt="Men at work" width="500" height="338" /></a></p>
<p style="text-align:center;"><a title="Under construction by incunabulus, on Flickr" href="http://www.flickr.com/photos/caesurium/3709676676/"><img class="aligncenter" src="http://farm3.static.flickr.com/2534/3709676676_16b1be82f6_o.jpg" alt="Under construction" width="500" height="338" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pylons]]></title>
<link>http://metapep.wordpress.com/2009/07/07/pylons/</link>
<pubDate>Tue, 07 Jul 2009 15:54:34 +0000</pubDate>
<dc:creator>pepijndevos</dc:creator>
<guid>http://metapep.wordpress.com/2009/07/07/pylons/</guid>
<description><![CDATA[Today I finally got this tutorial working! I&#8217;m trying to learn Pylons, it&#8217;s a good syste]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Today I finally got <a href="http://wiki.pylonshq.com/display/pylonscookbook/Making+a+Pylons+Blog">this</a> tutorial working!</p>
<p>I&#8217;m trying to learn Pylons, it&#8217;s a good system, but the API is not very stable yet&#8230;</p>
<p>To get the thing to work I modified these things:<br />
Add this to helpers.py:</p>
<pre>from routes import url_for
from webhelpers.html.tags import *</pre>
<p>Session got a new home:</p>
<pre>from myblog.model import Session</pre>
<p>There seems to be a bug in SQLite, it failed to create the database, but after I created it manually it worked fine.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pylons: Testing Configuration]]></title>
<link>http://rapd.wordpress.com/2009/06/07/pylons-testing-configuration/</link>
<pubDate>Mon, 08 Jun 2009 06:40:26 +0000</pubDate>
<dc:creator>didip</dc:creator>
<guid>http://rapd.wordpress.com/2009/06/07/pylons-testing-configuration/</guid>
<description><![CDATA[It&#8217;s nice that Pylons include nosetest and TestUnit as part of its testing framework. Unfortun]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It&#8217;s nice that Pylons include nosetest and TestUnit as part of its testing framework.</p>
<p>Unfortunately, using those for unit testing inside Pylons is not trivial, not obvious, and inconvenient.</p>
<p>For examples:</p>
<ul>
<li>I can only run nosetests on top-level directory because config is expecting &#8216;test.ini&#8217; file. That&#8217;s inconvenient.</li>
<li>It is not obvious how build sqlalchemy&#8217;s engine inside tests/__init__.py. Ideally, I can build the engine based on test.ini configurations.</li>
</ul>
<p>To answer those questions, this is how my __init__.py looks like: <a href="http://gist.github.com/125670" target="_blank">[gist]</a></p>
<p>The __init__ file solves various problems:</p>
<ul>
<li>I can run nosetests anywhere inside project&#8217;s directory tree.</li>
<li>With simple convention, __init__ will look for test.ini file on top-level directory.</li>
<li>SqlAlchemy engine is built using configuration set in test.ini</li>
</ul>
<p>I hope this snippet can help readers in getting up to speed in Pylons even quicker.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Street Art- Construction Edition]]></title>
<link>http://swapbox.wordpress.com/2009/06/06/street-art-construction-edition/</link>
<pubDate>Sat, 06 Jun 2009 02:00:04 +0000</pubDate>
<dc:creator>swapbox</dc:creator>
<guid>http://swapbox.wordpress.com/2009/06/06/street-art-construction-edition/</guid>
<description><![CDATA[Check out more such images at No Promise of Safety, which features some of the work of ULiveandYouBu]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img src="http://media.divinecaroline.com.s3.amazonaws.com/ext/article_images2/loki/barrel0.jpg" alt="" /></p>
<p>Check out more such images at <a href="http://nopromiseofsafety.com/">No Promise of Safety</a>, which features some of the work of ULiveandYouBurn.</p>
<p>Given the construction endemic to downtown Bank Street I almost feel like pulling off something like this. If only I had a street team&#8230;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Yes! Syntax Highlighting for Mako in TextMate!]]></title>
<link>http://rapd.wordpress.com/2009/05/31/yes-syntax-highlighting-for-mako-in-textmate/</link>
<pubDate>Sun, 31 May 2009 16:29:22 +0000</pubDate>
<dc:creator>didip</dc:creator>
<guid>http://rapd.wordpress.com/2009/05/31/yes-syntax-highlighting-for-mako-in-textmate/</guid>
<description><![CDATA[For the longest time I kept staring at &#8216;plain text mode&#8217; while editing Mako templates. N]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>For the longest time I kept staring at &#8216;plain text mode&#8217; while editing Mako templates. No Mas!</p>
<p>TextMate bundle for Mako template has existed.</p>
<p><strong>To install:</strong></p>
<ul>
<li>
<pre>cd ~/Library/Application\ Support/TextMate/Bundles/</pre>
</li>
<li>
<pre>svn co http://svn.makotemplates.org/contrib/textmate/Mako.tmbundle</pre>
</li>
</ul>
<p>After Reloading your bundle, syntax highlighting is available under <span style="text-decoration:underline;">HTML (Mako)</span>.</p>
<p><strong>Reference:</strong></p>
<ul>
<li><a href="http://stackoverflow.com/questions/922771/syntax-highlight-for-mako-in-eclipse-or-textmate" target="_blank">http://stackoverflow.com/questions/922771/syntax-highlight-for-mako-in-eclipse-or-textmate</a></li>
</ul>
<pre>
<pre></pre>
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pylons Quickie: Mako Output]]></title>
<link>http://rapd.wordpress.com/2009/05/24/pylons-quickie-mako-output/</link>
<pubDate>Sun, 24 May 2009 18:16:03 +0000</pubDate>
<dc:creator>didip</dc:creator>
<guid>http://rapd.wordpress.com/2009/05/24/pylons-quickie-mako-output/</guid>
<description><![CDATA[By default Mako HTML escapes all output. To NOT have this behavior, change the setting of TemplateLo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>By default Mako HTML escapes all output.</p>
<p>To <strong>NOT</strong> have this behavior, change the setting of TemplateLookup in environment.py.</p>
<p><strong>Resources:</strong></p>
<ul>
<li><a href="http://www.makotemplates.org/docs/filtering.html" target="_blank">http://www.makotemplates.org/docs/filtering.html</a></li>
<li><a href="http://www.makotemplates.org/docs/unicode.html" target="_blank">http://www.makotemplates.org/docs/unicode.html</a></li>
<li><a href="http://groups.google.com/group/mako-discuss/browse_thread/thread/535f3223a5f06660" target="_blank">http://groups.google.com/group/mako-discuss/browse_thread/thread/535f3223a5f06660</a></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pylons: First Impressions]]></title>
<link>http://docgnome.wordpress.com/2009/05/21/pylons-first-impressions/</link>
<pubDate>Thu, 21 May 2009 17:58:31 +0000</pubDate>
<dc:creator>Dave</dc:creator>
<guid>http://docgnome.wordpress.com/2009/05/21/pylons-first-impressions/</guid>
<description><![CDATA[So I&#8217;ve been playing with Pylons a bit. If you don&#8217;t know, Pylons &#8220;is a lightweigh]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>So I&#8217;ve been playing with <a href="http://pylonshq.com/">Pylons</a> a bit. If you don&#8217;t know, Pylons &#8220;is a lightweight web framework emphasizing flexibility and rapid development.&#8221; It has a lot of the <a href="http://pylonshq.com/features">features</a> that are expected from a modern MVC style web framework.</p>
<p>So what is so cool about Pylons? Well first off, it&#8217;s modular. If you are a Rails user, you&#8217;ll probably know that Rails 3 is going to become <a href="http://weblog.rubyonrails.org/2008/12/23/merb-gets-merged-into-rails-3">modular</a> as well. This is very cool. It allows you to select the best project for a given task. In Pylons, this means you can use <a href="http://www.makotemplates.org/">Mako</a>, <a href="http://jinja.pocoo.org/">Jinja</a>,  or whatever else you want for a template engine. You can use <a href="http://www.sqlalchemy.org/">SQLAlchemy</a>, <a href="http://www.sqlobject.org/">SQLObject</a>, <a href="http://code.google.com/p/couchdb-python/">CouchDB</a>, or nothing for your <a href="http://en.wikipedia.org/wiki/Object-relational_mapping">ORM</a>. This is great and, in my humble opinion, the most logical way to work. Why bother reinventing the wheel, which you <strong>will</strong> end up making square, by the way, when you&#8217;ve already got a Ferrari? Granted, the Ferrari probably also has slightly square wheels but at least you didn&#8217;t have to make it. Pylons also suggests reasonable defaults (Mako and SQLAlchemy) if you&#8217;re overwhelmed by the options. </p>
<p>Pylons also has a feature that I haven&#8217;t really seen anywhere else, an Interactive Web Based Debugger. This means when your app blows up in development mode, you can instantly see the state of the objects in question, as well as examine the call stack at any point during program execution. Way cool!</p>
<p>I&#8217;ve not used Pylons for anything other than the toy apps in the tutorial examples, but I&#8217;m looking forward to learning more. I&#8217;m fully expecting run into crufty edges. Every framework has them. Pylons (and soon Rails 3) allows you to pick (hopefully) the least crufty thing for the job.  I&#8217;ll be posting my impressions as I learn more about Pylons.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pylons Quickie: I want to use distance_of_time_in_words]]></title>
<link>http://rapd.wordpress.com/2009/05/17/pylons-quickie-i-want-to-use-distance_of_time_in_words/</link>
<pubDate>Sun, 17 May 2009 21:53:04 +0000</pubDate>
<dc:creator>didip</dc:creator>
<guid>http://rapd.wordpress.com/2009/05/17/pylons-quickie-i-want-to-use-distance_of_time_in_words/</guid>
<description><![CDATA[distance_of_time_in_words is a useful function that converts boring looking datetime into something ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><em>distance_of_time_in_words</em> is a useful function that converts boring looking datetime into something more attractive (and SEO optimized) like: <em>30 seconds ago</em>.</p>
<p>Pylons gain this functionality via WebHelper which blatantly inspired by Rails.</p>
<p>But, out of the box, this functionality does not exists in my templates. To enable it, I need to add this line in helpers.py:</p>
<p><em>from webhelpers.date import distance_of_time_in_words</em></p>
<p><strong>Resource:</strong></p>
<p><a href="http://bel-epa.com/pylonsdocs/thirdparty/webhelpers.html" target="_blank">WebHelpers Documentation</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pylons Cheat Sheet]]></title>
<link>http://rapd.wordpress.com/2009/05/13/pylons-cheat-sheet/</link>
<pubDate>Thu, 14 May 2009 04:43:27 +0000</pubDate>
<dc:creator>didip</dc:creator>
<guid>http://rapd.wordpress.com/2009/05/13/pylons-cheat-sheet/</guid>
<description><![CDATA[http://workaround.org/pylons/pylons-cheatsheet.html]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://workaround.org/pylons/pylons-cheatsheet.html" target="_blank">http://workaround.org/pylons/pylons-cheatsheet.html</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Being Korean]]></title>
<link>http://pissedoffkorean.wordpress.com/2009/05/05/being-korean/</link>
<pubDate>Wed, 06 May 2009 04:42:54 +0000</pubDate>
<dc:creator>pissedoffkorean</dc:creator>
<guid>http://pissedoffkorean.wordpress.com/2009/05/05/being-korean/</guid>
<description><![CDATA[Hey, sorry there was no post yesterday I&#8217;m a Korean. I love Korea. I love Korean food. I love ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hey, sorry there was no post yesterday</p>
<p>I&#8217;m a Korean. I love Korea. I love Korean food. I love Korean girls. I love Korea in general. Being Korean is great, it&#8217;s a little like, what do you call it, oh yeah,</p>
<div class="wp-caption aligncenter" style="width: 422px"><img title="Starcraft" src="http://www.geocities.com/scwarzone/Starcraft_logo.jpg" alt="A coincedence? I think not." width="412" height="85" /><p class="wp-caption-text">A coincedence? I think not.</p></div>
<p>Oh yeah, I also love Starcraft. All Koreans love Starcraft. It&#8217;s the national sport there. What do you do if you live in Korea and also hate Starcraft? Simple, don&#8217;t live in Korea.</p>
<div class="wp-caption alignright" style="width: 210px"><img title="Korean Man" src="http://vistasucks.files.wordpress.com/2007/05/angry_chinese.jpg?w=200&#038;h=200" alt="BUILD MORE PYLONS, SON" width="200" height="200" /><p class="wp-caption-text">BUILD MORE PYLONS, SON</p></div>
<p>Hm. So, Korean parents, like all other Asian parents, care so very much about grades. So much, actually, that they seem like pylons, which are basically the foundation of a Starcraft society. To construct anything, you must first consruct those mother fucking pylons.</p>
<div class="wp-caption alignleft" style="width: 160px"><img title="Pylon" src="http://images4.wikia.nocookie.net/starcraft/images/thumb/4/4b/Pylon_SC2_Rend1.jpg/150px-Pylon_SC2_Rend1.jpg" alt="A+ MOTHA FUCKER" width="150" height="209" /><p class="wp-caption-text">A+ MOTHA FUCKER</p></div>
<p>&#8220;Ohh&#8230; So you want to &#8216;chill&#8217; with your &#8216;homies&#8217;, eh? WELL CONSTRUCT PYLONS FIRST, DAMMIT!!&#8221;</p>
<p>I&#8217;m pretty sure my mom said that to be once, actually, except instead of &#8220;construct pylons&#8221; she said &#8220;get your grades up&#8221;. See what I mean?</p>
<p>Also, Korean parents seem to lean towards girls a bit more, I don&#8217;t know how that&#8217;s like Starcraft, unless a girl is represented by an Ultralisk. Backed by the power of two angry Korean parents, you don&#8217;t want to mess with one of those.</p>
<p>Being Korean is about as fun as playing Starcraft. Since there aren&#8217;t that many Koreans, hanging out with someone who burns with Korean pride makes people feel unique. I bet there are less than 10 Koreans at my school. Half of them are probably boys. So if girls are looking to be original, I&#8217;ve got a 1 to 4 chance they&#8217;ll ask me out first, sweet.</p>
<div class="wp-caption alignright" style="width: 409px"><a href="http://starcraft.incgamers.com/gallery/data/504/medium/Ultralisk_by_Mr_Jack.jpg"><img src="http://starcraft.incgamers.com/gallery/data/504/medium/Ultralisk_by_Mr_Jack.jpg" alt="A Korean girl - dont worry, they get better with age" width="399" height="233" /></a><p class="wp-caption-text">A Korean girl - don&#39;t worry, they get better with age</p></div>
<p>Yup, that&#8217;s right, I want to be asked out by a girl. You see, Korean guys are shy as fuck. They can&#8217;t ask a girl out with turning so red, they stop looking Korean and start the Native American flow. That&#8217;s the number one reason all the girls we like go off and get hitched with white guys and we get stuck behind sucking dicks in the McDonald&#8217;s bathroom, hoping a girl will accidentally walk into the stall and you&#8217;ll fall in love. Which of course, never happens because even though girls <em>love</em> McDonald&#8217;s bathrooms, they&#8217;ll somehow get the idea you&#8217;re gay because you&#8217;re <strong>sucking men&#8217;s dicks there</strong>.</p>
<p>This is weird to me since even though I do the most retarded things, I can&#8217;t talk one-on-one well with any girl except my mom. My mom is not a love interest. Neither is my little sister or any of my older sisters. I can have one-on-one talks with them, but no, when Korean people are  born (anywhere), Kim Jong Fucking Il comes can takes there ability to talk with girls away, you know why? Because he didn&#8217;t become a movie director, that&#8217;s why. Similar to why Hitler became what he became, he got rejected from art school. Art school, man, chill out, there&#8217;s no reason to kill like 10 million people.</p>
<div class="wp-caption alignright" style="width: 260px"><img src="http://upload.wikimedia.org/wikipedia/en/thumb/b/b7/Hawk_missiles.jpg/250px-Hawk_missiles.jpg" alt="Missiles Versus Aliens, Rated G, by Pixar and Kim Jong Il" width="250" height="243" /><p class="wp-caption-text">Missiles Versus Aliens, Rated G, by Pixar and Kim Jong Il</p></div>
<p>Just give Kim Jong Il a movie deal! Maybe he&#8217;ll stop playing with nuclear bombs and being a dictator and shit. Come to think about it, a movie by him would be great. It would be called &#8220;Missile+House&#8221; and that&#8217;s all it would be for 90 minutes. Film of the <em>fucking </em>year.</p>
<p>Oh wow, look  what happened to the Ultralisk! See? It was just a phase.</p>
<div class="wp-caption alignleft" style="width: 186px"><img src="http://lh4.ggpht.com/_gmlPtyqraxo/SZ-4IigmtiI/AAAAAAAAAWk/Maw9bL9MVZU/zrtn_007n5cf2a75f_tn.jpg" alt="Ask me out. Oh yah, you cant, bitch" width="176" height="265" /><p class="wp-caption-text">Ask me out. Oh yah, you can&#39;t, bitch</p></div>
<p>Hmm.. To finish this post up, lets talk about the name &#8220;Chae&#8221;, the name given to me by my parents.</p>
<p>Well, it&#8217;s a girl&#8217;s name.</p>
<p>I think that explains itself.</p>
<p>-Dong Saeng out</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[pylons]]></title>
<link>http://ssscripting.wordpress.com/2009/04/30/pylons/</link>
<pubDate>Thu, 30 Apr 2009 21:50:37 +0000</pubDate>
<dc:creator>geo</dc:creator>
<guid>http://ssscripting.wordpress.com/2009/04/30/pylons/</guid>
<description><![CDATA[I started to read some pylons tutorials. I didn&#8217;t expect to understand so much! If you know so]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><font size="3"><br />
I started to read some pylons tutorials. I didn&#8217;t expect to understand so much!<br />
If you know some python, visit the <a href="http://pylonshq.com/"><font color="purple">pylons site</font></a> to learn about this framework. </p>
<p>I think you&#8217;ll like it !<br />
</font></p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
