Ayush Nwatia
Appearances
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
My son wants to be a video game developer, so...
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
I generally agree, but if the ongoing maintenance burden will be lessened by rewriting it and it's not like a total, hey, you're going to spend six months rewriting this piece, right? So you have to weigh all these things, but I've worked on apps where there was a new, better way of doing things. It was not terribly onerous to change it over.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
Yeah, there was no real benefit to the users except that The next time we had to come along and maintain, touch, modify, whatever that application stuff, it was going to be much, much, much easier. And so it allowed us to deliver better and faster in the future.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
We also have Valentino Stoll. Hey now. Charles Maxwood from Top End Devs and we have a special guest this week and that is Oli Heddy.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
Yeah. Action off is nice. The thing is, is that, you know, kind of what I used to talking about, Um, I've, I've wanted something more like zero authors where essentially it is the generator that just sticks the code in. Um, I mean, I've, I've looked at the code for action off.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
It's, it's pretty easy to follow, but yeah, it's still, to me at least has that feeling of that black box where, um, you know, the zero authentication library, it there's no, there's no engine, right. it just sticks the code in and then you can modify it until to make it whatever you want. And that's kind of the thing that I really like.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
And so, um, I, I'd love to see a lot of these common problems. In fact, um, I negotiated with, uh, Daniel Kehoe. I don't know if you guys remember him. Um, but he, he had a series of rails apps that he had recorded videos of himself building way back in the day. And, uh, he had, uh, a project called rails composer. And essentially it asks you a bunch of questions and then populate your gem file.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
Um, and yeah, that, that's my idea behind that. He gave me the domain and I want to just build a series of, of things like this. So it's like, Hey, you have this common thing and yeah, rather than have another gem added to your gem file, you literally have rails composer in there in your development group. And then you just run the generators and,
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
And it generates it and then kind of has the documentation in line like the Rails stuff does that may point you out to videos that show you how to modify it to be whatever you want it to be. And it's funny because initially I was going to do engines. And then I started reading Ayush's book. And it walks you through building the authentication. And I'm like, this is just so much cleaner now.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
No, it's fine. I should have asked, but I assumed because I think I'm smart. And then I screw stuff up because I think I'm smart. Anyway, do you want to just – you were mentioning before the show you've worked at 37 Signals. You were the CTO for Free Agent, which is a bookkeeping and financial app for businesses. Yeah. What else is there to know? What else are you famous for?
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
in so many ways and I can make this into whatever I want. Right. It gives me the freedom to just do what I need. And so, yeah, I can give you all the pieces. It'll have a nice interface. It'll all be tailwind or whatever. Right. But then you can just go in and modify it.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
So if you're using bootstrap or something else, if you, if you need it to do a couple of extra things, if you need it to trigger some jobs, well, it generated the code. It's in your code. You check it in so you can change it anyway.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
But, But I've been very inspired by this idea, right? Do I need a gem for this or not? Like I've been using Friendly ID for years and I figured out that in about 30 lines of code, I can create a concern that I can pull into any model I want, right? And so then it's, okay, so why am I using a gem for this, right? This is code I understand versus code I could go look at it.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
I'm sure it's relatively easy to follow along with. But yeah, then why do it the other way?
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
Yeah, we should definitely do that here for a minute. I actually am kind of curious about it. So I have to admit, I haven't read the article yet. I didn't see that that was... I'm working on a better system for letting us know what we need to read in order to prepare. In the meantime, yeah, you know, I think...
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
Well, actually, why don't you just give us the 10,000-foot view on what the article is about, and then we can kind of attack it.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
Yeah, absolutely. DHH made Kamal so that he could get off the cloud.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
you know it's it's more of an s3 classroom problem i would say than rails yeah um it's interesting too because you mentioned um kind of the uploads and active storage but one other thing that i thought about is just um my pre-compiled assets putting those on a cdn um For a lot of the same reasons you mentioned, right?
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
You know, it's like, oh, you've got to pull, you know, maybe a couple of JavaScript files or my CSS or a bunch of images that, you know, they're not active storage managed. They're just... Yeah. Right.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
Hey folks, welcome back to another episode of the Ruby Rogues podcast. This week on our panel we have Ayush Nwatia.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
Cool. Well, let's go ahead and switch gears and do picks, and then we'll wrap up. Ayush, do you want to start us off with picks?
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
Very cool. um i'm gonna jump in with some picks um i always do a board game pick first um i i would sometimes get long-winded so i'm gonna try and make this brief um i'm gonna pick challengers and i think i've picked this before but challengers is effectively like war and capture the flag um so you flip cards over out of your hand until you've
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
played more points than the top card of the other player. And then you get the flag and then they do the same thing. Um, when you lose the flag, then your cards go onto your bench. Once your bench is full and you can't place another card on it, your opponent wins. Or if you run out of cards in your hand, your opponent wins. Um, And then you play seven rounds. You rotate between the other players.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
It'll play up to eight people, right? So you have four simultaneous matches going on at the same time or three or two or whatever. If you have an odd number of people, there's a robot deck that kind of gets harder to beat as the rounds go on. But theoretically, you're drafting cards and building your hand. or your deck up. So your deck should be stronger.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
And so you should be able to hold out with the, um, with the robot, uh, board game geek rates it at, or weights it at 1.78, which means it's pretty easy for casual gamers. Um, And it's eight and older can play it. So anyway, that's my board game pick. I just finished a book. It's the book on mental toughness by Andy Frazella. You have to actually go to his website to get it.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
Walks through the 75 hard program, which I'm in the middle of right now. I'm on day 17 of 75 days. And it walks through the whole program. Anyway, it's awesome. So, you know, it's part physical health, part mental toughness, part other stuff. So go check that out for sure. He also has a podcast, Real AF, which is worth checking out.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
And then part of the program, too, is you have to read 10 pages out of a book every day. And so the book I'm reading now that I finished that is Awaken the Giant Within by Tony Robbins. And I am really liking this book. So I'm going to pick that, too. Oli, do you have some picks for us?
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
If people want to connect with you, how do they find you on the internet?
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
Yeah, Ollie, how are you such a genius? Such a forward-thinking genius.
Ruby Rogues
Cloud Migration, Server Costs, and CDN Challenges - RUBY 650
And then jQuery was like the dream.