Well we started out today with a key-note (if a workshop has a keynote??) talk by Brian d Foy, you can see the slides here, and from the first few you will think it is just a blurb on regexs etc but fortunately Brian quickly left that rather overdone (and in my case dreaded) subject on how we can build up the Perl community. What it breaks down to is that you will never gain any notoriety out there re-doing what was already done you have to take on something that is either 'Boring', 'Tedious', or 'Hard' and hopefully stick with it until it is done.
The Talk as a whole was interesting and Brian did a very good job
on what needs to be done to fill the whitespace of Perl and if we do fill it up the community will be better of it.
If you use DBIx::Class in a production setting and just happen to have a substantial test suite - this post is for you.
TL;DR: Recent development in DBIC required the introduction of a subsystem that turned out to be much more complex than initially envisioned. While it *seems* that all the kinks have been worked out, the failure modes are so un-graceful (dis-graceful?) that the latest trial is in need of extra testing before it can be deemed ready for production.
Therefore if you are in a position to validate that everything behaves as expected, without the risk of taking your production to the fjords (did I mention substantial test suites?) - please help those in less favorable situations and test the thing before it goes live.
You can install the trial by any of the following methods:
As I talked during YAPC::EU with fellow Perl 6 fanboy mäsak about his (GOTO considered awesome) and mine (Perl 6 operators) recent talk I just summarized something I said and something he said and its just one little thought you might find nice too: Because normally as programmers we see it as as best practice from engineering point and so called best practices to have small manageable units (blocks, sub's classes,) and link them together as loosely as possible.
And today I am pleased to announce that Enlightened Perl Organisation (EPO) has kindly provided our project with resources described in my previous post and is our new sponsor for the next 12 months. I would like to thank Mark Keating for arranging the funding.
If you are also considering supporting strawberry perl project you can still do it indirectly by becoming EPO member or via donating EPO.
I have a directory full of stuff that I've recorded off the radio. I'd like to listen to it on my phone on the way to work. And the most convenient way to do that is to create a podcast of that directory. That way, whenever I record more stuff, I just have to update the podcast and the files magically appear on my phone.
I am, of course, far too lazy to edit XML by hand, and I want something that will work in a terminal. I was surprised that I couldn't find anything like this. Well, I could. It was 1300 lines of PHP. I've not got anything against PHP, but 1300 lines of code for such a simple task? Really?
Here's my version. Tell it a source directory, a target directory, and the address of that directory in HTTP-land, and Bob's yer uncle.
If you are using development tools like https://metacpan.org/pod/Devel::Confess or https://metacpan.org/pod/Devel::cst, and are trying to figure out how to use them with applications with a shebang like dzil, plackup, etc, the 'which' command is your friend. Invoking those scripts with perl should be effectively the same thing, and you can pass whatever switches you want to pass to perl.
See the comments for other ways to achieve the same thing.
If you visit the Github dashboard you will see two entries in the top left corners. Yours and Public with two numbers. These are the number of pull requests you created (Yours) that other people might merge and the Public is the number of pull requests created by others and waiting for you to handles. Please do so. Public 0 is the new Inbox 0.
One of the best ways to encourage people to contribute more is to respond to their contribution quickly. Merging is of course the best action, but even a comment on how the pull request might need to be improved is much better than silence.
First of all I would like to thank AuditSquare.com for sponsoring our project Strawberry Perl during the last 12 months.
The sponsorship comprised of providing the following VPS as our build machine:
- 3 CPU / 8 GB RAM / 120 GB HDD
- OS license - Windows 2012 Datac EN
- remote access: RDP + KVM
- unlimited Internet connectivity
Unfortunately arranged sponsorship period is over and we are looking for another sponsor willing to provide our project with similarly sized VPS (current provider charges approx. 600 USD per 1 Year).
For further information you can contact me via e-mail at kmx@cpan.org.
Since, I'm an extremely lazy person, so I'm not going to copy-paste-modify text of this post of mine, so please read it here, feel free to comment either here or here.
By now I'm sure that many of you have read about the research which claims that people aren't smart enough for Democracy to flourish. This was big news and made the rounds (including here on Reddit). The main researchers listed were Dunning and Kruger and I don't think anyone disputes their credentials.
Except that this is a science article, not a link to the actual research. In particular, I was intrigued by this by a reference to a software simulation validating their results. That piqued my curiosity.
[ Cross-posted by invitation from its home on the
Ocean
of Awareness blog. ]
Marpa has
a
new official public website,
which Ron Savage has generously agreed to manage.
For those who have not heard of it,
Marpa is a parsing algorithm.
It is new, but very much based
on earlier work by Jay Earley, Joop Leo, John Aycock and R. Nigel Horspool.
Marpa is intended to replace, and to go well beyond,
recursive descent and the yacc family of parsers.
Welcome to Planet Moose, a brief write up on what's been happening in the world of Moose in the past month, for the benefit of those of you who don't have their eyes permanently glued to the #moose IRC channel, or the MetaCPAN recent uploads page.
If you'd like to contribute some news for next month's issue, you can do so on the wiki.
Moose
Moose 2.1211 has been released containing some documentation updates and minor changes to Moose::Exporter.
More interestingly, three Moose 2.13xx trial releases have been uploaded to CPAN. The major new feature so far is improved support for overloaded operators, especially in roles, eliminating the need for MooseX::Role::WithOverloading.
This is a followup from this post. You will want to read that first before continuing.
I just wanted to let everyone know that the British Library now has a means like the Library of Congress to link to specific books. This is called the “British National Bibliography” and is available at http://bnb.data.bl.uk. This should ease the problem of some books not being available from the Library of Congress. For instance, Bechbretha has a URL of http://bnb.data.bl.uk/id/resource/012025232. You can place extensions at the end to get various formats: for example http://bnb.data.bl.uk/id/resource/012025232.rdf will get you the RDF version of the document.
Things are now to the point where we can really drop most citation frameworks and go straight with something that looks like my citation proposal.
We are proud to make brian d foy's kickstarter campaign a success with a substantial contribution. After the Swiss Perl Workshop 2014 brian stays for another few days in Switzerland to work and teach his famous Mastering Perl course.
OETIKER+PARTNER AG is a Swiss IT company, operating at the nexus of software
development and system management. We heavily rely on open source tools in
our work and open source a lot of our products.
Our open source products include MRTG, the multi router traffic grapher, SmokePing to keep track of your network latency, extopus, a monitoring aggregator, and most recently, ZnapZend for high performance zfs backups.
The Grants Committee evaluates grant proposals every two months (rules 1.1). We accept grant proposals all the time, and in this round, we will evaluate proposals which we get between July 15th till September 14th. I will post a CFP tomorrow, September 1st my time, on the TPF news.
Some readers may remember that I discussed the budget in July. Let me be clear; the grant limit is still $10,000 as announced in February.
Read on if you are interested on our budget.
As we funded $6,000 grant in the July round, the allocatable money we have for 2014 is $5,200.
At the same time, let me stress the basic rule for the grant application: Don't try to calculate your proposal based on the budget we have. While the budget is one factor, ultimately your grant value should not be influenced by the budget we have.
Next year the YAPC::EU will take place in Granada (Spain) in early September, as you already probably know by now.
The organization team members are currently from Granada.pm, Madrid.pm and Barcelona.pm, but we'd like to invite the Cloud Orga team that worked so well this year to get involved too. We plan to keep on using #yapceu channel on irc.perl.org for contact and co-ordination, but we have a Google group that you may want to join. The conversations on that list are mainly in Spanish but you are welcome to participate in English, if you prefer. Please, send a message to request an invitation to the list.
We'll be posting news on this blog and twitter in order to keep you updated on our progress. Once we have the Act instance in production, we'll publish most important news there too.
I've never really used the Perl debugger much (maybe I should learn?) and usually resort to lots of use Data::Dumper; print Dumper($somevar); statements to help me understand what's going wrong with a piece of code.
However, what I often find is that $somevar contains exactly the data I expected it to contain. So the problem must be another variable? Or maybe there's a function which isn't returning what I expected it to? Or maybe one of my if statement has jumbled logic? So I need to change my print Dumper(...) statement and re-run the script.
Anyway, sick of that, and inspired by a question on StackOverflow I've released Pry, a really tiny wrapper around DOY's Reply REPL. Using Pry, you can run your script, and drop into a REPL at the point where you suspect things are going wrong. Once in the REPL you can inspect any lexical variables which are in scope (thanks, PadWalker!), or peek at the call stack (thanks, Devel::StackTrace!); you can even call functions and methods to see what's going on.
So if you, like me, have never managed to figure out breakpoints, and watches, and whatever other thingies a proper debugger has to offer, but are getting frustrated by the limitations of Data::Dumper-based debugging, give Pry a try!