Perl Weekly
Issue #477 - 2020-09-14 - GUI with Perl Tk
latest | archive | edited by Gabor Szabo
|
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.
|
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
|
This sounds like a lot of fun if you like games and challenges.
|
|
|
Articles
|
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.
|
|
|
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.
|
|
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.
|
|
|
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.
|
|
|
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.
|
|
|
|
|
|
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.)
|
|
|
|
Facebook
|
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.
|
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.
|
|
|
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.
|
|
|
|
by Adam Russell
Adam seems to moved to new blogging platform, shared interesting facts about Fibonacci numbers.
|
|
|
by Andinus
Andinus shared his experience with Fibonacci sum task only this week,
|
|
|
by Andrew Shitov (ANDY)
Thorough explantion of Lonely X task with full of Raku magics every where.
|
|
|
by Arne Sommer
Arne shared how he simplified Prime Sum solution to get the Fibonacci sum task done.
|
|
by Cheok-Yin Fung
Cheok-Yin task analysis is worth reading. Highly Recommended.
|
|
by Colin Crain
Colin shared plenty of Raku magic this time.
|
|
by Laurent Rosenfeld
Laurent as always discussed the nitty-gritty on Fibonacci sum task.
|
|
|
by Roger Bell West (FIREDRAKE)
Roger gave us bonus by providing solutions to Fibonacci sum task in Perl, Raku and Python.
|
|
by Simon Green
Simon shared 2 ways to solve the Lonely X task. Interesting Idea.
|
|
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.
|
|
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.
|
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.
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
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!
|
|
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!
|