2008年11月14日星期五

Re: [PerlChina] perl shell in activeperl

Thanks. It works. I added user environment variable "PERL_RL" with value "o=0" to my computer. Both dbish and CPAN shell look clean now.

From: Adriano Ferreira <aferreira@shopzilla.com>
To: china-pm@pm.org
Sent: Thursday, November 13, 2008 11:38:40 PM
Subject: Re: [PerlChina] perl shell in activeperl

2008/11/13 tiger peng <tigerpeng2001@yahoo.com>:
> Hello,
>
> I am new to activeperl. Today, I installed DBI::Shell and played with dbish
> and ran into problem: the echoed input seems being wrapped by escaping
> characters. For example, when I entered "dev" the screen show
> "←[1md←[0m←[1me←[0m←[1mv←[0m". Could anyone tell me how to get a clean
> screen?

I think that's because the Perl terminal is trying to use ornaments
(you're seen ANSI escapes which are used to change the color and
brightness of the text and to control the terminal). But cmd.exe does
not provide an ANSI terminal.

As DBI::Shell uses Term::ReadLine, I think you can disable that by
defining an environment variable PERL_RL with the value

> set PERL_RL= o=0

as explained here:

http://search.cpan.org/perldoc?Term::ReadLine#ENVIRONMENT

Maybe there is a more reasonable way to do it by adding some lines to
the configuration file of DBI::Shell, but that should at least work.

Regards,
Adriano

> Thanks,
>
> Tiger,
>
> _______________________________________________
> China-pm mailing list
> China-pm@pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

Re: [PerlChina] mailing list 和 perlchina 网站

用 google group 的好处是,不用 email 也能参与讨论,此外,google group 的速度和功能都还可以,各方面比较稳定
但是如果真要转,还是事先在现在这个列表里征求一下大家的意见好了。
其实要是转到 google group 的话,手续也不麻烦,点个链接就好了嘛 :-)

2008/11/14 Don Qin <icefishc@gmail.com>
也许 用google group能让更多的人加入进来。 
可以咨询一下Python的group, 看看他们移到group上之后有什么好处。

_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

Re: [PerlChina] mailing list 和 perlchina 网站

也许 用google group能让更多的人加入进来。 
可以咨询一下Python的group, 看看他们移到group上之后有什么好处。

Re: [PerlChina] mailing list 和 perlchina 网站

Baresi wrote:
> 我投弃权,搬不搬目前我觉得无所谓。
>
> 2008/11/14 huawei <huawei.sdu@gmail.com>:
>
>> 要不来个民主投票表决吧?
>> 同意搬迁or不同一搬迁
>>
>
>
>
>


OK leave it alone. we stay here, not go anywhere.

Thanks.

--
Fayland Lam // http://www.fayland.org/
Foorum based on Catalyst // http://www.foorumbbs.com/

_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

2008年11月13日星期四

Re: [PerlChina] mailing list 和 perlchina 网站

我投弃权,搬不搬目前我觉得无所谓。

2008/11/14 huawei <huawei.sdu@gmail.com>:
> 要不来个民主投票表决吧?
> 同意搬迁or不同一搬迁

--
凡事包容,凡事相信,凡事盼望,凡事忍耐。
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

Re: [PerlChina] mailing list 和 perlchina 网站

无法查看这则摘要。请 点击此处查看博文。

Re: [PerlChina] mailing list 和 perlchina 网站

无法查看这则摘要。请 点击此处查看博文。

Re: [PerlChina] mailing list 和 perlchina 网站

