Author Archives: Kunal Batra

About Kunal Batra

Meet Kunal, Developer Evangelist at-large for SendGrid and home-grown New Jersey hacker. He previously ran General Machines, which developed Deaftel - a phone service for the deaf that converts voice to text and text back into voice over a phone call. Since March 2013, Kunal has been working as a Developer Evangelist at SendGrid, helping enable developers to get the tools and resources they need to make awesome, creative stuff.

Kunal Batra on Twitter

Articles Posted by Kunal


Code Challenge: Adventures in VIM

Posted on (0 Comments)

As developers, we all use different text editors when writing code. This post isn’t meant to say VIM is better than emacs, sublime, etc. VIM is just the editor I switched to a while back, and I wanted to go through some awesome resources that I’ve use to become a better “VIMMER.” For this post, I’m going to walk through some VIM basics that I think the beginner needs. Afterwards, I’ll walk through some great resources. Basics to Get Started The first thing you’re going to notice when you open VIM is that you can’t start writing code. This is

READ MORE »

Code Challenge: Add Machine translation to SendGrid for communicating with your International friends.

Posted on (0 Comments)

For todays post I wanted to explore a use case for the SendGrid API, that I personally don’t see too often. That use case is mashing up a Machine Translation API with our mail API and webhook. I want to create an email address that lets me communicate with my coworkers and friends that I have been lucky to make in Brazil. How this will work: I’m going to create an application that will translate any email that I send out into portuguese. Any email that gets sent to that address will be translated back into english. The concept is pretty simple

READ MORE »

Code Challenge – Storing your incoming emails into Orchestrate.io

Posted on (0 Comments)

For todays Code Challenge post I wanted to try out Orchestrate.io. Orchestrate has an interesting value proposition that’s very similar to what we do at SendGrid. Orchestrate essentially provides a “Database as a Service.” Data storage, just like email infrastructure, is one of those items that is easy to do poorly and very hard to do well. Orchestrate understands that different types of databases are optimized for different types of storage and retrieval. For example: MongoDB, CouchDb, and Redis: Key/Value Elasticsearch and Apache Solr: Full Text Search Neo4j and OrientDB: Graph MongoDB with 2dsphere indexes:  GeoSpatial According to Orchestrate, there

READ MORE »

Code Challenge: Using Charles Proxy to Debug Mobile Apps

Posted on (0 Comments)

As an evangelist, I get to interact with developers all over the world. A common tool that I see used a lot is Charles Proxy. Its used by almost all types of mobile developers for debugging. I’ve personally heard a lot about it, but never had the chance to play around with it until now. Charles Proxy Basics: Just as the name states, it’s a proxy that you set up on your computer. Your phone will connect to it to access the web and it will display all the network traffic from your phone. By using it, you can: Discover

READ MORE »

Code Challenge: Building a Hello World Apple iWatch App

Posted on (0 Comments)

While the Apple iWatch hasn’t been released yet, they have released WatchKit, so developers can start creating applications. For this post, I created a video that will walk you through building a watch application that displays the text “Hello World” after a button is pressed. I would also recommend reading the first post in this Code Challenge series that goes over building your first Swift App. Pre-Requsities: xcode 6.2 Beta : You might already have xcode installed on your machine, but to build iWatch apps you require the new 6.2 beta. This will install a new version of xcode on

READ MORE »

Code Challenge: Intro to Twitter’s Fabric.io

Posted on (0 Comments)

A couple weeks ago I watched a couple of talks on Twitter’s new product Fabric (www.fabric.io). It’s a collection of tools to make mobile developers’ lives easier. According to their documentation, Fabric is more specifically a “set of mobile development tools called ‘Kits’ that help you make your app more stable, add social features like sharing and login, and turn your app into a business with easy monetization.” You can read more about Fabric and the Kits here: https://dev.twitter.com/overview/documentation. This post will focus on one of the functionalities of the Twitter Kit, but let’s just review the other kits before we begin:

READ MORE »

Code Challenge: Intro to tmux

Posted on (0 Comments)

Say no to tabs and yes to panes when developing For today’s post in the Code Challenge series, I’m giving an intro on tmux. As a Developer Evangelist, showing code is the best way to get developers interested in how easy it is to integrate the SendGrid API. When you’re up in front of a couple of hundred devs and live coding, switching through multiple tabs is not a good look. I got into tmux because it lets you open multiple programs on the same window to see everything that’s happening. Tmux has since become part of my workflow whenever coding any

READ MORE »