TIL: Starting with React

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.

1 min read

TIL: Some git stuff I’d been putting off

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.

~1 min read

TIL: Intro to Electron

Tonight I went through a basic tutorial for the Electron framework. Electron is a super neat javascript framework that makes it possible to develop multi-platform applications with just one set of code. It leverages nodejs and chromium to run html, css, and js code in the browser. Super neat and something that I’ve wanted to try out for a while now.

~1 min read

TIL: Javascript Classes

I finally used Javascript classes today for the first time. While porting over one of my tools to nodejs, I had the opportunity to implement a class with a constructor to better manage object data. Turns out using Javascript classes is super simple, there’s really not much to them (granted I didn’t do anything fancy with subclasses and such).

~1 min read

TIL: First problem with commander…

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…

1 min read

TIL: Parsing command line args in Node

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.

~1 min read

TIL: A bit about MongoDB Sharding

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.

~1 min read

TIL: E3 Highlights pt 1

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.

~1 min read

TIL: Looping in bash scripts and other things

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.

1 min read

TIL: Reordering Window numbers in screen

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.

1 min read