要不来个民主投票表决吧?
同意搬迁or不同一搬迁
Yuan Jiang 写道:
>
> 目前看googlegroup这个单词的好处就是让这个list突然活跃了一些。
>
> 2008/11/14 Mike. G <hylinux@gmail.com <mailto:hylinux@gmail.com>>
>
> 个人觉得没必要折腾。
> 折腾越多。越麻烦。
>
> 又要学习新的交流方式。多烦人?
>
> 更何况移到google group有什么好处?
> 最好列列。
>
>
>
> 2008/11/14 Qiang (James) <shijialee@gmail.com
> <mailto:shijialee@gmail.com>>
>
> Fayland Lam wrote:
>
> well, I get 10 mails today. bunch of those some days ago.
> things like
>
> xxx@xxx.com <mailto:xxx@xxx.com> has been removed from
> China-pm.
>
>
> but I don't know what can I do towards this. so I suggest
> those who can't reach china-pm@pm.org
> <mailto:china-pm@pm.org>, use china-pm@googlegroups.com
> <mailto:china-pm@googlegroups.com> instead.
>
>
> 那些 email 是现在这个邮件组发不过去的地址,因为那些 email 已经
> 不存在了 (email已经被系统从邮件列表里删除了)
>
> perlchina google group 的邮件组应该是我申请的,不过我要找到密
> 码先 :)
>
> 关于移植到 google group 的问题,我想还是大家把现在这个邮件组的
> 问题说一下,为什么要搬家,搬家后有什么好处,有什么坏处。比较过
> 后再定夺。
>
> 现在的 planet.perlchina.org <http://planet.perlchina.org> 已经
> 在公开测试中(fayland: nomas blog 地址写 错了,另外你能否把外表
> 稍排一下版么?放上 perlchina 的 logo)
>
> 另外,我感觉 perlchina 的网址缺少一些用户间互动的东西(至少应
> 该把新帖 子,新的 planet perlchina 的 blog 在主页显示,新 wiki
> 文章),论坛里分版 太多,交流的人不多。但我又感觉有一个不错的
> 邮件列表供大家交流就够了。
>
> 大家有什么比较实际的想法和意见么?
>
> Qiang(James)
> _______________________________________________
> China-pm mailing list
> China-pm@pm.org <mailto:China-pm@pm.org>
> http://mail.pm.org/mailman/listinfo/china-pm
>
>
>
> _______________________________________________
> China-pm mailing list
> China-pm@pm.org <mailto:China-pm@pm.org>
> http://mail.pm.org/mailman/listinfo/china-pm
>
>
>
>
> --
> 姜源
> Yuan Jiang
> http://blog.vetcafe.net
> ------------------------------------------------------------------------
>
> _______________________________________________
> China-pm mailing list
> China-pm@pm.org
> http://mail.pm.org/mailman/listinfo/china-pm

_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

Re: [PerlChina] mailing list 和 perlchina 网站

无法查看这则摘要。请 点击此处查看博文。

Re: [PerlChina] mailing list 和 perlchina 网站

无法查看这则摘要。请 点击此处查看博文。

Re: [PerlChina] perl shell in activeperl

2008/11/13 tiger peng <tigerpeng2001@yahoo.com>:
> Hello,
>
> I am new to activeperl. Today, I installed DBI::Shell and played with dbish
> and ran into problem: the echoed input seems being wrapped by escaping
> characters. For example, when I entered "dev" the screen show
> "←[1md←[0m←[1me←[0m←[1mv←[0m". Could anyone tell me how to get a clean
> screen?

I think that's because the Perl terminal is trying to use ornaments
(you're seen ANSI escapes which are used to change the color and
brightness of the text and to control the terminal). But cmd.exe does
not provide an ANSI terminal.

As DBI::Shell uses Term::ReadLine, I think you can disable that by
defining an environment variable PERL_RL with the value

> set PERL_RL= o=0

as explained here:

http://search.cpan.org/perldoc?Term::ReadLine#ENVIRONMENT

Maybe there is a more reasonable way to do it by adding some lines to
the configuration file of DBI::Shell, but that should at least work.

Regards,
Adriano

> Thanks,
>
> Tiger,
>
> _______________________________________________
> China-pm mailing list
> China-pm@pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

Re: [PerlChina] mailing list 和 perlchina 网站

-------- Original-Nachricht --------
> Datum: Fri, 14 Nov 2008 12:30:58 +0800
> Von: Fayland Lam <fayland@gmail.com>
> An: china-pm@pm.org
> Betreff: Re: [PerlChina] mailing list 和 perlchina 网站

> pm.org does have a strict rule on SPAM and it's not so good sometimes.

Agree. its antispam strategy is too strict to reach even for a clear HAM message.

>
> while google group is very popular and easy to use (even web interface
> is not accessible sometimes).
>

Can we use non-gmail to subscribe to a google-group?
--
Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

Re: [PerlChina] mailing list 和 perlchina 网站

