Issue #477 - 2020-09-14 - GUI with Perl Tk

latest | archive | edited by Gabor Szabo
This edition was made possible by the supporters of our cause.
Don't miss the next issue!

Hi,

You might recall a long time ago I started a project called Padre, the Perl IDE that was, in its time, a fairly popular project. Unfortunately with time all the contributors moved to other projects and some of them to other programming languages. Now the project is dormant.

However, I remember how much fun it was to build a GUI and thus after so many years I am back with another, albeit much less ambitious GUI project. One goal is to make it easier for you to decide on your PerlTidy configuration options, that will generate your favorite layout of code. The second goal is to create a set of Perl Tk examples and videos explaining it to make it easier to you too to create Perl Tk based GUIs.

I also hope that some of you will find this project a good reason to support yours truly.

Enjoy your week!

Gabor Szabo


Statistics

This is a new section of some data we collect with scripts. Let's figure out what numbers could be interesting. The script(s) are in the Git repository of the Perl Weekly. See stats from the previous weeks.

CPAN uploads

Last week there were a total of 178 uploads to CPAN of 110 distinct distributions by 68 different authors. Number of distributions with link to VCS: 86. Number of distros with CI: 39.


Announcements

game code challenge

This sounds like a lot of fun if you like games and challenges.

RxPerl release candidate is out

by Alexander Karelas (KARJALA)

RxPerl is an implementation of Reactive Extensions / rxjs for Perl


Articles

Ordeal::Model gets a Raw backend

by Flavio Poletti (POLETTIX)

Ordeal::Model is a Perl module that basically serves the needs of ordeal, a small semi-public web application to randomly draw cards.

TIL about Literate Programming

by Buddy Burden (BAREFOOT)

It is always fun to read the posts of Buddy Burden, this time about Literate Programming. I also always learn new words. For example serendipity, which translates to Hungarian roughly as serendipity. Wow, that helps.

EventSource and buffering

by Flavio Poletti (POLETTIX)

If your application serving the EventSource web service is behind a (reverse) proxy, you might want to know how to disable buffering.

Introducing the Perl Tidy GUI project

by Gabor Szabo (SZABGAB)

The perltidy script allows you to convert your Perl source code to some unified layout. The Perl::Tidy module, behind the scenes allows us to build tools like perltidy. Let's experiment with it so we can try to build a GUI for it.

CORS quick note

by Flavio Poletti (POLETTIX)

Flavio writes: From time to time, I try to program a frontend/backend pair with a JavaScript-based part in the browser and a Perl-based backend on some server. And I regularly hit against the CORS wall. Yes, Cross-Origin Resource Sharing.

Web Scraping with Zydeco

by Toby Inkster (TOBYINK)

According to Toby Zydeco is a Perl module to jazz up your object-oriented programming.

Sending 204 'No Content' from Mojolicious

by Flavio Poletti (POLETTIX)

Set status to 204 AND pass an empty text/data too.

New release of Bot::ChatBots::Telegram

by Flavio Poletti (POLETTIX)

Just upgrading the dependency.

Promoting Perl and Perl-based Projects?

I don't know who is s-ro_mojosa in Reddit who posted this, but my advice would be to follow the footsteps of Flavio Poletti and start blogging like hell about stuff you do. Even if it just updating a dependency in a module. (See previous post.)

Trying Cairo: a Docker image

by Flavio Poletti (POLETTIX)

Cairo is a 2D graphics library with support for multiple output devices.


Facebook

Perl Town Hall, Episode #25

by Will Braswell (WBRASWELL)

The weekly video recording of Will Braswell available for Facebook members only: Git Tutorial from Dave Cross; Backblaze Cloud Storage & Pepper Microservices from Eric Chernoff; Perl Weekly Challenge from Mohammad Sajid Anwar & Laurent Rosenfeld; Role::RunAlone from Jim Bacon; CPAN Dependency Versions from Bartosz Jarzyna; Tk GUI & Perl::Tidy from Gabor Szabo; Perl Humor from Mark Gardner & Robert Ryley; Advanced Vim Commands; Houston Perl Mongers OO Presentation & Report from Julian Brown & Darren Duncan; Online Payments from Fabrizio Alonzi; Creating New Modules from Zarul Zakuan; ActiveState Book Giveaway & Pearls of Perl from Carl Paas & Dana Crane


Grants

The Weekly Challenge

The Weekly Challenge by Mohammad Anwar will help you step out from your comfort-zone. You can even win the prize money of $50 Amazon voucher by participating in the weekly challenge. We pick one winner at the end of the month among all the contributors of the month. The monthly prize is kindly sponsored by Peter Sergeant of PerlCareers.

The Weekly Challenge - 078

by Mohammad Sajid Anwar (MANWAR)

Welcome new week with couple of fun tasks "Leader Element" and "Left Rotation". If you are new to the weekly challenge then why not join us and have fun every week. For more information, please read FAQ page.

