Sunday, February 23, 2014

on Leave a Comment

This blog has moved!

I have decided to move this blog to a self-hosted platform. You can find new posts at http://treyrobinson.net/blog/. I will not be migrating old posts and this site will stay up.

Monday, October 28, 2013

on Leave a Comment

Setting up Protocol Buffers in Java

If you are starting to evaluate protocol buffers as a means of executing remote procedure calls in your application then you no doubt found your way to Google's getting started page. The first step after downloading the project is to install the compiler.

The downloaded project contains a readme file that will go over the basics of the install. Once you have the protobuf compiler up and running you are lead to believe that everything is good to go. The first thing I tried at this point was creating a new project and implementing the Java tutorial.

Friday, October 25, 2013

on Leave a Comment

Android Quick Tip: .gitignore for Android Studio and Intellij

I am in the midst of transitioning to Intellij for my Android development. Part of that transition means updating my .gitignore file. There are a lot of mixed answers out there on sites such as StackOverflow concerning exactly what should be versioned and what should not. After a lot of digging and combining of sources I think I found the solution. If you see anything missing or have some suggestions please comment below.

Jetbrains recommends including all of the IDE files except for the those ending in .iws, the workspace.xml file, and tasks.xml. I also added the .gradle file to the ignore list as it is generated. Everything else remains the same.

Thursday, October 24, 2013

on Leave a Comment

Android Quick Tip: Handling Child Object Event Registration with Otto.

As I have mentioned before, I am a big fan of the pub/sub or service bus pattern in Android. I feel that tools like Otto simplify the code base when compared to Broadcast Receivers and Intents.

Recently I ran into an issue where I wanted sub views of my activities and fragments to register with the event bus in Otto. When you handle bus registration in your activities and fragments, unregistering for events is trivial because you can tie directly in to the life cycle methods. Unfortunately sub views will not tie in directly with those methods.

Friday, October 11, 2013

on Leave a Comment

Learning JavaScript In 6 (Or 8) Weeks: Part 2 The Basics

In part one of this series I outlined my goal to learn JavaScript. It has been several weeks since I started on that road and I feel like now is a good time to give my thoughts on what I have learned and the "How to Learn JavaScript Properly" methodology as a whole.


Wednesday, September 25, 2013

on Leave a Comment

The BrandYourself Experiment: Week 2

Two weeks ago I started down the path of taking control of my name in Google's search results. For guidance in this endeavor I chose to use BrandYourself, a startup platform that guides you through optimizing your social network pages for increased page rank.



Wednesday, September 18, 2013

on Leave a Comment

Learning JavaScript in 6 (or 8) weeks: Part 1 Admission

I am going to learn JavaScript. There, I said it. For most of my career I have managed to avoid web technology. Like most people in my field and around my age I grew up with the web. In high school I  dabbled in the world of HTML, CSS and the fledgling JavaScript language. I constantly impressed my friends and family with my (very poorly written and designed) websites.


Powered by Blogger.