Moose Bug Test Fixer

A quick postette day may-by here in the Moose-Pen

Well I though I would have a very quick post here today, which is nice as I am still not 100%. I was going to re-run my test-suite end to end and you would think with only '

 2 files changed, 37 insertions(+), 9 deletions(-)

in Database::Accessor there is not much that could go wrong. 
First I had these annoying warings again;

 Use of uninitialized value in string ne at /home/scolesj/databaselib/Database/Accessor.pm line 479.
After little poking about I seen that I had to include a check to see if indeed there is an alias on the view. I added in this patch;

My report of the Perl Toolchain Summit 2018 in Oslo

This year, to my surprise, I was again invited to the summit, on short notice.

Again, I was able to visit a city I have never been before and hack four days on YAML and other stuff.

CPAN Pull Request: Mission (Im)possible 2018

Perl 5 Porters Mailing List Summary: April 3rd-30th

Hey everyone,

Following is the p5p (Perl 5 Porters) mailing list summary for the past month.

Enjoy!

Moose Fixes Second Bug

ts fix the other bug day here in the Moose-Pen.

The second of the bugs that I am after squishing today was in Driver::DBI and in test case '15_alias.t' It was dropping the elements/fields from the update command like this

Expected->UPDATE people SET first_name = ?
Generated -> UPDATE people SET 
Looking at the code in Driver::DBI the line in question is the '_update' sub;

    my (@field_sql) =
        $self->_insert_update_container( Database::Accessor::Constants::UPDATE,
        $container );
The first thing I checked was what was in the '$container' I was playing with. A line of two or waring and a run later it that turned out it was

A Perl Toolchain Summit 2018 organiser's report

The 2018 edition of the Perl Toolchain Summit is over! I’ve posted my report from it on my own blog.

What after the Pull Request Challenge?

Ever since Neil Bowers decided he would stop the "PullRequest Challenge" at the end of the year 2018 in this blog, I have been thinking over time what next after. He even wrote a blog about his ideas.

I am kind of addicted to this phenomena by now. I can't think of life without it. I then noticed someone called, Kıvanç Yazan, taking the initiative. He even setup a website PullRequest Club. Unfortunately I haven't seen much activities lately. Luckily he is giving talk at "The Perl Conference", Glasgow in Aug 2018, where I am also one of the speakers. I hope to meet him and discuss about the future of "PullRequest Challenge".

Perl Toolchain Summit 2018 Wrap-up Report

I had a great and very productive time working on MetaCPAN at this year's Perl Toolchain Summit. I've posted the full report here.

Moose Fixes Test

It fix a test postette day here at the Moose-Pen

Felling a little better today as the mind is a little less foggy, that might change back on October 17 th though? Today I am going to fix the first of the bugs I ran into yesterday ;

Not a HASH reference at ,,,\t\lib/Database/Accessor/Driver/Test.pm line 13
# Looks like your test exited with 255 just after 6.
The first thing I did was look back at my API and see how I define a $container and it can be Hash-Ref or a Class or an Array-Ref of Hash-refs and Classes and I looked at my failing test. In this test I am using an array_ref;

Mojolicious "morbo" work well in Windows - winmorbo

winmorbo

Tool to make Mojolicious Development server "morbo" work well in Windows

I create winmorbo batch script. Do you think this tool?

If claiming voice is nothing, I want to release App::winmorbo on CPAN.


Download
winmorbo

Usage

    winmorbo app.pl

Description

In Windows, Mojolicious development server morbo don't work well
because worker process can't be receive parent TERM signal well.

For this reason, in windows, Web development is not fun and hard.

I hack Mojo::Server::Morbo in a simple way to make morbo work well in Windows.

How to use winmorbo?

Donwload winmorbo.bat

At first download winmorb.bat in your Mojolicious project directory.

Click winmorbo.bat on GitHub and click Raw button to download winmorbo.bat

Excecute winmorbo.bat

Execute the following command.

You don't specify .bat extension because this is windows batch file.

In this example, Mojolicious application is app.pl.

Perl Toolchain Summit 2018 report

The Perl Toolchain Summit (previously known as the Perl QA Hackathon) is an annual coding workshop for people involved in the Perl toolchain, testing, quality assurance, and related issues. 2018 marked ten years of the PTS, so it seems fitting that it returned to Oslo, where it was first held. I’ve attended a few of them, and I was very pleased to take part in this one as well.

Perl RaspberryPi eBook fundraiser, goal reached!

Well, thanks to the very generous donations by my kin Perl Hackers, the fundraiser for the Raspberry Pi eBook that Timm set up and I eventually jumped on board for has reached its initial fundraising goal!!

I'm very excited, and even before we hit the target, Timm and I had been in communication preparing for, and even commencing some of the book's aspects.

I would like to personally thank everyone for their support, and want to give Gabor a shout-out for monitoring the progress of the fundraiser, and making it prevalent in the Perl Weekly for those couple of weeks there. We noticed a significant spike in activity following the release of the newsletter. Thank you everyone!

