veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

233
active users

#perl

27 posts13 participants0 posts today
Replied in thread

@glitch I think my requirements are subtle. I'd like a self contained tool, that does not compile to a binary for one off cli tools. If I come back to it a year later, I don't want to have to search for where the source code is.

I would like all of the features I mentioned, flags, file handling, input validation, to be part of the standard Library so if I share my script there will not need to be additional libraries installed.

#Perl feels like the closest to this requirement that I've seen.

Replied in thread

@tivasyk Perl was one of those languages I had used a long long time ago. I abandoned it's because of the hype of other tools.

I have always felt that that was an unwise decision, and that I should find an opportunity to use #Perl for something, to really give it a chance to see what it can do.

For next 4 days #Leipzig in 🇩🇪Germany is the center of work on the #Perl programming language.

At the Perl Toolchain Summit over 30 experts and highly involved volunteers gather to keep the language and its ecosystem healthy and appealing 🔧⚒️🗜️

Photo: Same venue in Leipzig already used at German Perl Workshop 2022. Photo from @sjn

I was looking for an alternative to classic shell scripts, so I timed a Hello World program in different languages for fun. I thought you might want to know:

1 ms - #Bash
1 ms - #Perl
12 ms - #Python
33 ms - #Go (shebang calling `go run`)
38 ms - #C (shebang compiling to temporary file)
61 ms - #Rust (shebang compiling to temporary file)

Needless to say that this is a highly unfair and silly comparison. It's still interesting, though.

#TIL: using a version number of '0' in a #Perl dependency version spec means that *any* version is sufficient.

Oops! I always thought that this gave the most recent version, but that's only true if the module hasn't already been installed.

What's best practice to specify the "latest version" in CPAN::Meta::Spec? Is it better to use e.g. '>=X.Y.Z', where X.Y.Z is a known good minimum version number?

Whew. Finally got this sorted. Here's a screenshot of a basic VCV Rack 2 patch controlled by the IAC virtual driver on my Mac. It shows the MIDI-CC > CV module connecting CC 1 (mod-wheel) with the pulse width modulation CV of the VCO.

The control-change is automated by this ultra simple code: github.com/ology/MIDI-RtContro with the command

`perl eg/control-change.pl pad iac scatter`

#Perl real-time #MIDI #vcvRack

Replied in thread

@paoloredaelli @wollman @rubenerd @dexter Reading the original post, it kind of alienated me, but the reason wasn't #perl but #CGI. There's nothing wrong with #perl at all (although now I wonder, I didn't see it used on the #web #backend for quite a while, is there actually a *SANE* integration with web servers available, that doesn't require forking a process for each and every request?)

I'll never get how people come to think #python could be the "modern replacement". A language that makes whitespace syntactically relevant already failed every sanity check. And it kind of proves that by incorporating exceptions in normal control flow. screw that nonsense.

Yesterday in WTF #Perl:
DB<1> use Event::Scraper::Website::SwindonFestLiterature;
double free or corruption (fasttop)
Aborted
This is perl 5, version 32, subversion 1 (v5.32.1) built for x86_64-linux-gnu-thread-multi

Whaaat?

Ich habe eine neue Artikel-Reihe gestartet: #Wissensmanagement in der #Architektur

Wie wir mit #AsciiDoc, #Git, #BibTeX und etwas #Perl komplexe Dokumente in der Architektur erstellen und vor allem wiederfinden und #Revisionen tracken.
Außerdem ein paar Punkte warum #MarkDown saugt und #kroki fetzt

kaishakunin.com/posts/architek

www.kaishakunin.comStefan Schumachers persönliche WebseitePersönliche Web-Seite von Stefan Schumacher

Continuing our deep-dive HOWTO about building Map::Tube maps, we describe the structure of a Map::Tube map file, extend the map for the first tram line, and use a plugin to graph the network.

This is the second post in a five-post series about creating Map::Tube maps. Have fun!

peateasea.de/building-map-tube

P.T.C. · Building Map::Tube::<*> maps, a HOWTO: extending the networkContinuing our deep-dive HOWTO about building Map::Tube maps, we describe the structure of a Map::Tube map file, extend the map for the first tram line, and use a plugin to graph the network.

Nah Bitch, now you're on *My Family's Turf*.

I asked Google for an #ASCII ART generator (because this isn't my machine, I have two bookmarked) so and "AI" was all up in my space "Let Meeee do your ASCII Art!!!

Fucker, I'mma go find some site that looks like it's from 1998, probably using #Apache and #CGI to rattle less than a hundred lines of stale, crufty, #PERL code, if ... *IF* someone didn't #monster_bash it out.

Logging into my #NextCloud to get my fucking #bookmarks because fuck this.