Perl Weekly
Issue #654 - 2024-02-05 - Perl and FOSDEM
latest | archive | edited by Mohammad Sajid Anwar
|
Hi there,
Did you know FOSDEM happened last week?
FOSDEM, Free and Open source Software Developers' European Meeting, is still a mystery for me. Few years ago a fellow member of LPW organising team introduced me to FOSDEM for the first time. Ever since, I always wanted to attend at least once just to experience the gatherings. I found out familiar faces attending this year FOSDEM like Curtis Poe, Paul Evans and Salve J. Nilsen. Although the location wasn't far from my place but timing wasn't ideal. I wish I was mentally prepared to attend this year FOSDEM. I even saw a post by Theo van Hoesel with regard to TPRF sponsored Dinner at FOSDEM. It would have been a great opportunity to meet good old friends. Paul shared the live video link from the event. I was able to watch the fun luckily thanks to the organiser. I am hoping the video recordings of the event would be made public soon. Here is the schedule of Perl and Raku Programming devroom.
Have you tried ChatGPT?
I have and I find it fun playing with it. Recently I asked "How do I check if memcached server is running locally and listening to default port?". Like always, I got instant response with few lines of Perl to get the desired result. Guess what, it didn't do what I asked it to do. I went back and asked again. This time, I got another variation. I tried that too but no luck. By now, I was too tired to repeat the question. I then used CPAN module IO::Socket::INET to see if I can create socket. I know it is not ideal but does the job. Time to move on to next thing in the long TODO list.
Does a programmer need to know system admin task also?
I have been a programmer and only programmer all my life. I remember in the past, I was sent to a week long training to learn sysadmin tasks. It was fresh for a week after the training then I was back to my programmer life. I did enjoy the training and learnt few tricks. As some of you know about my CPAN module, Map::Tube, I published in 2010. I decided to create REST API interface to play with it. Luckily I had another CPAN module, Map::Tube::Server. With this, I was able to setup the server in no time on my local box. Now comes the difficult task, create service to manage the server. Being a programmer doesn't help the cause, also when your box is running WSL and not real linux. With the limitation of WSL, I had only one option to create service based on init.d. It wasn't hard to create service file for the map server. I could even use the service to start the server but termination didn't work for some strange reason. I didn't have the energy to ask ChatGPT for help. It has to wait for now.
I am thinking of writing a blog post about the whole process, if I can find spare moment.
Enjoy rest of the newsletter and do share your Perl story with us.
Mohammad Sajid Anwar
|
|
|
Announcements
|
|
Articles
|
Another weekly update from the Perl Steering Council. Thank you PSC for all the hard work.
|
|
The Weekly Challenge
The Weekly Challenge by Mohammad Anwar will help you step out of your comfort-zone. We pick one champion at the end of the month from all of the contributors during the month.
|
by Mohammad Sajid Anwar (MANWAR)
Welcome to a new week with a couple of fun tasks: "Odd Character" and "Most Frequent Word". If you are new to the weekly challenge, why not join us and have fun every week? For more information, please read the FAQ.
|
|
|
by Mohammad Sajid Anwar (MANWAR)
Enjoy a quick recap of last week's contributions by Team PWC dealing with the "Three Power" and "Reverse Vowels" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.
|
|
|
by Ali Moradi
Compact one-liner in Perl to get the job done. Well done.
|
|
by Arne Sommer
Enjoy more than just the solutions to the weekly tasks. Highly recommended.
|
|
by Bob Lied
Interesting discussion about power of three and the confusion around it. You will enjoyed the discussion.
|
|
by Dave Jacoby (JACOBY)
Another fact finding story of week number 254. Solution itself is self documented. Thanks for sharing.
|
|
|
by Jaldhar H. Vyas
Here we get to know how Raku deals with decimal number and work around the issues. Good job.
|
|
by Jorg Sommrey
Love the extension and dealing with non-latin characters. Keep it up great work.
|
|
by Laurent Rosenfeld
Interesting use of log function in Perl and Raku. Interesting discussion on the topic.
|
|
by Laurent Rosenfeld
Precise dealing with case just to be perfect solution as always. Thanks for sharing.
|
|
by Luca Ferrari
Simple and to the point solutions in Raku, Python and PostgreSQL. Plenty to keep you busy.
|
|
by W Luis Mochan
Perl one-liner in action as expected with enough explanation. Well done.
|
|
by Packy Anderson (PACKY)
Once again recursion is in action. Well documented and compact solutions. Keep it up great work.
|
|
by Peter Campbell Smith
I love the code coverage. No if no but, all inclusive solution. Nice work.
|
|
by Robbie Hatley
Clarity in discussion makes it easy to follow thorough. Thanks for sharing the knowledge.
|
|
by Roger Bell West (FIREDRAKE)
Pure mathematical approach with the help of Ruby as the choose language in the post. Thank you.
|
|
by Simon Green
A very interesting aspect of the task discussed in a simple language. Good job.
|
|
by Stephen G Lynn
For all Perl 4 fans, you don't want to miss this. keep it up great work.
|
|
Rakudo
|
|
Weekly collections
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|