Posting from my phone

Trying out Octopage on my phone. Hoping this will make frequent blogging easier.

I could have made a simple app to create new posts using the github api, but for only $1 this will let me focus on the task at hand.

Let's start a blog

Reddit recently announced they are giving developers until March 17th to move to OAuth2. Originally, the deadline was August 3rd (oops), but I guess they decided to push it back (yay.) My iOS app Subdit uses RedditKit which at the time of this writing does not support OAuth2 (but has an open issue to add it.)

In addition to supporting OAuth2, I have a couple new features in the works that need a little polish. Having chosen to use storyboards, I feel like developing the UI is prohibitively slow. Also, the primary design consists of dynamically sized table cells which doesn’t really work that great on iOS. I mean, it works, but is incredibly cumbersome having to calculate each height based on the rendered text context and any chrome.

I also don’t have an Android app.

So I’ve decided to rewrite Subdit as a hybrid app on the ionic framework. Dynamic cell heights are trivial in html, plus I’m excited about Angular and have used ionic in the past.

My goal is parity with the current iOS app and releasing an Android version.

So what does any of this have to do with writing a blog? Well, apparently I’m using npm on OSX wrong.

Sudo all the things.

The first step is to update my install of the ionic commandline tools. The README says OSX users will need to sudo install it globally. But then you notice the following nagging remark

or users can setup proper file permissions on OSX for npm to install without sudo.

It is these types of discoveries along the way that I like to share with colleagues, usually through email. Though, for posterity I’d rather have somewhere to easily bookmark interesting articles and capture ideas.

So let’s start a blog.

What was I doing again?

Oh, right. Ionic. Well, instead of updating the commandline tools, I now have several tabs open for creating a blog, github pages, jekyll, and setting up a separate environment for ruby on OSX because apparently I’m installing gems wrong too.

If you are reading this, then we’ve successfully started a blog!

Oh, and I’ll also list movies I’ve recently watched that I liked.