The idea behind Bundles on CPAN is a very good. The implementation however relies somewhat on magic in the client. Adam Kennedy’s Task concept, solves this.

After reading the documentation and doing some considering I decided to deprecate Bundle::JONASBN and then redo the same distribution as Task::BeLike::JONASBN.

The project is in the same repository and Bundle::JONASBN was refactored to support this and the project site was renamed also. Many of the pointers are still using the internally used project key BJONASBN.

The Task concept is fairly easy and being a supporter of KISS, I am thinking about using this concept for other things currently on the drawing board.

Kudos should go to Adam Kennedy for the Task contribution to CPAN, it is simply beautiful in all it’s simplicity.

Task::BeLike::JONASBN has been released to CPAN as version 1.00 making it a major release on the same code base.

Task::BeLike::JONASBN and Bundle::JONASBN will live in parallel for an amount of time, but Bundle::JONASBN will be removed from CPAN eventually and all future development will be centered around Task::BeLike::JONASBN.

The CPAN module Business::DK::CPR has followed it’s cousin Business::DK::CVR and has been updated with an OOP implementation (see: the earlier announcement).

Apart from the class addition, the release only addresses minor issues, like a failing test case reported by CPAN-testers. POD has been updated and the Build file has been adjusted.

The Changes file does not contain all the changes, it is lacking a serious update so please refer to the project change log for details.

Source code is available from: http://logicLAB.jira.com/svn/BDKCPR/

Project homepage: http://logiclab.jira.com/browse/BDKCPR/

Wiki: http://logiclab.jira.com/wiki/display/BDKCPR/Home

Feedback and patches more than welcome,

Last day of YAPC::Europe 2010.

Went to see Tomas Doran’s talk on Large Platform Architecture interesting talk. Tomas mentioned quite a few tech I am already familiar with, which would mean that my large scale experiences are thoughts are not totally in the woods. He did however mention ESI, which I have never hears of before. This sounds incredibly interesting, please note that the Wikipedia article might not give enough justice to the topic, but it is a start.

I sad down an implemented a workaround in Workflow for my issues with newer perls. Feeling a bit dirty, by not digging deeper into the issue. But it seems it is fixed in blead perl. So I decided only to address the issue of the plethora of failing tests in newer perls giving Workflow bad statistics (http://matrix.cpantesters.org/?dist=Workflow+1.33). And this morning it seems to pay off: (http://matrix.cpantesters.org/?dist=Workflow+1.34), which makes me happy.

Went and saw Aaron Cranes talk on utilizing multicore processors: Perl on Speed: Multicore Programming for Mortals, yet another very interesting talk.

At last I saw Dave Cross’s talk on the Perl community, I might not have been the right target audience, but I did learn something new. Apparently the #perl channel on irc.perl.org has become a worthwhile place to ask questions again, without getting your head bitten of.

After this I attended Matt S. Trout’s keynote: State of the Velociraptor, which also mentioned the IRC improvement and a lot of other things, very entertaining and very positive – in general the Perl community seems to have become very much aware of it’s surroundings and marketing has become a keyword and something which is taken very seriously, without interfering without interfering or becoming an obstacle for other regular activities.

After the talk there was the usual lightning-talks, which of course is fantastic and always good entertainment, followed by White Camel awards and the organizers singing a part from the Rocky Horror Picture show. What can I say, tears was running from my eyes – it was a perfect ending for a very, very good conference. The following auction was very well organized and never got out of hand and was great entertainment: but all I got was the lousy assignment on writing about t-shirts for the ‘Perl Vogue;-)

Overall an absolutely marvelous experience after a two year hiatus, missing YAPC::Europe in Lisbon and Vienna.

Thanks to the organizers,

jonasbn

I have implemented a workaround for the issues with failing tests for newer perls for version 1.33.

From the Changes file:

- Implemented work-around for RT #53909
https://rt.cpan.org/Ticket/Display.html?id=53909

The issue demonstrated here, which can be observed in perl versions newer
than 5.10.0 seems to be related to a issue mentioned here:

http://rt.perl.org/rt3/Public/Bug/Display.html?id=70171

RT #53909 is based on blead perl, in which also a fix has now been
implemented, but we still have issues with a lot of perl releases currently
out there, see:

http://matrix.cpantesters.org/?dist=Workflow+1.33

So this work-around seems to fix the issue, since I can no longer replicate
the error. The problem seem to be the clearing of a package scoped variable,
the array @observations in t/SomeObserver.pm

Started the day doing my presentation on Workflow – a CPAN module I currently maintain. I felt the presentation went okay. It was a 20-minute presentation aiming at outlining the general aspects of Workflow (presentation available on Slideshare).