Qiang (James) wrote:
> Fayland Lam wrote:
>> well, I get 10 mails today. bunch of those some days ago. things like
>>
>> xxx@xxx.com has been removed from China-pm.
>>
>>
>> but I don't know what can I do towards this. so I suggest those who
>> can't reach china-pm@pm.org, use china-pm@googlegroups.com instead.
>>
>
> 那些 email 是现在这个邮件组发不过去的地址,因为那些 email 已经不存在了
> (email已经被系统从邮件列表里删除了)
>
> perlchina google group 的邮件组应该是我申请的,不过我要找到密码先 :)
>
> 关于移植到 google group 的问题,我想还是大家把现在这个邮件组的问题说一
> 下,为什么要搬家,搬家后有什么好处,有什么坏处。比较过后再定夺。

Beckheng Lam noticed me that he can't use his gmail and sina mail to
reach china-pm@pm.org
the china-pm treats his emails as SPAM.
pm.org does have a strict rule on SPAM and it's not so good sometimes.

while google group is very popular and easy to use (even web interface
is not accessible sometimes).

Thanks.

>
> 现在的 planet.perlchina.org 已经在公开测试中(fayland: nomas blog 地址
> 写错了,另外你能否把外表稍排一下版么?放上 perlchina 的 logo)
>
> 另外,我感觉 perlchina 的网址缺少一些用户间互动的东西(至少应该把新帖
> 子,新的 planet perlchina 的 blog 在主页显示,新 wiki 文章),论坛里分
> 版 太多,交流的人不多。但我又感觉有一个不错的邮件列表供大家交流就够了。
>
> 大家有什么比较实际的想法和意见么?
>
> Qiang(James)
> _______________________________________________
> China-pm mailing list
> China-pm@pm.org
> http://mail.pm.org/mailman/listinfo/china-pm


--
Fayland Lam // http://www.fayland.org/
Foorum based on Catalyst // http://www.foorumbbs.com/

_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

[PerlChina] mailing list 和 perlchina 网站

无法查看这则摘要。请 点击此处查看博文。

Re: [PerlChina] should we change our mailing list?

无法查看这则摘要。请 点击此处查看博文。

Re: [PerlChina] should we change our mailing list?

无法查看这则摘要。请 点击此处查看博文。

Re: [PerlChina] should we change our mailing list?

无法查看这则摘要。请 点击此处查看博文。

[PerlChina] perl shell in activeperl

Hello,

I am new to activeperl. Today, I installed DBI::Shell and played with dbish and ran into problem: the echoed input seems being wrapped by escaping characters. For example, when I entered "dev" the screen show "←[1md←[0m←[1me←[0m←[1mv←[0m". Could anyone tell me how to get a clean screen?

Thanks,

Tiger,

Re: [PerlChina] should we change our mailing list?

Fayland Lam 写道:
> It seems like many people can't reach this mailing list. so I'm
> thinking we can go Google Group instead.
>
> there is already http://groups.google.com/group/perlchina before we
> start this group, but I don't know who owns it.
> http://groups.google.com/group/china-pm is another choice.
>
> what do u guys think.
>
> Thanks.
>
两个都挺好
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

[PerlChina] 回复: should we change our mailing list?

This is a advertisement!! ^_^


发件人: Fayland Lam <fayland@gmail.com>
收件人: china-pm@pm.org
已发送: 2008/11/13(周四), 上午6:58:23
主题: [PerlChina] should we change our mailing list?

It seems like many people can't reach this mailing list. so I'm thinking we can go Google Group instead.

there is already http://groups.google.com/group/perlchina before we start this group, but I don't know who owns it.
http://groups.google.com/group/china-pm is another choice.

what do u guys think.

Thanks.

-- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm


雅虎邮箱,您的终生邮箱!

Re: [PerlChina] should we change our mailing list?

I am OK


