Elixir Remote Debugging

By Emil Soman on November 22, 2017
Learn how to connect to a production Elixir node from the local shell and use the debugger GUI to set breakpoints and debug.
Tagged under: elixir, docker, distribution

ReactJS : Server side rendering with router v4 & redux

By Revath S Kumar on June 3, 2017
Tagged under: reactjs

Autodeploy from github using AWS CodeDeploy

By Revath S Kumar on December 26, 2016
Tagged under: deployment

Elixir/Phoenix deployments using Distillery

By Yuva on November 26, 2016
Deploy Elixir/Phoenix apps using Distillery plugin
Tagged under: elixir, phoenix

React.js : Server side rendering

By Revath S Kumar on September 16, 2016
Tagged under: reactjs

APIs supporting snake_case and camelCase with Rails

By Yuva on August 25, 2016
Supporting API conventions for client like reactjs can be quite tricky. This post talks about approach to make APIs accessible using snakecase or camelCase.
Tagged under: rails, api

Continuous Deployment using Docker Cloud

By Emil Soman on July 25, 2016
Tagged under: docker

Working with Rails, Webpack and Heroku

By Kashyap on April 8, 2016
Deploying a Rails app with Webpack asset management on Heroku can be tricky. However, Heroku provides lifecycle hooks on its NodeJs buildpack that will help make this easier.
Tagged under: rails

Understanding Exit Signals in Erlang/Elixir

By Emil Soman on February 29, 2016
Erlang is a powerful concurrent programming language that has Processes as a first class citizen. These are isolated by default. Just like in Unix, these processes can communicate using Signals. In this post we will see how to achieve that in Elixir.
Tagged under: elixir

Visualizing Parallel Requests in Elixir

By Emil Soman on January 15, 2016
Elixir, built on the battle-tested Erlang VM, is a language that has concurrency as its core ideas. I will introduce a monitoring utility shipped with the VM that helps us visualize HTTP requests.
Tagged under: elixir

New in ActiveRecord: #in_batches

By Kashyap on December 23, 2015
Rails 5 has a new feature added to ActiveRecord that makes working with batch data much more efficient. The `Model.in_batches` function passes a batch of records wrapped inside an ActiveRecord collection.
Tagged under: rails

Say goodbye to vendor prefixes with Autoprefixer

By Girish on September 25, 2015
Autoprefixer is a tool that adds vendor prefixes to CSS based on the usage patterns and current state of support. This results in clean code and smaller CSS files.

DIY Ruby CPU profiling - Part IV

By Emil Soman on July 18, 2015
Ruby's TracePoint API is very powerful for building custom profilers. As the final post of the DIY CPU profiler series, this post will introduce how to get method runtime statistics and generate relevant graphs.
Tagged under: ruby, cpu, profiler

DIY Ruby CPU profiling - Part III

By Emil Soman on April 15, 2015
Ruby's TracePoint API is very powerful for building custom profilers. In this post I will talk about hooking into Ruby code execution life cycle using this API
Tagged under: ruby, cpu, profiler

DIY Ruby CPU profiling - Part II

By Emil Soman on March 12, 2015
Ruby's TracePoint API is very powerful for building custom profilers. In this post I will talk about Wall time and CPU time, and how to measure them for Ruby programs.
Tagged under: ruby, cpu, profiler

DIY Ruby CPU profiling - Part I

By Emil Soman on March 6, 2015
Ruby's TracePoint API is very powerful and allows us to write custom profiling code without slowing down the execution of programs. In this post, I will introduce CPU profiling and 2 strategies to write one.
Tagged under: ruby, cpu, profiler

Cake walk: Using bower with rails

By Yuva on December 10, 2014
Traditionally, Rails 3.x and above come with Sprockets and asset management functions. However, using a JavaScript or CSS library with Sprockets means we'd have to roll them into gems with a specific directory heirarchy. Instead, we can leverage Bower to handle that for us.
Tagged under: rails, assets, bower, sprockets

What you need to know about software process and tools as a non-tech product owner - Part 2

By Hemant on June 11, 2014
Tagged under: outsourcing, startup, india

Using Git for Knowledge sharing

By Hemant on May 1, 2014

An Introduction to JSON Schema

By Kashyap on April 5, 2014
JSON schema can help bring order to handling complex JSON interactions in APIs. For instance, you can avoid checking the types of incoming JSON and rely on JSON schema to do the validation. This post talks about similar usecases.
Tagged under: json, api, ruby

