Pragma — A new way to build Rails REST APIs

I did some work with Alessandro Desantis recently and he introduced me into a very different, but also very reasonable way of making JSON REST APIs with Ruby on Rails. He did more than introduce me, however, he actually created the gems/framework/architecture that enforces (and greatly eases) this

Apple AirPods Review - (Almost) Perfect

I think I was the only person the planet not initially skeptical about the AirPods. The day it was announced, there was (in my opinion) an unusual amount of negativity directed towards it, though I’m sure the removal of the headphone jack had to do with it. Here were

Why I started writing tests — and other stories.

As a software developer, especially one with little experience, it’s very easy to get confused about what you should do and what you shouldn’t do. There are tons of articles, written by way more experienced developers telling you which software development practice is an absolute taboo and which

iPhone 7 Plus: The best upgrade I didn’t need.

It generally doesn’t make monetary sense to buy a new iPhone every year. And I haven’t really applied this vast knowledge of what makes monetary sense to my purchase of smartphones. I had the 5, 5s, 6 & 6S and now, for some reason unbeknownst to me, I

Well, it started from veganism.

One time, I texted my SmartFriend to ask her why she was a vegan and it morphed into this conversation that answered every question and none at the same time. I really wanted to share it, so here it is: Me: Yes finally, I’ve been looking for someone to

“Neatly” dealing with JSON.parse-d Hashes in Ruby

So you use some REST API that responds with JSON with a ton of nested objects and arrays, an example of this is the Google Maps Direction API. All you’re interested in is a value that is deep within the hash-array tunnel. { "status": "OK", "

The App Store (and Apple Music) isn’t working in Nigeria

Update: GTB’s Dollar VISA card works. Maybe I should create a list of working cards. Since Apple switched the App Store (and Apple Music) to the local currency (Naira) a couple of months ago, NOBODY has been able to buy/update apps & renew their Apple Music subscription. I

Testing your Rails APIs with Airborne.

It took me a long long time to finally decided to write tests. I’ll probably write about the thought process and why I think you should write tests later. If you use Rails to build REST APIs, and you want the number of times the FE Engineer you’re

Very simple permissions in Rails

I was working on a very simple Rails API, using devise_token_auth and I need to authorize controller actions based on user roles. (Although, this should work fine for regular ol’ devise) I started out using cancancan and I even tried out pundit but they weren’t simple enough

Infinite Loop

You can’t infinitely love someone. That would mean you love no-one. Because how much love would you have to give someone that doesn’t exist for it to be love? Infinitely. You can’t infinitely love something. That would mean you love nothing. Because how much love would you

2016. Heichi

(This read — and honestly any other one — would be nicer if you had Tycho’s Awake playing.) 31–12–2016. I’ve been looking forward to today, because it’s the day I get to pretend I’m a good enough writer and that people care enough about how my

Android Chat UI Library — 0.1.1

Over the past couple of months, I’ve been SLOWLY building a customizable messaging UI library for Android inspired by JSQMessagesViewController. There are increasing use cases for having a chat user interface within your application and in a lot of situations, messaging may or may not be the crux of

Building a Voice Controlled Home Automation Model — Part 4— Wit.ai

This is the fourth part in the Building a Voice Controlled Home Automation series. You can find the first part here. At the end of the third part, I explained the code that will be loaded onto the Arduino. Today, we’ll talk about Natural Language Processing. Remember, this high

Building a Voice Controlled Home Automation Model — Part 3— Arduino Code

This is the third part in the Building a Voice Controlled Home Automation series. You can find the first part here. At the end of the second part, we loaded some code (this Gist) unto our Arduino, to test if our LEDs and servos are working. Today however, we’ll

Push Notifications on the Web (Building a PWA Crossover)

Recently, Ire Aderinokun has been dropping knowledge on how to build a Progressive Web App with push notifications, local storage and all that good stuff on bitsofco.de. In the third post of the series, she goes over how push notifications were built into the bitsofcode Progressive Web App. Here’

Wit.ai Explained — Part 3— Building a bot with Sails.js

In the first part of this series, we went through some of the concepts that Wit.ai introduced in their (relatively) new Bot Engine. In the second part, we built a Rails API application using the Ruby SDK for Wit.ai to see how to wield Wit. In this part,

I do not work for Devcenter

For such a long time there been some misconception about my relationship/affiliation with Devcenter and I decided it was time to correct them. * I didn’t found Devcenter with Akin Falomo and Opemipo Aikomo. * I have never written any code for the Devcenter web application. * I’m not employed

Building a Voice Controlled Home Automation Model — Part 2— The Circuit

This is the second part in the Building a Voice Controlled Home Automation series. You can find the first part here. Here’s a reminder of some of the stuff you might wanna read up on to get the best value from this tutorial: 1. You have to have a

Building a Voice Controlled Home Automation Model — Part 1 — Overview

I’ve always wanted to build Jarvis. Sometime last year, I was looking for something to build for a school project when I found this tutorial on how to build an Arduino controlled home automation model. The writer of that tutorial, wrote another one, that explains more of the creation

Wit.ai Explained — Part 2— Building a bot with Ruby on Rails

In the first part of this series, we went through some of the concepts that Wit.ai introduced in their (relatively) new Bot Engine. In this part, we are going to build a Rails application using the Ruby SDK for Wit.ai to illustrate how you can use Wit’s

Wit.ai Explained — Part 1 — Bot Engine, Stories, and Actions

I’ve been experimenting with bots for a couple of years now and I’ve gone through IBM Watson’s Dialog API, api.ai and Wit.ai for NLU As A Service. Somehow, I keep coming back to Wit.ai. What Wit Used to Do For the longest time, what

Calm your tits about the damn headphone jack.

As we all know, Apple announced the iPhone 7 yesterday and the entire world have their knickers in a twist because of one thing Apple did: “They took out the headphone jack.” Such a fucking worldwide disaster isn’t it? How dare they? I mean, now we can’t charge

Expression precludes expression.

Expression takes many forms, all of which are limited, each of which is best suited for a particular function. These different forms of expression being insufficient alone, are best combined; the strength of one being the covering of the ashiri of the other. This lends expression some power, but it

Building: Tweet at Senate.

I recently built the Tweet-at-Senate application, a simple web app that lets users tweet once every day to the Nigerian senate, imploring them to slash their salaries. All it requires from the user is Twitter authentication, after which it posts the tweet randomly. You can read more about the inspiration

Introducing: Tweet At Senate

Inspired by @Jollz’ frequent tweets to the Nigerian Senate’s Twitter account(s), imploring them to cut their ridiculously huge salaries and allowances, we decided to make the process of joining her cause as easy as possible. So we spent a couple of days building tweetsenate.com.ng (alternate link)