mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

Watching some of the vids coming out of this year's Perl and Raku Conference. Ingy döt؜؜ Net­'s talk on his work on Lingy and YAMLScript was pretty amazing.

Lingy is a hosted on - Perl code can call Lingy code can call Perl code. The idea of having a Lingy VM with JIT is very appealing.

YAMLScript is a YAML-style dialect of Lingy (or any Clojure implementation), for those who don't like LISP style.

Check the talk out here: youtu.be/9OcFh-HaCyI

I'm still grappling with the possible implications of this work. Lingy, as I understand it, is being designed to be somewhat portable ... Imagine Clojure as a lingua franca alongside C with JIT-level performance to match.

Ingy also demoed a wrapper for YAML parsers which could read configs as YAMLScript. Imagining my config files becoming config middleware - This machine has 'test' in the hostname, return the test database credentials...

(Not sure how I feel about something like that just yet)

Also enjoyed Ovid's Corinna / feature 'class' update (go install 5.38!), which also featured a reveal of Oshun - a type *checking* system for applications, intended to be deployed at the borders of your application to aid your data integrity endeavours.

This builds on the TYPE attribute parameter to `my` which has been in the Perl docs since 5.8.0 and has been, erm, "evolving" since then.

Check out the talk here: youtu.be/uT0S-jfO1mE

Check out Oshun here: github.com/Ovid/oshun

Type checking systems are nothing new in . Moo* users will probably be familiar with `isa` which is an extensible type check for object member's values.

These aren't just the int or char* you might expect when talking about types, but can be used to assert the instance type of an object, whether or not a string looks like a URL or a UUID or a postal code, and so on.

fuzzix

Couple of short, fun TPRC vids. The first is The PerlayStation Games Console where Saif Ahmed presents his console-based GUI library built from braille and block quadrant Unicode characters.

Saif built this to facilitate instrument control and data analysis tasks in his research, but a number of demos are shown here including games. With clear inspiration taken from the , this is a fun project.

Check it out here: youtu.be/wUKcfQwHmR8

The second is Creating Algorithmic Music with where Gene Boggs gives an overview of some of the algorithmic and generative music modules he has been developing.

There is a whole suite of these on CPAN*. Demos go from simple scales, melodies and lead phrases to a web app which can generate Jazz/Rock accompaniment audio for you to practice with. Check it out here: youtu.be/TCPK9j-Uo9s

* metacpan.org/search?q=author%3

Another cool presentation from TPRC. Ingy talks about a style destructuring syntax for which he hopes to introduce as a core language feature: youtu.be/ifoYsubNRj4

Destructuring allows you to dereference and assign elements of a data structure in one go. Rather than have multiple assignment statements, you can reference key names and apply names to array elements by appropriately structuring the LHS clause of a single assignment statement.

WIP: metacpan.org/dist/assign/view/

@fuzzix In the talk, I failed to mention that there are no "hard and fast" rules in music - like using the pentatonic in the bass can be dull. ...Next year, in Vegas. 😅

@fuzzix Also: More explanation of music theory terms, and more line by line code walk-throughs.