- Website: korshak.name
- About: I blog about Perl.
Commented on It's time to admit I've failed
Generally speaking, error was using load_xml() method of LibXML() instead of load_html(), which is the right method for this case (I mentioned that in my post). So the error was rather in my head than in the code....
Posted It's time to admit I've failed to yko
Two days ago I was so excited! I had an idea how to make the Perl world a bit better, faster and simpler. Of course, I didn’t spread such exciting news until I checked and double-checked and benchmarked, until I’m absolutely sure I’ve found The Holy Grail.
Well, see the title. It hur…
Commented on [FAILED] 10x faster than LibXML
Toby, thank you for your interest. I was thinking about the same in context of writing drop-in replacement for Web::Scraper, similar to Web::Scraper::LibXML for about 3 minutes and then rejected this idea. Again, this doesn’t mean that idea is bad....
Posted [FAILED] 10x faster than LibXML to yko
Unfortunately, the idea contained fatal flaw. See the following post for explaantions.
Once upon a time I faced a huge pile of HTML files which I had to analyze. Say, there were about 1 000 000 of the…
Commented on YAPCs, Perl workshops and Monger meetings
Last three months we have Kiev.pm at least one social meeting each month. It's not standardized yet to exact day like 'first Thursday of month', but each next meeting attracts more people which is because increasing of social activity of...
Posted Kiev.pm organizational changes to yko
Dear Perl community!
I'm proud to say that today Sergey Gulko officially announced me as a leader of Kiev.pm group. Thank you Sergey and my appreciation to all members of Kiev.pm for approving me for this assignment and great support during debates and plan…
Commented on Now you need LWP::Protocol::https
Thanks for your notes. As I can see on russian-spaking forums this issue already affected few users and was quickly solved thanks to your article....
Posted Hello World in Plack 2: InteractiveDebugger to yko
Another tool to debug your Plack application is InteractiveDebugger
Commented on Hello World in Plack
right you are... inprogress...
Posted Hello World in Plack to yko
I'm was playing with PSGI spec and Plack last few days and found Debug middleware just amazing:
shadowcat-mdk.myopenid.com commented on
YAPCs, Perl workshops and Monger meetings
Gabor: The reason I was trying to "volunteer" you (as this can be interpreted) can be attributed to the following reasons:
1. because it is your idea, and I think you should have the right to proceed in the best way forwards first or at least have principal choice -to- proceed;
2. I thought it was a good idea, I don't have the ability of the tuits to implement it;
3. I think the Act people might like it and as I said the YAPC::NA guys are doing a lot with Act at the moment and maybe you can get them involved and therefore "volunteer" them to do it;
4. I just w…
Mithaldu commented on
YAPCs, Perl workshops and Monger meetings
This might be a piece of IRC culture, but lately complaining about an issue has been taken to be synonymous with "I volunteer!". This is mostly because often the ones complaining have more time than the actual maintainers and often do not realize that they can just resolve the issue by going ahead, making the change and sending a pull request.
On that note, if this was only meant as ideas, please do add an entry or three to http://cat.eatsmou.se so it doesn't get lost. :)
krivine commented on
Now you need LWP::Protocol::https
Really useful, thanks. The 'quick and dirty' way has a typo though:
$ua->ssl_opts( verify_hostname => 0 );
cafe01 commented on
[FAILED] 10x faster than LibXML
I have recently started contributing to Web::Query, a jQuery-like (as close as possible) for html scrapping and manipulation.
Because its based on HTML::TreeBuilder/HTML::Element, its very slow, and some XPath queries are incredibly slow.
So I would definitely use PugiXML!
We need PugiXML and HTML::TreeBuilder::PugiXML as a drop-in replacement for HTML::TreeBuilder (like HTML::TreeBuilder::LibXML which if fully implemented, would also help a lot! :) ).
Ether commented on
It's time to admit I've failed
"If you realize that you aren't as wise today as you thought you were yesterday, you're wiser today." - Olin Miller
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.