John Epperson
Appearances
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
To prepare for this episode, I also bought a collection of Raspberry Pi related devices.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
So I too could code along with Valentino's Ruby guide. And as he says, the Python is infested, absolutely infested the Raspberry Pi ecosystem. There's Python everywhere. And trying to root it out, trying to root it out of your hardware, getting a kind of Ruby pitchfork and digging all of the Python out of the examples is really fantastic work. So thank you very much for doing that.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
So that's really nice interface because it just does it for you after you turn it on. Yep. So you type measure and then anything you run from your IRB or whatever after that gets measured.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
So this is from the Hidden Gems Ruby article. The Ripper, it says, is a lexical analyzer. And you run the Ripper command on a Hello World and you get loads of stuff out. How did you get into using that? And what are you using that for? Because that, to me, looks incredibly technical and obscure. Yeah.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
Got it. So maybe if you're calling in some external library that's memory is going missing, that kind of situation?
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
Nice. All right, Luke, what are your picks? Well, I've got to pick my magic, haven't I? My max magic gem is definitely my pick. What a marvelous gem it is. But only version 3.5 or lower. You know how we were talking about JavaScript features kind of coming into Ruby 3? Well, now we've got kind of NPM features coming into the gem ecosystem, the Ruby gem system.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
We're really, really taking our lead from JavaScript at the moment. So I've linked to an issue on GitHub where some developers are saying that because this license changes to GPL, then everyone has to release all their source code. This really isn't true. This idea of a viral license was introduced by Microsoft in the early 2000s. And, you know, you can go on Wikipedia and look it up.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
And it's kind of a smear used against the free software movement that there is this kind of nasty license that if you include it in your code, then you suddenly have to release all your source queries and your business is over. There is a license called the AGPL. which has some restrictions on software as a service systems.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
But there is no strange magic license that you introduce that suddenly makes you do things. And people miss the point with free software a lot. They seem to kind of confuse it. The whole point of free software is that you have freedom. And if someone's making you release your source code when you don't want to, that's not really freedom. So people need to calm down on the GPL side of things.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
GPL is a great thing. It's built the... the computing infrastructure we have today, the MIT license is not so great. And I'm not such a big fan. But if you don't believe me, look into it for yourself. So there we go. My Pick of the Week, my magic. Thank you for keeping Ruby interesting.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
So I know this is the sound of Chuck's weekend disappearing.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
So this kind of environment automation and warning is kind of really important for you because you're dealing with medical data and things. So it's kind of really important you don't get it wrong.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
Yeah, this is the kind of double-edged problem of your sphere is because not only does it have to be really high security, but it also has to be high availability because the code is literally saving people's lives.
Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
I didn't know that. I did not know that. I didn't either.