Gaslight Blog

Want to read more about Development? Let's take a look-sy:


CSS-Only Avatar Fallback

Avatars are everywhere—and no, I’m not talking about the blue aliens. I’m talking about the little pictures that show up next to your name when you’re logged into an app or website. They’re even on our phones now, as part of group texts or contact cards. Avatars are super functional...

Read More →


How to Change the World

I want to talk about changing the world. While I would like to talk about reducing poverty, suffering, and violence while increasing love, empathy, and joy, those aren’t things we get to work on at Gaslight very often. Still, I believe we change the world with each project we take...

Read More →


How to get Elixir and Phoenix up and running

Maybe you’ve recently read an awesome blog post about Elixir and would like to try it out for yourself or you are simply trying to get back into it after taking a hiatus(the boat I’m in). This post is aimed at Elixir newbies who would like to get up and...

Read More →


Rails ActiveRecord Scopes With Arguments

I came across another interesting syntax used in a Rails application. scope :graduated_after, ->(date) { where('graduation_date > ?', date) } Warning: Before we start please note that variable scoping in Ruby and ActiveRecord scopes in Rails are totally different concepts. Ruby scopes are about where in the code values of...

Read More →


Distributed Elixir with Livebook

Livebook recently dropped and I was curious to see what the hype was all about. I had dabbled with ipython notebook (Jupyter) long ago, so I was curious to see what an Elixir version would offer. Some Googling will tell you that the primary improvements offered by Livebook over Jupyter...

Read More →


Defining Class Methods

Recently I came across an unusual syntax in Ruby: class FooBar class << self end end Today I want to share what I learned about it. Class Methods vs. Instance Methods Before we consider the syntax above let us recall when we use class methods. Imagine that we are working...

Read More →

Like what you're seeing? Let's keep in touch.

Subscribe to Our Newsletter