2012年5月24日星期四

Re: [PerlChina] Re: 关于perlchina大会往届的一个富文本爬虫的出处

不错

2012/5/24 eexpress <eexp01@gmail.com>
Slide Show (S9) 也够好。虽然是ruby的。

在 Thu, 24 May 2012 10:08:15 +0800,agentzh <agentzh@gmail.com> 写道:


Hello!

2012/1/14 gump run <rungumpth000@gmail.com>:
agentzh这种幻灯片效果很好,知道怎么做吗?

使用了林青同学用 Perl 编写的 slides.htm 工具生成的,兼容各种 web browser:

   https://github.com/kindy61/slides.htm

这个工具除了生成 AJAX 静态网页版的幻灯片,还支持生成 PDF,例如:

   http://agentzh.org/misc/slides/taobao-fe-vdomwebkit.pdf

从 2005 年开始,我所有的分享幻灯片都是用这个工具生成的,早和 XUL 没关系了。

我最近要搞个分享,看到这个,于是想用perl的dance搭个web应用,然后用这种幻灯片演示给同事看,体验肯定很好


祝玩得开心 ;)

Regards,
-agentzh



--

--
您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。


--
您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

2012年5月23日星期三

Re: [PerlChina] Re: 关于perlchina大会往届的一个富文本爬虫的出处

Slide Show (S9) 也够好。虽然是ruby的。

在 Thu, 24 May 2012 10:08:15 +0800,agentzh <agentzh@gmail.com> 写道:

> Hello!
>
> 2012/1/14 gump run <rungumpth000@gmail.com>:
>> agentzh这种幻灯片效果很好,知道怎么做吗?
>
> 使用了林青同学用 Perl 编写的 slides.htm 工具生成的,兼容各种 web
> browser:
>
> https://github.com/kindy61/slides.htm
>
> 这个工具除了生成 AJAX 静态网页版的幻灯片,还支持生成 PDF,例如:
>
> http://agentzh.org/misc/slides/taobao-fe-vdomwebkit.pdf
>
> 从 2005 年开始,我所有的分享幻灯片都是用这个工具生成的,早和 XUL
> 没关系了。
>
>> 我最近要搞个分享,看到这个,于是想用perl的dance搭个web应用,然后用这种幻灯片演示给同事看,体验肯定很好
>>
>
> 祝玩得开心 ;)
>
> Regards,
> -agentzh
>


--

--
您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] Re: 关于perlchina大会往届的一个富文本爬虫的出处

2012/5/24 agentzh <agentzh@gmail.com>:
>
> 从 2005 年开始,我所有的分享幻灯片都是用这个工具生成的,早和 XUL 没关系了。
>

所有的这些幻灯片都可以从这个页面获得:

http://agentzh.org/#Presentations

包括那些基于浏览器核心的抽取器的幻灯 :)

Best regards,
-agentzh

--
您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] Re: 关于perlchina大会往届的一个富文本爬虫的出处

Hello!

2012/1/14 gump run <rungumpth000@gmail.com>:
> agentzh这种幻灯片效果很好,知道怎么做吗?

使用了林青同学用 Perl 编写的 slides.htm 工具生成的,兼容各种 web browser:

https://github.com/kindy61/slides.htm

这个工具除了生成 AJAX 静态网页版的幻灯片,还支持生成 PDF,例如:

http://agentzh.org/misc/slides/taobao-fe-vdomwebkit.pdf

从 2005 年开始,我所有的分享幻灯片都是用这个工具生成的,早和 XUL 没关系了。

> 我最近要搞个分享,看到这个,于是想用perl的dance搭个web应用,然后用这种幻灯片演示给同事看,体验肯定很好
>

祝玩得开心 ;)

Regards,
-agentzh

--
您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

2012年5月22日星期二

Re: [PerlChina] 欢迎测试自动流程图生成脚本

范例,如下。只是识别///后面的而已。而且标准只认utf8。

