РАСШИФРОВКА 🔗
DAVID HILL
Happy Wednesday and welcome to the show. I'm your host, David Hill, and joining me today for, I actually don't think I told you this, but this is going to be the final episode of the year. Last Wednesday in November, I'm going to take December off to try and get some time back to celebrate the holidays and hopefully record a bit more of a backlog of episodes since I've run my backlog out again. Well, let's circle back around to welcome today's guest, Thomas Cannon. Thanks for joining me today. Hey,
THOMAS CANNOON
Hey,
THOMAS CANNON
thanks so much for having me. I am super excited to just chat and catch up.
DAVID HILL
and catch up. It's been a while since we chatted. We met back in, I think it was May at Blue Ridge.
THOMAS CANNON
Yes, we met at May at Blue Ridge Ruby, which we'll talk a little bit about Blue Ridge Ruby for sure. Yeah, and we spent, I think it was 90 minutes talking about Star Trek nonstop, which is pretty much par for the course for any social interaction I have. I'm okay with it.
DAVID HILL
I was thinking about our big Star Trek conversation recently. I'm currently planning on inflicting Star Trek upon my son. It's just like having him watch episode by episode, start with TNG and work our way through that three series era of Star Trek that I grew up with.
THOMAS CANNON
Yes, the marathon as they were. It's the Star Trek triathlon, if we're going with the Ruby triathlon.
DAVID HILL
But that works. But yeah, we're kind of already hedging on the topic of Blue Ridge. Let's talk about Blue Ridge to kick things off. Yeah. Part of the program committee, part of the group that are organizing Blue Ridge for 2027. How is that going?
THOMAS CANNON
that going?
DAVID HILL
It is going great.
THOMAS CANNON
Currently, where we are at is our CFP is open. And I am definitely not stalling for time as I pull up the schedule because I have no idea of how dates and times work. Essentially, yeah, our CFP is open. Speakers are welcome to submit multiple talk proposals, technical, non -technical, beginner to advance. If there's something that you are interested in or a lesson that you've learned or just some sort of insight or kind of a pulse check for what's happening in the Ruby community, we would like you to submit a talk for it. And especially like if you're a beginner, we have had multiple beginners. give their first talks at Blue Ridge Ruby. So yeah, we would love to hear from you. The CFP closes Friday, January 29th, 2027, midnight UTC. That's around eight o 'clock Eastern. And then we are also starting our early bird tickets, which go through, it looks like the February 16th might be a little bit earlier. So Again, early bird means early bird. So the sooner you get a ticket in, the sooner everything goes.
DAVID HILL
I'm absolutely hoping to make it to Blue Ridge again next year since this year's was so good.
THOMAS CANNON
Yes. To talk a little bit about that schedule, because that is one of the things that I am most proud of with the schedule is that we have heard from multiple people about how good the schedule for Blue Ridge was and the mixture between. technical and non -technical, the different disciplines of programming and the different ways of programming, different personalities and lenses to view our work and our craft through. That comes down to the speakers. Again, that's why like, hey, we want to hear your talks. And also just we as a single track conference that is two days and like in a nice area that inspires you to think. beyond your day -to -day work like Asheville is, because Asheville is like a beautiful city. It's a really, really special mixture of all of those things, all of those chances. Everybody sees the same talks. You have something to talk about during the hallway and the lunch track. And everybody's very approachable because of the size of the conference.
DAVID HILL
Nice. Yeah, I'm really looking forward to it again. So that'll be fun. Kind of the next thing I wanted to kind of... talk about was a topic that I heard you kind of mention it as like, it was a personal project or is it a work project?
THOMAS CANNON
Yes, little CRM. It is a personal work project that I classify in the model train category. There is essentially the way I view things and the way that I kind of have held my craft over the years. and i learned this one kind of the hard way is that it is very very helpful to have a couple of model train stations that you poke at and play around with with the expectation that they might not necessarily turn into anything they might not necessarily be a business but the point of doing them the point of building these apps is to try different approaches and figure things out and learn lessons to take elsewhere. So yeah, Little CRM is one of those. It is a CRM kind of designed for the way that modern independent creatives work, which is in the sense that we are multimodal. We have different things that we are working on all at the same time. The relationships that we have, they span those different interests and the different projects that we are working on. It's not like a traditional sales pipeline where I have this one app or this one retainer service or this one agency that I run and I'm just basically funneling somebody through like they are interested and then they fall into one of these SKUs. They fall into one of these categories of a thing that I am selling them and maybe I follow up with them. Being a modern creative in the internet era means that There's this interplay between, oh, I do, talking about me concretely, I am a programmer, but I also am a musician on the side. And then there's like a couple of open source projects that I work on as well. And those are kind of three different things that all sort of interrelate with each other. I have friends that I have met at conferences who are interested in my music. I have people who have listened to my music who have really enjoyed it. there are things in the programming part of my
Load full transcript
life that i am able to help them with likewise there are situations where i mean i grew up on the internet in the early 2000s i was part of the web comics community and that wave of creatives so like Part of my programming work comes into asking the question of like, all right, cool, how can independent creators continue to exist on the internet and continue to be supported for their art? And that's kind of what LittleCRM helps to answer is the fact that we are not just doing one thing and it is not just a lever that you pull, but the work that we put out is the sum of our parts. multiplied by the people that we interact with. And so it takes kind of a different approach. So you've got just your standard set of contacts and then they can be related to multiple initiatives and they can relate to those things in different ways. You could have met somebody at a conference, your mutuals on Blue Sky, or they ended up buying your album on Bandcamp. And then... you end up having a conversation with them and that progresses further and further. And also thinking about it in the sense of kind of holistically, what does your creative practice look like? Because as part of a CRM, as part of working as a modern creative, I think one of the things that people struggle with the most is like meeting the deadlines and sort of seeing the schedule of things that they are working on. And so that's actually been one of the features that I have been working on is this feature called like stops, kind of like a tour schedule or tour stops where you have your deadlines mixed in with things that you end up doing like a conference or a meetup or a convention that you end up going to. I've been experimenting with the UI around that for kind of showing the mix between those, kind of like a subway map. So you can see like, oh, I have RubyConf 2027, and then I have Blue Ridge, and then there's like a 90 -day period. And then I told this person that I hire for album mixing, like, hey, I will have the album mixed to you today. This will be the date that I send it to you by. So you can kind of plan out on the long term, like, all right, cool. So I've got a stack of conferences coming up. And then I know I've got a 90 day window to like do the thing that I said I was going to do. And the same goes for the other sort of recurring things that you were tackling. But that's just a lot about like the mindset and everything. I imagine that you wanted to hear more about the technical side of it. I apologize. I care a lot about internet creatives.
DAVID HILL
The thought and the mentality around it and behind it is absolutely part of the conversation. It's not that I didn't want to hear that. It's that the next question was going to be, okay, that's all very, very cool. How does this inform the technical decisions that go into building this tool?
THOMAS CANNON
Yeah. So the way that it informs the technical decisions is... A lot of this really comes down to having strong domain modeling and really thinking about what are the actual relationships between objects. And this is where Casper Tim Hansen's like riffing workflow has been super, super helpful. I use it constantly when I'm iterating on these features, just being able to like open up a text file and sketch out the actual code of like, here's what the code is going to look like. Here are the relationships between these objects. And because of how concise and beautiful Ruby is, I can condense all of the like these concepts into 50 to 70 lines. A thing that you can print out and annotate. I mean, that's why I've been a Rubyist for 12 years. So yeah, strong domain modeling helps out a lot. Thinking in terms of namespacing. So like really leaning into namespacing in a Rails app. Also leaning into the database a lot.
THOMAS CANNON
into the database a lot. Just kind of taking on the constraints and really making sure that the data stays clean. Because when you have something that's very... I would say, overly flexible, then you create some problems. And I've had to unspool some of these problems in this code base as well. So let's talk about a real concise example of this is that when I was building LittleCRM, people and teams were their own separate models. And that makes sense from a... You know, when you're doing your first pass of modeling and you're like, oh, yeah, cool. If I want to have strong domain modeling, then there should explicitly be people in teams. There should be like the very clear team has many people and people belong to many teams. And then there's the join between those two things. And that stuck around for, let's say, a year and a half, two years. But the problem that I ran into there was that as I was continuing to build out the features, lo and behold, another contact type appeared, which are stands, which is different than people or teams. These are people who like your work and the relationship that you have with them is inherently a little bit parasocial. They like your work, but you... But I think it's important to be able to classify that versus like, this is a group of people that I work with, or I have a relationship with an individual person versus this is a person who likes my stuff. I think that drawing those boundaries is very, very important. So the problem that I ran into was cool. Now I have three models that all contain contact information and. So anytime I make changes, I have to try to map those all in between. And I tried to do the Rails thing of like, oh, we'll encapsulate it in concerns and just kind of hide away the duplication between those because some duplication is okay. You don't want to over -engineer this. But I realized that I was creating three times the amount of work because it wasn't three models. It was also, take a guess, three controllers. and three views and all of the views and edge cases that go around that. So then that ends up creating a different set of problems where it's like, cool, how do I condense this? And
I went back to riffing and I thought, all right, cool, let's start from square zero. And so what I ended up doing in that case is I condensed everything into a contacts model. And then the context model has different specifics. And that's where those relationships end up coming in. So getting back to that strong domain modeling knowledge, strong, like really good conceptual understanding, I had initially started with the assumption that each of these records are going to be separate and they will share some behaviors. That is an okay approach to take from a domain modeling standpoint. Once I realized that these three models had a lot of shared common behavior and I kind of wanted them to interplay between them and I also wanted to accommodate scenarios like, oh, what happens when a stand becomes a friend? What happens when you have somebody who supports your work and then you're like, oh, wait, we actually do have a lot in common and now we've become friends. You just want to be able to switch that. And so condense all of that into the contacts model. And then each contact has its own subset of like the specific details. And even within those specific details, you still have all of those strong connections and you are still able to reason through it and have the data integrity of, oh yeah, this person, like the specifics for this person are still tied to this team's specifics or. This Stan has these products and these memos attached to them. That's sort of like having those different. So the domain, even when you have to genericize something like a contact model, which is inherently a generic thing, it is a name with a set of email addresses, set of links. you can still carve out the paths and the places where you are very, very explicit about the relationship between things. And that helps keep the code easier to test and easier to maintain. And it also makes it an easier story for you to tell when you were explaining this to somebody else, because you don't have, well, a contact can sometimes be a person, can sometimes be a stand, can sometimes be a team and be like, No, a contact holds the information for somebody and then you decide what type of contact they are. And then the specifics for that are pulled from this other record when you need it.
DAVID HILL
I've run into similar problems before of that type of thing, where it's like now we've got multiple different kinds of user models and they all come in at different places and different areas of the application and have the ability to do different things. How do we model all of this? correctly capture authentication plus the differences between how they behave.
THOMAS CANNON
Yeah, it's a tricky problem. And I, two things, just two quick asides that have been super helpful with that are active record associated objects and Oaken, which I am contractually obligated to mention at any time, because I think it's like the best way to manage test data because With associated objects, you can break
out those kind of specific behaviors into their own little poro that is tightly coupled to the model that is a part of, because you kind of have to, you take the conceptual hit of like, yes, these sets of methods depend on being part of this model. So they might as well be not subclass, but namespaced inside of it. Like you need to know that the user authentication, let's say like a manager authentication. That being an associated object, like the permissions that they have that is part of the user model, for example. And then from the open side of things, there was a very, very fun shitpost that I did when I did this contractor factor where I like just took a screenshot of the PR and it was like 3 ,000 lines changed, 3 ,000 lines delete. And I just, I literally was just like, well, it looks good to me. And I just merged it in. And the reason it looked good was because with like Okun's way of managing the test data, I had these very clear labels and very clear identifiers for like, oh, these specific teams within the database. I just changed a couple of references. That's where like the 3000 came in and the test suite passed. It was a really easy set of find and replace operations. And that, again, comes down to strong domain modeling. I knew exactly what records needed to be changed and how they needed to be changed.
DAVID HILL
So I've heard of Oaken before, but I've never used it. Give me a crash course on Oaken and what it specifically does.
THOMAS CANNON
Okay. So Oaken, the way I describe it, is a mixture of fixtures and factories. So it borrows the conceptual idea. from fixtures where you have a fixed set of test data that is loaded in before the test suite runs. What it borrows from factories is kind of the dynamic scripted nature of factories and the fact that factories actually hit your code base to like handle all of the ancillary things.
DAVID HILL
is loaded
THOMAS CANNON
it borrows from factories is kind of the dynamic scripted nature of factories and the fact that factories actually hit your code base to like handle all of the ancillary things. So when you're usually, when you're first starting out with Oaken, you write objects that you reference in your test data. Actually, give me a second. Again, name some Oaken examples from my test data. This is also why it's great to have model train stations because you can hop on a podcast and be like, oh, cool. I'm just going to talk specific. I'm going to talk real specifics here. And I own this entire thing so I can make the calls on what this is. So, for example, talking about the stops and deadlines, you end up creating these records that are oh, here's this stop for Blue Ridge Ruby 2026, and here are the dates for it. And then when you're writing your tests, rather than organization stops, parentheses, and then you have to remember the symbol, it's just a Ruby method. So it's organization stops dot Blue Ridge Ruby 2026. And then unlike factories where you just go, especially when you have a complex application, you might have 15 to 20 lines of preamble. of like oh i need to basically mix together this set of objects to create this specific scenario that i am unit testing the hope and dream that factories users tell themselves as somebody who does work in a factories code base is that oh we'll keep the traits like we'll set up the traits and we'll keep it clean that way and it'll be clearly defined it doesn't ever get clearly defined it's always a mess and so
THOMAS CANNON
With that fixed test set, you can define all of those particular scenarios. And because we are often testing similar scenarios at different layers of the application, you were taking that setup hit once versus... every single time that those tests need to run so let's say for example you have 50 tests surrounding a specific feature starting from models all the way to integration tests rather than having to create those records 50 times or create some version of those you're creating those records once and then you know rails parallel testing kicks in and then it's just reading from the database to get those records so that's start one and then you get some interesting stuff where you can start sharing some of the common data between your different environments. So another thing that you run into in tests and development is drift, environment drift between production acts differently than development, acts differently than testing, especially when it comes to common things like what feature sets, what plans are enabled, what sets of authorization rules, those sorts of things. Or even like, oh, these are some foundational models that we have defined in our application. With Okun, you can have it shared across all of those different environments. So when you reseed, like when you seed your database, you're getting the same set of plans that are in production and your test suite is running with like the same set of plans. It has them ready to go. So you can test like, oh. What happens when this feature, when somebody was on this plan and they had this feature and then they downgrade, how are we supposed to handle that behavior? You have all of those exact records ready to go.
DAVID HILL
have all
DAVID HILL
Nice. Okay. So it sounds like I really need to give Okun a look at some point in the near future.
THOMAS CANNON
Yes, yes, yes, yes. I would highly, highly recommend it.
DAVID HILL
I wanted to circle back to your model train analogy really fast, because the thought that occurred to me when you were talking about it was it almost sounds like an expansion or a more specific version of something that I was told all the time growing up, that the best way to actually learn something is through play. And it sounds like your model train analogy is maybe a more specific example of that. But would you agree with that kind of evaluation of it?
THOMAS CANNON
it? So yes, I would agree it's learning through play, but also model train station is kind of a self -owned dig on
myself. The reason that the model train station term came around was I was at my coworking space. I had just started a new job and I had submitted some code for code review, like an approach I took got rejected. And it was like, hey, we don't like this way. go do it this other way and i just started and i was like you know you stepped away from the desk and i did like the one or two laps or i'm like why don't they see my way this is the way to go like this is a common way to solve this problem and one of my friends saw me and he's like hey what's going on i was like our code of your and i was like why don't they just do it this way i would never ever do it the way that they said and he goes well you don't have to do it that way in your own stuff. And I was like, oh, I took a second and I was like, ah, okay, you're right. This is a separate thing. And so the model train station analogy kind of comes from. is that one of the fun things about a model train station is getting everything kind of perfect and like the way that you want it to and kind of seeing the systems interlock and like thinking about like, oh, if I had this perfect village and I would have these timetables and the roads would be designed this way. Yeah, it is a form of play and it is a form of getting to decide and figure out like, oh, what would this actually look like in my ideal world? And knowing full well that it is fictional, it is play in its own regard.
DAVID HILL
I like that though. Just the recognition of, yeah, there are things that I want to be able to figure out and figure out what I like and what I think is the right way to go while containing it in a bubble of this may not necessarily apply to everything else in my life, but I want to play with it and see what I figure out from there.
THOMAS CANNON
Yes, exactly. Because... You learn what works and what doesn't work. There have definitely been times where, I mean, here's a good one. Up to like version 1 .2 of LittleCRM was a Flex application. It used Flex all the way through. And I was all gung -ho about Flex. If you asked me from the years 2023 to maybe like March 2024, I was like, Flex is the way to go. And then I hit. scaling and api problems and like internals about how i wanted to componentize the apps and i hit that brick wall hard and the thing was that brick wall that problem was contained within a model train station and it never touched production code that impacted my w2 my health insurance my way to live and how i feed my dogs okay so those are the kinds of lessons that you get to learn with having your own model train stations.
THOMAS CANNOON
That's pretty cool.
THOMAS CANNOON
All right. So one of the other topics that you kind of proposed that you wanted to touch on was how can Rails be a better citizen of the web?
DAVID HILL
of the other topics that you kind of proposed that you wanted to touch on was how can Rails be a better citizen of the web? And I feel like with everything that's been happening within the tech world recently, this is one of those types where I was like, yeah, how can we be better citizens of the web? Because we need better citizens of the web so much right now.
THOMAS CANNON
Yes, we 100 % need better citizens of the web. And I've been thinking a lot about this one and thinking, What does and does not make sense to say? I would say that I think the biggest thing, and this is going to be a controversial opinion, and I'm ready for that, is that Rails... needs to stop treating the front end, like it needs to embrace more of what is happening in the broader front end space. And we need to start being able to contribute our ideas into the broader ecosystem without just like dropping libraries that are re -implementations of existing things. So I think a lot about the import maps wave of a few years back and the like no build JavaScript. That is inherently exclusionatory. That is inherently cutting us off from like the other interesting things that are happening in the front end ecosystem. Because they require a build or?
DAVID HILL
they require a build or?
THOMAS CANNON
Yeah, because they require a build. They are like built on the expectation of package managers. And it is essentially the whole conceit is that JavaScript is not worth the time and energy and effort of like actually being part of our infrastructure. So we are just not going to care about it. We are not going to participate in that broader ecosystem. And it creates these problems where essentially what we've done, we punted on, okay, cool. How do we make it so that the thing that powers the client side of an application We can actually use the plethora of tools and libraries that are put out there. We just punted and said like, oh, we'll just import map it in HTTP2 and we'll figure it out from there. But even our implementation was half -based. We didn't do nested import maps, all this sort of stuff. And the answer, even at the end of the day, when you do all that, is still bundling. Like you still have to condense that code into sensible packages. And so we kind of cut ourselves off. But then also not just from like a practical standpoint, there's the pragmatic standpoint of learning what the front end ecosystem is doing and taking examples from there. And I think one of the reasons why Marco Roth's work with Herb and ReactionView has like taken the Ruby community by storm is because it is like one of the newer, fresher ideas. Marco's explicitly talked about like he saw what was happening in the JavaScript world and he got jealous of all of the tooling and all of the infrastructure that they had in place around their view layers, around showing markup errors, about making it so that connecting your view code was clean and straightforward and like super powered autocompletes due to language servers. And he said, we need that on the Ruby side of things. We need to bring that layer of joy. We need to bring that layer of the thing that we love about Ruby is that
sometimes you don't even have to think about if something exists, you just type it out and it ends up being there. And language server protocols are a technical implementation of that. The being able to like analyze the code base and give you like the actual verifiable answer of like how everything ties together. Okay.
DAVID HILL
The current wave of the import map wave of, you started talking about it, about how it became very kind of exclusionary to the wider JavaScript ecosystem. At the same time, it feels like it's this huge pendulum swing, right? Because before that, we had Webpack and Webpacker where it was like, yeah, just all of the JavaScript. It just handles everything and all the time, all the places. You know, maybe that wasn't the best solution. Maybe there were problems with it. I've had problems with it, I admit. It felt like a very kind of reactionary, just 100 % swing in the other direction to like, well, including all JavaScript didn't work. So we're just going to do bare minimum now. Yeah, 100%. Webpack and Webpacker are,
THOMAS CANNON
and Webpacker are, Webpack was a bad implementation and we suffered and we reacted the other way. Again, if we had been paying attention to our neighbors, if we had been looking what our neighbors on the JavaScript side of the world were doing and said, oh, they kind of, especially now with top level async await and better ESM. And if we kept tabs on that, you kind of realize, oh, when it comes to roll up and now roll down the Rust implementation of it, of the bundler, you go, oh, okay. Bundling up my JavaScript is now just a script. It is a build script that you run, and then sometimes you throw a watcher on it, and that's all we needed. We didn't need the Webpack answer that was super heavy and basically tried to abstract away running a JavaScript bundler in process along with the Rails server, and then you're trying to debug. your build process inside of another, forked within another process. It's just, no, this is a command that you run in a tab and it compiles that. It is conceptually easy to understand. It is conceptually easy to debug. And then when you run into problems, because it just follows that sort of straightforward approach, you can look at examples from the broader ecosystem, as opposed to hoping that somebody in Rails slash Rails has written a GitHub issue to explain this.
DAVID HILL
Right. I'm afraid I'm going to inadvertently insult people or call people out with this next statement. But it feels like... Because Rubius, in general, I've found to be very kind, very friendly people. But... At times, I feel like there's a section of the Ruby community that kind of has a bit of a sense of superiority about Ruby over other languages, like Ruby over JavaScript type of things. And I wonder if that's part of where this is coming from, where we're not paying that much attention to JavaScript because, in air quotes, Ruby's better than JavaScript or above JavaScript or whatever else.
THOMAS CANNON
Yeah, I think that that is 100 % part of it. It leans into the frankly old and outdated notions that JavaScript as a language is unnecessarily complex and that every single JavaScript framework and every single JavaScript library that is put out into the world is ostensibly duct tape and hot garbage filled with monkey patches and basically accounting for all the different browser wars. The browser ecosystem. The Blink Engine problems are a whole other three -hour podcast in of themselves. But speaking of the interop project, specifically over the past couple of years, the web has gotten remarkably good about deciding here are the features that we all kind of want implemented across our browsers. And these are the years that we are going to get them out the door. Combined with progressive enhancement in the... shift towards baseline as a concept, which is that because of evergreen browsers, you can, in our analysis of web traffic, you can assume that after around 30 months, a feature will be widely available for all of your users. And so you have this like really nice moving target of seeing what features are out here. You can start experimenting with them in your model train stations because you have that. And then when something becomes widely available, you're able to take the lessons that you have learned, the sharp edges around certain APIs, because some of the web DOM APIs are a pain, and then they're ready for your production code base once everything becomes baseline widely available. I do think that... There's another part of this, which is the uncomfortable question about juniors and beginners and introducing people to Ruby because I literally today was having coffee with somebody in my coworking space. And they were like, yeah, I was at like one of the tech meetups and a Rubyist was there and they were just super excited about Ruby. And I said, hey, do you want to come over and see some Ruby code? It was very much this like, why are Rubyists so enthusiastic about Ruby? And I just played right into the stereotype, which is like, hey, do you want to see some of my Ruby? Let's go over here.
DAVID HILL
Let's go over here.
THOMAS CANNON
And then she asked me this question of, okay, well, why don't more people use Ruby? And I think for how nice and elegant using Ruby is and writing Ruby is on a day -to -day basis, getting started with Ruby, is not a nice and not an elegant experience. As somebody who has taught many beginners Ruby and hosts a meetup at his public library basically every month, the ask of, oh yeah, try out Ruby on your computer is a major ask. And there are things that we are trying to do to accommodate and work around that. The two that I had explained to this person, are Ruby and WebAssembly, the WebAssembly compilation, and the stuff that RV is working on with pre -compiled versions of Ruby. Both of those help reduce the barrier of entry that JavaScript, frankly, they have a speed on that front. It is very,
very hard when you are a beginner looking at, okay, is programming even for me? Is this something that I want to do? And it is very, very difficult to look at two pages, the fork in the road. And the fork on the left is Ruby where the code looks elegant. But the second you try to install it, you're hit with an open SSL bug. And it's like, oh, cool. Well, you didn't use R -B -E -N -V through Ruby build because you didn't use homebrew. Yeah, well, of course. And it's like, well, I didn't know what homebrew was. I literally just typed. programming languages, saw Ruby, said, oh, that looks nice or heard about Ruby on Rails. And I guess that's on me for not knowing what homebrew is as a absolute beginner versus you hear about, you see JavaScript and it's like JavaScript powers the web. And then it's like, do you want to try some JavaScript? Here is CodePen. Here is an entire editor where you can experiment with ideas and it auto saves and you have an amazing type feedback loop. If there was one thing that I wish that we would do is that we need a code pen for Ruby. Yeah. Just a place where you can throw some Ruby together and share it. And it gets executed probably through the, you know, web assembly. Right. Cause it's so hard. It's so hard to like show somebody, Hey, this is what's cool.
DAVID HILL
Hey, this is what's cool. You are far from the first person I've heard talk about this issue of. the hurdles that a new person has to go through just to get Ruby installed on the system before they touch a line of Ruby, before they get to anything regarding Rails or trying to build an application, just getting Ruby installed is this huge hurdle that we still haven't figured out how to address for them.
THOMAS CANNON
Yeah. And I think that also, this was another thought that I had, is that related to that, We need to start giving ourselves permission and start leading by example of having fun with Ruby again. Because I had this thought as I was preparing today and thinking about what I wanted to say of we don't have as many fun Ruby projects. Ruby has for significant better. And some downsides become a grown up programming language. It is the kid. It is the gutter punk kid who figured out that they were good at math and is now an accountant. And they still have the gutter punk tendencies. They still like their gutter punk music. They still love the stuff that they listen to growing up. They still love the Sex Pistols. They still love the Ramones. But.
THOMAS CANNON
You wouldn't know it from the stuff that they do day in and day out. And I feel like we need to give ourselves more permission to do some of the more fun, more weird stuff that isn't just related to Rails or Ruby or writing for the web. This is one of the reasons why I am such a proponent of the Dragon Ruby game development toolkit. Because even if you never ever touch game development, just having that I write a little bit of Ruby. It's painted onto a window. It has mouse, keyboard, gamepad support. It works at 60 frames a second. I can undo, redo everything that I need to do. All of that, that's catnip. That is great for experimenting in ideation, data visualization, synthesis, all that sort of stuff. Like it gives you this playground to mess with. And likewise, Sonic Pi, speaking of ways that Ruby, when we let ourselves be the Rubyists that we are inside and have the fun that Ruby lets, the sparks of joy that Ruby lets us feel, it can make us better people overall. And I know that that sounds esoteric and weird, but I do actually have a very concrete example of this. I'm not just talking about my butt. So.
THOMAS CANNON
As I said, I'm a musician, but I'm a very, very beginner musician. I only started in 2020 when I realized when I'm locked at home, I'm like, oh, I don't have hobbies. I don't like really have creative hobbies. I sometimes play video games and I find time and I work and I read, but oh no, I don't really have a creative outlet. This doesn't seem healthy. And so. I talked to a friend of mine and he said, hey, like you listen to a ton of music. Why don't you try making some music? And I said, well, I've never really been good at making music. And he said, what about this? And he sends me a URL. And do you want to guess what that URL was? I don't have any idea. It was Sonic Pi. It's an IDE of like basically live coding to make music. In that initial version, I think even still to this day, the syntax is Ruby.
THOMAS CANNON
Gotcha. It's just straight up Ruby with like a couple of methods and, you know, it's all run within its interpreter. So it's like, oh, play this sample, change the BPM to this, like that sort of thing. And that's when I started experimenting with music. It was like, that was the entry. That was the entry point for me.
DAVID HILL
when I
THOMAS CANNON
And that happened because Ruby was so accessible that it helped inspire somebody to say, hey, I can teach. people how to make music and how code works, the intersection between those two. And I can use Ruby to do that because Ruby is so terse and straightforward and easy to understand.
DAVID HILL
Right. The place where my brain went when you're talking about needing to have those creative outlets, the whimsy and the play and the fun and the model train stations, and not all of them necessarily geared towards programming. You're looking at creative outlets outside of programming. I wrestle with that so much because like every time I really want to explore certain creative outlets, I have this voice in my head that's kind of like, or you should focus more on programming so you can be a better programmer and do better in that chosen field. All the while, like when I'm trying to be a better programmer, it's kind of like, I would really love to do something else right now that's not going to give me any. ostensibly at least, it's not going to make me any more money or anything like that. It's just like, oh, I want to do, explore, play in some other sandbox for
a little while. And it feels almost irresponsible to allow myself to do that sometimes.
THOMAS CANNON
Yeah, it can be tough. But I think the lesson that I always come back to in that regard is we wouldn't have the modern compiler if it wasn't for women's basketball.
DAVID HILL
Okay, you're going to have to expound on that.
THOMAS CANNON
Yeah. If I remember the story correctly, Grace Hopper came up with the idea of the two -step compiler because of arcane rules in women's basketball, where they had to stop in order to pass the ball. So you would get the ball, you had to stop, and then you would pass it on to somebody else. And she played women's basketball in college. And then she thought about that, like, oh, the two -step compiler is I get the code, I get here, I get the code ready, and then I hand it off to the next step of the process. Okay. That foundational aspect of the world that we live in now is based on a thing that somebody did superfluously in college, on the fact that they played basketball in college.
DAVID HILL
I feel like I need to go and read more about the history of that because that's completely new to me, new information to me.
THOMAS CANNON
I'm hoping I remember that story correctly. It could be apocryphal. So if it is, I apologize.
DAVID HILL
This is the internet. Almost everything that anyone says on the internet could be apocryphal.
THOMAS CANNON
It's true. That is true.
DAVID HILL
true. Okay. Well, I have a bunch of things that I have written down now that I need to go and... do some research and do some reading about now. So thank you for that, Thomas.
THOMAS CANNON
Yeah, of course. That's, I've been thinking about this a lot. And I've been thinking about, because again, Blue Ridge Ruby, there's a lot of conversations about like, all right, cool. What does being a Rubyist mean in 2026? Looking at the Rails developer surveys where things are straight, like it's an even keel. Obviously, I want the language to grow. I want us to be doing more with it. I think a lot of it just comes to Giving ourselves the chances to do that, to actually put out that bad idea that you have, put out that library you have that you have stuck in your head, write that little script.
DAVID HILL
Put yourself out there, even though it feels scary and dangerous. Yeah, for sure. And it's dangerous. Sometimes it can feel like you're burying your soul to the internet, which can often be unkind to people who are just trying to do a thing. The more we do that. the better off I think we'll be as a community. I think so. Thomas, is there any last words before we wrap up?
THOMAS CANNON
we wrap up? Yes. Blue Ridge Ruby, 2027. Submit your CFPs, submit your talk proposals. We want to hear them. And I would love to see you there. So please go ahead and book an early bird ticket. And if you're an organization that wants to sponsor one of the most anticipated Ruby conferences, according... Rails developer survey, then please reach out to us at team at BlueRidgeRuby, or you can find us on most networks. You can find me on BlueSky. That's where I do most of my shitposting. So I'm just thomascannon .me on BlueSky. Awesome.
THOMAS CANNON
Thanks for coming on the show today, Tom. Yeah, thank you.
DAVID HILL
This has been the Ruby on Rails podcast. It was a pleasure talking with Thomas today. You should consider submitting to the Blue Ridge Ruby CFP. Check out BlueRidgeRuby .com for details. I'd also like to thank our sponsors, AppSignal and Ruby Native by Joe Mazzalotti. Special thanks to Flagrant for helping me get redesigned logos and banners for the podcast. And finally, thank you for listening.