2008年12月4日星期四

Re: [PerlChina] 12月18号星期四, 北京 Perl 用户小组(Beijing Perl Mongers)首次聚会

我顶

On Dec 4, 2008 2:25pm, smallfish <smallfish@live.cn> wrote:
> 呵呵,啥时候来南京。北京现在太冷了。。。寒流
>
>
>
> --------------------------------------------------
>
> From: "J. Peng" yonghua.peng@gmail.com>
>
> Sent: Thursday, December 04, 2008 1:58 PM
>
> To: china-pm@pm.org>
>
> Subject: Re: [PerlChina] 12月18号星期四, 北京 Perl 用户小组(Beijing Perl Mongers)首次聚会
>
>
>
>
> 2008/12/4 Qiang (James) shijialee@gmail.com>:
>
>
> 北京 Perl 用户小组(Beijing Perl Mongers)第一次聚会!欢迎所有对 Perl 感
>
> 兴趣的朋友参加!
>
>
>
>
>
>
> 热烈支持。这种活动应该持续下去。
>
> _______________________________________________
>
> 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年12月3日星期三

Re: [PerlChina] China-pm Digest, Vol 44, Issue 3

咳,不吃牛羊肉,到时候只能去随便转转了,
下次聚会我建议一起喝茶,功夫茶,如果人数
不多我可以提供地方,提供好茶,提供茶点。

> 北京 Perl 用户小组(Beijing Perl Mongers)第一次聚会!欢迎所有对 Perl 感
> 兴趣的朋友参加!
>
> 这次聚会选在簋街的一家新疆饭店。
>
> 时间: 12月18号星期四晚上 7 点到结束为止。
> 地点: 苏力坦餐厅 簋街 东直门内大街179号
> 电话; (010) 8406-4687 136-0119-1250
> 路线从西:北新桥地铁 B 口(东北口)出,向东走大概 7,8 分钟路北既是。
> 路线从东:东直门地铁站 A 口(西北口)出,向西走大概 10 分钟路北既是。簋
> 街上有两家苏力坦餐厅,从东方向来的朋友应该去第二家。
> 价位: 串 2元, 啤酒 5元, 鸡翅: 6元
> 餐厅照片:http://xrl.us/oynb4
> 地图: http://xrl.us/oymjr
>
> 我会提前以 perlchina 小组聚会名义定位,早去的朋友早坐即可.
>
> 聚会的主题:
>
> * 羊肉串 && 啤酒 :-)
> * 北京 Perl 爱好者认识和交流
> * 讨论以什么样的形式来进行2009年一月份的小组聚会 - 技术演讲交流,社交性
> 聚会,还是两者兼顾。
>
>
> 12月18号见!
>
> Qiang(James)
--
/* 110000011101011011010000110010111100001010111101 *\
Lin Xinglu(林兴陆) - Mike Lam
Mobile Phone: (+86)13501281365
E-Mail: linxinglu@webos.cn / i@lxl.cn
Website: http://www.webos.cn - Web 3.0
QQ: 28888888
ICQ: 2876829
MSN: Linxinglu@hotmail.com
Homepage: http://www.lxl.cn
\* 110000011101011011010000110010111100001010111101 */
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

Re: [PerlChina] 有个SQL 查询,出错了。着急问一下结果

谢谢各位,只能这样了:)

2008/12/4 smallfish <smallfish@live.cn>
只能用
SELECT (unix_timestamp(now()) - unix_timestamp(starttime)) as diff FROM `workers` WHERE (unix_timestamp(now()) - unix_timestamp(starttime)) < 900;

where里是不能用前面as的名字

--------------------------------------------------
From: "Fayland Lam" <fayland@gmail.com>
Sent: Thursday, December 04, 2008 2:44 PM
To: <china-pm@pm.org>
Subject: Re: [PerlChina] 有个SQL 查询,出错了。着急问一下结果


rorot wrote:
不好意思,着急用。刚才在SQL IRC里没人回答。所以发这里,望有人解决一下。

SELECT (unix_timestamp(now()) - unix_timestamp(starttime)) as diff
FROM `workers` WHERE diff < 900;

sounds like you want HAVING. you can't use SELECT result to be a WHERE.
it's not logic sane.


上面这条MySQL查询为什么出错??

*MySQL said: *Documentation
<http://dev.mysql.com/doc/refman/5.0/en/error-messages-server.html>

| #1054 - Unknown column 'diff' in 'where clause' |



rorot Dec/04/2008

------------------------------------------------------------------------

_______________________________________________
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

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

Re: [PerlChina] 有个SQL 查询,出错了。着急问一下结果

只能用
SELECT (unix_timestamp(now()) - unix_timestamp(starttime)) as diff FROM
`workers` WHERE (unix_timestamp(now()) - unix_timestamp(starttime)) < 900;

