Valentino Stoll
speaker
350 appearances
6 recordings
1 series
first heard Sep 2024
last heard Oct 2024
Valentino Stoll’s voice in public audio — every appearance, attributed to the second.
Trend
recordings per month · last 12 monthsNo recordings in the last 12 months.Older appearances are listed below; set an alert to hear about the next one.
Appearances
So I don't know if anybody else here has a gem RC that doesn't include documentation when you install gems because it takes longer. I used to have that. Dash, dash, dash. Yeah. So I have turned that back on now because it's so great to see, you know, tab, tab. How does this method work? I use that all the time now.
Yeah, it's also, you know, if you use a higher level, like, documentation app, right, which has some nice things as well. Like, I use Dash as an example. But it has some drawbacks in that you have to know what you're looking up. And so it's nice having it in the direct context that you're in without having to go, okay, let me go to this other app, you know, look up this context, this method.
Right. I don't pay for the Dash. I just wait for it to load.
Sure.
I have a thing with lightning bolts. My starting prompt is a lightning bolt. It tells me I'm in IRB. That's kind of nice. I used to, for the longest time, use... There's a Oh My Zosh theme that has a cloud.
And when you have changes in your Git repository or in whatever repository you're working with, it'll show a lightning bolt to tell you that there's changes made so you know whether you're in a clean state or not. So it's just fun. That's cool. It was kind of interesting making the custom prompt because I was just, you know, playing with it, seeing what you could do.
And so I had actually picked up the quoting. So when you're in different modes in IRB, so example, like in a string and you have a string open in line that basically has a signal to IRB to style it differently. And so, you know, I wrapped it in the quotes icon So that like an emoji quotes, which was kind of interesting to use on a regular basis for a while.
I definitely will be using some emojis in my prompt for a while now. Nice. I was trying to figure out how to get an X wing on there.
Sure. I had dealt with IRB customizations for a long time. So I was familiar at least with the notion of IRB RC and being able to kind of customize small things. But I didn't know the extent at which you can do it. Like probably another topic of conversation or blog post is that the history itself of IRB and even kind of save those histories as files.
So you could, in essence, and that's kind of where I'm going to go next with some of our servers, is to customize the IRB session per user so they all have their own history, especially when you deal with a shared server setting. You run into a lot of, oh, you hit up a few times and You're scrolling through somebody else's history that's sharing the session with you.
And so that's an easy fix, scoping to a particular file. And so it started, you know, just small realizations over time of, oh, hey, you can do this, you can do this. And then finding the actual need was we have these hack days at Doximity where the whole team will split up and work on anything in particular that could help be useful for the team.
And one of the problems we had was this auditing in that our auditing had to be explicitly set anytime possible. any user logged into a IRB session or Rails console. And so sometimes it would be forgotten, the auditing would get lost, and we'd have to go back and readdress those data concerns. And so somebody was like, hey, it would be nice if we can just automatically do this.
And that basically is what started me down this rabbit hole to begin with. Is that possible? And there were some prerequisites to that in that, you know, how do you know what user in the system is related to the user that logged into the server? We happen to have some, you know, formalities in place that lined up those user names.
So it ended up working out really well and being easier than was expected. And then, so as you go through and once you have a custom Rails system, console, it makes you think, oh, well, what else can we put in here? What other, you know, Doximity-specific customizations can we inject inside the Rails console? Limitations, you know, how can we add restrictions? Things like that.
And it becomes very easy once you have that place, that source of truth to kind of make those customizations. And I work in the terminal almost exclusively. That's kind of why I... Because Vim, right? Yeah, because Vim. But more so, I have a very elaborate Tmux setup as well that I've just grown comfortable with. And so I try and do as much as possible. I don't like leaving the console at all.
I've been looking at a couple of projects to do even code reviews from the terminal. They're not quite there yet. But that would be my dream to just never leave. I used to use, what was it? There was a chat service for a while when Campfire was around that allowed you to do that from the terminal as well. Maybe it was WeChat, but that would be my ideal environment.
So, you know, playing around with IRB and being able to do as much as possible there, you know, open up any files, you know, send things to the background when I don't need to use them kind of thing. It's just a very nice workflow. So that's kind of my foray into the IRB space was, you know, what is possible? What can you do with it? And how can you make things easier to develop? Right.
Can I ask you about the Ripper? Sure.
So mostly it's for analyzing memory usage. So with the instruction sequence compiler, you can then use it to see how Ruby is making those instructions on the low level. And it's a helpful way to debug how it's compiling those instructions.
And sometimes when you're debugging a particular memory issue, you can elaborate on that using the lexical analyzer to see how it's constructing it on the back end.
Showing 281–300 of 350 · page 15 of 18
← Previous
Next →