Jozef
- Website: jozef.kutej.net/
- About: I'll cross-post here Perl related entries from my private blog.
Recent Actions
-
Posted Web::PageMeta - a mixed sync/async lazy Perl Moose HTTP-GET module to Jozef
Announcing here Web::PageMeta which is lazy build-ed HTTP-GET and web-scrape-data module able to work both in classic code and also to behave non-blocking in async code. More info on my bl…
-
Posted deb.perl.it - bridging CPAN and Ubuntu → step3 to Jozef
Now also Ubuntu Perl packages indexed. For example Moose::Meta::Class
Package: libmoose-perl Package version: 0.31-1 Module version: 0.16 Arch: all Dist: …
-
Commented on deb.perl.it - bridging CPAN and Debian → step2
Bug fixed now and install instructions should be up-to-date....
-
Commented on deb.perl.it - bridging CPAN and Debian → step2
Hi Boris, it turned out that the dependency index I am using is from "Sat, 01 Oct 2011 23:27:16 GMT". At that time your module did not exist at all and so there are no proper install instructions for your...
-
Commented on deb.perl.it - bridging CPAN and Debian → step2
You are welcome, thanks for App::TimeTracker! We should ask Debian-Perl group to package it for Debian....
-
Posted deb.perl.it - bridging CPAN and Debian → step2 to Jozef
To make the Debian-Perl module look-up more useful, there are now install instructions included. That means that all non-packaged CPAN dependencies and also all packaged ones are listed and it's clear what can be installed from packages and…
-
Posted deb.perl.it - bridging CPAN and Debian → step1 to Jozef
After more then a year of silence I've managed to resurrect the Debian::Apt::PM and new Perl indexes are available for both i386 and amd64 platforms.
For now the web site can b…
-
Commented on 02packages.dependencies.txt.gz && apt-cpan
Yes and thanks for MetaCPAN::API! As an API "user" I'm missing just one feature and that is requests throttling. I didn't wanted to flood the service, so I put "sleep(1);" after each call :-] as I don't care that much...
-
Posted Acme::KnowledgeWisdom to Jozef
Let this blog post be also an invitation to my talk that I'll have on this years YAPC::EU::2011 in Riga and a reason "Why?" there will be more questions then answers.
There is one question that keeps me busy for quite some months now alr…
-
Commented on Suprisingly hard task of writing logs
Why don't you use syslog for concurrent logging?...
Comment Threads
-
Vyacheslav Matyukhin commented on
Suprisingly hard task of writing logs
Hmm, I think you missed my point, or I didn't understand yours.
Your solution writes lines to the log without strict order.
You reserve portion of bytes in the file first, and then fill it in non-atomic way.
But a reader reads the file sequentially, and if it skips the line of zeroed bytes (or "\n"s, doesn't matter), then it will never read the data you write over these zeroed bytes later.
-
Salvador Fandiño commented on
Suprisingly hard task of writing logs
When the reader finds that some byte in the file is zero it should (busy) wait until it becomes non zero.
-
Vyacheslav Matyukhin commented on
Suprisingly hard task of writing logs
Busy wait is evil :)
And it won't work anyway. Write process can fail (possibly by sigkill) before it'll write non-zero data. -
Salvador Fandiño commented on
Suprisingly hard task of writing logs
Don't wait forever, just a little bit!
-
Sawyer X commented on
02packages.dependencies.txt.gz && apt-cpan
Throttling seems like a desired feature. It's the second time someone has asked for this.
I don't mind implementing it, but I'm too busy to do the research work for it. Do you have a rough estimation of how you would want it implemented? (between-requests-throttling, speed limitation, etc.)
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.