Coding Blocks - Keyboards, Cloud Costs, Static Analysis, and Philosophy
Episode Date: October 15, 2023We’ve got a smorgasbord of delights for you this week, ranging from mechanical switches to the cloud and beyond. Also, Michael’s cosplaying as Megaman, Joe learns the difference between Clicks and... Clacks, and Allen takes no prisoners. See the full show notes a https://www.codingblocks.net/episode220 News The Show Resources We Like Tip of the Week
Transcript
Discussion (0)
So how are we going to jack up the intro today?
What are we going to do?
I don't know.
What are we even talking about?
What are we talking about this time?
Oh, I forgot.
This is episode plus plus.
And what are we talking about?
Oh, man, there's a bug in my template.
I don't know.
It's one more than the last one.
220.
Don't you ever joke?
Don't you ever like kind of chuckle when you get like an email or something and you see like their template had an error?
And he knows.
Hello, last name.
Right.
Yeah.
All right.
Great.
Good job, guys.
I mean, of course, like when it's like, you know, a scammer, you're like, whatever.
But, you know, when it's like legit companies that do it, you just kind of like extra little chuckle like, huh?
Testing in production, are we?
Yeah, it's been a minute.
I think, I don't know if the tools have gotten better or what.
What?
You don't get the spams?
Well, I don't check my email.
That's one way to not get spam.
Yeah, sure.
That works.
That's amazing.
Hey, so for real, this is episode two 20. So you can go to Cody box.net slash episode two 20.
If you want to see the show notes on this,
which I don't think these will be all that crazy.
These will be crazy,
crazy,
crazy.
It'll be amazing.
You want to click these?
I like it.
Don't,
don't read them.
Just click it.
Hey,
with that,
then we're going to skip all the good stuff.
I'm Alan Underwood. Yep stuff i'm alan underwood yep i'm wait what i'm
alan underwood this would be confusing for everybody i'm also joe zach and i'm michael
outlaw right you know it's so wrong you'll find out why it's wrong that he's doing this here is here shortly.
Who are you, Alan?
I'm the person that hasn't said his name.
Can the real Jay-Z please stand up?
I already did.
What is going on? What is going on?
Do we start yet?
I think so.
Yes, we started.
We've been recording now.
Before the madness goes on any further,
we need to take time to thank the people who took time to write us some reviews.
Go ahead, Michael.
All right.
Okay, I'll do that.
I don't know if I can do that.
I'm not a good voice impersonator.
Yeah, wait.
Was that when your voice rose an octave, was that you trying to impersonate me?
No. Is that what you're saying? not at all that's why that's why i'm not a good voice impersonator i just offend people that hurts my feelings right yeah i don't know why i sound like
mickey mouse but all right go ahead you do this you do this all right so from itunes All right. So from iTunes, is this legal?
Mescal,
Mescal.
Wait,
no.
The other one is,
isn't there one?
No,
that's the alcohol that I'm thinking of.
Oh,
yeah.
Mescal.
Yeah.
Okay.
I was like,
and from audible,
it's Matt.
Nice.
All right.
Well,
thanks.
Uh, it's Matt. 50. All right. Well, thanks.
It's Matt.
50% of them.
That's Kel.
That's awesome.
Thanks for the reviews.
We really appreciate it. We thrive on that sort of stuff.
If you've got any three plus stars in you, then we'd love to have them.
We're going to edit him.
That's a high bar now.
Remember the days when we used to ask for a five star?
Now we're like, you know what?
If you got a star in you, I'll take it.
Smoke them if you got them.
Whatever you got.
More or better.
It's an easy way to remember.
As many as you can.
Yeah.
There you go.
All right.
So you've got some interesting news here.
Oh, did you know?
Oh, yeah.
I think we did talk about that.
Go ahead.
Sorry. I didn't mean to i was just saying like that there are stars in like spotify now but i think we mentioned that a while back so i'm sorry i apologize yeah i don't know how they work but
yes i've seen them you i think you can only do it from the app if i recall okay and like you can add
like comments and questions to the very specific episodes okay maybe we should check those yeah yeah you should do that and we'll do that and then it'll
be all good yeah agreed all right well uh i got a topic so a while back uh i talked about this uh
keyboard that looks like a nintendo you remember remember that? Yes. It's 8BitDo.
They normally make controllers, but it's a mechanical keyboard.
It's not split.
It's very like a traditional kind of keyboard.
And I love how it looks.
It's great.
I love it's got these little dials for volume.
It's got a little dial for switching between like Bluetooth or like wireless 2.4.
It can do wired.
It's really nice for multiple computers. Like it really great i love all of it very nintendo-esque yeah i mean look and feel about
it any 80-esque right or any yeah nes yeah dude it's actually got a it's got a volume dial like
like what you said like a mechanical dial it's not just a up down this
all it has ab buttons it does so cool yep and i also came with this giant usb ab button too
that can go on the side that's pretty cool uh but uh here's the thing uh i i love most of it
but uh it's a mechanical keyboard and i don't like mechanical keyboards
and i don't understand did you not know that about yourself before you bought this thing
you know i did and i thought that i might you know kind of get over it or you used to if i
kind of forced myself to but no it's really loud and you have to push down like you know
like for real hey give us a listen here. Type something on it.
Okay.
Can you hear this?
Oh, he just logged off.
Wait, hold on.
And he's gone.
I just deleted the show notes.
I haven't heard of these though, but these switches, they're, I don't even know if I'm
pronouncing this right.
Kale box switch.
I heard of those. Oh, those are super popular other than the uh
yeah other than the cherries these are like the other big ones out there huh okay yeah they've
got they've got a ton of different ones too um so that apparently they put the lab ones on it
i'm just surprised that you even bought this keyboard though jay-z because this is i'm sorry i meant michael i was surprised
you bought this michael this is a 87 key keyboard so oh yeah i don't this is a tiny one like i'm
surprised that you would have even tried that i like that martin you do with that yeah like what
are the keys you need no no but i thought that you wanted like ergo keyboards since you don't have like you
know deal with carpal tunnel or any kind of bs like that like you wanted i know alan buys the
ergo keyboards i thought you were into them as well yeah i was i and i kind of still am but i
had a couple surgeries and so now it's not really a problem so you're like bring on the next one
yeah that's right i eat carpal tunnel for
breakfast yeah yeah i think i think really what it was is the nintendo retro nostalgia just
one out major right like and i can see it it's gorgeous yeah i think that's the winner right
there that that's really what happened here oh totally absolutely and i love it i don't even
have a lot of like decorative stuff like i just don't really care what stuff looks like for the
most part i just freaking love this entire background is blinged out you've got you've
got things like hanging on walls and stuff i don't have any of that yeah man i've got a wire running
down the wall for my VR. That's a,
that's a,
that's virtual.
That's just a picture.
You know,
like that's not real.
That's hilarious.
But for real,
like what,
like what is it about the mechanical keyboard that is likable?
So in fairness,
the noise,
well,
so it's not mechanical keyboards.
And this is,
this is something that's,
you know, if, if you've ever typed on different mechanical switches, you can actually get switches that aren't loud, that are still
the mechanical, you get that feel to where it's got a little bit of back pressure on
it.
And then it breaks when you go past a certain point, right?
So if you were to go research the kale keys or even some of the cherry key switches out
there, some of them cherry key switches out there,
some of them like are super loud.
Some of them are super quiet.
A lot of them have different breaking points. Like some of them will be like halfway up.
Some of them will be like near the top.
Like as soon as you touch it, it like cracks down.
So the, the like of a mechanical keyboard can be both the feel and the sound, right?
Personally,
I don't like the loud sounds.
Um,
but that's mainly because I get yelled at when I'm doing it.
So I've always thought that like the,
the appeal to the mechanical keyboards was the feedback,
the feel of it,
the feedback of it,
because you go back and like,
think of the alternative,
like,
cause from,
at least from what I can recall like nobody care
you know talk about mechanical keyboards until the chiclet keyboards came out and that i think
is when it like really kind of came back into you know just or you know even started discussions
about it and it was just you know the chic keyboards, you didn't really have as much feel about it.
So the sound was just kind of a byproduct of trying to reproduce, like trying to produce a specific feel.
And that's what Alan was talking about.
Like, where does it engage, you know, at the top, the middle, the bottom, or like how hard do you have to press?
And if you do press, do you get like, you know, for one press press of it do you get multiples of it of the key
all that kind of stuff some of them will like bottom out like it'll hit the the like the very
bottom some of them have like a soft spongy feel to it like you can totally like if you go to uh
it's drop.com i think it's still drop.com if you go there that's like one of the websites that
they're they're always selling like mechanical key switches and stuff. And, and a lot of times they'll have like a whole, like pick from whatever
set you want. Right. And I don't know. I mean, they're, they're pretty good. I actually,
so during the day I work on my Kinesis, um, advantage three 60, I think is what it is. No,
not three 60 advantage too. And it's a mechanical keyboard, but it's quiet.
But it does have a great feel to it.
When I'm down here recording the podcast, I'm on the Microsoft Sculpt Ergonomic, which is the chiclets.
But those have great feel to them, in my opinion.
They have a nice tactile feel when you push down on them.
So, I don't know.
I can be with or without.
The keycaps are part of it as well
so like on this one that you you got um jay-z you have the pbt key caps on it as well because i
remember like we talked about the other ones being like abs plastic versus the pbt plastic
and the pbts have like more texture about them than the ab uh there was an abs plastic right no maybe that was
what it was but yeah because like the abs ones are the keyboard or the the keys that'll get shiny
and slick and smooth right versus the pbts will stay kind of a texture about them so like you know i got this uh it seems i think it's called the
kinesis gaming freestyle rgb keyboard of that keyboard so i had to switch out the keycaps
because it came with this the the shiny abs plastic ones. Um, so this was out, if you recall,
this was after I switched from the moon lander and the moon lander,
I loved those key caps. And that's when I discovered that like, Oh,
I didn't even realize I had a preference for key caps until I ran into the
moon lander. So I took the, the key caps off of the moon lander,
put them on the Kinesis, but of course not all of,
I didn't have all of the keys for it.
So I have like a mixture of like Kinesis and of course not all of i didn't have all of the keys for it so i have like a
mixture of like kinesis and moon lander keys on it but um i wish it didn't have the quiet soft
switches that it does on on it though he likes the loud ones okay so dumb question is it would
it be insane to like replace all the switches or the keyboard is that like no you can absolutely do
that that's one of the benefits or more uh you're probably gonna spend an hour on it
my guess it depends it depends is on how good the keyboard tool is is the board even set up for that
yeah right because those switches could be like soldered in right and then you can't you can't
pop them out yeah you might check on that
keyboard i mean there's an easy way to find out dude did your keyboard come with a key puller
like well that's a cap puller though the key cap puller but that's what i'm saying like if you were
to pull that thing off you could look down in there and see how that stuff set in there i don't think it did oh but i see it's it says it's hot swappable pcb what does that mean
i think uh i don't know hot uh yeah so it's got a picture that looks like it's like
swapping out the thingy so it says hot swappable pcb i don't know what that means i think that's
referring to the layers thing is is it? Let's see.
If you look at the Amazon page, we'll have a link to the show notes.
There's like an icon, and it
looks like it's replacing the switches.
We'll go
into their website to see what they
say. I would
look better, but I have a cat on me.
I mean, because it's definitely not going to be like hot swapping
the key
switch.
Swappable PCB.
Well, oh, hot swap keyboard versus soldered PCB.
The easiest way to explain the difference between the two is saying that hot swap lets you take out the switches whenever you like, while soldered PCB can't.
Okay, so there you go.
Yeah, so you can switch them out.
So it says these come with the kale white switches, which are obviously loud.
So I put a link in the show notes to drop.com to their switches.
So yeah, you could potentially buy those things.
I wouldn't even do that.
I would, hold on.
There's, you should get one of these.
Let me see if I can find it real quick.
So like,
I'm just going to throw out an example,
but there's,
and this is not like the best example,
but you can find things like this product here, which is a keyboard tester and,
and it'll have one of all of the different flavors on it.
And yeah,
that one's kind of expensive at $20,
but there's cheaper ones depending on like,
that's a MX or cherry MX.
So maybe that's the reason why that one's kind of expensive.
So depending on like what family of switches you want to get,
you could find one where you could like test the different switches to see
like,
which one do I like?
Which field do I like?
And,
you know,
depending on, you know, it might be worth it for field do i like and you know depending on you know it might be
worth it for the the time and trouble you know because also by the way too there's another
factor here too and that's the there's like little o-rings in underneath there too that can uh impact
the feel of that keyboard and any key switch that you put into it. So there, and there's larger ones.
Like I'm looking at one that has, I put one that was like what, 27 or something like that
or no 12 keys.
Here's a note.
Wow.
How did I miss 27 and 20 and 12 together?
But here's one with like 80, 81 switches that I'm looking at.
It's crazy.
The O-ring by the way, is what I was talking about.
Like there's some keyboards, like when you push down on the key, it'll like, it'll just
smack the bottom. Those O-rings will stop where where it's actually gonna hit so
yeah there's so much you can do with this stuff man you can actually spend a lot of time on it
and here's a cheaper version of the uh the cherries mx if that because that's like the more
common of them but i want to test i want to test the silent keys yeah but that's
it's going to have like one of everything you'll be able to tell like oh turns out i like cherry
browns because it has enough of feedback that i want but also it's not you know loud it's going
to bother me yeah okay yeah you'll be able to try out all kinds of different ones. Yeah. So that might make it to where you love your keyboard.
Oh, the glorious PC.
I like that one too.
I can adapt to the feel.
Like I feel like I don't really care too much what it feels like,
but the sound is obnoxious.
It is irritating.
I can't even get behind this.
I love that part.
Like you sit down in a cave by yourself like nobody
nobody's around you my wife when i had one the moon lander she hated that keyboard she was like
really when are you giving that to outlaw i was like soon i need to record the the review but she
hated it yeah i i personally love it though.
Like it,
it energizes me when I'm,
when I'm typing on it and I,
and I hear it like,
I don't know,
there's just,
you know,
this job can be like both like,
you know,
not just the problems that you're solving and that you're looking at,
but also the things you hear,
you know,
that can be a part of the experience too.
And I don't know.
It's part of it for me. Not for you. I get it. Outlaws making music. He's a percussionist in his,
in his off time or his all time. Yeah. Thank you for recognizing. So, so the next one,
this is actually something that the micro G sent us and I thought I'd share it. It was,
it's pretty interesting. So you guys remember the, um, the latency numbers that every programmer should know.
I think we even talked about it on one of the episodes back in the day, like read from disk, latencies, all that kind of stuff, right?
So he found something that is like for the new age cloud costs that every developer should know.
And I thought this was pretty cool.
So if you go to the link that we'll have in the show notes there, the top of the page he also has a link to a latency number one that's pretty
cool and it's worth calling out just because they have some nice looking um illustrations like if
you drag the the slider over it'll show you how long in comparison some of these things take so
at any rate it's neat for looking at the old stuff, but the new stuff I thought was interesting because I think we've talked about it on this show. Like you can get
some super good value out of some cloud services. Right. And I think one that all three of us can
agree on is cloud storage. I mean, especially if you're working, it would not make sense in my mind for you to try and run your own Hadoop cluster and manage all the disks, this stuff in the cloud.
When you have something like S3 or Google Cloud Storage or Azure Blob Storage, right?
Like it's so cheap and it has, I don't remember how many nines of uptime,
like, why would you even touch anything else? It's just too cheap. So I thought it would be
fun to share some of these costs and, and it's kind of cool because they have examples of like
how you would use this. And it's sort of like a shortcut calculator. Before I go into this, keep in mind, and we've said this before too, if you are a company or
if you're working for a company that's going to be spending any real amount of money on cloud stuff,
these numbers are published type prices. If you start signing long-term deals, like, Hey, I'm going to sign a three-year agreement with
Azure or AWS or, or Google, you're going to be talking to a salesperson over there and your
numbers should be 50 to 75% lower for, you know, Hey, we're going to spend X amount of money with
you. So just know that upfront, but so some of these numbers real quick, 10 gigs of inter availability zone data transfer.
It's 10 cents, 10 gigs a month, a month. Yes. Sorry. Yes. Monthly cost 10 gigs of blob storage
is 50 cents a month, 10 gigs. That's, that's pretty cheap. Um, 10 gigs of attached storage
attached storage is if you
have like a VM running and you have a drive attached to it, right? 80 cents a month,
10 gigs of data egress. So that basically means if you're sending data outside of that cloud
availability zone, you're going to, you're going to spend 90 cents. Um, 10 database IOPS is a dollar.
10 custom metrics is $2.
One IPV for addresses for 10 gigs of log storage is five.
And believe me, when you do things in the cloud,
you're going to spend some money on some log storage.
That's how you're going to find out that things are working or not.
10 gigs of Ram is 25 bucks.
One V CPU is 30 bucks.
A Reddit server is 160. I donCPU is $30. A Redis server is $160.
I don't really like this one because that's very generic.
Like, you could set up a Redis server with a ton of RAM.
I just don't like that.
Yeah, like what's the specs of that server?
Right, same thing.
They have a Postgres server here that's $180. Again, what's the CPUs, what's the specs of that server? Right, same thing. They have a Postgres server here that's 180.
Again, what's the CPUs, what's the RAM, whatever.
But whatever.
One GPU, an A100 equivalent.
Now, I don't know exactly what that is.
I assume it's like some heavy-duty, like probably AI or machine learning type of use.
It's $3,000 a month.
And an H100 GPU is nine grand a month.
So those are,
those are Nvidia specific.
Uh,
okay. So like an Nvidia,
a 100 tensor core GPU,
and then the H 100 is the H Nvidia HGX H 100.
Okay.
So,
so it is very much for ML and that kind of thing.
So, I mean, if you're going to,
anything you're going to do GPU related in the cloud,
I mean, you're not connecting.
Hey, Google, here's my monitor.
Will you like, I want to, one VGPU, please.
That's right, that's it.
Let's do it, baby.
But, you know, the thing going back to the Redis
and Postgres servers is that both of those are baking in things that you talked about above.
So they're baking in the cost of the CPU.
They're baking in the cost of some amount of memory.
They're baking in the cost of some attached storage.
Well, that's what I find ironic.
So they have examples of how you would use those numbers above,
and they actually have one for Postgres deployment.
And this is why I'm like, man, why'd you even include it up there?
You're talking about that Postgres deployment that they mentioned was 160.
It was going to have nothing.
So this, project specs, a large Postgres server with 64 cores,
5 terabytes of attached storage, and backups of 10 terabytes to blob storage,
and 1 terabyte of attached storage and backs backups of 10 terabytes to blob storage and one terabyte
of logs so if you use the numbers above you know i'm not going to go through all of them multiply
them out there's gonna be a test on those numbers at the end by the right yeah but the end cost is
3300 a month so so that's that's why i wish they would have just left it out right like
really what you're paying for when you're doing the cloud stuff is the
number of CPUs you're using and the amount of Ram you're using and then
whatever attached storage you're going to put in those things.
And,
and I think that's good enough to get you kind of where you want.
And this is really good just for being able to quickly spec out,
you know,
this project that you think you want to do.
Well,
you know,
like maybe contradicting myself from a minute ago,
maybe they're talking about managed Postgres versus self-managed because in this postgres deployment here
maybe that because they do talk about self-managed kafka instead of kaka as a service kind of thing
so maybe that's where he's talking about like hey if you were going to run a postgres database using like cloud SQL, for example, or,
uh,
uh,
what was the Amazon,
uh,
RDS,
RDS.
So,
yeah,
so that's interesting.
I mean,
they,
they have pricing and this list,
go ahead.
I'm sorry.
I didn't mean,
I was just gonna say,
but even then there's still details that aren't talked about.
Cause even if you weren't going to do a managed, uh, Postgres, you know, the number of backups that you're going to keep and have, the size of the database, there's still other costs that would be associated there.
So, yeah, I agree with you that those two are not like the others.
Just drop them out, right?
Yeah.
Just get rid of them in that list.
I will say, and this is probably worth a little side conversation.
So the three of us have worked in Kubernetes clusters for a little while now.
And we have a mixture of some self-managed things like Postgres and some other stuff.
And then we have some things that we actually use that are cloud managed, right?
Like, so think AWS RDS, right?
All right, Jay-Z, your take.
What should you use and why?
Start with the managed stuff, I guess.
You know, like, it stinks.
Like, it just stinks like upgrades and, like, regular maintenance stuff.
It's so nice to not have to worry about that, especially if you're on a smaller team.
On the other hand, like, it's a pain working in the cloud all the time.
I want to work locally.
I don't want to have to spin up resources and clean them up
and just manage all that stuff and look at cost spreadsheets every week
and see if anything's running off the rails.
I don't want to deal with that either.
I don't know.
I guess I want it both ways.
You didn't have a definitive answer there.
No, I don't.
There is no answer.
It's all bad.
Go back.
Don't do anything in the cloud.
Just try to, you don't need to scale.
Let's all just do desktop software.
That's funny.
All right, Outlaw, you go.
I feel like we've been doing, in fairness,
I think we've been doing Kubernetes now for several years.
Yeah, that's what I said.
If you didn't realize.
But I kind of love Kubernetes.
The thing we've talked about our love of scaffold before.
And to me, that's game changer where you can scaffold up locally in any environment. You know, you want a
Postgres server? Sure. Spin one up, right? You could, you can use scaffold to spin that up. You
could also use scaffold to spin it up in an environment like a GKE environment, for example.
So I kind of like the portability and flexibility of that, which is the best of both worlds.
And I would actually argue that even if you did have a managed service for something like your Cloud SQL database or whatever, right, you still got to deal with upgrades. That's not
happening for you. That's not free. You still, they're still going to like whoever your provider
is, Amazon, Google, Microsoft, they're still going to say like, Hey, these are the versions we support.
And you know, a new version of Postgres just dropped and you're going to have to decide
like, Oh crap, I need to verify.
Like, does all my code, my, you know, currently support that version.
Can I safely upgrade to it and still deal with issues of like, Oh, things went sideways.
I got to roll back. I mean, we, we use a managed Kubernetes, right?
How many problems do we run into with managed Kubernetes in terms of like
upgrades and Oh, crap.
Upgrading the backplane.
Things went on a support and we weren't prepared for it or whatever, you know,
like those kinds of problems exist Just because it's managed, that doesn't go
away. I hate that argument.
That's interesting. I actually like both of you guys' arguments on this because
you're both right. Of course I am.
But there's an interesting change though, right?
We said Postgres, for instance, right? Like Postgres, if they drop a new version of that, then yeah, you got to deal with it, right? Because they're trying to keep up with whatever the latest clients and features are. However, if you're using something like BigQuery, that's something that just Google offers, that's nothing out there that has some client tool set. Well, I guess,
I guess they might have some things that you may end up changing at some
point,
some libraries that you bring in.
There's definitely gonna be APIs that are going to version.
Yeah.
So I guess,
I guess that goes back to our Kubernetes example because we're using
Kubernetes APIs that can be,
they can go out.
Right.
And it,
and it doesn't like,
you only have to think of API in the terms of like,
you know, like a programming call that you're going to make.
It could just be like, what do you mean, API?
This is stuff in YAML.
YAML's API?
Come on, get out of here.
Really?
So there are some interesting side things on on both of your takes on that.
I will say it is nice when you use an managed service and you don't have to worry about the disk running out of space in your Postgres database, right?
Like that's garbage.
It stinks when that stuff happens.
And when you're self-managing it, you know, if you've done any database administration at all, there's a lot to it.
And then when you do it on top of something like Kubernetes, there's even more to it, right?
So that can be painful.
On the flip side, though,
I do agree. There's something nice about having the same thing running locally when you want to
test something out or managing your costs. Because the flip side of that, you know, not running out
of disk space in your Postgres database, you release some sort of change, you didn't realize
that you were flooding the disk, and all of a sudden your, your cloud costs just quadrupled because this thing scaled its disk size and you didn't
know it. Right. So man, it's such a tough thing. But so, I mean, the whole premise of that started
off again from an argument that I don't like where it's like storage isn't infinite just because
it's just because it's managed. So like I just looked it up in cloud SQL,
depending on how your instance configuration is,
you definitely have limits of,
of the amount of storage on that.
So you can absolutely,
you know,
blow it up.
Yeah.
You can,
you can kill it in,
in a managed environment too.
Yeah.
It's,
it's interesting.
I will say the one thing that I don't love about managed services is it can be really hard to test your code properly, right? Like when you have things that are set up in a managed service way, like, man, how do you make these things hot swappable without just mocking everything under the sun. And then it feels like you're writing a bunch of code to test something that's not even real. Uh, that's, that's one thing that's always kind of drove me a little
bit crazy, but, but yeah, I think I'd be torn on if I was going to spin up an application,
whether I do something like, you know, have a Kubernetes cluster and just run my stuff versus,
Oh, let's just use a cloud SQL or Amazon RDS or whatever. Right.
So that was an interesting little side thing.
All right, so with that, that was excellent.
Thanks.
Thanks, Micro G.
Run.
Right?
I mean, it is good to see these things like that.
I do appreciate that this is Vantage that put this out here.
What was it called? The cost every programmer should know.
I hope they keep this up to date.
Also, did the article
say, is this AWS specific numbers?
Because they are talking about like AWS,
uh,
you know,
elsewhere on their side.
So,
yeah,
so it is,
I think it's based off AWS.
They don't necessarily call it out directly,
but I think AWS is a pretty decent baseline because it's who everybody else is
either trying to kill or,
or keep up with.
So it's probably not a bad baseline.
Okay. Let's hear it. Here's a game.
Because we've also had the privilege of working in the major three
cloud environments, Azure, AWS, and Google.
At this point, with the experience
that we've had of each, which one do you think you prefer the best or the most?
Hmm.
I,
okay.
So I am biased because the one,
there's one I've grossly spent more time in and it was Google.
And I like how civil it is.
And I guess it does kind of fly in the face of,
uh,
you know,
the idea of like using managed services because they don't have nearly as many. And the ones I do have are kind of fly in the face of, you know, the idea of, like, using managed services because they don't have nearly as many.
And the ones they do have are kind of unique to them, like BigQuery, Bigtable, stuff like that.
I was waiting for it.
I was like, is he going to say it?
You know I'm going to do it.
You know I'm going to do it.
But he doesn't say it for BigQuery, so that's weird.
Well, yeah, BigQuery is two words.
Oh.
Or at least it's capitalized at Q, but big to bowl, little T.
Okay.
It's ridiculous.
But mostly based on usage, you're going to go with Google Cloud.
Well, yeah, and the simplicity.
So I'm going to say use Google Cloud and don't use managed services.
Alan, where are you at?
Oh, man.
Mine's going to be sort of a non-answer, which I hate.
AWS has every service that you could possibly ever think of.
We've made fun of their, their logos for their services, right?
Cause they're awful.
So if you want, if you want something, it's probably over there.
So for that reason, I like that. I cannot stand
their interface. It might be better than it was previously, but if you have to go up on their
console, I never liked it. I hated it always. Um, I loved Azure in the time that we spent there.
Like I truly did love it. I feel like it was sort of in between AWS and GCP in terms of the number of services
they had. Like they were, they were real quick to get on the ML train and offer a lot of stuff
there. So I did like Azure, but, um, I, I too, I've spent a lot of time in Google cloud and I
like it. So, I mean, it would basically go that way. If it, if I was just in love with the UI
stuff, I would go Azure, right? If it was the console, I would much rather spend my time in Azure.
I do love Google's documentation. They've done a really good job on their cloud documentation,
and so has Microsoft. I don't know that I can say the same thing for AWS,
unless you're doing Java. So I don't know, man. Like that's kind of where it is. I don't hate any of them,
but it'd probably be Azure GCP up there at the top
and AWS if I needed anything.
Okay.
So my take on that,
first of all, a little bit background,
like the three of us,
you know, I would say in terms of time spent,
it would be mostly Google and aws would be like those two are pretty
close right like you know a lot of usage in each of those and azure we had we were deep into it
when we were there but we just didn't get the amount of longevity with it that we did the other ones. We were in the honey move phase with that one. That's the background.
I would say that, you know,
I absolutely hated everything about the AWS console.
Never enjoyed a bit of it.
It was awful to use.
It might be better.
It might be.
It might be.
Yeah, that's in fairness.
Yeah, sure.
Fair call out.
It's been a minute.
And I think like right around the time,
like there was eventually like a command line tool
that came out a decade plus ago
that was right around the time
that I think we all moved away from that,
uh, if I recall correctly, but, um, you know, so that, that would greatly simplify a lot of it.
Right. Um, I absolutely loved the Azure experience though, the, the UIi for it like it was the most polished of all of them but uh
the the aws one was like super confusing to configure everything and every time you hear
about somebody getting a storage bucket wrong and like all this publicly available information
you're like yep totally understand it because yeah there's one right it's easy to mess up. Rocket science.
Yeah, for real.
But the Azure was also complicated too.
I'm not saying it wasn't,
but the UI, I just felt like it was a lot easier to work in.
It was almost like Windows in a web browser kind of thing,
like the way you navigated through it. So I really liked one but uh you know kind of to jay-z's point though like google might not offer as much
as like an aws in terms of like here's a service for everything that you never even thought you
might need but the things that they do they do extremely well and the ui is nice like i i do like that it's i think
it's a nice blend of like has the functionality that you want right but the simplicity you know
of like the the azure and and like the, oh, let me just share this link
and I'll make it relative or time-wise
or I'll make it very specific time-wise
or let me pin this one log message
or, oh, hey, here's the,
if I wanted to create this node from a command line,
here's the command to do it.
I can just copy that straight from the UI.
Boom, there it is. And oh, also there's a command line utility that I can use to do it. I can just copy that straight from the UI. Boom. There it is.
And Oh, also there's a, a command line utility that I can use to do all this stuff. So, um,
not saying that Azure doesn't have a command line utility, but just saying like, it's a great blend.
So, you know, but also it is like daily driver. So I kind of concede that like, that's probably a
lot of that justification. But even when, even when AWS was our daily driver, I was like,cede that like, that's probably a lot of that justification. But even when,
even when AWS was our daily driver, I was like, Oh my God, really?
Oh, I never, never liked it. Yeah. I will say one, one of the things that I appreciate about
Azure and I also appreciate a lot about Google, the, at least their console, like we talk about
using their console and as a developer, like the stuff that you're going to deploy doesn't matter,
right? That's not in the console. You're scripting things out, whatever. That's one thing that I
always thought that Azure and Google did a great job of is if you're trying to create a bucket and
you want to make sure that it's locked down, doesn't have public access and all that stuff.
Like they give you all those, those options in the UI. And then down at the bottom would be like, Hey, create this
request in a rest format or in the GS util format or in the Azure format. Right? Like, so that was
one thing that I always appreciated is you could get your feet wet up there, take that code that
it generated, and then actually put it in the stuff that you want to deploy. And that I don't
remember that ever being anywhere in AWS felt like AWS was like just
stumbling around in the dark trying to find stuff.
It may have eventually gotten there,
but yeah,
it,
it wasn't while that I recall while we were there,
that's for sure.
Yeah.
Um,
so yeah,
uh,
if you got a star in you,
leave us a star.
Um,
just one.
Yeah.
And if you're like, but I've already done that, Michael, you're allowed to do it again.
You head to codingbox.net slash review and find some helpful links.
And with that, we head into coding party.
Yeah, coding party coding mental blocks mental blocks i forgot i did yeah mental block i gotta make a note of that
very good until hear that keyboard that's beautiful Mental blocks. So do the neighbors.
Maybe that's why they don't come over.
All right.
So episode 220.
This is even.
So according to TechCo's trademark rules of engagement, Jay-Z, you are first.
Let's go. The categories are Arrested Developments, International Man of Myth Story,
Virginia and Georgia, Merriam-Webster defines it as Chow,
and lastly, Let Me Noodle on that.
No pressure, Jay-Z.
I'm on a winning streak.
Jay-Z did a hand-pulled noodle spot
the other day and so i am up on my noodles all right let's do it so noodle okay let me noodle
on that uh one through five level of difficulty two oh come on man that doesn't show confidence shout confidence it never does these long ribbons of pasta get their name from a word meaning little
tongue oh long ribbons is it i mean i geez i only know like a couple so i'm, uh, vermicelli.
Alan cared.
Uh, wait, I said fettuccine.
You didn't say that was actually, but it's ribbons.
So I don't, uh, bow tie.
I don't know.
All right. So both of you get it.
Linguini.
Linguini.
Interesting.
Yep. Yep. Yep. Um, um man those are some good ones i'm surprised i i really surprised that some of the ones you didn't go with but okay um because yeah they were so much
more interesting international man of myth story or arrested developments. That sounds super interesting.
What?
Easy.
No,
I guarantee you wouldn't be the fifth level myth one.
I guarantee I got it.
This one doesn't count for points, but he who has lost his mind and seeks to find it is one rendition of the
name of this hero whose story is darker in legends than in Longfellow.
I have no clue what's going on there.
Yeah,
man,
I got lost along the way.
I can't even pronounce it.
And I'm looking at it.
Um,
hi,
Watha.
I,
I,
I believe you,
you know,
me in proper nouns.
I'm sure.
I'm sure that's wrong.
It was properly done.
I wasn't. Okay. Guarantee. I failed. Yep. me improper nouns i'm sure i'm sure that's wrong it was properly done uh was it okay
guarantee i failed yep all right so alan this is your chance your category choices are
obscure movie quotes done that's the one that's gotta be the one outlaw. We get all those. That's got to be the one, a total frame job,
famous women,
blended words.
For example,
sitcom or nature.
And lastly,
seems like ancient times blended words for three,
please outlaw.
Oh, we have a potentially dangerous situation
judging by this type of suit worn here oh man it's a picture how am i gonna do that
um give me 200 give me 200 yeah your pal and your rival wrapped into one.
Frenemy.
Dang it.
That is correct.
Very good.
Very good.
Give me a second.
I had it.
A little slow on the uptake.
Yeah.
It's there.
All right.
Pressure's on now.
All right. So, round three. Jay-Z, this is your chance.
Choices are philosophy, we mean business, impersonators, boozy phrases, official state stuff, or lastly lastly they were teachers
um i don't know
don't pick the phrases boozy phrases yeah choice good choice good choice
um for the fun for the fun top shelf or oh geez something's gonna go bad is this middle shelf top shelf what are you doing i'm
trying to win let's go with one why oh look at that this booze comes up wait let me rephrase that
this booze comes before up in a phrase meaning to create
interest or enthusiasm
geez
is this booze like b-o-o-z with an e at the end after that yes okay yeah okay uh i guess in
fairness i probably should have said that beforehand i'm sorry yeah i guess you could
have thought it was like b-o-o-s like you're being booed yeah so so read that one more time
i read you don't lie you lie i thought it was about ghosts. All right.
It's either, I guess it's got to be
cheer.
What is cheer?
You drink a lot of
cheer? Cheer wine.
Alan, read the
thing again for me.
This booze comes before
up in a phrase meaning to create
interest or enthusiasm.
Man.
Man.
I don't know. I got nothing.
Gin.
Gin up?
You're trying to gin up interest in your new website.
I've never heard that.
Oh, come on.
You've never heard that phrase?
Never heard that.
Gin up?
Not gin up.
I'm not a 70-year-old man who drinks brandy.
This has nothing to do with your mahogany and leather.
This has nothing to do with your mahogany and leather.
This has nothing to do with how fast anything escalated.
This is just.
Get up some interest.
I haven't heard it.
But hey, on the upside, I won.
Yeah, you did. I truly have a win streak going.
Yeah, yeah, yeah.
That is a winning streak of two now.
Right?
I think so.
Boy, the points, these get close, man.
One to zero.
Almost took it.
You know,
we had somebody ask the question of
and it was Matt
in
the review about
why do they do these games? don't know we gotta like break
up the monotony of these conversations somehow like we if you haven't listened to all the old
episodes there used to be a survey in here and we stopped doing that and instead injected these fun
and shenanigans because it used to be uh you know jay-z and alan trying to guess uh the survey
results and yeah they never did.
It's just fun.
Like, we don't want to be professors marching back and forth on a stage
just, you know, spouting technical garbage.
There's got to be a little bit of light levity type stuff, so, yeah.
All right, so getting back into it.
That's the episode, and have a good day.
All right, so we and have a good day. All right.
So we do have a couple more.
So again, this one also from micro G.
So man, I've been so busy with work and things and, and coaching baseball, uh, that I've
been terrible about getting a slack and, and Mike had just left several things for me.
So I had to share these.
So this one is a link.
I'm not going to go through all this stuff,
but we've talked about static analysis tools and I love it when people do
these,
these lists on GitHub.
I don't know why,
but I,
I've always enjoyed them.
We just launched Jay Z.
I'm sure he'll be back.
I find it crazy that like people use GitHub to as their documentation. I'm sure he'll be back in a second. I find it crazy that people use GitHub as their documentation.
I know.
It's insane.
But I absolutely love this setup.
I don't know why.
I would be so disorganized.
I would have a list in a VS Code tab that I hadn't even saved.
I'm just relying on VS Code to restore it when I reopen VS Code.
I'd be like, that's probably what I should use that's how i do actually so um going back to that i use obsidian
which was something that jay-z turned me on to that it's very much like vs code except for note
taking which is beautiful um so at any rate this link here is just a list of a ton of static analysis tools.
And I mean, they've even got it listed out by languages.
So if you have a particular language you love and you're looking for some static analysis,
go check out this list.
I mean, like it is a super duper long list.
I'm checking out the Kotlin stuff now.
I'm wondering like, hmm, can I,
how can I bake this into our
pipeline don't we have one yeah are we using kt lit yeah yep that's one there's also that there's
also like a kt uh format or kt fmt which it looks like that's one. Yeah. It's by Facebook or Facebook.
All right.
Yeah.
So,
so definitely check this stuff out.
Lots of,
lots of cool stuff in here.
And then,
all right.
So outlaw get into the next one here.
I think this one's,
this one's pretty fun.
We're done talking about the other stuff.
Okay.
I mean,
unless you want to talk,
I mean,
all right.
So Matt brought this up as part of his uh matt you get two call outs that's the third one there you go welcome um now you got to give us that many stars so if i say your name two more
times you gotta do two more two more stars that's how it works right Beetlejuice so in his review he said
I'd love a breakdown of what each of you think
are your key differences
in philosophies or approaches to software development
could be from arguments or debates
on older episodes
whether on coding, leadership, startups
AI whatever just curious about
then about how best
to tell everyone's voices apart and what they're
saying so this is where like you know okay i was kind of like you know messing around with everybody
uh before when i was you know saying that i was jay-z and also michael and also alan but really
this is alan um speaking now i'm just kidding i'm just kidding so so to be clear it's easy to know
my voice because i sound like a california
motorcycle rider that's been told yes you don't remember that i do remember that and you seem to
like never forget it but i don't think that's the way i would describe it clearly clearly that's
what i sound like so hold on here's so there's an easy way to know when it's alan if your spouse or so has ever been like now which one's
that alan if the voice is deep if the voice is deep it's not michael
oh that's hilarious we have how we just like here's the here's all the list of things to like
check for that don't exist.
Your wife doesn't like the voice?
Well, then it's... If your wife...
No, wait.
Yeah, if your wife doesn't like the voice, then it's not...
I put too many negatives in there.
If your wife likes the voice, then it can't be Michael or Jay-Z.
Whatever.
This got hard.
I don't know that that's true, man.
I can't tell you how many times doing YouTube videos, people like he sounds like hank selling that propane i was like man really
that's that's not right i didn't say it yeah right i went ahead and hung myself with that one so yeah
that's that's terrible but you know what do you do so I'm Alan and, and I'll tell you like,
at least my approaches to software development, I feel like I'm a very middle of the road guy.
I am, I try to be pragmatic. I try to do things right, but I don't try and over-engineer things
for 50 years down the road. So that's my approach.
Says the guy with every project he's worked on
since the beginning of CodingBlock starts out with,
well, I've got to figure out how to do a login system
and it needs to be able to handle a billion users concurrently.
So, oh, maybe I need to use some kind of auth plugin to do that for me
because I don't want to write that from scratch.
But all I'm trying to do is a hello world app in this new language am i really yeah i need
the authentication yeah oh and i need to support oh god encryption uh tls yeah yeah yeah so i think
that's another funny thing though is going on from that. Is this true?
Like, I definitely try to when it's my personal projects, I'm trying to push the envelope on what I'm actually trying to learn.
Right.
So I'll do stupid stuff like that.
But I think the other things that this show in particular.
Kind of put on me is I now care very much about DevOps in, in my software development, right?
Like I want when I commit something for it to build and pass and be good,
right? Like I, I don't, I no longer want that.
There's a convert. Yeah. So, so that's another thing and and really that came from
you know just going through the material and talking about the importance of of you know
automated systems and automated deploys and all this kind of stuff like that that's so huge and
then the other thing that i will say that's that's's funny, like AI was brought up here. Like,
I think Jay-Z is going to be the one who speaks to that. Like, I'm probably the one that doesn't
adopt things like that as fast. Like I'll wait a minute. And part of that's because I have three
kids and I have no time, but, um, I love that stuff, but I'm usually not the first one on the
bandwagon partially because they want my phone number and I don't like giving my phone number out. So that's another one. And then,
and then one last thing I'll touch on, on, on the leadership thing.
Personally, I've never, as a developer, as, as even having been a manager, I do not like boxing
solutions, right? Like I don't like it when somebody comes to me and says,
Hey, I want you to do this this way. Or if I, if there's a project, I don't want to give it to
somebody and be like, Hey, do it like this. Right. That's part of, I think why we love what we do
is because there's a creativity. There's like an art to coming up with good solutions.
And if you give us the same, if you give us three, the same problem, I guarantee we do it
differently, all three of us. Right. And, and I think there's, there's a beauty in that,
in that everybody gets to learn from the approach that somebody else took. And, and to me, that's
super important. So micromanaging a software developer is like the last thing that I think anybody should do, especially a good software developer, right?
Somebody that's not new.
So that's it.
We're going next.
All right.
Well, I am Joe, Zach or Jay-Z or whatever.
I have a bunch of different names.
It's very confusing for everyone in my life, including myself.
I mean, like even the restaurants I go to, like I got to remember like which ones are like which.
It's like sometimes like I pick up under my wife's name.
Sometimes it's my name.
Sometimes it's my name is spelled.
Sometimes they call me Jack.
Sometimes it's Zach.
Everything.
And that's how I code too.
It's a big old chaotic mess I can't do.
You know, you say the three of us would do the same project uh three different ways like i would do the project three
different ways right you know i had to do it three times in a row um and i do like uh just kind of
trying new stuff out i always think there's probably going to be a better way because
whatever i'm doing is dumb and uh and uh it probably is.
I do like AI. A couple other sub boxes are things I tend to come back to
all the time is like game dev. I love game dev.
I love talking about full stack
development. I really like
resourceful solutions or
just
I don't know. I like
I don't even
know what I like but I like to see creativity and, and resourcefulness
and, uh, chaos.
So that's maybe it comes through on the show.
I don't know.
So approaches for me.
So like, I would say, uh, deer in headlights every time there's a new project, like, Oh
God, scared, afraid.
What? i don't
know how to do that um and then that line and then it's just like start small like i don't know but
let me like figure out these little bitty bits right like if it was you know connecting to using
some new technology like a kafka or flink or whatever like let me let me write something
that just even connects to it first, right?
Like, start small and iterate on it.
And, you know, before you know it, I've, like, written more code than I should have.
And then I'm like, oh, here's all the things I did wrong.
So, you know, I guess another way to say that, too, is, like, kind of probably jump in before
I should, maybe, you know.
But, yeah, i don't know because i mean so you don't like you
don't have a little bit of a panic every time you like have some new project on like something
completely like new new to you technology right there's not like a little bit of panic like oh
crap i don't know anything about that and you gotta go figure it out right um i think i know
everything until i am like five minutes into it and then then i it out right um i think i know everything until i am like five
minutes into it and then then i get the panic see i think i know enough to know that i don't know
what i don't know and that's where i'm like oh crap well you know what's interesting about that
like i think we all have a little bit of like oh man where where i take the first step but i think
one thing that i always like is like when, when I got into Kotlin and Java
and I knew that I was going to be working in spring, I'm one of those people that just because
I've been doing something a particular way for the past 10 years, if I get onto a new platform,
I'm going to try and do it that platform's way, right? So I'll probably burn a lot of time up front learning
about the idiomatic way to do something in a particular language, in a particular framework,
so that somebody who's familiar with that language and framework, when they come behind me,
they'll feel at home, right? Like they're not going to go through and be like,
what is this mess that this person did, Right. So like when I first started spring, I don't think I actually wrote any code for a week
because I was watching courses on it and finding out, Hey, how do I do JPA? How do I do this? How
do I do this? You know? And, and so I think some of the nervousness goes away because it's always
such a hardcore learning opportunity that it, that it takes some of the edge off,
you know?
Yeah.
But you started from the place of like,
I don't know any of this.
And like your,
your panic moment was to go read.
Yeah.
That's what I'm saying.
Like,
you,
you know,
you go figure,
start figuring it out a little here,
a little there,
you know,
but yeah.
Oh.
And I don't know if I said,
you know,
through all the joking aside before,
like I'm Michael,
but where am I? I could be Alan. I don't know. Right. I said, you know, through all the joking aside before, like I'm Michael.
But where am I?
I could be Alan.
I don't know.
Right.
But yeah, I mean, like, you know, I love I love the concepts around DevOps and, you know,
whatever I can do to like automate things and to make things testable and repeatable. So those are like, I think like now foundational kind of skills, you know, that, man, like imagine if you started your career, you know, like, I mean, for you guys, especially, it
was so long ago that, you know, like, yeah, how great that would be right to start your career like you know um
you know and like you think about like the students kind of school now like
i don't know that those kind of things are being taught in in those in schools but you you kind of
hope that they at least get some kind of introduction to it because it is so much more powerful in terms of like how you can iterate fast and, you know, with confidence, you know.
So, I don't know.
Those are my passions, I would say.
Yeah.
So, I think the three of us are pretty pretty similar in that regard like in all those aspects
so i mean we just do it oh one other thing one other thing and this is something that sort of
came out of that youtube video that i did where i took chat gbt and had it create an application
for me like one thing when i'm starting an application, I'll almost always make
it one monster file, right. To, to get, to get something working. And then I start looking at
it and going, okay, this is where I think the lines are, right? Like, this is where I think
that I should break this thing out into its own component. And this thing, like I long time ago,
I used to try and like design everything up front and then only to realize
after you get into it was like oh that was complete garbage like i've got to redo it all now so
now i try to get to a working prototype and then say okay where does it make sense to actually to
split this thing up yeah i could understand that like i definitely will like refactor as i go
kind of scenario which is what you're describing so yeah all right well i guess with that we will
head into alan's favorite portion of the show it's the tip of the week
all right and hey i'm going first but uh you I'm going to give you a little bonus one that I haven't written yet.
So I was looking around on drop.com.
Was it drop.com?
A mechanical keyboard site.
Let me just say, this is a website focused on mechanical keyboards.
And the first thing that struck me is they pitched it.
If you sign up for like their annual program you get like 30 off keys
did you know there are people that just replace their keys all the time that's crazy talk right
yeah i mean there's like lubrication kits there's all sorts of stuff there are so many people buying
so many keyboard parts and accessories and cleaning kits and everything else that there are subscription plans for it.
That is crazy to me.
What's crazy though,
is the judgmental tone that you're taking as you say this.
Well,
so I was like,
I started looking at silent cues and I was like,
this is too much.
Let me just ask Reddit.
And I did not know.
First of all,
the ones that like,
everyone's got like a list of top 10 and there's like nothing in common
between any of these top tens.
They're all like total wacko things.
I'm not wacko.
They are.
I've never heard of any of them.
And people will write paragraphs about the springiness and mushing this.
They have charts.
They have graphs.
I mean,
it's,
it's crazy how much effort that people put into uh i mean i'm just amazed
it's it's not crazy it's fine you like it you like it cool i'm glad that exists in the world
i just can't believe i'm like literally looking at a post right now where like um the categories
that this person's review has like uh price stem wobble spring factory lube mushiness overall
impression and then there's like a
paragraph for each one of the review of these silent switches i mean it's crazy so yeah uh
we'll have a link to that in the show but but i want to i want to be clear on something though
right like drop is not a keyboard specific thing this is used to be like mass drop right
not what it used to it was was they also have headphones uh okay good
okay there's all kinds of random stuff on there you can find i'm looking at like pins and puzzles
uh yeah that makes more sense to me okay good if you ever want a nice set of headphones like
sort of audiophile type headphones it's a great site to be on because what they do basically is
they'll put a set
of headphones out there and be like,
Hey,
if we get a hundred people to buy them,
then we'll do this drop or something.
Right.
So,
and that,
that's why it was called drop.
So they get a mass bunch of orders to get a big discount and then you get
stuff for,
you know,
30,
40% off.
It is heavy,
heavy on the keyboard.
So I mean like if you even scroll down to like their
guide section it's all your keyboards or audiophile audio file stuff oh that's because that's the
section that you you're in like they have also like battle stations and there's desks and chairs
and yeah you know well yeah maybe yeah maybe they know what i was searching on because it's like
literally keyboards and headphones i guess they know me so yes but but there is a crazy amount of stuff that you can get for keyboard switches it's insane
desk accessories is pretty nice all right see there you go you're welcome that was a bonus
money bonus botched all right hopefully you can't hear that cat in the background. There is a kitten driving me up the wall.
It's so hard for me to do this episode because I'm going to scratch to death.
Actually, he's lying.
He's trying to make you think that was him making cat noises.
There's really no kitten there.
He's allergic to them.
Well, the non-existent kitten has discovered that i still have my plate up here from dinner
and is like trying to do everything you can to like run away with it anyway uh yeah so here's
my real tip uh how do you center a div in html you can't you don't it used to be the answer and
like if you still google it you'll find a ton of stack overflows it
all depends you know like click on the code pin or whatever they're all different they don't work
for your situation and like you don't even think your situation's that weird and it's a myth no
one can do it it's crazy uh what if you need to uh you know write a line the text inside the div
that's centered or what if you need the text center too or what if you need three devs divs
like spaced evenly
you know stuff like that
you want them all in the middle
geez
anyway
there is a game
that our co-worker
Nicholas friend mentioned
flexbox froggy
have you ever seen this
no I still don't even really know what flexbox is friend mentioned Flexbox Froggy. Have you ever seen this?
No.
I still don't even really know what Flexbox is other than it's
CSS.
I'm so rusty on web dev stuff
it's crazy.
What it is is basically a cool way of
aligning things that's
surprisingly simple.
It works for a lot of different use cases
you basically set the display as flex instead of like a block or inline block or whatever
and then you can say hey uh flex start to align items at the top of the container flex end or
center and it just centers it and what this game does is it just walks you through a bunch of
situations and says like hey uh align all the frogs uh in the middle and you do that and so okay well now align them this way
align them that way and it's got little challenges and you don't even have to go that far into it
there's 24 total challenges i think i got through like five of them and uh like was able to do
everything i needed to do and it's so much easier than all the weird left 50% negative ad margins
of the parents container
to... Oh, wow, you're still
trying to do it that way?
Yeah, it's terrible.
So Stack Overflow kind of
has some history problems with things like CSS
and HTML and stuff where it's
got answers that were voted up a million
billion times from 2005
years ago. Yeah, totally. And there's the new answers that were voted up a million billion times from 2005 years ago. Yeah, totally.
And there's like the new answers that
are so much easier in the
comments because the question
that got locked or was a dupe
or, you know, all sorts of stuff. And so you really have to
kind of dig to find like the modern
answer in some cases. And so
that kind of stinks. But yeah, Flexbox
Froggy is a way to combat
that. This is really fun.
It's nice.
It really works.
I'm on level five too.
All right.
So let's see.
Oh, so this is one that happened to me recently.
I don't know.
I was working on this big PR.
And at some point in one of my commits,
I deleted some binary file that was in the, in the repository. And so when I was putting together
the PR looking at it going, Oh, probably shouldn't have deleted that. I don't even know what that
file is. So I want to get it back. And so my first thought was, okay, well, I'll just go download it
from the previous commit or whatever and get it and then recommit it.
Well, there's an easier way.
And I probably should have known this because we did that whole series on Git, but that's
been a minute.
So I Googled and I found this thing and there's actually a really cool way to do this. So you do a get rev dash list, head dash n, and then one,
and then dash dash, and then the file name. And what this basically does is say, hey, go back
and find the last instance that this file was modified in the get history, right in the revision
list. And then once you get that, it'll give you back a hash. Then you can basically do,
what was it? You can get checkout the hash and then use the, the carrot or the up arrow looking
thing, and then put that file name again. And basically that's saying, okay, so you saw it here,
go back to the commit before that, where it existed and then check it and then add it back in.
And it was beautiful.
It was so easy.
And so I have a link in the show notes to this.
It was, it was absolutely beautiful.
And I actually had to use it twice because I somehow deleted two files that I shouldn't have.
So yeah, this, this might be helpful to you if
you ever find yourself in this situation.
Nice.
I could have sworn that we
have talked about that before and I was
looking at it. I was trying to find it. I'm like,
did we not? Where was it?
But I'm coming up empty.
Yeah, I don't know. Trying to
find a reference to
anything get in our 10 years of show.
Good luck.
Yeah.
Yeah.
I was coming up empty.
Like,
I'm sure I thought I could have sworn whatever you did.
Yeah.
It's been a minute.
We'll never know.
Yeah.
It's been a minute.
Um,
even if we did,
we there's,
there's no proof of it.
So it never happened.
Um, okay. So here's one for you. This is a, uh, Even if we did, there's no proof of it, so it never happened.
Okay, so here's one for you.
This is a – and I thought Jay-Z would especially love this,
but maybe now with his surgery stuff, he's like, whatever.
I ain't got time for that.
So this is a product instead.
So in fairness, there will be an affiliate link to this, so heads up.
But this is the Life pro hand massager. So, um, I got turned on to this by my guitar instructor. He had mentioned,
so I'm not like, you know, sometimes after playing for a long time, uh, you know, sometimes like
parts of your hand can hurt from, you know, and you're like trying to play like a certain chord
or whatever. And it's just like, eh, I'm just sore. And I don't feel like playing that
anymore. Right. And he was like, oh, well, you know, considering how much you play, you might
enjoy this. Uh, this might help you out. Cause like, and he said that he uses it daily. So
it specifically says it's for, uh, arthritis and carpal tunnel relief in the carpal tunnel is why
I brought it up. Cause I thought like, Oh, Hey, that might be,
uh, you know,
you might like that,
but it does hand wrist and,
it comes with like little finger massager things,
but,
uh,
and it does heat and compression and it's kind of trying to do like,
I guess,
uh,
like an acupuncture kind of thing,
but it's like all these like little like picture,
like a bunch of little like BB pellets,
you know,
like small, um, small little pellets that are like, like picture, like a bunch of little, like BB pellets, you know, like small,
um, small little pellets that are like, you know, being smashed into your hand. And it's just like,
you know, squeezing the heck out of your hand. And, but it's so awesome. Like it just feels so
great when you do it and it's battery operated, uh, charge it by USB-C and uh you know there you know the one side the one thing i will say about
it is that at least in my experience is that it has for the battery uh life indicator it has like
four dots and you can charge that thing up you know have it like sitting on a charger for eight
hours and then you'll you'll use it.
And then during that first use, you'll be like, oh, we're only at one dot of battery.
You're like, wow, I already killed the battery?
And I have used that thing so many more times after that where it said it was only one dot, and it was just fine.
So I don't know how they decided to calculate the battery life on it.
That part is not reliable.
So I'm just like, in my mind, I'm like, whatever.
Because I crank it up to the max, I turn on the heat and the vibration mode,
and then we'll use it on both hands,
and then I'll throw it back on the charger or whatever.
But, man, this thing is awesome.
It feels so good.
And it's basically bonus.
You're going to be Mega Man for Halloween.
Yeah.
Yeah.
Yeah.
If you had another one,
you,
you definitely would look like Mega Man.
Cause like,
Oh,
let me show you by the way.
So this is what it would look like.
Yeah,
that's pretty awesome. Yeah, you really would. You really would like would look like. Yeah, that's pretty awesome.
Yeah, you really would.
You really would look like Mega Man.
Now I want to buy a second one.
And then I could be like Halloween and be like,
oh, I'm both comfortable and Mega Man.
I'm dressed up.
It's on sale on Big Deal.
Yeah, it's on, what are they calling it?
It doesn't even show that online.
Yeah, $59.85 right now.
He only has one gun.
Okay, this is where I get irritated with Amazon sometimes. Oh, now it did.
When I first put this link, I opened this link up a few hours ago for the show.
It was $79.99.
It was regular price.
So, yeah. Prime big deal is what they're calling it yes but also you know even when it was at regular price you have to be careful because i didn't
pay the rate that 79.99 price because normally there's a coupon that you can apply to it so that
you you can get it at the discounted price anyways.
But point is,
is that it is awesome.
I think you,
you,
if you play a guitar or an instrument or whatever,
and like sometimes like after you've been playing for a long period of time,
you know,
your fingers and hands can be a little sore and you want to like a little bit
of relief there.
Or if you,
you know,
if carpal tunnel is a, a long time issue or even arthritis, then, you know, there you go.
It's awesome.
It is awesome.
Thank you for noticing.
So, yeah, that's it.
Later.
Hey, check us out on twitter
or x or whatever it's called
at coding blocks
and hey join
slack if you haven't been a part of
our amazing discussions over there
with just killer people
go to codingblocks.net slash slack
I think that's good enough
what part of later don't you understand
I can't do it