15 April 2015
Managing Threads with Queue
One of my favourite utilities in the Ruby standard library is the
Queueclass. Queue provides you with a delightfully simple way to synchronise communication between threads. Typically, Queue is used to manage the work assigned to a thread pool. We’ll look at some of the ways it assists us...
23 October 2014
CoffeeRoutes - Rails named routes in Coffeescript
Fairly frequently I find myself in the posiiton that I need to make an AJAX call to my rails app to send or fetch some piece of data or another. To do this I need to know which URL to hit, and which HTTP verb to use to make the...
22 October 2014
Qoffee.io - 2014 Rails Rumble Project
22 September 2014
Public/Private Key Cryptography for Beginners
Disclaimer: I am not even close to being a cryptography expert. All the details here are the limits of my knowledge and could very well be wrong. Please tweet @darkphnx with any corrections.
Public/Private key encryption is the cornerstone of secure communication across the internet, it underpins both HTTPS...
25 June 2014
Making API calls from your Android activity
In the last post we looked at how to fetch data from a remote API and turn that into some Java objects that we can use. In this post we’ll be looking at how you can use these API calls from our actvity.
An activity should have been created...
24 June 2014
Consuming APIs on Android using Retrofit and GSON
Many apps will at some point need to interact with a web API, coming from a Ruby/Rails world, a lot of the apps I write will be interacting with my own APIs. I’ve written this post as a guide to help myself remember the process, and hopefully help someone else...
23 June 2014
Android for Rails Developers: My Experiences
Recently I’ve been venturing outside of my comfortable Ruby/Rails existence and looking at writing Android code. It’s been 5 years since I last touched a line of Java code, my skills with it weren’t great then either.
I started out by following the Android track on Treehouse. Despte my...