<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments for Ian Bicking: a blog</title>
	<atom:link href="http://blog.ianbicking.org/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ianbicking.org</link>
	<description></description>
	<pubDate>Sun, 05 Jul 2009 04:00:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on lxml: an underappreciated web scraping library by mauro.degiorgi@gmail</title>
		<link>http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/comment-page-1/#comment-115072</link>
		<dc:creator>mauro.degiorgi@gmail</dc:creator>
		<pubDate>Fri, 03 Jul 2009 17:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/#comment-115072</guid>
		<description>You must insert the trailing slash:

doc = parse(’http://java.sun.com/’).getroot()

work :) dont ask me why...</description>
		<content:encoded><![CDATA[<p>You must insert the trailing slash:</p>

<p>doc = parse(’http://java.sun.com/’).getroot()</p>

<p>work :) dont ask me why&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cultural Imperialism, Technology, and OLPC by jose</title>
		<link>http://blog.ianbicking.org/2009/01/14/cultural-imperialism-technology-and-olpc/comment-page-1/#comment-113697</link>
		<dc:creator>jose</dc:creator>
		<pubDate>Fri, 26 Jun 2009 10:41:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/?p=89#comment-113697</guid>
		<description>Yeah, it's a pity cultures die:

I remember talking with Miguel de La Cuadra and other explorers about things like that. You know there were people that killed each other in Africa, and that was ok, because it was your enemy. 

It was ok to fuck with whatever woman you wanted when you went back from hunting(you could fuck 16,17 years old girls before they marry and got "women", if you fuck a not yours "women" you got killed or pay)  Now the christian culture tells us that killing is bad, fucking is bad, and now they don't kill. If you ask the elders(one on them had killed 45 men) those were the days.

Those days you could eat your enemies without other people telling you thats bad.Those days when shaman voice was heard, and feared, and not like today that he is only a tourist attraction.

In a lot places in Africa and America people were afraid(really really afraid) of devils, Voodoo an do, someone could kill you if for example urinated on a sacred tree or excavate a hole on sacred terrain without noticing(I know an european engineer that disappeared after doing that).

In America there was a time you could take your enemies-prisoners heart out of their chest in live. It must be an interesting spectacle. You could rape your enemies wifes(and men, it was high status to rape men, low to be raped) as well once you slaved them.

That someone decides that for example removing your clitoris or the tip of the pennis(there are cultures that remove the sensible tip, not just the foreskin) is stupid and cultural imperialism.

We should preserve cultures, we should not tell anybody that options exist. We are richer when people ignore those options and not change.

A pity the world is unifying. We should make walls and forbid communication between them.</description>
		<content:encoded><![CDATA[<p>Yeah, it&#8217;s a pity cultures die:</p>

<p>I remember talking with Miguel de La Cuadra and other explorers about things like that. You know there were people that killed each other in Africa, and that was ok, because it was your enemy. </p>

<p>It was ok to fuck with whatever woman you wanted when you went back from hunting(you could fuck 16,17 years old girls before they marry and got &#8220;women&#8221;, if you fuck a not yours &#8220;women&#8221; you got killed or pay)  Now the christian culture tells us that killing is bad, fucking is bad, and now they don&#8217;t kill. If you ask the elders(one on them had killed 45 men) those were the days.</p>

<p>Those days you could eat your enemies without other people telling you thats bad.Those days when shaman voice was heard, and feared, and not like today that he is only a tourist attraction.</p>

<p>In a lot places in Africa and America people were afraid(really really afraid) of devils, Voodoo an do, someone could kill you if for example urinated on a sacred tree or excavate a hole on sacred terrain without noticing(I know an european engineer that disappeared after doing that).</p>

<p>In America there was a time you could take your enemies-prisoners heart out of their chest in live. It must be an interesting spectacle. You could rape your enemies wifes(and men, it was high status to rape men, low to be raped) as well once you slaved them.</p>

<p>That someone decides that for example removing your clitoris or the tip of the pennis(there are cultures that remove the sensible tip, not just the foreskin) is stupid and cultural imperialism.</p>

<p>We should preserve cultures, we should not tell anybody that options exist. We are richer when people ignore those options and not change.</p>

<p>A pity the world is unifying. We should make walls and forbid communication between them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Treating configuration values as templates by louis vuitton</title>
		<link>http://blog.ianbicking.org/2009/04/20/treating-configuration-values-as-templates/comment-page-1/#comment-113689</link>
		<dc:creator>louis vuitton</dc:creator>
		<pubDate>Fri, 26 Jun 2009 08:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/?p=116#comment-113689</guid>
		<description>But I wrong when I use this code,and the wrong is if attr.startswith('_'),not " '",
When I read for detail but I think i see it wrong.This is a nice post
thanks share</description>
		<content:encoded><![CDATA[<p>But I wrong when I use this code,and the wrong is if attr.startswith(&#8217;_'),not &#8221; &#8216;&#8221;,
When I read for detail but I think i see it wrong.This is a nice post
thanks share</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on lxml: an underappreciated web scraping library by Ian Bicking</title>
		<link>http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/comment-page-1/#comment-113673</link>
		<dc:creator>Ian Bicking</dc:creator>
		<pubDate>Fri, 26 Jun 2009 00:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/#comment-113673</guid>
		<description>No, not at all -- I just tried it and it worked fine.</description>
		<content:encoded><![CDATA[<p>No, not at all &#8212; I just tried it and it worked fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on lxml: an underappreciated web scraping library by JohnMc</title>
		<link>http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/comment-page-1/#comment-113672</link>
		<dc:creator>JohnMc</dc:creator>
		<pubDate>Thu, 25 Jun 2009 23:26:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/#comment-113672</guid>
		<description>Ian,

first, thanks lxml is a hoot. I'll grant that getting lxml install is a bit of a pain but not that bad. Using the STATIC_DEPS suggestion was a big help as well.

However I have noticed something working through your web scraping examples.

Working through this --

from lxml.html import parse
doc = parse('http://java.sun.com').getroot()
for link in doc.cssselect('div.pad a'):
    print '%s: %s' % (link.text_content(), link.get('href'))

I receive a failure on the parse().getroot() statement. However if I do the following -- 

import urllib
from lxml.html import *
content = urllib.urlopen('http://java.sun.com').read()
doc = fromstring(content)
for link in doc.cssselect('div.pad a'):
    print '%s: %s' % (link.text_content(), link.get('href'))

it works.
Have you seen this behavior before?</description>
		<content:encoded><![CDATA[<p>Ian,</p>

<p>first, thanks lxml is a hoot. I&#8217;ll grant that getting lxml install is a bit of a pain but not that bad. Using the STATIC_DEPS suggestion was a big help as well.</p>

<p>However I have noticed something working through your web scraping examples.</p>

<p>Working through this &#8211;</p>

<p>from lxml.html import parse
doc = parse(&#8217;http://java.sun.com&#8217;).getroot()
for link in doc.cssselect(&#8217;div.pad a&#8217;):
    print &#8216;%s: %s&#8217; % (link.text_content(), link.get(&#8217;href&#8217;))</p>

<p>I receive a failure on the parse().getroot() statement. However if I do the following &#8212; </p>

<p>import urllib
from lxml.html import *
content = urllib.urlopen(&#8217;http://java.sun.com&#8217;).read()
doc = fromstring(content)
for link in doc.cssselect(&#8217;div.pad a&#8217;):
    print &#8216;%s: %s&#8217; % (link.text_content(), link.get(&#8217;href&#8217;))</p>

<p>it works.
Have you seen this behavior before?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python HTML Parser Performance by Wayne Sadler</title>
		<link>http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/comment-page-1/#comment-112648</link>
		<dc:creator>Wayne Sadler</dc:creator>
		<pubDate>Wed, 17 Jun 2009 10:11:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/#comment-112648</guid>
		<description>Hi Ian Bicking

I like your posting on the lxml timing, however I have been working on some parsing with another programmer, however we are having some timing issues. Average 3 sec.

May I ask if you are a god on these type of scripts since I am aiming for a lower speed in which to process the data, if you are availible to assit can you please email me.

Correction for the above post, Ian Bicking did not post at June 17, 2009 at 3:57 am for some reason the field auto filled and I did not notice it..

Many thanks Wayne</description>
		<content:encoded><![CDATA[<p>Hi Ian Bicking</p>

<p>I like your posting on the lxml timing, however I have been working on some parsing with another programmer, however we are having some timing issues. Average 3 sec.</p>

<p>May I ask if you are a god on these type of scripts since I am aiming for a lower speed in which to process the data, if you are availible to assit can you please email me.</p>

<p>Correction for the above post, Ian Bicking did not post at June 17, 2009 at 3:57 am for some reason the field auto filled and I did not notice it..</p>

<p>Many thanks Wayne</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python HTML Parser Performance by Ian Bicking</title>
		<link>http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/comment-page-1/#comment-112647</link>
		<dc:creator>Ian Bicking</dc:creator>
		<pubDate>Wed, 17 Jun 2009 09:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/#comment-112647</guid>
		<description>Hi Ian Bicking

I like your posting on the lxml timing, however I have been working on some parsing with another programmer, however we are having some timing issues. Average 3 sec.

May I ask if you are a god on these type of scripts since I am aiming for a lower speed in which to process the data, if you are availible to assit can you please email me.

Many thanks Wayne</description>
		<content:encoded><![CDATA[<p>Hi Ian Bicking</p>

<p>I like your posting on the lxml timing, however I have been working on some parsing with another programmer, however we are having some timing issues. Average 3 sec.</p>

<p>May I ask if you are a god on these type of scripts since I am aiming for a lower speed in which to process the data, if you are availible to assit can you please email me.</p>

<p>Many thanks Wayne</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pronouncing &#8220;Django&#8221; by i.like.pie</title>
		<link>http://blog.ianbicking.org/2007/08/02/pronouncing-django/comment-page-1/#comment-112559</link>
		<dc:creator>i.like.pie</dc:creator>
		<pubDate>Tue, 16 Jun 2009 20:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/08/02/pronouncing-django/#comment-112559</guid>
		<description>thx everyone, i was looking it up cuz i am fasanated by this guy, django james, dave stewarts son, and i wanted to know how to pronounce it. thx!</description>
		<content:encoded><![CDATA[<p>thx everyone, i was looking it up cuz i am fasanated by this guy, django james, dave stewarts son, and i wanted to know how to pronounce it. thx!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WebOb decorator by louis vuitton</title>
		<link>http://blog.ianbicking.org/2009/05/22/webob-decorator/comment-page-1/#comment-112487</link>
		<dc:creator>louis vuitton</dc:creator>
		<pubDate>Tue, 16 Jun 2009 08:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/?p=122#comment-112487</guid>
		<description>i think is right,instead it adds an attribute .wsgi_app which is WSGI application associated with the function,Are there more cases to justify extra parameter passing to wrapped methods? For this one having a separate method looks like the correct solution.</description>
		<content:encoded><![CDATA[<p>i think is right,instead it adds an attribute .wsgi_app which is WSGI application associated with the function,Are there more cases to justify extra parameter passing to wrapped methods? For this one having a separate method looks like the correct solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pronouncing &#8220;Django&#8221; by Geoff Ford</title>
		<link>http://blog.ianbicking.org/2007/08/02/pronouncing-django/comment-page-1/#comment-111634</link>
		<dc:creator>Geoff Ford</dc:creator>
		<pubDate>Fri, 12 Jun 2009 03:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/08/02/pronouncing-django/#comment-111634</guid>
		<description>I always thought it was "caysh"</description>
		<content:encoded><![CDATA[<p>I always thought it was &#8220;caysh&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
