Grant idea - pack and unpack on streams

Merijn Brand gave me this proposal. As it’s too long for our grant ideas list, I am posting here.

Finding Common Ground ... in Both Directions

Last week I formulated an interesting problem in text processing while working on one of my hobbies.  Since I was only able to devote an hour or two here and there, it took me a few days to get the solution up and running, which indicated to me that it wasn’t as simple as I’d thought it would be at first.  And since “not simple” often means “interesting,” I thought I’d share it here with you.  (Note that I don’t claim this is the best solution, or the most efficient, or the most elegant.  I’m perfectly happy to receive suggestions for improvement if you’re so inclined.)

Test failures in File::LibMagic

My June assignment for the CPAN Pull Request Challenge was File::LibMagic. The module had 50 FAIL reports at CPAN Testers, so I decided to start from them.

You're not too late for the CPAN Pull Request Challenge

The CPAN Pull Request Challenge has now been running for half a year. Hundreds of people have done pull requests on CPAN distributions. Many have fallen by the wayside, as life and other distractions caught up with them, but more than 50 are still in the game. If you haven't tried it yet, it's not too late — you can sign up any time before 31st December.

Grant ideas

I made a list of grant idas. Nothing fancy but it's just a start.

Share grant ideas. Use the ideas. Improve Perl.

a perl5 to Java compiler - work in progress

I've been adding support for Java in Perlito5 in the last few days.

This is what it does so far:

Simple and efficient formatting of relative date/time using Time::Moment

swat - Simple Web Application Test ( Tool )

As devops I update a dozens of web application weekly, sometimes I just have no time sitting and wait while dev guys or QA team ensure that deploy is fine and nothing breaks on the road. So I need a tool to run smoke tests against web applications. Not tool only, but the way to create such a tests from the scratch in way easy and fast enough. So this how I came up with the idea of swat.

Keywords - perl, curl, Test::More, TAP, prove, bash
---
https://github.com/melezhik/swat

The Seven Steps to Perl Mastery by Tom Christiansen