● grep '///.*' gsm.c
{ ///GSM_Do_FB>
R.S_FB.Head=SmsFB; ///设置缺省值
/// 复制结构到内存
/// 阀门关闭?马达状态2号:马达状态1号
///获取验证数据
/// Gsm_Wait_S>
leng=get_strlen(ack); ///取得ack长度
while(timeout--) //等待接收完毕///超时检查?:>返回超时
if(U6RecCount>oldint)oldint=U6RecCount; ///计数大于保留?保留等于计数
delay_1ms(6); ///延时6毫秒
if(U6RecCount==oldint) ///xxxx保留?:>返回超时
a=find_arr(GSM_RT,U6RecCount,ack,leng); ///接收信息
if(a==SUCCESS){return SUCCESS;} ///接收Ack成功?>返回成功
///接收错误信息
if(a==SUCCESS)return ACK_ERROR;///接收Err成功?>返回错误
} ///测试
return ACK_TIMEOUT;///>返回超时
{///Gsm_Send_AT>
i=get_strlen(Send_AT); ///获取发送长度
UART6_SendData(Send_AT,i); ///发送数据
if(Flag_Order) ///order标志?:>等待返回
tmp[0]=Flag_Order/10+0x30;tmp[1]=Flag_Order%10+0x30;///根据order格式化数据
UART6_SendData(tmp,4);///发送格式化数据
i=Gsm_Wait_S(Find_AT,Gsm_de_search_cnt);///>等待返回
Telephone_NO = GSM_RT+DoubleChar[3]-6 ;////
if(f>1)FlagBit.F_GsmAllRead=1;////
Gsm_Order=0;FlagBit.F_GsmReadEn=0;FlagBit.F_GsmAllRead=0;////
Gsm_AgainStart();////

--
您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 欢迎测试自动流程图生成脚本

最好能同时给一个输入文件的范例。

在 2012年5月22日 下午1:08,eexpress <eexp01@gmail.com>写道:
wget https://raw.github.com/eexpress/eexp-bin/master/flow.pl

支持各种源码,写几行注释,生成流程图。依赖graphviz。欢迎测试,找出不方便的地方或者bug。


btw: 对 perlchina@googlegroups.com 发邮件不能发贴了?

--
您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要在网络上查看此讨论,请访问 https://groups.google.com/d/msg/perlchina/-/SyfEw9OgHTUJ
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。



--
世事浮沉如落木,人生聚散似漂萍。
个人博客:http://yixf.name
程序代码:http://code.google.com/p/yixf-codes/

--
您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

2012年5月21日星期一

[PerlChina] 欢迎测试自动流程图生成脚本

wget https://raw.github.com/eexpress/eexp-bin/master/flow.pl

支持各种源码,写几行注释,生成流程图。依赖graphviz。欢迎测试,找出不方便的地方或者bug。

图例在 http://forum.ubuntu.com.cn/download/file.php?id=157490&mode=view/t.png

btw: 对 perlchina@googlegroups.com 发邮件不能发贴了?

--
您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要在网络上查看此讨论,请访问 https://groups.google.com/d/msg/perlchina/-/SyfEw9OgHTUJ
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

2012年5月20日星期日

[PerlChina] Fwd: [Perlweekly] #43 - Perl 5.16 has been released to the public!



---------- Forwarded message ----------
From: Gabor Szabo <gabor@szabgab.com>
Date: Mon, May 21, 2012 at 2:20 PM
Subject: [Perlweekly] #43 - Perl 5.16 has been released to the public!
To: perlweekly@perlweekly.com


Perl Weekly

Issue #43 - May 21, 2012 - Perl 5.16 has been released to the public!

You can read the newsletter on the web, if you prefer.

Hi,

Last week I managed to make a copy-paste error and thus the link that was supposed to lead to my Dancer article lead to some other page. Luckily it was not some totally offensive page. I've included the same post with a - hopefully correct - link. Sorry for the inconvenice and thanks to those who mentioned it to me!

I noticed there are several people now watching the Perl queue of StackOverflow, picking up questions and posting an article with the solution. I think this is an awesome trend! Thanks to Miguel Prz (niceperl) for his weekly 'Perl on StackOverflow' report that probably have a great impact on this trend.

Now to the posts...

Headlines

Perl 5.16.0 is now available!
Ricardo Signes has announced the release of Perl 5.16. I would warmly recommend to download the source code version, compile it and send a thank you note to the Perl 5 porters who have been working hard to produce this release. Then test your source code with it and report any issues caused by the new release.
Tweet | Facebook | Google Plus

Announcements

Announce: WWW::Scraper::Wikipedia::ISO3166
As a follow-up to last week's discussion, Ron Savage release v1.01 of WWW::Scraper::Wikipedia::ISO3166 that ships an SQLite database of countries and subcountries, and an interface to that db. He even explaines what is a subcountry.
Tweet | Facebook | Google Plus

CPANdeps now understands META.json files
CPANdeps, created and maintained by David Cantrell, provides a way to see all the dependencies of any give CPAN distribution along with the success rate of its tests. It helps you identify which ones of the prerquisites of a module might be problematic to install.
Tweet | Facebook | Google Plus

Using search.cpan.org AND metacpan
fREW Schmidt created a greasemonkey/dotjs script and visit search.cpan.org . Run a search there. The results will link to MetaCPAN.
Tweet | Facebook | Google Plus

Major changes to column binding in Perl DBD::ODBC
In his post Martin Evans described the changes and soliciting comments. If you are using DBD::ODBC, I'd recommend reading the post and commenting on the changes. The new version will be released soon and you'd better discuss the changes now than complain later.
Tweet | Facebook | Google Plus

Articles

Interview With Ward Cunningham
Dr. Dobbs has published an interview with the inventor of the wiki and long time Perl hacker, Ward Cunningham. There are some interesting parts about 'technical debt' and 'refactoring'. Comparing that with the idea of 'If it is not broke, do not fix it' and the idea of 'Do the simplest thing that could possibly work'. These all sound like contradicting each other. On the 4th page he talks about Perl.
Tweet | Facebook | Google Plus

An Introduction to Application Development with Catalyst and Perl
Henry Van Styn published an article in the Linux Journal with step-by-step instuction to build your first Catalyst based web application.
Tweet | Facebook | Google Plus

Setting up Gearman
Gearman is a Job server originally written in Perl (though it also has a C and a Java implementation now). Sebastian Willing started a series writing about it.
Tweet | Facebook | Google Plus

New Type Constraint Module for Perl
Dave Rolsky has uploaded an alpha version of his new type-system that is supposed to fix some if the flaws of Moose's type system and that of MooseX::Types. (Hmm, I was not aware of those).
Tweet | Facebook | Google Plus

Execute and Share Your Perl Code on a Remote Server
Christopher Frenz point out two services: codepad.org and ideone.com, that allow execution of Perl scripts by the casual visitor. I have not tried them yet but these could be great educational tool. Though I am not sure if in Perl programming or in security flaws?
Tweet | Facebook | Google Plus

Discussion

Use of DBI in Sqitch
I am sure you remember the earlier posts of David E. Wheeler about the Squitch program he is writing. Now he posted an issue which was very surprising to me. Should he use DBI to access the databases or should he use the command line clients? To me it was surprising especially as it seemed he is leaning towards the command line cliens. I would not even give them a chance. See the comments as well!
Tweet | Facebook | Google Plus

CPAN

Updating all outdated Perl modules
This is not good for strict versioning of the dependencies you are using, but during development, or just for fun, it is very useful to upgrade all the modules you have installed to their latest version. See the solutions of Sinan Unur using cpan-outdated and cpanm.
Tweet | Facebook | Google Plus

Code

A Quick Look at the Blekko Search API
Though I have some reservations with the code that does not use warnings, it is nice to see a small example running a query on the Blekko search engine and processing the resulting XML.
Tweet | Facebook | Google Plus

Separating Presentation from Content in Templates
Responding to the commends on his earlier post, chromatic shows us how he uses Template::Toolkit. I must say this is too much for me. He is embedding even some Perl code in the template. While this is very powerful I am not sure if this is not the slippery road that leads to PHP/JSP/ASP style coding, where we mix too many languages in the same file.
Tweet | Facebook | Google Plus

Open URLs from the CLI
One solution for opening URLs in an IRC session (using irssi) written in Perl by Dominic Humphries.
Tweet | Facebook | Google Plus

Easy text/html multipart emails with Email::Simple::Markdown
Yanick Champoux announcing the new module and showing an example so he can avoid using the slightly complex Email::MIME, or more importantly, so he can write his e-mails in Markdown format that will be converted to either HTML or Text or both.
Tweet | Facebook | Google Plus

Test-driving Reflex
Reflex is a Moose-based event-driven system built on top of POE. Yanick Champoux creates and explains a job daemon that can poll various jobs and process them.
Tweet | Facebook | Google Plus

Using Mojo::DOM
Mojolicious is mostly known as a framework to build web applications, but in this article Joel Berger uses its DOM parsion capabilities to download a web page and fetch some specific information from that page. (opening time of a shop in this case).
Tweet | Facebook | Google Plus

Fun

Leaflets for YAPC::Asia Tokyo 2012
Daisuke Maki (lestrrat) is showing use some leaflets they have prepared to explain what YAPC is for people who are not familiar yet. We should all learn from the Japanese how to promote Perl and our Perl related events.
Tweet | Facebook | Google Plus

Regexes

Repeated Capturing and Parsing
Chris Grau describes a problem that came up on their internal company Perl mailing list. (Stop here, how many companies have internal mailing lists for Perl?!) Then he goes through several solutions. One even using Regexp::Grammars. Then Marcel Grünauer comes up with a one-liner that at first sight seem to provide the same results. In any case, one can learn a lot from this.
Tweet | Facebook | Google Plus

Who is using Regexp::Grammars ?
Just a few hours after the above post, Laurent Dami tells us he has been using Regexp::Grammars for some project but thinks too few CPAN modules use it. Why?
Tweet | Facebook | Google Plus

Grants

Cooking Perl with Chef - Grant Report #3
David Golden reports his progress releasing a new version of Pantry that adds command line configuration to Chef nodes.
Tweet | Facebook | Google Plus

Perl 6

t4: Hex puzzle
Carl Masak returns to the Perl 6 Coding Contest.
Tweet | Facebook | Google Plus

Other

vim snippet to generate package name from the filename
Are you tired of typing in the package name of a new module? Now, thanks to the vim Fu of Chris Weyl you can eliminate that frustration.
Tweet | Facebook | Google Plus

(xxix) stackoverflow perl report
The weekly report of Miguel Prz (niceperl) with the ten most rated Perl-related questions at Stack Overflow.
Tweet | Facebook | Google Plus

The self promotion section

Registration process with Perl Dancer
A very simple version of double opt-in registration: Let visitors type in an e-mail, and send them a code so they can verify they are in control of that address. (hopefully now with the correct link)
Tweet | Facebook | Google Plus

Events

I usually list the next 3-4 events here. The list of all the events can be found on on the web site. If your Perl event is not in the list, let me know.

YAPC::NA
June 13-15, 2012, Madison, Wisconsin, USA
Tweet | Facebook | Google Plus

French Perl workshop
June 29-30, 2012, Strasbourg
Tweet | Facebook | Google Plus

Quack And Hack 2012
June 30-July 1, 2012, Philadelphia
Tweet | Facebook | Google Plus

YAPC::EU 2012
August 20-22, 2012, Frankfurt, Germany
Tweet | Facebook | Google Plus

If you are wondering why is the Nordic Perl Workshop listed, that event was postponed to October

You joined the Perl Weekly to get weekly e-mails about the Perl programming language and related topics.
Want to see more? See the archives of all the issues.
Reading this as a non-subscriber? click here to join us free of charge.
(C) Copyright Gabor Szabo. The articles are copyright the respective authors.

You can unsubscribe here if you don't want to receive mails any more.

You can freely redistribute this message if you keep the whole message intact, including the Copyright notice and this text.


_______________________________________________
Perlweekly mailing list
Perlweekly@perlweekly.com
http://mail.perlweekly.com/mailman/listinfo/perlweekly




--
Fayland Lam // http://www.fayland.org/

--
您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。