Well being out here in off-line land I took some time to work on formating some YAML files for my ongoing AD&D game. Well I was ok until I had to parse some things. Usually I just lay with my good old online YAML parser but I was finding it a bit trying what with the slow speed and late hour.
Then I remembered that some time ago I had used such a thing with Padre and sure enough after about 5 mins searching on Map of CPAN I ran into Padre::Plugin::YAML So I decided to give it a whirl and here is the results.
Well it seems I must of been missing a few of the compassionates it required as it took a good few hours to install but it did go-smootly. Seems it was not the size of the packages that took forever it was installing and compiling and the stuff the requirements required. Sigh!
All the slaves initiate the connection to the bot on some private tcp port, so they can all stay behind my firewall. Most of them are some vm's on my devbox, and I start/stop them at random.
The setup included installing python 2.7, setuptools, and then easy_install buildbot-slave.
The configuration is a bit tricky, but it's python code, not just some data format, and not jenkins.
1) I am the new maintainer for Test::More. Schwern and I got together this morning to move it to a github organization, Test-More, at https://github.com/orgs/Test-More/. We are working on getting the repository into a decent state. You will need to update your links, repo remotes, etc. https://github.com/Test-More/test-more/
2) Test::More 1.5 is suspended indefinitely. Regular Test::More will eventually reach the point where it will hit version 1.5.0, at this point the version will collide with the 1.5 experiment. There is probably *A LOT* of code out there that does version checking to see if it is running the 1.5 experimental code. This needs to be changed to check for capabilities instead using can(), for example Test::Builder->can("history"). Altering a programs behavior based on Test::More version is not appropriate.
We have split the repo into Test::More and Test::Builder2. We are working on moving all issues for Test::Builder2 and Test::More1.5 into the correct repo. That repo is https://github.com/Test-More/TB2
After things settle I will create a new blog post with a plan for future work on the Test::More/Test::Builder/Test::Simple ecosystem.
One thing I ave found when doing a little research for this post was the very large number of perl tutrials out there and how many where well over 10 years old some as old as 15.
Well still stuck here in limited access land so I had a quick look around and found this site
So in about 10 mins of reading I now know where to send anyone who asks me where to go for good tutorials.
There is also a good chance if you want to help out as there is a long list of sites to still look at and I am 108% sure that GABOR would be more than happy for the help.
One thing that really grabbed my attention in this site is it is just not a simple list of tutorials it is a vetted list and it is very well vetted. Just check out the reject page and you will see the reviews really through job at evaluating a site you just say a site is bad you have to prove it.
A thousand years ago, Viking raiders poured out of the frozen North to terrify and oppress my poor Celtic ancestors. But now it's our turn! That's right: once again, I'm returning to Oslo to spread mayhem, fear, and Perl (and not necessarily in that order!)
On Monday 24 March, I'm running a public class on behalf of Oslo.pm at Redpill-Linpro. I'll be teaching my Perl Masterclass, exploring advanced programming techniques for more experienced Perl programmers. I'm really pleased, because I don't often get the chance to offer my top-shelf class to the general public. We still have seats left, and you can sign up today.
I've just released Test::Class::Moose version 0.50. The major feature you'll notice are the Test and Tests attributes. They're included to make it easier to migrate from Test::Class.
sub this_is_a_test : Test {
pass 'we have a single test';
}
sub another_test_method : Tests { # like "no_plan"
# a bunch of tests
}
sub yet_another_test_method : Tests(7) { # sets plan to 7 tests
...
}
Well I am a long way from home today and of course I had to check in and look at a few things.
Well No problem with the modern web just connect in from anywhere in the world and do your work.
Well my internet connection is 34kb so not very broad as well I using my cousin's computer but at least I can get my google mail and use good old ftp if I need to copy anything to and from the remote site
Well that is all great and good but I had to do some very quick debugging on a web site I sometimes help maintain. Well with the very limited connection speed I was timing out over the ftp but after 20min I finally got the offending file downloaded.
Dr. Rosenthal's classic "How Few Copies" examines in detail just how few of copies you might need to preserve your digital data. (The context is Lots Of Copies Keep Stuff Safe, which you need to know about if you care about digital preservation.)
If preservation (and backup is part of preservation) is one of your interests, Dr. Rosenthal's blog is just a generally good blog to read.
As the upstream released a new version of SQLite (3.8.4.1) and I was asked to include it in the next stable, I released yet anther release candidate: DBD::SQLite 1.41_07. There's no changes in Perl/XS, and all the bugs fixed in the stream should be obscure. I'm planning to release it as the next stable in a week or two, after I get enough reports from you and/or CPAN Testers. Tell me if you happen to find anything. Thanks for your patience.
Well in my first post of this series I just managed to get a listing up and running utilizing the Toto plugin well lets move on a little.
Well it seems I have my list and the underlying urls I have 'http://localhost:3000/character/view/Glarp_Gnlnarn' which is correct but of course it is not a 100% 'REST' as I think that by convention 'character' should be the plural 'characters' but then again in the POD they say this is a BREAD interface not a REST and the author defines it as
'- in a BREAD application, browse and add are operations on zero or many objects, while edit, add, and delete are operations on one object'
Ok I can buy that so back to doing some code.
Well back to doing a little coding.
So this time out I again start with my route and sub
I'm at the Perl QA Hackathon in Lyon and it's been an interesting trip so far. I missed my flight yesterday, so I had to fly out this morning — only to get to the airport and discover that I left my passport at home. Fortunately, the hackathon is in Lyon, France, so I was able to use my Titre de Sejour (residence permit) instead. Then the coffee machine ate my money.
Then shortly after I get to the hackathon (after four hours of sleep followed by four hours of travel), Leon Timmermans hit me with an interesting problem regarding parallel tests in Test::Harness. I came up with an approach that isn't as sexy as his, but is far simpler and it involves a module I released today, TAP::Stream.
This year, we are proud to announce, that the initiative has been expand to assist
neophytes in accessing YAPC::NA::2014 to take place in Orlando, Florida.
Since this is the initial year the program has been organised between a chosen attendee and the conference organisers to test the process and implementation of this, hopefully, yearly initiative.
Adding YAPC::NA to the list of events covered by the Send-a-Newbie initiative, furthers the idea of a global representation of Perl and the chance for more tenderfoots to engage in the community. The SAN initiative is not restricted to age, experience or location and has seen delegates from India, Asia, UK, Netherlands, Spain.
Having been a fan of Mojolicious for a few years it is only reasonable that I pick it as the platform but this time instead of going with my usual default layout and architecture I wanted to give the Toto plugin a whirl.
This plug-in provides a bootstrap flavoured navigation framework. So you can get a nav bar running across the top one, a side bar for and a row a and also a row of tabs underneath each side bar.
Well out of the box with about 3 mins worth of install and a cut and paste from the PDO one gets this
Ok that was painless it even gives you a little hint at what the controller is doing on the side for Toto newbies like me.
Well lets goes back a second and think what I need to display for my AD&D Moose stuff. Well I really just have two parts done so far,
In a previous entry I discussed some of my favourite CPAN modules for testing Perl code.
I got to thinking... there are all these little frameworks on the CPAN like GID, and Modern::Perl, and Defaults::Modern, and Bubblegum which are basically little shims to load collections of "best practices" modules in a single line. For example:
There are only two weeks left until the start of the 16th German Perl Workshop 2014 in Hannover. Preparations have reached an intense stage by now. We were able to acquire two more sponsors: Spark 5 and Six Apart. Participation is also looking good, there are only 20 remaining tickets.
It is our great pleasure to announce that the DBIx::Class Hackathon, to be held in Swindon on the weekend of the 12th April, will have its venue sponsored by the wonderful people at Eligo.
Eligo are a niche boutique recruitment consultancy with a team of dedicated Perl Consultants.
They live and breathe our markets. In fact they like to think they are as passionate about the sector as those who work within it. If you want proof of it stop by and meet Rick Deller one of their Senior Perl Consultants.
Eligo are able to find you the right person and/or job whether you are looking for- Permanent Contract, Temporary and Fixed Term Contracts
Eligo specialise in and have experience in recruiting Perl Specialists across a wide range of sectors.
The organisers of the DBIx::Class Hackathon are deeply indebted to Eligo for sponsoring the event. We still have a number of sponsorship opportunities to help cover food, accommodation and travel and to ensure the event can be held again.
If you would like to sponsor the DBIx::Class Hackathon then please contact Mark Keating or Jess Robinson (m.keating and j.robinson both @shadowcat.co.uk) for more information.