## Setting up ownCloud

Posted at 6:30 pm on Oct 30, 2014

One of the projects on my plate was to set up an ownCloud server on my house's intranet using a Raspberry Pi. SO I used this guide from Sam Hobbs, and it worked splendidly. (Make sure you use MySQL instead of SQLite!) The only real differences were that I used a newer version of ownCloud that didn't need me to provide database credentials.

Along with Sam's guide, I used this guide to set a static IP for my Pi, and this guide from RedHat for creating an ext4 file system on my Samsung external HD.

AND if you're interested in which version of Raspberry Pi I used, I went with Raspbian. You can download that here and install instructions for Mac were very straightforward.

Next up on my list: figure out intranet domain names. :) Should be fun!

Edit: ownCloud on the Pi is slooowwwwww. This still isn't quite the solution I'm looking for, but at least it was relatively painless to setup.

Edit edit: I just updated my installation to use MySQL instead of SQLite, which I will also suggest above. Makes a HUGE difference in speed, although the Pi is still a bit slow.

## Something different

Posted at 12:03 am on Oct 23, 2014

There's something oddly relaxing about buying household items from the store. Shampoo, cleaning supplies, groceries. It's a good reminder that, hey, I can be responsible.

Only a few more days until the live-stream. Donations are still being accepted. That's all for now, I'm going to go to sleep at a decent hour.

## Learning how to software

Posted at 12:48 pm on Oct 20, 2014

So before we get started with this post, I want you to know that I know I'm still behind on backfilling this blog. Things are on hold for the moment, as I prep for my gaming marathon on Saturday and figure out how to manage several new software projects that have cropped up. And speaking of the gaming marathon, if you're interested please donate to support me. It's a good cause! There's more info on my charity page about what I'm doing and why I'm doing it.

Now for the post at hand! Lately I've been thinking about my skills as a programmer, and for various good reasons: I'm taking CS courses for grad school, I'm trying to land software development jobs, and almost all of my "free time" projects include coding of some sort. Barring any doubts I may have about my "qualifications" as a programmer, I can safely say that it's something I'm clearly interested in.

What bothers me, though, is that there is so much I don't know. Which on the surface doesn't say much more than the "whoa" you Keanu-muttered to yourself when taking Philosophy 101. But when it manifests as existential dread day-in and day-out, it becomes something personal and much more problematic. And you do what you can to push back against it, whenever possible.

So that means spending more time learning, right? But there isn't enough time in the day! And it's at this point that you realize that you can't be as busy as you were in high school, that you can't have everything. The scope has changed, your responsibilities as a fledgling human have multiplied, and you have to make hard choices.

Yeah I know, great YouTube video placement. (: Anyway, the point I'm making is that in discovering how I want to build myself as a "software person", I have to make hard choices. Some of those choices have already been made, such as when I stopped playing double bass regularly. I could've worked really hard to find groups and gigs after college, but I decided this whole software thing needed my full attention if I was going to be any good at it.

Something similar has cropped up recently with video games, my chosen field for the future. These hard choices involve things like, "Do I record an episode of a Let's Play, or do I spend time learning how to develop mobile software?" Or take software estimation, for example: I don't know how to do that well. Today I should receive a book on software estimation that I ordered from Amazon. (It's the book Software Estimation: Demystifying the Black Art by Steve McConnell, for those interested.) Will it be boring? Probably. But I'm making the hard choice to power through it because I know it'll make me a better software person, even if it doesn't seem very related to video games.

And yes, even hard choices about working on this blog. I think that's all I wanted to touch on for now. Time is of the essence, and it looks like my software estimation book has just arrived.

## While loops... revisited

Posted at 8:16 pm on Oct 15, 2014

I mentioned in a post last week that I though I had laid to rest my naive approach to using while loops. And while I know I definitely understand while loops better than I did that "first" time trying to use them, here I am admitting I probably used one incorrectly in an exam I took about an hour ago.

On a surface level, I'm really only worried about how it might impact my grade. I've already thought about the problem and figured out what I did wrong. If this were production code, I would go in and make the change. So that's not really why I wanted to write this post.

I wanted to write this post because I had some time after turning in my test to think about why I'm in grad school. I stated in that "While loops" post that I'm doing it to fill in gaps in my knowledge. I don't think that's really the case.

The bottom line is, I'm treating grad school like a security blanket. When I code with others, I psyche myself out by comparing my work to theirs -- even when the work isn't comparable or my superiors aren't actually evaluating us as such! So when those mind games came to a head earlier this year, I took a step back to think about all of my choices should I continue in the software industry. After a few months of unemployment but still playing mind-games with myself, I chose to apply to and eventually attend grad school for video game development, an area I knew would also ground me in computer science.

Even after pointing all of this out, it's still important. Why? I'm still going to have down days. When I'm feeling like crap about my abilities and do dumb things like get into silent ego wars with my co-workers, I need to have a slip of paper that says I know what I'm talking about. To some degree I've always been like that, so it makes sense to get that bit of assurance now for what will undoubtedly be a cornerstone for the rest of my life.

On another note, I realize I am now late with backfilling this blog. That's okay. I've had a few extra projects come up recently, and I just bought Hyrule Warriors which has been a ton of fun. (: You can also tell I went through sort of a "bender" this past weekend: what I would typically call a period where my sleep schedule gets totally pwned and I have a tough time getting anything done. It is clearly evidenced by my lack of tweets and GitHub commits.

I think that's it for now. Look for more updates via my YouTube channel, since I'm due for a video or two soon anyway.

## While loops

Posted at 8:11 pm on Oct 8, 2014

At my last job I remember writing some code to help illustrate a design I was working on. I don't remember the particulars, but I needed to loop over something to convey the iterative nature of my design. However instead of using a for loop (seeing as I knew how many times to loop), I chose a while loop. While the design I was trying to convey was left intact, when the CEO came over to inspect my design, he teased me about it.

Of course, the CEO teases everyone about all sorts of things, so this wasn't out of the ordinary. At the time, though, I was very aware of my lack of knowledge in all things Computer Science. What first emerged as harmless criticism evolved into an important mental note that I had to be aware of holes in my knowledge in order to adequately sidestep them.

I'm happy to report that today in class, we're tackling while loops. I can "officially" lay this knowledge gap to rest.

Next Page