helvede.net is one of the many independent Mastodon servers you can use to participate in the fediverse.
Velkommen til Helvede, fediversets hotteste instance! Vi er en queerfeministisk server, der shitposter i den 9. cirkel. Welcome to Hell, We’re a DK-based queerfeminist server. Read our server rules!

Server stats:

159
active users

#perl

5 posts5 participants0 posts today
Continued thread

Different languages are good at different things.

People have mocked #Perl for being a "write only" language, but I feel like the Perl community should take pride and own that slur - you don't need to constantly read and re-read and re-re-read (and edit) the Perl code, because it just keeps working.

Not so with #Python. Python will deprecate your shit and you will NEED to re-read that code so you can make pointless edits to keep it working.

Breaking data.table in #rstats.
This was noticed by our brilliant data analyst Hamza Mir, when analyzing a 10 #gigarow #EMR dataset. #fread will assign a name to each row, i.e. the row number. If the number of lines exceeds 2^31, then a long vector of names has to be generated and R does not support those apparently (yet).
Reproducible example (#Perl code to generate a very large dataset on left, and #rstats output with failure).
ALT-text for code.
See also stackoverflow.com/questions/76

About 25 years ago, I disliked that so many Debian tools were written in Perl because the language allowed too many ways to do the same thing. Now, I consider Perl 5 mature and predictable compared to Python 3.

I started my own pastebin solution a few years ago to share snippets with my colleagues. I ordered a VPS, deployed Sticky Notes and PostgreSQL. I wrote a client in Perl (for learning purpose) and my manager wrote the client in Go. It's easy to use and it was fun. We started to share snippets then more and more people did the same.

github.com/sayakb/sticky-notes

From day 1, the service was a side project without any guarantee of availability and security, even if I'm not crazy, it's not open on the internet and it runs on our own infrastructure.

I put a joke on the front page. But who cares? We use a CLI tool anyway. We almost never reach the front page. It's funny to see newcomers wondering what is the meaning of the mysterious phrase on this awesome service. They don't even know that I'm the one "managing" the service (it runs by itself in reality).

But today, the unprofessional joke is gone. The service will soon be handed over another team because it's their job. RIP my little successful pastebin ⚰️

Sticky notes is a free open-source pastebin application. - sayakb/sticky-notes
GitHubGitHub - sayakb/sticky-notes: Sticky notes is a free open-source pastebin application.Sticky notes is a free open-source pastebin application. - sayakb/sticky-notes

I just saw a malware exploit programmed this year in the #perl programming language. Perl. This year.

At first I thought it might be PHP. But some of the keywords struck me as odd, and it definitely was reading command-line arguments, a feature not regularly on display in PHP as it's geared to web page generation.

Then I thought maybe it's c. But it used object-oriented method accessors and had no header imports.

Perl. Still used in many a Linux and Unix-based distro. And in malware.

I am in urgent job search mode, so I'm gonna throw this out here and see if anything comes of it.

I am a #Canadian, fluent in both #English and #French. I have experience with several programming languages. My strongest proficiency is with #Haskell and #C. I also have a reasonable grasp of #HTML, #JavaScript, #SQL, #Python, #Lua, #Linux system administration, #bash scripting, #Perl, #AWK, some #Lisp (common, scheme, and emacs), and probably several others I've forgotten to mention.

I am not necessarily looking for something in tech. I just need something stable. I have done everything from software development, to customer support, to factory work, though my current circumstances make in-person work more difficult than remote work. I have been regarded as a hard worker in every job I have ever held.

@dch The script looks up the whois records for the IP addresses and does rudimentary parsing on them to find the abuse emails.
I cleaned up the script barely enough to share it and posted it here:
gist.github.com/jikamens/58d67
I don't know if it'll be particularly useful to anyone else 🤷, especially since I wrote it in #Perl and who _does_ that nowadays. 😉

script for generating complaints about botnets attacking a Synology NAS - nas-botnet-complaint.pl
Gistscript for generating complaints about botnets attacking a Synology NASscript for generating complaints about botnets attacking a Synology NAS - nas-botnet-complaint.pl

We consider enabling graceful bootstrapping as one of our main guiding principles around Rex, the friendly automation framework.

While our “How to get started with Rex” page provides a good initial set of concepts, I wondered about the minimal set of features that already proves useful in practice. I find this especially interesting when using Rex from a cronjob or in a CI/CD pipeline.

Let’s see what I found through this exercise in minimalism: blog.ferki.it/2025/03/21/minim

blog.ferki.itMinimum Viable RexFerenc Erki - agile sysadmin