The aTech Media blog features all the news about the company, its people and behind the scenes.

Open Source

We're avid fans of open source, we use it and contribute hundreds of our own projects to the community. Keep up to date with them all.

Displaying posts 1 - 12 of 17 in total

Seamless socket server restarts in Ruby

Posted on the 22nd March on the aTech Media blog

We utilise a variety of custom socket servers to support our applications. Most of our apps have at least one. We write RPC servers to interact with repository storage in...

Resizing your uploaded images

Posted on the 21st March on the aTech Media blog

A couple of days ago I wrote about uploading attachments and in this tutorial I'm going to look at doing some processing on those attachments once they have been uploaded....

How to install Staytus from scratch

Posted on the 18th March on the aTech Media blog

Staytus is the open source publishing platform that I developed last year when we needed something simple to help us communicate with our customers when issues arise with our service....

Running Ruby apps in production

Posted in October 2016 on the aTech Media blog

Over the last few months, I’ve been working on a number of Ruby applications which have a requirement to run a few different types of process — web servers, workers, crons — in order...

Memoization in Ruby

Posted in July 2015 on the aTech Media blog

Memoization is a technique employed in many languages which allows you to cache the results of slow or expensive operations and return the cached result whenever the method is subsequently...

String Interpolation in Rails

Posted in April 2015 on the aTech Media blog

A while ago I wrote a small library to handle string interpolation in a Rails application. The library allows you to safely allow users to insert variables into strings they...

Creating MOSS returns for HMRC with JSON

Posted in March 2015 on the aTech Media blog

HMRC (the UK tax authority) have finally announced how UK businesses should submit details of their digital sales to other EU countries for their new VAT MOSS system. In my...

Merging Pull Requests on GitHub

Posted in March 2015 on the aTech Media blog

Today I’m talking about the merge button on GitHub, why you shouldn’t use it and presenting an alternative which is cleaner & easier to use.

Improve session security in Rails apps

Posted in February 2015 on the aTech Media blog

In Rails applications, it’s really easy to allow users to login to your application. You ask them for a username & password, you check they’re correct and you pop their...