The Comparison Guide Of Looping Construct Between Ruby, dlang, Rust, & Golang

Sanjiv has drawn a good raw loop performance comparison between Go, Rust, C and Dlang. Some of the outcomes are pretty fascinating and he predicts that Rust will be a great for low level and system programming while Go will take the lead for general purpose high level languages. Did you know - In ruby, … Continue reading The Comparison Guide Of Looping Construct Between Ruby, dlang, Rust, & Golang

Experience From A First Solo Trip!

Shifa, who works at our company used her company conference budget and made her first solo trip abroad to attend RubyConf 2015 in San Diego.
Here is her experience while travelling alone, the preparation, the craziness, the fear and overcoming it, realisations and finally elation!
A well written post that we hope inspires other women techies to travel far and have great experiences to share!

none's avatarA life of freedom

The world is beautiful and full of wonders. And all those years of watching Discovery and NatGeo had only made me realize how badly I wanted to see it and experience it; all of it.

Decision

So, when I got the opportunity to attend a conference that was taking place in the other half of the world; I knew I wanted to go. But coming to a decision wasn’t easy and deliberation was needed. So I sought advice from parents, friends, colleagues and relatives. Now this might not have been the best idea, considering how few of these people had actually traveled solo before. Most conversations went like this:
Me : Hey! Guess what? I’m going to the US for a week to attend a conference!
Them : That’s awesome! Lucky you! Who all are going with you?
Me : Just me!
Them : Oh! *Thud* (Yeah, their faces just…

View original post 1,516 more words

All About Gmail API (Via IMAP) In Ruby on Rails

Adding Gmail IMAP directly into a Rails application is quite easy. As Pramod explains in this post.

Pramod B. Shinde's avatarCurious Reflections

We often need to read user email messages from Gmail, In this post I will be taking you through how to access user inbox messages from Gmail using gmail_xoauth gem and Ruby Net::IMAP Net library in your Rails application.

I have the sample example file on gist , I would suggest refer this example side by side with this post.

gmail_xoauth allows you to authenticate Gmail IMAP and STMP via OAuth, using the standard Ruby Net libraries. Gmail Platform provides XOAUTH2 mechanism a OAuth 2.0 protocol used for IMAP AUTHENTICATE and SMTP AUTH commands.

Ruby implements Internet Message Access Protocol (IMAP) client functionality in Net::IMAP Net libraries.

Before we start here are some prerequisite,

1) You need to Authorize user via Google using omniauth-google-oauth2 with omniauth configuration specified in sample omniauth_config.rb

2) While Authorize you must define following scopes.

3) If you are accessing user email in offline mode then you need…

View original post 260 more words