(Reposted - originally by Tom Christiansen, preserved by Ilya Chelpanov at http://i72.narod.ru/perl-mastery.html, reposted here for convenience and posterity.)

The Seven Steps to Perl Mastery
by Tom Christiansen.

A Perl Novice ...
- Thinks CGI and Perl are interchangeable terms.
- Still thinks Perl looks like bad C code viewed over a noisy modem.
- Is insecure about the concept of dollar signs and at signs.
- Thinks Perl should be more like sh or tcl.
- Has heard of the `` Unix mindset '', but hopes it's a treatable condition.
- Can not figure out how to read input from the keyboard.
- Thinks regular expressions are somebody cursing.
- Wonders why no one can give him a straight answer about whether Perl is
compiled or interpreted.

Perl in Universities

A very late comment on a small portion of Brian's remarks to Dave's thoughts on recruitment in December. In a blow to my work productivity, I can now login again so I'll clear out some of the drafts I've had hanging around. I don't need to know why I can now or couldn't before. The Truth is I had real work to do and the Universe was telling me to focus. Collateral damage is unavoidable.

In this post, I make short, tangentially relevant comments on why grabbing Perl mindshare is important and a couple of ways for sneaking it into universities through the back door.

I have no explanation for this
I'm a little concerned that the We have enough is bordering on the complacent. I'm not sure how many exciting COBOL projects are out there. There are enough COBOL programmers and they are paid well, but you'll need a hobby to make life interesting.
- quote from December's draft. Maybe you can enlighten me on what I was thinking.

blogs.perl.org... Perl's Death by 1,000 Cuts

Just trying to log into blogs.perl.org to comment on David Mertens' PDL features I'd like to see in Perl 6 was a huge pain in the ass... in fact just getting the login to work for this was also but I won't go there.

Imagine how many would-be contributors have been turned off by what is described below.

Sydney PM July 2015

Hi All

Broadbean have again kinldy offered to host us this month, thanks be to Peter Harrison for setting the wheels in motion once again.

What: Sydney PM
Date: Tuesday, 21st July 2015
Time: 6-9:30pm
Where: Broadbean, Suite 8.03, 9 Hunter Street, Sydney

Speakers are needed!

Here are some ideas:

Anything to do with rapid creation or consumption of rest/soap/xmlrpc/other apis
Getting started on perl testing
Using perl in funky cloud services like Digitial Ocean, codio, heroku etc
Maybe something on logging, log4perl, Log::Any, Log::Dispatch
Something cool that you did, just a fun little tool or something

There is a projector with all the usual trimmings and wifi access may be available.

Lightning talks would also be really great!

Meeting after that? August! Date TBD.

Perl5 to Perl6 conversion a la Perl::Critic

Over the last few days I've put the Perl::Critic framework to a new use, that of upgrading old perl5 code to shiny new Perl6. The result of this is currently residing on https://github.com/drforr/Perl-Mogrify as it's not quite ready for CPAN yet. There's quite a bit of gruntwork to do replacing the existing Perl::Critic documentation, and I want to add a few more features, but the list of what it converts over is pretty extensive.

(I'm aware of Util's Blue-Tiger project and in fact cribbed some code from it, but I wanted the ability to let others contribute without having to make a pull request.)

From the README:

Perl 5 Optimizing Compiler, Part 13: Happy July 4th! RPerl v1.0 Full Release

Howdy Perlites,

After over 2.5 years of work, I'm very proud to (finally) announce the full release of RPerl v1.0 on CPAN!

Installation should now be as simple as:

$ cpan RPerl
OR
$ cpanm RPerl

For more information about install options, please see:

https://github.com/wbraswell/rperl/blob/master/INSTALL

As outlined in step 3 of the install notes file, we can now automatically compile our test program and see speed improvements of approximately 170x to 350x, depending on your system.

As usual, the RPerl technical team is in #perl11 on irc.perl.org so don't hesitate to reach out if you need help or have any questions. Let the bug reports begin! :-)

We've come a long way, and we've got a long way to go yet, this is just barely the beginning!

Perling,

~ Will the Chill, rperl.org & austin.pm

GitPrep 1.10 release - Improvement of CGI installation

I released GitPrep 1.10. You can install portable GitHub system into Unix / Linux easily. It is second major release.

Because you can install GitPrep into your own server, you can create users and repositories without limit. You can use GitPrep freely because GitPrep is free software. You can also install GitPrep into shared rental server.

GitPrep (Document and Repository)

Features added in 1.10 are:

  • Improve CGI installation. You can always use GitPrep as CGI. CGI script path is changed from "path/gitprep.cgi" to "path/gitprep/gitprep.cgi".

Let's use usufully.

Example

You can try GitPrep example.

GitPrep Example

Download

Download

Document

GitPrep Document and Repositry

PDL features I'd like to see in Perl 6

I recently asked around #perl6 as to a mailing list where I might discuss PDL features that I'd like to see in Perl 6. Synopsis 9 is supposed to discuss these features, but the PDLish ideas feels like a straight port of PDL, rather than a rethink of what's important. I wanted to discuss things a bit.

The answer was, "Write a blog post." This post contains what I consider to be the essential ingredients of PDL that I think are easily achievable for Perl 6 v1.0. I want Perl 6 to provide an expressive language for writing operations on high dimensional data. I believe that we (and I do include myself) can get this done by Christmas if others can help me out.

Dancer2 and Perl6

Yesterday I thought I might see whether Dancer2 could survive running inside Inline::Perl5 as a possible migration scheme. Roughly 100 of 120 files ran cleanly after wrapping them inside a perl6 heredoc, and as of 10:30pm I've only 6 files left to fix. The majority of the changes have been adding 't/' to the Dancer2 file paths as it apparently relies on FindBin, which reports a different location since I'm running test suites inside perl5 from inside perl6. The other changes have been caller() related which I'm skipping for the time being, and two files where it can't find the correct configuration location, again probably due to the nested interpreters.

I figure I can't go too far wrong with a test suite as extensive as Dancer2's, and yes, I do have an ulterior motive here, wanting to expose the interpreter to a different sort of load. At least this way I can migrate code piecewise and at the same time stress Inline::Perl5 in exciting and new ways.

A Basic Challenge

Recently, I came across this project which turns C++ into BASIC. How close can Perl do?

I recall reading somewhere that Perl has the ability to vastly alter its syntax. Is Perl going to be bested by C++?

BBS Applicaton implemented by Mojolicious, which can run as CGI and Embdded web Server

I create BBS applicaton implemented by Mojolicious, which can run as CGI and Embdded web Server.


ASKA BBS(Mojoliciosu version)

Originally, this is Japanese ASKA BBS application.


ASKA BBS
サンプル

This is good application for you to understand how to create BBS application which can run as CGI and Embdded web Server.

Features

  • This is BBS implementation by using Web framework Mojolicious
  • This use cpanm internally, you can setup by one comman
  • You can run this application by both CGI and Embdded web server
  • Pagination is implemented by Data::Page and Data::Page::Navigation
  • Email sending is implemented by MIME::Lite

This project purpose is rewriting old good Perl/CGI application by modern convention. I hope more people can write Web application by modern convention. It is easy to create application and get high maintenance ability.

This is Japanese project, but you can understand application structure easily if you see the file and directory names.

CPAN PR-Challenge: June Report

I know this is getting a lame excuse. But with lack of time, the patch I had time to prepare this month is, again, small. It is mostly some extra tests: https://github.com/szbalint/WWW--Curl/pull/10

But better few than nothing...

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.