Perl Weekly
Issue #557 - 2022-03-28 - Human languages
latest | archive | edited by Gabor Szabo
|
Hi there!
First of all, let me congratulate Mohammad S. Anwar for editing 100 issues of Perl Weekly. If you visit the main page of the website you will see a list of all editors, past and present, in the order they joined and with the number of issues they edited. Let me thank all of you!
Learning programming languages is not easy, but if you compare that to learning human languages you'll notice that it has a lot more difficulties. Human languages have much bigger vocabulary and much bigger grammar with lots of exceptions. This already makes it much harder to learn on, but in addition it is hard to get fast and cheap feedback. Something you are given by the compiler/interpreter of your language. You can even add more by writing your own tests and setting up a CI system. That's part of the value DuoLingo provides. Fast and cheap feedback. However it is proprietary. LibreLingo is an open source alternative to which I started to contribute. The most fun part for me is actually trying to write a course: building a dictionary and writing sample sentences.
Enjoy your week!
Gabor Szabo
|
|
|
Articles
|
by Flavio Poletti (POLETTIX)
__PACKAGE__ (and __LINE__ and __FILE__) cannot be treated like a sub in versions of Perl prior to 5.16.
|
|
|
by Flavio Poletti (POLETTIX)
You may wish to view a site that is only accessible within a VM on the host machine. In this post, Flavio demonstrates how to use socat to listen on a local port and send the traffic to a remote host/port.
|
|
|
by Thibault Duponchelle
This post explains how to implement a simple TCP client/server in Perl using IO::Socket::INET.
|
|
|
by Matthew Persico
When converting Perl code to Python, Pythonistas will tell you that explicit is better than implicit. However, we must be careful when setting $_ directly to avoid introducing new issues into the code.
|
|
by Flavio Poletti (POLETTIX)
Corkscrew is a tool to set up SSH connectivity through a web proxy that supports the CONNECT verb.
|
|
|
by Flavio Poletti (POLETTIX)
Mojolicious::Plugin::OpenAPI author Jan Henning Thorsen provides Flavio with a handy short-circuit trick to avoid loading an API specification twice.
|
|
|
by Flavio Poletti (POLETTIX)
Minion is a high-performance job queue for Perl that integrates with Mojolicious applications and leading databases.
|
|
|
by Tom Wyant (WYANT)
Installing Perl from scratch on a Raspberry Pi that lost its mind.
|
|
|
Web
|
|
CPAN
|
by Dean Hamstead (DJZORT)
Dean invites anyone using DBD::Oracle to test development release v1.90_1 which should fix a lot of problems.
|
|
|
The Weekly Challenge
The Weekly Challenge by Mohammad Anwar will help you step out of your comfort-zone. You can even win prize money of a $50 Amazon voucher by participating in the weekly challenge. We pick one winner at the end of the month from among all of the contributors during the month. The monthly prize is kindly sponsored by Peter Sergeant of PerlCareers.
|
by Mohammad Sajid Anwar (MANWAR)
Welcome to a new week with a couple of fun tasks: "Additive Primes" and "First Series Cuban Primes". If you are new to the weekly challenge, why not join us and have fun with Perl and Raku 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 "Pythagorean Means" and "Brazilian Number" tasks in Perl and Raku. You will find plenty of solutions to keep you busy!
|
|
|
by Colin Crain
Perl Solutions Review by Colin Crain.
|
|
by Arne Sommer
Another great showing of Raku magic, including Reduction metaoperators and polymod. Plenty to learn, as always!
|
|
by Colin Crain
Pythagorean means (arithmetic, geometric, and harmonic) in Perl and Raku, with some interesting Pythagorean history and discussion of intervals. One-liner solutions in Perl are worth reading.
|
|
by Colin Crain
An introduction to Brazilian Numbers. Discussion of a problem and potential paths to its solution are a key feature of Colin's blog. For me it is more important than the solution itself.
|
|
by Dave Jacoby (JACOBY)
Dave's writing is laden with popular culture references, and is always a fun read. As a bonus, his code looks like poetry to me.
|
|
|
by James Smith
James is well known for his compact and scalable solutions. Footnotes to each solution explain the coding choices in a solution and additional background.
|
|
by Flavio Poletti (POLETTIX)
I loved the re-use of arithmetic mean in the calculation of harmonic mean - you must check it out!
|
|
|
by Flavio Poletti (POLETTIX)
The generalization of determining Brazilian Numbers from an initial brute-force approach is really cool. Worth checking out!
|
|
|
by Laurent Rosenfeld
I always read the Raku code first, followed by Perl. It makes it so easy to follow the code. Thanks for sharing the knowledge.
|
|
by Luca Ferrari
Cool use of Raku's Bag feature makes the solution look so compact. Keep up the great work.
|
|
by W Luis Mochan
Luis is a master of one-liners, and came up with a Perl one-liner to solve the Pythagorean Means problem.
|
|
by Peter Campbell Smith
Peter's blog shares the fun behind the solution and is always a pleasure to read. Thanks for sharing the knowledge.
|
|
by Roger Bell West (FIREDRAKE)
I liked the hack to get a one decimal place result. The solution to the Brazilian Number task is really cool. Great work!
|
|
by Simon Green
We welcome Simon back after a short break - we missed you and thank you, as always, for your contributions.
|
|
Other
|
by Gabor Szabo (SZABGAB)
I found a neat open source alternative to Google Translate. Now I am trying to figure out how to find enough text in Ladino to be able to add the Ladino translator.
|
|
|
Weekly collections
|
|
Events
|
Wednesday, March 30, 2022; 06:00 PM Eastern Time (US and Canada)
|
|
Tuesday April 12th, 2021 07:00 PM Eastern Time (US and Canada)
|
|
|
As the developer and operator of software platforms providing web presence services to guests around the world, our clients take hosting to the next level. You will need strong Perl skills and Linux and/or FreeBSD experience. This role is 100% remote within the UK and EU.
|
|
We’ve got an intriguing role for a Lead DevOps Engineer who cares about great music. Perl experience would be helpful; knowledge of Linux, configuration management tooling like Ansible or Puppet, and experience operating in a physical data centre are must-haves.
|
|
As Chief Software Architect for an international company providing online trading services, you’ll work closely with the Chief Technology Officer. With a strong understanding of the full stack of software development and cloud technologies, you’ll mentor engineering teams and provide guidance in solving technical issues.
|
|
Our client is the world’s leading provider of award-winning intelligent SaaS solutions for clients, ranging from first responders and engineers to manufacturers and educators. The successful candidate is a Perl developer with Catalyst and DBIx::Class. You’ve been around the block and you know your stuff.
|
|
A global leader in machine intelligence matching job seekers with their perfect career: our client’s goal is human-level parsing. They’re on the hunt for an NLP Engineer whose passion for NLP is matched only by their interest in Machine Intelligence and their ability to drive quality improvements, measurement standards, and error analysis processes for the NLP framework.
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|