What you need to know about software process and tools as a non-tech product owner - Part 1

By Hemant on April 2, 2014
Tagged under: outsourcing, startup, india

Form object validations in Rails 4

By Yuva on March 22, 2014
Interacting with complex web forms tends to become hairy pretty quickly. Using Form or Service objects to abstract out the complexity can help wrangle complexity. This post talks about how we use them to make code simpler.
Tagged under: rails, rspec

Design and Development Process

By Hemant on January 29, 2014
Tagged under: outsourcing, startup, india

Making an Indian agency work for your startup

By Hemant on January 21, 2014
Tagged under: outsourcing, startup, india

Random Ruby tips from trenches #1

By Hemant on January 7, 2014
Tagged under: ruby, rails, tips

CSS3 Box Model behaviour

By Vijay Sharma on November 17, 2013
CSS Box Model is one of the fundamental concepts layout inside a browser. In this post you'll learn about the box-sizing property.
Tagged under: box-model, css, css3, html5

Rendering images for Retina or any high DPI screens.

By Vijay on November 3, 2013
There is a proliferation of high resolution screens on mobile devices, and non-optimized images tend to look ugly on them. This post introduces ways to use optimized images for use in HTML on high DPI screens.
Tagged under: media-query, dpi, dips, retina, dppx

Setting up Emacs as Ruby development environment on OSX

By Hemant on October 17, 2013
Tagged under: emacs, osx, ruby, rails

How rails reloads your source code in development mode?

By Yuva on October 3, 2013
In this post, I will talk about how Rails 3.x reloads code in the development environment.
Tagged under: rails, code-walkthrough

Isolate Namespace in Rails Engines - A hack in itself

By Yuva on September 22, 2013

Setting up Source Maps for CoffeeScript in Rails

By Amitava on September 5, 2013
Tagged under: coffeescript, rails

Redefine rake routes to add your own custom tag in Rails

By Deepak on July 12, 2013
Tagged under: rake, rails, tips

Non native fullscreen for OSX on emacs 24.3

By Hemant on July 5, 2013
Tagged under: emacs, osx, fullscreen

Introducing Invoker - Manage processes in development envionment

By Hemant on June 8, 2013
Invoker is a utility we wrote to ease setting up of local development environments and top level .dev domains. Read on to know how to use it.
Tagged under: ruby, productivity, gems

All you need to know about writing a mountable Rails Gem with rspec

By Yuva on May 30, 2013
Tagged under: gem, mountable, rspec, rails

Profile Ruby 2.0 apps using DTrace - part 2

By Hemant on May 27, 2013
Ruby 2.0 and above has in-built support for DTrace hooks. This lets us profile Ruby programs. In this post, I'll go into the details of the features of DTrace.
Tagged under: ruby, dtrace, profiling, rails

Vim tab completion for RubyMotion

By Amitava on May 1, 2013
Tagged under: vim, rubymotion

Rails Autoload Path

By Yuva on May 1, 2013
Tagged under: rails

Profile Ruby 2.0 apps using DTrace - Part 1

By Hemant on April 16, 2013
Ruby 2.0 and above has in-built support for DTrace hooks. This lets us profile Ruby programs. In this post, I'll introduce DTrace and how to add DTrace probes to a Ruby program.
Tagged under: ruby, dtrace, profiling, rails

Using Backbone JS in multipage application

By Amitava on April 6, 2013
This post talks about using the Backbone library with a Rails backend, and goes through some challenges and gotchas encountered during the process.
Tagged under: rails, backbone

Zoom pane in tmux

By Amitava on April 3, 2013
Tagged under: tmux, screen

Poor man's rspec mode for emacs

By Hemant on March 28, 2013
Tagged under: emacs, rspec, rails

Bundler: Cleanup old unused gems

By Yuva on March 27, 2013
Tagged under: bundler, rails, ruby

Git checkout previous branch

By Amitava on March 17, 2013
Tagged under: git

Remove branches merged into master

By Yuva on March 17, 2013
Tagged under: git

Upgrading to Mountain Lion and your development environment

By Hemant on July 27, 2012
A nearly step-by-step guide to upgrade to Mountain Lion, and setting up a Ruby development environment
Tagged under: osx, rvm, ruby, mountain_lion

The kitchen sink libraries

By Hemant on May 8, 2012
The problem with kitchen sink libraries is feature creep. Sometimes all we need are small libraries that are easily readable.
Tagged under: ruby, rails, gems