RECAP - The Weekly Challenge - 077

by Mohammad Sajid Anwar (MANWAR)

Enjoy quick recap of last week contributions by the Team PWC dealing with the "Fibonacci Sum" and "Lonely X" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.

Meet The Champion - Cheok-Yin Fung

by Mohammad Sajid Anwar (MANWAR)

Checkout the interview with the winner of August 2020, Cheok-Yin Fung.

Perl Weekly Challenge 077

by Adam Russell

Adam seems to moved to new blogging platform, shared interesting facts about Fibonacci numbers.

Challenge 077 - Fibonacci Sum

by Andinus

Andinus shared his experience with Fibonacci sum task only this week,

Add up Fibonacci numbers — The Weekly Challenge 77, Task 1

by Andrew Shitov (ANDY)

Andrew made it one-liner for Fibonacci sum task this time.

Lonely X — The Weekly Challenge 77, Task 2

by Andrew Shitov (ANDY)

Thorough explantion of Lonely X task with full of Raku magics every where.

Lonely Sum with Raku

by Arne Sommer

Arne shared how he simplified Prime Sum solution to get the Fibonacci sum task done.

Expand one into two - CY's Take on TWC#077

by Cheok-Yin Fung

Cheok-Yin task analysis is worth reading. Highly Recommended.

All those Pasta Lies Led to a Lonely Ex

by Colin Crain

Colin shared plenty of Raku magic this time.

Perl Weekly Challenge: Fibonacci Sum and Lonely X

by Laurent Rosenfeld

Laurent as always discussed the nitty-gritty on Fibonacci sum task.

Week #077: Fibonacci Sum & Lonely X

by Mohammad Sajid Anwar (MANWAR)

Mohammad continued playing with Perl and Raku.

Perl Weekly Challenge 77: Fibonacci Sum and Lonely X

by Roger Bell West (FIREDRAKE)

Roger gave us bonus by providing solutions to Fibonacci sum task in Perl, Raku and Python.

Perl Weekly Challenge 077

by Simon Green

Simon shared 2 ways to solve the Lonely X task. Interesting Idea.

PERL WEEKLY CHALLENGE: WEEK 77

by Shahed Nooshmand

As always, Shahed is showing his power by getting one-liner to solve Fibonacci sum task. Similary Lonely X task is also very elegant.

Perl Weekly Challenge #77

by Walt Mankowski

Walt making use of special variable. Also task analysis of Lonely X is the best.


Other

Weekly collections

The corner of Gabor

A couple of entries sneaked in by Gabor.

App PerlTidy Tk version 0.01

by Gabor Szabo (SZABGAB)

As promised, I started to work a Perl Tk based GUI to fine-tune your Perl Tidy configuration. The first release is on CPAN. Explanations about Perl Tk and the project are posted to my Patreon supporters.


Perl Jobs by Perl Careers

Your mission, should you choose to accept it . . .

You've always known you were meant for greatness. Managing a team of two or three has been great, but you're ready to ascend to the next level. Your mission, should you choose to accept it, is to parachute into this plummy new role to hone your leadership skills and show those at the top that you're ready for the next big leap.

Why working as a Perl developer in Vienna is going to change your life

For many of our developers, 2020's also been an exceptionally uncertain year. Lay-offs, furloughs, comapnies implementing strict cost-cutting measures. Wouldn't it be nice to work for a company that's actually been _growing_ during lockdown? Our client's in a buouyant position, and they're looking for someone like you to come and join them.

Goodbye, Winter Blues. Hello, 300 Days of Perl Sunshine! Perl developer job in Malta

Our client is a financial company whose growth over the last twenty years has been nothing short of impressive. They started with the idea that online trading should be available to all, and from there, they've built a company with multiple locations worldwide. If you want to be part of a business that is thriving, this may be the perfect opportunity for you.

Shopping, Skating, and Swimming. Is This Even Work? Perl developer in Dubai

You can work anywhere in the world, so why not work somewhere world-class? Where better to spend your days (and nights) than a rapidly growing city. Did we mention it's beautiful all the time? Sun, sand, stunning blue water and you, patting yourself on the back for having the good sense to jump on this new career opportunity!

Why let Silicon Valley have all the Fun? Perl Developer job in Cyberjaya / Kuala Lumpur

Sure, Silicon Valley is great. They've got some of the world's largest tech companies and some pretty nice offices, but do you know what else they have? Mist. Fog. Chilly weather that seeps into your clothes and makes you wish for warm, sunny days that don't leave you shivering. Why not consider the Silicon Valley of Malaysia, where the temperature is always balmy?



You know, you could get the Perl Weekly right in your mailbox. Every Week.
Free of charge!

Just ONE e-mail each Monday. Easy to unsubscribe. No spam. Your e-mail address is safe.
Perl Weekly on Twitter RSS Feed of the Perl Weekly. Updated once a week