Loading…
Attending this event?
TPRC 2024 in beautiful Las Vegas, Nevada! June 25-27th.
Perl [clear filter]
Tuesday, June 25
 

4:30pm PDT

Maximizing Performance and Cost Efficiency in the Cloud
We will explore strategies and best practices for squeezing the most performance out of cloud solutions, while minimizing costs. Despite some focus on Perl performance specifically, the talk will cover many topics, from instance types and architectures, to scaling, storage, monitoring and more.
As many organizations have discovered, including our own, cloud solutions can be quite expensive. Also, cloud solutions may at times not perform as well as the in-house solutions they replaced. However, there are ways to significantly mitigate both the cost and performance issues. We already briefly touched upon the topic of compute performance in my Real-World Software Performance Optimization talk in last year's Perl conference. This time while some focus will be on Perl performance, we will go into detail and have a wider discussion around compute instances (types, cpus etc), benchmarking, storage, networking and more.
Furthermore, we will look into tips and strategies to significantly minimize costs - cloud solutions are usually more expensive, but they don't always have to. There are cases where they can provide the best value, as long as you are aware of some caveats.
At SpareRoom, most of our experience is primarily on Google Cloud and secondly on AWS, however a few other cloud providers will also be discussed, especially ones that might offer unique value for specific scenarios or small projects etc.
Audience: All

Speakers
avatar for Dimitrios Kechagias

Dimitrios Kechagias

Principal Developer, SpareRoom
I started using Perl over 20 years ago, at the Stony Brook Algorithms lab (now known as the Data Science lab), for NLP and computational finance applications as a CS grad student.I worked on large scale Perl systems frequently after that, mostly in Natural Language / Linguistic Processing... Read More →


Tuesday June 25, 2024 4:30pm - 5:20pm PDT
Track 1
 
Wednesday, June 26
 

10:30am PDT

Chad's collection of short topics
This talk covers a selection of modules Chad has written, or enjoys using. None of these modules or topics justify their own talk, but a talk covering a collection of them may provide valuable tools for people.This talk covers a selection of modules Chad has written, or enjoys using. None of these modules or topics justify their own talk, but a talk covering a collection of them may provide valuable tools for people. Modules include: goto::file, Atomic::Pipe, Importer, DBix::QuickDB, and possibly more.Audience: All["Perl"]

Speakers
avatar for Chad Granum

Chad Granum

Software Developer, Grant Street Group
Chad Granum took over the Test-Simple/Test-Builder/Test-More project from Michael Schwern in March of 2014. Since taking on the project Chad has rewritten most of the internals based on the needs and feedback of the perl testing community. Apart from his work in Testing Chad is also... Read More →


Wednesday June 26, 2024 10:30am - 11:20am PDT
Track 2

10:30am PDT

YAMLScript - Scripting in YAML
What's the best language for writing scripts?
Is it Bash? Perl? Raku? YAML?
Huh? YAML's not even a scripting language...
Well it is now, and it might be your go to language after this talk!
Ingy wants to show you how to be super productive with nice clean functional YAML code.
Welcome to YAMLScript!While YAMLScript is focused on making YAML configuration be incredible, it's also a complete functional programming language.
It comes with an extensive standard library, tons of external real world external libraries, all the things you expect a real programming language to have.
How is that possible? It's because YAMLScript jit-compiles to another real world language, Clojure.
But while Clojure is a Lisp that runs on the JVM, YAMLScript looks closer to Python and needs no JVM.
It's clean, fast and a great way to script just about anything.
And if your script needs data, well I hope you know we got you covered!

Come hear Ingy dot Net tell you about this great new addition to your day to day hacking toolbox.Audience: All[]

Speakers
avatar for Ingy döt؜؜ Net­

Ingy döt؜؜ Net­

YAML Artisan, YAML LLC
Ingy döt Net is one of the original inventors of the YAML data language, and its primary maintainer. He has continuously contributed to Open Source efforts since before it was called Open Source. His passion is creating software libraries that work in as many programming languages... Read More →


Wednesday June 26, 2024 10:30am - 11:20am PDT
Track 1

1:30pm PDT

