I went ahead and picked up a lecture yesterday that covers using the React framework. After trying and not really “getting” Angular, I’ve been wanting to try out one of the other big three SPA frameworks. I’d read a lot of positive things saying that react was much more intuitive and easier to use. So far from what I’ve seen I’m already starting to agree with that.
I’ve been using git for years now, but ironically enough I’ve never done anything with branching. For whatever reason the idea of creating branches has scared me, so I just never got around to learning how to use them. Turns out that they’re super easy to use, and very useful.
In yesterday’s blog I talked about how I found out about the node package
commander for handling command line properties. Well, when I went to start using it in a project today, I ran into the same issue that evidently everyone runs into…
Took some time tonight to look into handling command line arguments cleaner in nodejs applications. After looking around, it seems like the package
commander is pretty much the de facto package that’s used in node for handling args. Documentation for that package can be found here.
I learned a bit about the process of sharding records using multiple MongoDB’s today. From what I gathered from the phone call that I was sitting on this morning, nodes are used to basically power the different shards. These shards distribute the data between the two databases to try and offload the amount of traffic going to them. That way you can try to keep the the number of queries to your databases somewhat distributed… in theory.
E3 is here once again (started yesterday, but I’ve been too busy) so I figured I’d take a break form cramming my head with things and take a break to catch up on new gaming news. As of writing this, Sony and Nintendo are yet to present their stuff, so I’m sure I’ll have a part 2 tomorrow with what isn’t included today.
I was in need of writing some bash scripts today to handle the automation of some of my test runs. in the past, most of my “bash scripting” was limited to putting a command into a file and ending it with
.sh. Today I branched out a bit more and dealt with looping, command line arguments, and other fun stuff.
I’ve been a big user of the
screen application for years now. It’s super handy when working on cloud instances as it seems to always be there as part of the base install, keeps your workspace organized, and can keep you from opening up 30 ssh terminals.