This was the first time I brought my laptop to the actual conference. All of the first day I left it in my room, which I found out was a good idea. Since I got to pay much more attention to the talks and I got to talk to a lot more people as soon as my presentation was over I went to leave it in my room, well I had one stop at Tim Bunce’s talk (TIMB) on Devel::NYTProf, but after that and not getting the most out of the talk due to laptop distractions I was once again able to move freely around the venue, without having to worry about power outlets and wifi connectivity.

Well I did worry a little about wifi connectivity since I brought my iphone showing the conference schedule – another good call.

I got to talk to some people about Workflow afterwards on topic of standardized XML formats for expressing workflows, seems there are some interesting stuff on CPAN (thanks MARKOV). I also talked to Jose Luis Martinez (JLMARTIN) who has a running implementation of Workflow using Catalyst as the front-end and Workflow as the model. He showed me the code and it looks like it will be put on CPAN at some point.

After some poking around I went to see Jon Allen’s (JONALLEN) talk on CouchDB a really interesting talk. I have not had time to look at CouchDB, but Jon’s talk was really an eye-opener, so I am thinking about doing some projects using CouchDB – well if I can get a round to it.

The rest of the day was eventful, talking to people, eating and excellent Italian coffee.

Ended the evening eating pasta and playing Martian Fluxx with Anton, Erik and R Geoffrey Avery, who always brings interesting cards games to these conferences.

I got up at 4 am. to catch a direct flight from Copenhagen to Pisa. I got there safely and was instantly enchanted by again attending a YAPC and coming back to Italy.

I did not find the schedule for the first day so interesting. So I attended a few talks and in between, I went to my room at the hotel and polished my presentation for Thursday morning.

Not having attended YAPC::Europe in the past two years, it was really nice to be back, seeing old friends and I mean old literally. Everybody seems to be a little older, this is of course a fact, but not having seen people for years, does show, but people look good. The atmosphere is really good whether it is due to all of the “old” people or that we are in Italy is hard to tell, perhaps it is the combination.

Our Italian hosts have done a magnificent job, the schedule is running smoothly and on track. And the coffee breaks – perhaps it is because I got up at 4 am. but the Italian espressos and sweets saved my day.

I planned to go to bed early to get ready for my talk Thursday morning, but the organizers had organized a social dinner. So we went by bus to an Italian restaurant just next to the leaning tower of Pisa and then we ate… and then we ate some more… after that we ate a little and then we had desert.

When I finally made it back to the hotel I was tired and full, but very happy. Happy that I decided to attend YAPC::Europe 2010 in Pisa, Italy.

Thanks,

jonasbn

Jobindex hosted the latest Copenhagen Perl Mongers meeting. The topic was Perl::Critic. Henrik Hald Nørgaard from Jobindex gave a nice general presentation on Perl::Critic. During and after there was a lot of discussion on various aspects of Perl::Critic, testing and Perl in general.

Jobindex was also disabling the Perl::Critic::Policy::ValuesAndExpressions::ProhibitConstantPragma policy, which is something I always do so after the meeting I sat down and made a write-up of why that is – something I have been meaning to do for a long time.

The problem with the policy is that is recommends using Readonly instead of constants. Readonly variables are nice, but they cannot be used for optimization by the Perl interpreter like constants can, if you for example implement a DEBUG constant.

In addition to the write-up I examined my long TODO list and implemented one of the Perl::Critic policies I have been meaning to implement also for a long time:

- Perl::Critic::Policy::Modules::ProhibitUseLib

I will write more on this policy later and another one, which popped to mind when implementing the first.

- Perl::Critic::Policy::Modules::RequireVersionFormat

Next meeting, the May meeting will be a lightning talk session on testing.

The Copenhagen Perl 6 Hackathon and the Open Source Days conference is over.

I am left filled with magnificent impressions and at the same time suffering from a mild case of information overload.

Due to a collision with the Dutch Perl Workshop the Copenhagen Perl 6 Hackathon was scheduled to start Saturday and continue Sunday, where the Open Source Days conference started friday. In addition we had arranged for the invited Perl 6 people to have some time on their own to discuss and hack face to face, something that have shown beneficial previously for other dispersed project groups.

We started the Saturday with a line of Perl 6 presentations – there was a good turn up to the talks, also by people who I have not seen at Copenhagen Perl Mongers meetings.