-stevieb

Moose-Pen is Back

Moose-Pen is Back

Sorry I missed a few days it seem that when you have walking pneumonia it can turn into creeping pneumonia very easily. Who knew? I will have to start my year of daily posts again I guess I should be satisfied with 297 consecutive days.

Just a postette for for today and as usual it is just a quick all-up test post. For Database::Accessor it has been a while since I did a full pull on the repo and I got

 6 files changed, 160 insertions(+), 39 deletions(-)
So maybe expecting a few problems there and on my first run I get

Perl Toolchain Summit 2018

The Perl Toolchain Summit (PTS) is a yearly event that gathers the maintainers and contributors to the Perl Toolchain for four days in one room. Having all the people with both the knowledge and access to work on this critical corner of Perl all together in one place always leads to progress which is much more than the sum of those individual contributions. What is the Perl Toolchain? It is any part of Perl which is involved with modules, from creating, authoring, testing, uploading, distributing, loading, reporting on tests and test coverage, etc, etc. Projects like CPAN clients (cpanm, cpm), aggregation sites like MetaCPAN, CPANTesters, cpancover, and critical infrastructure like PAUSE and modules like Test::More/Test2 and many others are represented.

This year’s event was hosted in Oslo, by the indomitable Salve Nilsen, who first started this event in 2008 ten years ago, back when it was called Perl Quality Assurance Hackathon (QAH). Together with local organizers Stig Palmquist and other Oslo.pm members, as well as remote organizers Philippe Bruhat, Neil Bowers, and Laurent Boivin, (and others as well, I’m sure) it was again a wonderful event!

A new Linux distribution with Perl as its heart

I just released RSLinux-v1.01, it's a new Linux distribution with its package manager, build configurations, and a demo one liner init system all written in Perl. It offers complete freedom on how you want it to be, like LFS, but much much easier. And needless to say, if you're a Perl hacker you already got extra advantage to use it.

The package manager is available on CPAN now, and there's also a VM image on github so that you could easily try it out.

Please see the documentation for more information.

Strawberry Perl 5.26.2.1 and 5.24.4.1 released

Strawberry Perl 5.26.2.1 and 5.24.4.1 are available at http://strawberryperl.com

More details in Release Notes:
http://strawberryperl.com/release-notes/5.26.2.1-64bit.html
http://strawberryperl.com/release-notes/5.26.2.1-32bit.html
http://strawberryperl.com/release-notes/5.24.4.1-64bit.html
http://strawberryperl.com/release-notes/5.24.4.1-32bit.html

I would like to thank our sponsor Enlightened Perl Organisation for resources provided to our project.

Back to Pratical Moose

Back to piratical Moose;

You may remember a post a few days ago where I was starting the first of my practical Database::Driver::DBI tests against an Oracle DB I happen to have handy. I ran into problems right away as I was getting this generated SQL;

NSERT INTO people ( city, country_id, first_name, 
                    last_name, postal_code, street, user_id )
      VALUES( ?, ?, ?, ?, ?, ?, ? )
as the the container I was using was not being cleaned up so I was getting elements that where part of the 'address' view. My last few post cleaned up that problem and now when I run my test I get;;

Websocket Extension for GUIDeFATE - Dialogs and File Operations

GUIDeFATE, your favourite Quick-and-Dirty GUI designer for newbies is now acquiring a Web-socket interface. Now this is certainly not capable of competing with those genius applications Mojolicious, Catalyst, Dancer etc. Having only discovered Web-sockets a few weeks ago my yield is going to be decidedly sketchy. Of course a desktop interface is quite different to a web app...the machine running the interface is the same as the one the user is sitting at, and the program running the graphical output is the same as the one that is handling user interactions. When there is a client and server involved, a certain of communication is required between the two, both must of course be able to understand each other, even though they may be coded in different languages. GFweb (GUIDeFATE's Web-socket module) handles 1) the generation of the user interface 2) the initiation of a listening socket, 3) handles the communications between the two.

Dialog/Message boxes over websockets

The Perl Toolchain Summit 2018

This year marks the 10 year anniversary of the Perl Toolchain Summit, formerly known as the Perl QA Hackathon.

The Perl Toolchain Summit provides an opportunity for around 30 Perl developers to get together for four days or so to talk about and develop the infrastructure which surrounds Perl. This includes being able to build modules, being able to test them on multiple systems, being able to find out about them, being able to manage them, and many other related areas.

Salve Nilsen started the QA Hackathon back in 2008 in Oslo, and we returned in 2018 with Salve again being involved in the organisation.

This year I was very happy to discover that a number of people arrived in Oslo with the idea of working on some area of Devel::Cover (the Perl code coverage module) or cpancover (the service that provides coverage information for all of CPAN).

Invent Stories

A tiny post in my blog about a small app to draw random pictures, I hope you will enjoy!

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.