Talks

Enterprise Ruby 2.1

Enterprise Ruby 2.1

by Nick Sutterer

The video titled Enterprise Ruby 2.1, presented by Nick Sutterer at RubyDay 2019, explores the significant advancements of the Trailblazer project in Ruby over three years. The presentation highlights how Trailblazer has evolved from a basic service object implementation to a robust business logic framework capable of defining, orchestrating, and implementing comprehensive application workflows. The session delves into crucial concepts within this context, such as workflows, BPMN (Business Process Model and Notation), and state machines, offering insights into modern programming techniques in Ruby.

Key Points Discussed:

  • Evolution of Trailblazer: An overview of the transformation of Trailblazer into a sophisticated framework that elevates business code quality in Ruby.
  • State Machines: Introduction to the use of state machines as a means to improve business logic and application workflows.
  • Workflows and BPMN: Explanation of workflows and how BPMN can be integrated into Ruby applications for better management of complex processes.
  • Personal Anecdote: Sutterer shares a humorous and relatable anecdote about his train journey to Italy versus a flight, subtly critiquing the over-reliance on air travel for short distances as an unnecessary contribution to global warming.
  • Call for Global Responsibility: A commentary on personal responsibility regarding climate change, urging developers to adopt environmentally friendlier travel options.
  • Italian Culture Integration: The speaker humorously engages the audience by involving them in an Italian gesture, adding a lighthearted cultural touch to the presentation.

Conclusion:

The presentation ultimately concludes with the intent of raising awareness about the integration of advanced programming concepts into everyday Ruby development, while also reminding audiences of the broader implications of their daily choices and behaviors, both in technology and environmental responsibility.

00:00:19.060 Joe, what I can see is 30 or something like that. What is that? There's LibreOffice in the background, okay, but we don't care because I tried to make the resolution work properly and it didn't work because I'm using Linux. Since I don't spend enough money on my equipment, it doesn't work when I need it. Maybe I should plug in my presentation stick. Oh, it always takes like 10 seconds to synchronize. Relax, okay, it's under control. I'm totally not going to talk about it, Italian hand gestures. I want to talk about global warming. But before talking about global warming, I would like to ask, can we make the air conditioning a bit cooler? It's really warm in here, and I might start sweating when I talk, and you might think I'm some creepy football player or a pawn shop owner or something.
00:01:05.860 Anyway, I came to Italy by train this time. I confess I'm guilty of contributing to global warming because I've done hundreds of flights to basically unnecessary locations because they are cheap and affordable, and you can fly there in one hour. It's so easy to do. Sometimes you have to get to places, and it's important. But honestly, I made a bet with Emily; she came from Berlin by plane, and I came by train. It took me 10 hours and 31 minutes, including getting from my house to the train station. It took you about five hours, right? So, it seems like it takes 18 hours to get to Italy by plane.
00:02:02.950 The thing is—and I don't want to be that super politically correct vegan instructor telling you to stop flying—but honestly, I took the train, and it was such a relaxing experience. I had to change the train once, and we were a little bit delayed, but everything still worked out. The thing is, when you fly, you're actually wasting hours of your day getting to the airport, getting through security, unpacking your stuff all the time. You're basically wasting time. On the train, I could sleep, talk to people, and work on my slides—not the presentation, just the slides—and it was actually fantastic.
00:02:41.290 It's important to keep in mind that it's not an achievement to get a really cheap Ryanair flight. It's like, 'Oh yeah, I got this €9.99 flight from, I don’t know, Girona to Poznan. It’s very cool.' I got a present for two days? This is not an achievement. You're subject to a multi-billion dollar company that is actually in the top ten in Europe for carbon dioxide emissions, like Ryanair. Great job! By getting this cheap ticket and going somewhere, you're basically being orchestrated by a transnational beast that is orchestrating people to buy flights and raise their profits at the cost of our beautiful environment.
00:03:03.720 I mean, I know climate change is not happening. It's like a Jewish-Nazi-Communist conspiracy from Russia, and Trump revealed it. Speaking about orchestration, today I want to give a presentation about stuff we've been working on. Actually, I realized that the background is a little bit moving right, so I had to ask. If you look here, it's moving, and it’s okay; you don't have to take pills; it's fine; we all see it.
00:04:05.080 So I'm going to speak a lot about state machines and work because we've been working on using advanced concepts from other programming languages, combining them with advanced concepts from Ruby, and basically raising the bar for business code in Ruby. This is what I want to talk about. But before we dive into that, of course, we have to learn the essential Italian gesture; I would like every Italian in this room to help me. Can you please all do this with one hand? If you ask an Italian, what does this mean? They will say it means 'together.' So I figured that it basically means 'everything.'