I have received little, but very positive feedback on the event. One of the more interesting pieces of feedback was this tweet (http://twitter.com/Jippi/status/10071258756), which really pin-pointed that we are doing the right thing and having fun at the same time.

Perl 6 is different and I think that it is important to emphasize the difference, not just different from Perl 5, but different in many aspects and from other languages. I can only say that I think that Perl 6 will be a very modern language and as Perl 5 programmer I will need to rethink the ways I am writing Perl.

I overheard a discussion over some Perl 6 construct and one of the comments was that it was not a very Perl 6-ish way of doing things – Perl 5 is not Perl 6. Personally I am very keen on getting to use Perl 6, but I have slowly started to understand that it will be significant change. Perl 6 will address many short-comings in Perl 5 naturally, the primary language designer is the same person, but in general Perl 6 is a new language and it will address short-comings in many languages. Yes it will also have it’s own, but then we then we just address that in Perl 7 – implemented in Perl 6 magnificent isn’t it…

My experience with this kind of events is that it takes some time before the actual result show. I hope that we will be able to attract some new people to the Copenhagen Perl Mongers – and I hope that the Perl 6 community have benefitted from the opportunity to present Perl 6 at a large open source non-perl conference.

The aftermath of the hackathon is hopefully going to be more positive than the aftermath of the Open Source Days conference. One of the exhibitors made a small happening at the conference involving body painted girls. The IT business in Denmark has for a long time been working hard on attracting women to a business, that is always short on clever people of both genders. Based on the blog entries and comments I have seen the conclusion must be that the happening was a bad idea – a really bad idea and I can only concur.

Implementation wise I hope we have been able to contribute over the weekend and that we have earned the Copenhagen release – I am working on my first larger Perl 6 application and it is fun. I am constantly refactoring the code to be more Perl 6 and training my brain to start using Perl 6 patterns.

Thanks to all the invited Perl 6 people, attendees and the coord of Open Source Days for giving us the opportunity to show of Perl 6.

jonasbn, logicLAB

Release 0.04 (and 0.03) of WWW::DanDomain have been uploaded to PAUSE over the last days.

Release 0.03 implemented a new feature, supporting DanDomains authorization by IP, so it is not necessary to crawl the site and authenticate. So access directory to the source of exported data is possible with the correct configuration on the DanDomain side.

After new releases I always keep an keen eye on the test reports from CPAN testers and much to my surprise I got a failure report.

WWW-DanDomain-0.03:
- i386-freebsd / 5.10.1:
- FAIL http://www.cpantesters.org/cpan/report/6848267

It seemed as if the Makefile.PL was not parsed completely and only the first line in the requirements and configuration requirements sections where parsed.

The distribution is primarily based on Module::Build, so I overlooked this.

Using the CPAN-testers website I located the testers email address and mailed him. He was very responsive and he informed me that his smoke testing environment was configured to pick the Makefile.PL over Build.PL and my Makefile.PL only contained the two lines in the two sections I previously mentioned.

So I examined the culprit and he was right.

Confused over what the Makefile.PL I moved on the the Build.PL file, which I expected to generated the Makefile.PL and I could see that that particular feature was not configured.

So release 0.04 contains a fix to address this.

Thanks to CPAN Testers again, they help finding even the smallest of defects.

In relation to the Open Source Days conference (OSD) to be held at ITU in Copenhagen/Denmark on the 6-7th of March 2010, a Perl 6 Hackathon event is being organized.

Currently several of the Perl 6 contributors are attending:

- Jonathan Worthington
- Patrick Michaud
- Carl Mäsak
- Moritz Lenz
- Martin Berends

More information will follow on the details of the hackathon, please subscribe to the RSS feed or keep an eye on the hackathon wiki for more detailed information.

Please visit the official Copenhagen Perl 6 Hackathon site: http://conferences.yapceurope.org/hack2010dk/ for more information.

For more information about the: The Open Source Days conference please visit: http://www.opensourcedays.org/2010/

Hope to see you in Copenhagen,

jonasbn, logicLAB

About this blog

This blog acts as a channel for communicating logicLAB’s open source activities. Announcements on open source initiatives, involvements and releases of open source distributions of software products, projects and applications.

Photostream

  • Shuck & Awe #10: Hunting for Perl | The Pythian Blog: [...] week we also had the 2010 installment of YAPC::EU, which took place this year in Pisa. Again, [...]
  • jonasbn: Thanks, This has been fixed. Permissions was not set correctly – sorry for the inconvenience. jo [...]
  • anon: The last link only goes to a page with a login form. [...]
  • jonasbn: Oops there was one funny thing from the Wiki (http://conferences.yapceurope.org/hack2010dk/wiki) "Un [...]
  • jonasbn: Hi Michael, You clearly found a bug, the example you provide works for me too. I isolated the issue [...]