Concurrency in Ruby

During my journey as a Ruby developer, I have listened multiple times that Ruby is single-threaded. However, for a long time it has been confusing to me what does it really mean and how threads work in Ruby. This post aims to share some of my findings about this subject during my career. I hope it … Continue reading Concurrency in Ruby

Advertisements

Asynchronous Jobs Backward Compatibility

It is a very common practice to use asynchronous jobs for executing long and time consuming tasks, such as sending emails, batch imports and image resizing. These jobs run in the background and are key to building scalable web apps. Although background jobs are easily implemented and configured, specially in Rails, there is one aspect I … Continue reading Asynchronous Jobs Backward Compatibility

Using rake to automate heroku tasks

One of the cool things that I've learned at ThoughtWorks is automating stuff. Automating daily tasks is pretty cool and important. For instance, all the teams that I've worked in the past 3 years create scripts to automate builds, deploys and database backups between other tasks. At Motonow we try to do the same. Because we use Heroku infra-structure we have to … Continue reading Using rake to automate heroku tasks

Lessons Learned From My First ThoughtWorks Project

Hey Guys, It has been a while since my last post here. Lots of things changed in 2011. The big change happend in March when I joined ThoughtWorks Brazil and moved to Porto Alegre. From March to November (8 months) I worked in a distributed team between Brazil and EUA. During the project, we as … Continue reading Lessons Learned From My First ThoughtWorks Project

JavaScript Immetiate Object Initialization

Hello everyone, During this weekend I watched a couple of sessions in channel 9 recorded during the MIX 11 event. I really liked Elijah Manor’s talk whose title is Good JavaScript Habits for C# Developers. In addition to simple tips on JavaScript programming, such as False-y Values and Comparison Operators, Elijah showed some techniques that … Continue reading JavaScript Immetiate Object Initialization

.NetArchitects Coding Dojo – Converting Roman Numerals to Decimal

Hi guys, As some of you who follow me at @nandokakimoto already know, last week I participated in the first Coding Dojo from Recife’s .NetArchitects group and it was really great. There, I met some friendly faces and after a short conversation about the Coding Dojo practice, @WaldyrFelix brought the problem of adding Roman numerals. … Continue reading .NetArchitects Coding Dojo – Converting Roman Numerals to Decimal