Hold My Place - Automating SQL placeholders by de-interpolating strings
Creating SQL queries with placeholders is a must. But composing strings with interpolation is easier and better to read.

How about combining the best of both worlds?# Hold My Place - Automating SQL placeholders by de-interpolating strings

Many are still composing their SQL queries dangerously by assembling their queries with string interpolation.

Not only are such queries slow and prone to errors, they are also loopholes for injections.

But many legacy projects are full of such examples. And refactoring is often not easy.

And even today many developers choose interpolation, since it's a core feature in Perl and comfortable to use.

This talk shows a current project to convert such interpolations to placeholders, without losing the benefits of ease and expressiveness.

We will cover and explain some in-depth techniques like

- Callbacks in DBI.pm
- Manipulating variables with PadWalker.pm
- Bind variables with tie
- Overloading operators for objects

This is an extended and updated version of [my talk at YAPC::Europe & KohaCon'23 in Helsinki](https://perlkohacon.fi/Schedule.html#?talk_id=31)Audience: All["Perl", "SQL", "Interpolation", "Placeholder"]

Speakers

Wednesday June 26, 2024 1:30pm - 2:20pm PDT
Track 2

1:30pm PDT

The Jokeybot: making a case for a fully-developed testbed application
When you're working on new ideas, where do you test-drive them? Having a fully-built-out application may help you find and eliminate problems before your first release.Last year, Ruth was asked to join the Dancer core team, and she has focused a good deal of attention on the plugin system, and developing new plugins for Dancer2. Rather than testing this work on "work" applications, she developed the Jokeybot: a simple joke-telling application, to use as a testbed. Come see the bot in action, and learn about how having a fully-functional but utterly-pointless application can make a good testing tool for your development practice.Audience: All["Perl", "Fun", "Beginner Talk"]

Speakers
avatar for Ruth Holloway

Ruth Holloway

Developer/Project Lead, Clearbuilt
Ruth has been writing Perl for 23 years, and attending Perl conferences for the last ten years, speaking at all but one of the in-person conferences. She is a big fan of DBIx::Class, Dancer2, and Agile programming without all the ceremonies. Ruth is a wife, writer, cook, full-time... Read More →


Wednesday June 26, 2024 1:30pm - 2:20pm PDT
Track 1

2:30pm PDT

YAMLScript - Dynamic YAML in Perl and Raku
There's a new YAML loader in town, for both Perl and Raku!
It loads all of your existing YAML files just as expected, but you can also call functions at any point.
You can include other files, fetch web data or query a database! You can merge, concat, interpolate & 100s more.
I think you'll love it!At TPRC 2023 I(ngy) talked about Lingy and YAMLScript.
Immediately afterwards all the pieces fell in place to make YAMLScript the most powerful YAML loader for every language, including Perl and Raku.
While YAMLScript is a complete functional programming language (available right now) its main focus is to fix most of the problems people have with YAML, and also take YAML's capabilities to a whole new level.

In this talk, Ingy dot Net will teach you how to use the YAMLScript loader modules for Perl and Raku.
Then he'll teach you how to easily tame your YAML and do just about anything you'd normally do from a programming language directly in YAML.

I think you'll be pleasantly surprised just how clean and powerful it is when you add YAMLScript to your YAML files.Audience: All["Polyglot", "Perl", "Raku", "Open Source", "DevOps", "Fun", "Data"]

Speakers
avatar for Ingy döt؜؜ Net­

Ingy döt؜؜ Net­

YAML Artisan, YAML LLC
Ingy döt Net is one of the original inventors of the YAML data language, and its primary maintainer. He has continuously contributed to Open Source efforts since before it was called Open Source. His passion is creating software libraries that work in as many programming languages... Read More →


Wednesday June 26, 2024 2:30pm - 3:20pm PDT
Track 1
 
Thursday, June 27
 

9:30am PDT

Test2::Harness – Super charge your test runs
Test2::Harness is a new test harness with features that make your test suite run faster, and easier to debug. This session will teach you how to use it, how to preload your code for a performance boost, and how to inspect the data it collects to help figure out what happened when something fails.This talk does not cover how to write tests or use Test2::Suite. This talk covers running your tests in a harness that is a new alternative to prove. This covers command line arguments, tools, and what rich data the new harness can provide.Audience: All["test", "yath", "Test2::Harness", "prove", "harness"]

Speakers
avatar for Chad Granum

Chad Granum

Software Developer, Grant Street Group
Chad Granum took over the Test-Simple/Test-Builder/Test-More project from Michael Schwern in March of 2014. Since taking on the project Chad has rewritten most of the internals based on the needs and feedback of the perl testing community. Apart from his work in Testing Chad is also... Read More →


Thursday June 27, 2024 9:30am - 10:20am PDT
Track 1

10:30am PDT

Common-Sense Optimization
You do not have to dig all the way into the bits and bytes to make your web applications snappy and responsive. There are some sensible, easy things you can do to make that happen.Building web applications is easy, with tools like Dancer2. Making them fast is not always as easy, but there are some sensible, inexpensive hacks you can do to help! Ruth will share some of her experiences in optimizing, and give some principles that she uses to guide her.Audience: Intermediate["Perl"]

Speakers
avatar for Ruth Holloway

Ruth Holloway

Developer/Project Lead, Clearbuilt
Ruth has been writing Perl for 23 years, and attending Perl conferences for the last ten years, speaking at all but one of the in-person conferences. She is a big fan of DBIx::Class, Dancer2, and Agile programming without all the ceremonies. Ruth is a wife, writer, cook, full-time... Read More →


Thursday June 27, 2024 10:30am - 11:20am PDT
Track 1

1:30pm PDT

Introduction to Clojure for Perl Programmers
There's a lot about the Clojure programming language for a Perl programmer to like. It's very dynamic and very practical. If you think it's just for the JVM, you're very wrong. Let Ingy teach you the basics of this exciting language including compiling it to binary and using it directly with Perl!Clojure (pronounced like "closure") is a programming language that was created to make Java programming not be a nightmare!
Clojure can use any library written in Java and Java can use any library written in Clojure.
It's core data structures are immutable yet easy to work with.
This makes it a great functional programming language, and makes concurrency simple and reliable.
At the same time it supports mutable data structures when you need them (not very often).
It's a very practical language.
Clojure went beyond Java and the JVM to support other host languages, most notably JavaScript.
These days Clojure can be run directly without any host (no JVM at all).
It can also be compiled to binary executables and shared libraries.
That means you can write "XS" modules in a very high level language.
Clojure has a Lisp syntax, and if you've been wanting to really learn a Lisp, Clojure is a very practical one to start with.

In this talk, Ingy dot Net will teach you as much as he can in 50 minutes about how a Perl programmer can be productive with Clojure.Audience: Intermediate["Polyglot"]

Speakers
avatar for Ingy döt؜؜ Net­

Ingy döt؜؜ Net­

YAML Artisan, YAML LLC
Ingy döt Net is one of the original inventors of the YAML data language, and its primary maintainer. He has continuously contributed to Open Source efforts since before it was called Open Source. His passion is creating software libraries that work in as many programming languages... Read More →


Thursday June 27, 2024 1:30pm - 2:20pm PDT
Track 1

2:30pm PDT

Fun with Macros
Bending source filters into a reliable mechanism =)# Fun with Macros

Macros are a killer feature of Lisp many have longed for Perl ...

... in fact, it has been possible for a long time to expand and "inline" a function at compile time.

All you need to do is to pair the import mechanism with a source filter so you can insert code cleanly without stepping into the usual trap of source filters.

Coupling that with Keyword::Simple you even have a macro mechanism at hand that works without a "use" statement.

To demonstrate the benefits, we will present various elegant solutions for DSLs, object models, and runtime optimization.

This is an extended and updated version of [my talk at European PerlCon 2019 in Riga](https://perlcon.eu/talk/97)Audience: All["Perl", "macros inlining source-filter inc-hooks", "macros", "inlining", "source-filter", "INC-hooks"]

Speakers

Thursday June 27, 2024 2:30pm - 3:20pm PDT
Track 1
 
Filter sessions
Apply filters to sessions.