March 14, 2024auth0custom-actions

Exploring Auth0 Custom Actions

A look at how to create, manage, and utilize custom actions in various workflows, including login/post-login, machine-to-machine, password reset, pre and post-user registration, and sending phone messages.

author avatar

Ayush Srivastava

April 8, 2016rails

Working with Rails, Webpack and Heroku

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.

author avatar

Kashyap

February 29, 2016elixir

Understanding Exit Signals in Erlang/Elixir

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.

author avatar

Emil Soman

January 14, 2016elixir

Visualizing Parallel Requests in Elixir

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.

author avatar

Emil Soman

December 23, 2015rails

New in ActiveRecord: #in_batches

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.

author avatar

Kashyap

July 18, 2015rubycpuprofiler

DIY Ruby CPU profiling - Part IV

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.

author avatar

Emil Soman

March 12, 2015rubycpuprofiler

DIY Ruby CPU profiling - Part II

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.

author avatar

Emil Soman

March 6, 2015rubycpuprofiler

DIY Ruby CPU profiling - Part I

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.

author avatar

Emil Soman

December 10, 2014railsassetsbowersprockets

Cake walk: Using bower with rails

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.

author avatar

Yuva

April 5, 2014jsonapiruby

An Introduction to JSON Schema

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.

author avatar

Kashyap

March 22, 2014railsrspec

Form object validations in Rails 4

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.

author avatar

Yuva