where里是不能用前面as的名字

--------------------------------------------------
From: "Fayland Lam" <fayland@gmail.com>
Sent: Thursday, December 04, 2008 2:44 PM
To: <china-pm@pm.org>
Subject: Re: [PerlChina] 有个SQL 查询,出错了。着急问一下结果

> rorot wrote:
>> 不好意思,着急用。刚才在SQL IRC里没人回答。所以发这里,望有人解决一下。
>>
>> SELECT (unix_timestamp(now()) - unix_timestamp(starttime)) as diff
>> FROM `workers` WHERE diff < 900;
>
> sounds like you want HAVING. you can't use SELECT result to be a WHERE.
> it's not logic sane.
>
>>
>> 上面这条MySQL查询为什么出错??
>>
>> *MySQL said: *Documentation
>> <http://dev.mysql.com/doc/refman/5.0/en/error-messages-server.html>
>>
>> | #1054 - Unknown column 'diff' in 'where clause' |
>>
>>
>>
>> rorot Dec/04/2008
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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

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

Re: [PerlChina] 有个SQL 查询,出错了。着急问一下结果

rorot wrote:
> 不好意思,着急用。刚才在SQL IRC里没人回答。所以发这里,望有人解决一下。
>
> SELECT (unix_timestamp(now()) - unix_timestamp(starttime)) as diff
> FROM `workers` WHERE diff < 900;

sounds like you want HAVING. you can't use SELECT result to be a WHERE.
it's not logic sane.

>
> 上面这条MySQL查询为什么出错??
>
> *MySQL said: *Documentation
> <http://dev.mysql.com/doc/refman/5.0/en/error-messages-server.html>
>
> | #1054 - Unknown column 'diff' in 'where clause' |
>
>
>
> rorot Dec/04/2008
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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] 有个SQL 查询,出错了。着急问一下结果

不好意思,着急用。刚才在SQL IRC里没人回答。所以发这里,望有人解决一下。

SELECT (unix_timestamp(now()) - unix_timestamp(starttime)) as diff  FROM `workers` WHERE diff < 900;

上面这条MySQL查询为什么出错??

MySQL said: Documentation

#1054 - Unknown column 'diff' in 'where clause'



rorot Dec/04/2008

Re: [PerlChina] 12月18号星期四, 北京 Perl 用户小组(Beijing Perl Mongers)首次聚会

呵呵,啥时候来南京。北京现在太冷了。。。寒流

--------------------------------------------------
From: "J. Peng" <yonghua.peng@gmail.com>
Sent: Thursday, December 04, 2008 1:58 PM
To: <china-pm@pm.org>
Subject: Re: [PerlChina] 12月18号星期四, 北京 Perl 用户小组(Beijing Perl
Mongers)首次聚会

> 2008/12/4 Qiang (James) <shijialee@gmail.com>:
>> 北京 Perl 用户小组(Beijing Perl Mongers)第一次聚会!欢迎所有对 Perl 感
>> 兴趣的朋友参加!
>>
>
> 热烈支持。这种活动应该持续下去。
> _______________________________________________
> 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] 12月18号星期四, 北京 Perl 用户小组(Beijing Perl Mongers)首次聚会

身不能至,心向往之……

2008/12/4 J. Peng <yonghua.peng@gmail.com>:
> 2008/12/4 Qiang (James) <shijialee@gmail.com>:
>> 北京 Perl 用户小组(Beijing Perl Mongers)第一次聚会!欢迎所有对 Perl 感
>> 兴趣的朋友参加!
>>
>
> 热烈支持。这种活动应该持续下去。
> _______________________________________________
> 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] 12月18号星期四, 北京 Perl 用户小组(Beijing Perl Mongers)首次聚会

2008/12/4 Qiang (James) <shijialee@gmail.com>:
> 北京 Perl 用户小组(Beijing Perl Mongers)第一次聚会!欢迎所有对 Perl 感
> 兴趣的朋友参加!
>

热烈支持。这种活动应该持续下去。
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

[PerlChina] 12月18号星期四, 北京 Perl 用户小组(Beijing Perl Mongers)首次聚会

北京 Perl 用户小组(Beijing Perl Mongers)第一次聚会!欢迎所有对 Perl 感
兴趣的朋友参加!

这次聚会选在簋街的一家新疆饭店。

时间: 12月18号星期四晚上 7 点到结束为止。
地点: 苏力坦餐厅 簋街 东直门内大街179号
电话; (010) 8406-4687 136-0119-1250
路线从西:北新桥地铁 B 口(东北口)出,向东走大概 7,8 分钟路北既是。
路线从东:东直门地铁站 A 口(西北口)出,向西走大概 10 分钟路北既是。簋
街上有两家苏力坦餐厅,从东方向来的朋友应该去第二家。
价位: 串 2元, 啤酒 5元, 鸡翅: 6元
餐厅照片:http://xrl.us/oynb4
地图: http://xrl.us/oymjr

