Perl 5 Porters Mailing List Summary: January 4th-10th
Hey everyone,
Following is the p5p (Perl 5 Porters) mailing list summary for the past week. Enjoy!
Hey everyone,
Following is the p5p (Perl 5 Porters) mailing list summary for the past week. Enjoy!
perl6-slang-roman lets you write your Perl 6 code using Roman numerals:
use Slang::Roman
sub conjunctivus( Int $a, Int $b ) { $a + $b }
say conjunctivus( 0rIV, 0rVI );
# 10
And by the way, yes, it's fully Unicode compliant, so you can even write your numbers with \c[ROMAN NUMERAL ONE HUNDRED THOUSAND]. There's apparently a method of adding overbars to your Roman numerals that extends their range into the millions and beyond, but I think that I probably should leave well enough alone.
About a week ago I expressed my concerns about Perl 6′s future and people came out of the woodwork to tell me about all of Perl 6′s features, but didn’t really address what I was asking: What are the business cases for Perl 6?
So I decided, maybe I should think about what kinds of cool businesses and apps could be built using Perl 6′s new feature-set. Mind you, I’m not going to build any of these anytime soon. I’ve already got too many businesses for my own good and I’m launching another next month. This is just a mental exercise in the hopes that it might inspire some other folks.
I’m going to start with Perl 6′s async features as a business case, because I think it’s easy for people to wrap their heads around the benefits. In the future I’ll tackle a few other Perl 6 features as business ideas.
Hi! This is a simple swat monitoring test suite for blogs.perl.org. Probably blogs.perl.org maintainers already have some monitoring stuff, but if not, guys, I would be glad to share this one with you! :-) , let me know in case you have other ideas on how this suite could be adjusted for your needs.
So, it's been a couple months or so since I last posted about this. Since then, I gave a talk about it at the Pittsburgh Perl Workshop. After that, I took a Perl 6 hiatus because life got busy and I was a little burned up. In the past few weeks, I've done a little bit of work: cleaning up somethings, making changes that'd been slow cooking in my brain during hiatus, etc. However, I'm putting P6SGI on another hiatus, but this time it has nothing to do with me and everything to do with the state of Perl 6.
As a followup I just finished Bottoms Up where I walk through a tiny but complete grammar for a small corner of PHP code.
After a remarkably long wait, several false starts, and an unfathomable amount of work by the community, Perl 6 is here. Let's see just how easy it is to get up and running and to write a few simple programs.
Read more on my blog: Perl 6: Up and Running with rakudobrew.
I went to see the new Star Wars film on my birthday. I feel now that the movie has been out for a few weeks that I could discuss the striking final scene. This final scene is also of great interest to any one wants to understand and appreciate the early Irish subtext of the final scene and how this may play out in the future.
Spoilers Ahead
my requirement is that I've a pattern like 0x67AEX, but i want to replace this by 0x67AE0 by one liner. the text file also has words like express, timex,etc.,
http://theperlfisher.blogspot.ro - Just published a new article on grammars in Perl 6 (And yes, the blog title is a play on a Georges Bizet opera.)
Hey everyone,
Following is the p5p (Perl 5 Porters) mailing list summary for the past week. Enjoy!
This is a recent update of an ancient article.
Would you like to earn some money while writing articles about Perl? I am looking for authors for the Perl Maven site. If you are interested, please get in touch with me via email (gabor at szabgab.com).
My last assignment in the CPAN Pull Request Challenge 2015 was Net::Stripe. I’d never heard of the module, so I skimmed its documentation to learn it provides an API to Stripe.com. From the method list, it seemed to be some kind of a payment service. It had no tester failures, though, and the issues on GitHub were either too complex or not specific enough to give me an idea on what to start working. I asked in the Challenge’s IRC channel and got the following advice from Joel Berger and Ether:
jberger choroba: I haven’t looked at that module, but almost all service wrapper modules have woeful tests because they require the service ... contributing some mock service tests might be nice and something you could do without an account (at least in concept) ether Test::LWP::UserAgent!!
Well not really.
Any of us pre-web people might remember a nifty new language called Java that made a splash on the world just as the web was beginning.
The time I first started with JavaBeans there where a set of I think about 75 encapsulated GUI objects in a 'jar' file, get it 'a jar of beans' or at least that is what the myth is*.
Anyway one was suppose to use these beans to assemble you GUI program, and this was to lead to all sorts of time saving as you could just re-use componetes for all sorts of projects. I think in my about 7 years programming with Java I never ever actually used a classic JavaBean from Sun.
Anyway within a short few years the Web saw the use of JavaBeans expand and their use in non UI based roles absolutely dwarf their original intention as a building block in classic UI programs.
Doing some really simple research on Neural Network, i came across that blog post: http://iamtrask.github.io/2015/07/12/basic-python-network/ . Reading that blog post is a good simple introduction to Neural Network, with Concrete example, implemented in Python.
After that, i thought, why not try that with Perl6, however, things were not that simple. Python has some pretty nice libraries for matrix calculation, like numpy, Perl6 on the other hand, does not yet have so many libraries.
Implementing a simple neural network will not be as simple as in Python. With the Neural Network sample from the first part of the previously quoted post, i started to work on a simple library to do some Matrices calculation, Math::Matrix.
For now, the Library only contains simple operations, like addition, subtraction, transposition, negative, determinant. The next step will be to start to work on LU decomposition, and further on.
First thing first, the Neural Network from the previous post would translate to:
Hopefully you've all heard about the amazingly successful CPAN Pull Request Challenge that was run throughout 2015 by Neil Bowers. If not you can read about it here or here. You may also have heard that 2016 is coming in a couple of days, and that Neil is starting up the 2016 Pull Request Challenge.
What you might not know, especially if you didn't take part in the 2015 challenge, is that Neil ran a survey recently to get feedback from the CPAN distribution authors and the participants about how it went. I was both at various points of the year, so I got both surveys :-)
Perl 6 is here and people in the Perl community seem to be excited, but I don’t understand why. Perl 6 is a bit sexier than Perl 5. It’s got quite a few whiz-bangs I’d like to use. However, I’m likely never going to use it, and I think the same is true for the other established businesses using Perl 5. Here’s why:
There is no real migration path from Perl 5 to Perl 6. If you have any significant code base in Perl 5 you’re going to keep working in Perl 5.
If you decide to up and rewrite your entire system, are you going to choose Perl 6? As amazing as Perl 6 is, I don’t think so. I think you’re going to pick Javascript and node.js. The reason is simple, Javascript has a lot of the same flexibility as Perl, it’s faster than Perl, and there’s an almost immeasurable amount of work being put into Javascript libraries.
Are you a smart web developer using Mojolicious, Dancer2, Kelp, Limper or just CGI ? Sure, yes you are! ;-) You have just finished yet another web application ready to get deployed and awaited with impatience by your customers. All your 't/' are fine, you for sure use Plack::Test or similar tools to tests your application not only in internal but external way. Everything is going to be fine, even though it's Friday today and is not probably good time to make a release, but you so anxious to see a results and get users input, so you are going to talk to John - devops guy and send him a git URL where your source code lives in so he could start the deploy procedure ...
... But, yes, there are some "hurdles" always. John kindly asking you to provides some monitoring capabilities for your freshly baked application, so he could make it sure it won't break on weekend silently without alarming anybody ...
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.