Fayland Lam wrote:
> 夏清然 Xia Qingran wrote:
>
>> On Thu, Nov 13, 2008 at 2:08 PM, agentzh <agentzh@gmail.com
>> <mailto:agentzh@gmail.com>> wrote:
>>
>> On Thu, Nov 13, 2008 at 1:58 PM, Fayland Lam <fayland@gmail.com
>> <mailto:fayland@gmail.com>> wrote:
>> >
>> > It seems like many people can't reach this mailing list. so I'm
>> thinking we can go Google Group instead.
>> >
>>
>> Personally I am fine with such migrations :)
>>
>> -agentzh
>>
>>
>> I think if we have enough technical background, we should build our
>> mailing list by ourselves.
>>
>> Whether Google's service is stable is a problem especially in China.
>>
>>
>
> basically google groups web has issues.
> but the email system is grat (even there is some delay)
>
> well, it's not very hard to setup a python based mailman. but for Perl,
> there isn't too much choice.
> build from the beginning is a good choice but it requires a lot of work.
>
>
> Thanks.
>
>
>> --
>> 夏清然
>> Xia Qingran
>> qingran.xia@gmail.com <mailto:qingran.xia@gmail.com>
>> Rita Rudner - "My mother buried three husbands - and two of them were
>> only napping."
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> China-pm mailing list
>> China-pm@pm.org
>> http://mail.pm.org/mailman/listinfo/china-pm
>>
>
>
>

_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

2008年11月12日星期三

Re: [PerlChina] should we change our mailing list?

夏清然 Xia Qingran wrote:
> On Thu, Nov 13, 2008 at 2:08 PM, agentzh <agentzh@gmail.com
> <mailto:agentzh@gmail.com>> wrote:
>
> On Thu, Nov 13, 2008 at 1:58 PM, Fayland Lam <fayland@gmail.com
> <mailto:fayland@gmail.com>> wrote:
> >
> > It seems like many people can't reach this mailing list. so I'm
> thinking we can go Google Group instead.
> >
>
> Personally I am fine with such migrations :)
>
> -agentzh
>
>
> I think if we have enough technical background, we should build our
> mailing list by ourselves.
>
> Whether Google's service is stable is a problem especially in China.
>

basically google groups web has issues.
but the email system is grat (even there is some delay)

well, it's not very hard to setup a python based mailman. but for Perl,
there isn't too much choice.
build from the beginning is a good choice but it requires a lot of work.


Thanks.

>
> --
> 夏清然
> Xia Qingran
> qingran.xia@gmail.com <mailto:qingran.xia@gmail.com>
> Rita Rudner - "My mother buried three husbands - and two of them were
> only napping."
> ------------------------------------------------------------------------
>
> _______________________________________________
> China-pm mailing list
> China-pm@pm.org
> http://mail.pm.org/mailman/listinfo/china-pm


--
Fayland Lam // http://www.fayland.org/
Foorum based on Catalyst // http://www.foorumbbs.com/

_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

Re: [PerlChina] should we change our mailing list?

On Thu, Nov 13, 2008 at 2:08 PM, agentzh <agentzh@gmail.com> wrote:
On Thu, Nov 13, 2008 at 1:58 PM, Fayland Lam <fayland@gmail.com> wrote:
>
> It seems like many people can't reach this mailing list. so I'm thinking we can go Google Group instead.
>

Personally I am fine with such migrations :)

-agentzh

 
I think if we have enough technical background, we should build our mailing list by ourselves.

Whether Google's service is stable is a problem especially in China.


--
夏清然
Xia Qingran
qingran.xia@gmail.com
Rita Rudner  - "My mother buried three husbands - and two of them were only napping."

Re: [PerlChina] should we change our mailing list?

On Thu, Nov 13, 2008 at 1:58 PM, Fayland Lam <fayland@gmail.com> wrote:
>
> It seems like many people can't reach this mailing list. so I'm thinking we can go Google Group instead.
>

Personally I am fine with such migrations :)

-agentzh
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

[PerlChina] should we change our mailing list?

It seems like many people can't reach this mailing list. so I'm thinking
we can go Google Group instead.

there is already http://groups.google.com/group/perlchina before we
start this group, but I don't know who owns it.
http://groups.google.com/group/china-pm is another choice.

what do u guys think.

Thanks.

--
Fayland Lam // http://www.fayland.org/
Foorum based on Catalyst // http://www.foorumbbs.com/

_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

Re: [PerlChina] 中文分词用什么模块好些?

对于分词,我的建议是调用其他系统;使用反引号外部调用也可以,如果程序要在非windows的系统上运行,推荐ictclas,如果只在windows上运行,我推荐微软的分词系统。微软的分词系统是我见过最准确的分词系统
 
关键字提取又是一门学问了

2008/11/12 Silent <silent2600@gmail.com>
rt,

