On Programming Languages; Why My Dad Went From Programming to Driving a Bus

In Data Science from Scratch, a book introducing data science using Python, Joel Grus said the following about R (pg. 302):

Although you can totally get away with not learning R, a lot of data scientists and data science projects use it, so it’s worth getting familiar with it.

In part, this is so that you can understand people’s R-based blog posts and examples and code; in part, this is to help you better appreciate the (comparatively) clean elegance of Python; and in part, this is to help you be a more informed participant in the never-ending “R versus Python” flamewars.

Continue reading

Where to Go from Here? Tips for Building Up R Experience

At the University of Utah, I teach the R lab that accompanies MATH 3070, “Applied Statistics I.”” None of my students are presumed to have any programming experience, and they never hesitate to remind me of that fact, especially when they are starting out. When I create assignments and pick problems, I often can write a one- or three-line solution in thirty seconds that students will sometimes spend four hours trying to solve. They then see my solution and slap their foreheads at its simplicity. I can be tricky with my solutions. For example, suppose you wish to find the sample proportion for a certain property. A common approach (or at least the one used in the textbook our course uses, Using R for Introductory Statistics by John Verzani) looks like this:

Continue reading

How the House Makes a Profit: A R Shiny App for Explaining the Key Idea to Gambling

As many of you may know, I teach statistics at the University of Utah. Below is a post about how industries based on chance events, such as casinos or insurance companies, are able to guarantee a profit. I have also included R code for a Shiny app that demonstrates the ideas discussed in the blog post.

Continue reading

On Game Development as a Hobby

One day I was looking around on GameJolt and saw a Fireside article by a developer called @jacklehamster, entitled: “That time I chose to leave my gamedev passion on the side of the road; A story about my love and hate relationship with game programming.” It’s about his romance with game programming: his sections are entitled, “It was love at first sight,” “The younger years,” “The breakup,” “Missing my first love,” “An unstoppable passion,” “Fear of commitment,” and “The way I see it.” Maybe this article touched on me because I was still fresh from a breakup I did not want to happen, and any inkling of romance could make me miss it terribly. But for whatever reason, this article (a very good one I encourage everyone to read) seemed to inspire a lot of thought in me, particularly about his need for game development to be a career, and his slight aversion to leave game development as “just a hobby.”

Continue reading

Cormania Game Dev Diary (pt. 8) – The End

I slacked off for a week writing a blog, so this post actually represents two weeks of work. However, I can say that if there seems to be a lot done, it’s not just because there is two weeks of work involved. By the second week, I realized I was on the home stretch and did a lot of work. This will be the last blog post I forsee for CBI.

Continue reading

Cormania Game Dev Diary (pt. 7) – Slogging Through It

This week saw me struggling to keep interest in my game. As to why I can’t be sure. It could be that all of the most interesting features of the game (the features essential to gameplay) have been added, and all that’s left are “nonessential” features (not that they are not needed, but that they augment yet don’t directly affect gameplay at all). Perhaps it was because I REALLY did not want to move forward on certain tasks. Perhaps it was general apathy, or a reaction to a lack of interest from others. The most plausible answer, though, is a recent increase in other distractions. I’ve been trying to get out of the house more and all week I’ve been going to concerts, dances, or to the arcade with my brother. When you’re getting home around ten every night, you really start to want to just go to bed and not go back to “work.”

Continue reading