我会提前以 perlchina 小组聚会名义定位,早去的朋友早坐即可.

聚会的主题:

* 羊肉串 && 啤酒 :-)
* 北京 Perl 爱好者认识和交流
* 讨论以什么样的形式来进行2009年一月份的小组聚会 - 技术演讲交流,社交性
聚会,还是两者兼顾。


12月18号见!

Qiang(James)

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

Re: [PerlChina] 如何在Catalyst中嵌入CGI::Graph?

you can use
$c->res->content_type('image/png');
$c->res->body(\*OUTPUT);
binmode STDOUT;
print STDOUT $gd->png;

2008/12/3 J. Peng <yonghua.peng@gmail.com>:
> 2008/12/3 刘静 <boheling@hotmail.com>:
>> 需要在网站中加入动态地制作图像并对特定坐标点加入超链接
>> 查了一下CGI::Graph可以完成我想要的工作, 可是web站点是利用catalyst框架建立的
>> 请问应该怎么样在catalyst中使用CGI呢
>>
>
> CGI::Graph应该也是调用的GD::Graph吧,可以试试在catalyst里使用后者。
> _______________________________________________
> 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] 如何在Catalyst中嵌入CGI::Graph?

2008/12/3 刘静 <boheling@hotmail.com>:
> 需要在网站中加入动态地制作图像并对特定坐标点加入超链接
> 查了一下CGI::Graph可以完成我想要的工作, 可是web站点是利用catalyst框架建立的
> 请问应该怎么样在catalyst中使用CGI呢
>

CGI::Graph应该也是调用的GD::Graph吧,可以试试在catalyst里使用后者。
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

[PerlChina] 如何在Catalyst中嵌入CGI::Graph?

需要在网站中加入动态地制作图像并对特定坐标点加入超链接
查了一下CGI::Graph可以完成我想要的工作, 可是web站点是利用catalyst框架建立的
请问应该怎么样在catalyst中使用CGI呢


使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载!

2008年12月2日星期二

Re: [PerlChina] perl advent

这得看出版社的评审进度而定,我们这边的审阅已经基本完成了。
参与翻译之后,个人感觉甚至提高了教导其它编程语言的水平。以前就是不能明
白,"为什么这么容易的东西还有人提问?"
小骆驼确实是在教学过程中积累出来的书,值得期待!

On 二, 2008-12-02 at 17:21 +0800, Qiang (James) wrote:
> purl lamp wrote:
> > 1th day of dec: thanks for layoff :D
> > thanks for layoff, our llama 5th book is almost delivering on time:D
> >
>
> leanring perl 中文版计划什么时候上市?
>
> Qiang(James)
>
> > On Tue, Dec 2, 2008 at 1:14 PM, Fayland Lam <fayland@gmail.com
> > <mailto:fayland@gmail.com>> wrote:
> >
> > http://perladvent.pm.org/2008/
> > http://www.catalystframework.org/calendar
> >
> > yearly. and last for 25 days.
> >
> > Thanks.
> >
> > --
> > Fayland Lam
> > Foorum based on Catalyst // http://www.foorumbbs.com/
> >
> >
> > _______________________________________________
> > 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
> > http://mail.pm.org/mailman/listinfo/china-pm
>
> _______________________________________________
> 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] perl advent

purl lamp wrote:
> 1th day of dec: thanks for layoff :D
> thanks for layoff, our llama 5th book is almost delivering on time:D
>

leanring perl 中文版计划什么时候上市?

Qiang(James)

> On Tue, Dec 2, 2008 at 1:14 PM, Fayland Lam <fayland@gmail.com
> <mailto:fayland@gmail.com>> wrote:
>
> http://perladvent.pm.org/2008/
> http://www.catalystframework.org/calendar
>
> yearly. and last for 25 days.
>
> Thanks.
>
> --
> Fayland Lam
> Foorum based on Catalyst // http://www.foorumbbs.com/
>
>
> _______________________________________________
> 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
> 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年12月1日星期一

Re: [PerlChina] perl advent

1th day of dec: thanks for layoff :D
thanks for layoff, our llama 5th book is almost delivering on time:D

On Tue, Dec 2, 2008 at 1:14 PM, Fayland Lam <fayland@gmail.com> wrote:
http://perladvent.pm.org/2008/
http://www.catalystframework.org/calendar

yearly. and last for 25 days.

Thanks.

--
Fayland Lam
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] perl advent

http://perladvent.pm.org/2008/
http://www.catalystframework.org/calendar

yearly. and last for 25 days.

Thanks.

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


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