用来提取文章的关键字, cpan上lingua::XXX 有几个,还没试呢, 不过貌似那些东西依赖都很大的

有经验的指点一下吧.
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm



--
gegewan的博客技术含量高,写程序的兄弟不要错过
http://www.opendict.net

2008年11月11日星期二

Re: [PerlChina] 中文分词用什么模块好些?

谢谢! 貌似很复杂的样子

2008/11/12 agentzh <agentzh@gmail.com>:
> 2008/11/12 Silent <silent2600@gmail.com>
>>
>> rt,
>>
>> 用来提取文章的关键字, cpan上lingua::XXX 有几个,还没试呢, 不过貌似那些东西依赖都很大的
>
> 我们 4E team 在过去的几个月中开发了一个 C 的分词库 Bamboo:
>
> http://code.google.com/p/nlpbamboo/
>
> 主要的开发者 jianingy 是我的同事,呵呵,平时就坐我身后。我正在考虑把它做成 XS 扩展放 CPAN 上去,我也刚刚跟他交换了一下意见。现有
> CPAN 上的我试了几个感觉都巨慢无比,而且效果不好,呵呵。
>
> 我自己的 Blog 的中文全文搜索就是利用 Bamboo 的 PostgreSQL 扩展进行分词,最后通过 OpenResty
> 暴露出服务。有兴趣可以玩一玩,比如下面这个例子:
>
> http://blog.agentzh.org/#search/1/%E7%BD%91%E7%AB%99
>
> 有兴趣提供帮助的朋友,我们会非常欢迎!
>
> -agentzh
>
> _______________________________________________
> China-pm mailing list
> China-pm@pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

Re: [PerlChina] 中文分词用什么模块好些?

哈,以前作反垃圾邮件的时候搞过不少此类的东东~~~

checkout了bamboo正在看...

2008/11/12 agentzh <agentzh@gmail.com>
2008/11/12 Silent <silent2600@gmail.com>
rt,

用来提取文章的关键字, cpan上lingua::XXX 有几个,还没试呢, 不过貌似那些东西依赖都很大的

我们 4E team 在过去的几个月中开发了一个 C 的分词库 Bamboo:

http://code.google.com/p/nlpbamboo/

主要的开发者 jianingy 是我的同事,呵呵,平时就坐我身后。我正在考虑把它做成 XS 扩展放 CPAN 上去,我也刚刚跟他交换了一下意见。现有 CPAN 上的我试了几个感觉都巨慢无比,而且效果不好,呵呵。

我自己的 Blog 的中文全文搜索就是利用 Bamboo 的 PostgreSQL 扩展进行分词,最后通过 OpenResty 暴露出服务。有兴趣可以玩一玩,比如下面这个例子:

    http://blog.agentzh.org/#search/1/%E7%BD%91%E7%AB%99
 
有兴趣提供帮助的朋友,我们会非常欢迎!

-agentzh

_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm



--
夏清然
Xia Qingran
qingran.xia@gmail.com
Mike Myers  - "My theory is that all of Scottish cuisine is based on a dare."

Re: [PerlChina] 中文分词用什么模块好些?

2008/11/12 Silent <silent2600@gmail.com>
rt,

用来提取文章的关键字, cpan上lingua::XXX 有几个,还没试呢, 不过貌似那些东西依赖都很大的

我们 4E team 在过去的几个月中开发了一个 C 的分词库 Bamboo:

http://code.google.com/p/nlpbamboo/

主要的开发者 jianingy 是我的同事,呵呵,平时就坐我身后。我正在考虑把它做成 XS 扩展放 CPAN 上去,我也刚刚跟他交换了一下意见。现有 CPAN 上的我试了几个感觉都巨慢无比,而且效果不好,呵呵。

我自己的 Blog 的中文全文搜索就是利用 Bamboo 的 PostgreSQL 扩展进行分词,最后通过 OpenResty 暴露出服务。有兴趣可以玩一玩,比如下面这个例子:

    http://blog.agentzh.org/#search/1/%E7%BD%91%E7%AB%99
 
有兴趣提供帮助的朋友,我们会非常欢迎!

-agentzh

[PerlChina] 中文分词用什么模块好些?

rt,

用来提取文章的关键字, cpan上lingua::XXX 有几个,还没试呢, 不过貌似那些东西依赖都很大的

有经验的指点一下吧.
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm