Michael Cordell's Blog

2018 Quarter One Reading List

September 1st, 2018

Table of Contents

Reading Ruby Code: ROM - DSLs

June 11th, 2017

After a long hiatus, this is the fourth part of my on-going series on code reading, the beginning can be found here

Reading Ruby Code: ROM - Exploration

March 12th, 2017

This is the third part of my on-going series on code reading, the beginning can be found here

Reading Ruby Code: ROM - orientation

February 12th, 2017

This is the second part of my on-going series on code reading, the first post can be found here.

Reading Ruby Code: ROM - preface

January 29th, 2017

If you are looking to become a better programmer, one of the most frequent pieces of advice is to “read code”. What is often meant by this is that you should explore and try to understand open-source projects, preferably successful and well-maintained ones. The thought being that you will pick up new ways of solving problems, structuring code, architecting apps, the list goes on. Moreover, reading code is a required skill whenever you switch jobs or want to contribute to a open-source project.

Customizing phoenix generation templates

July 31st, 2016

When using a framework’s code generators, its often useful to be able to tweak the code that is generated each time. In particular, the templates that are used to generate the HTML often need a custom structure to match your styling or fronted CSS framework.

IEx history

July 31st, 2016

In elixir, IEx lacks a history in the way that the interactive sheels in ruby (pry and irb) have. In order to get this working, erlang-history must be installed.

Tufte One Day Course Retrospective

February 14th, 2016

Earlier this week, I had the distinct pleasure of attending Edward Tufte’s one-day course. For those unfamiliar with Tufte, he is a master in data visualization and presentation, and one of the preeminent thinkers in the field. I had been referred to Tufte’s work but my mentor and have read one of his books, however seeing him in person really brings his work to life. Tufte’s 25 years as a teacher shines through, as he presents a dense amount of information in a compressed time frame. Moreover, he comes off as genuinely sincere and has none of the trappings of a self-help snake-oil salesman or the business marketing guru who is trying to teach you that 25 secrets to success. Rather the course, is a treatise on clearly communicating information, especially high density high data information. What struck me was the way that Tufte’s presentation was an in person demonstration of what he was teaching.

GrapeTokenAuth 0.1.0 release

November 10th, 2015

After several month’s of work, I am happy to announce the first release of GrapeTokenAuth, a token authentication solution for Grape APIs. GTA is a drop-in authentication solution for Grape APIs that aims to maintain a low direct-dependency footprint. GrapeTokenAuth is a port of devise_token_auth, whereas DTA is a devise and rails solution GTA depends on grape and warden. GrapeTokenAuth has built in compatibility with two mature front end libraries: ng-token-auth (for angular) and jToker (for jQuery). If you are build Grape APIs and have been looking for authentication, grape_token_auth may suit your needs.

Setting up authentication on a Grape API with GrapeTokenAuth

September 15th, 2015

Grape is a fantastic framework for building an API. Of course, one of the most fundamental aspects of any API is authentication. The grape_token_auth gem is approaching its first major release (0.1.0) and this will provide a “getting started” guide.


Older Newer