Object-Oriented JavaScript: Using POJOs for good

JavaScript may not be the poster child of object-oriented programming languages, but that doesn’t mean you can’t take advantage of OO principles in your JS app. Plain Old JavaScript Objects, or POJOs, can be a lifesaver when working with complex datasets and databases. They’re easy to set up, and have many use cases such as normalizing data, handling faulty responses, …

A simple Bash script to ping with timestamp

For a few days now, my internet has been intermittently shutting off in the afternoon and turning back on in the evening (thanks Comcast?). I want to see the exact time at which my connection drops, but unfortunately the ping command does not have built-in timestamp support. Fortunately, the Bash script below adds a thin wrapper around ping in order …

Six years old!

It’s that time of year again, when this blog celebrates its birthday! Today, The Thought Box is six years old and still going! I’m amazed at the growth that this blog has experienced over the past year. Though I was definitely busy for most of early 2015, I am still dedicated to writing new posts when I can. This year, …