zabirauf || Zohaib
Author

Zohaib Rauf

Oct 16, 2016

Deploying F# Suave web app to Azure using Flynn

I was playing around with F# and Suave to build a service and the first thing I usually do whenever I dive into a new language and web framework is

Jun 18, 2016

Use Wit.ai Natural Language Processing in Elixir for bots

When creating bots you have to converse with the users and maintain context of the conversation so you can understand the intent of the users, do the necessary actions and

May 10, 2016

Create messenger bots using Elixir and Microsoft bot framework

Microsoft recently released the bot framework [https://dev.botframework.com/] to create bots for various messaging platforms such as Slack, Facebook, Telegram etc. It provides a unified interface for all

Mar 20, 2016

Redux - Calling web service asynchronously

> The store in Redux should be synchronous and should not have any side effects. How can you then make service calls or do anything asynchronously? That is the question

Nov 30, 2015

Venture into Ethereum - The World Computer

You might have heard of Bitcoin which is the hottest cryptocurrency on the block, but certainly not the only cryptocurrency. People are getting all gaga about it. The most exciting

Nov 6, 2015

Guts of Phoenix websocket channels

> Final results from Phoenix channel benchmarks on 40core/128gb box. 2 million clients, limited by ulimit#elixirlang [https://twitter.com/hashtag/elixirlang?src=hash] pic.twitter.com/6wRUIfFyKZ [https:

Oct 18, 2015

Workflow for static frontend development (Gulp + ReactJs + ES6)

Getting into frontend development could be overwhelming. I recently started learning more about frontend development. My intent is to build some static websites to try out things like IPFS [http:

Sep 7, 2015

What's 'use' statement in Elixir?

> use just calls the __using__ macro on the specified module. You might have run into that explanation of use but that does not explain much even though that'

Aug 25, 2015

P2P WebRTC file sharing app: Frontend using React & Flux

React [http://facebook.github.io/react] is one of the frontend framework that everyone is talking about these days. I wanted to see what all the fuss was about and

Aug 10, 2015

P2P WebRTC file sharing app: Broker using Phoenix

WebRTC was created primarily for video and voice communication but it has the API to send raw binary data between two browsers as well. This opens up a lot of

Jul 23, 2015

Binary pattern matching in Elixir with PNG parsing example

Dealing with binary data has always been a pickle in OOP language. Pattern matching is very fundamental to Elixir making the functions much more descriptive. I was very pleased to

Jun 30, 2015

Spacemacs and Alchemist to make Elixir of immortality

Ok, lets be clear; this post is not about immortality, that will be for next time :). Instead its about transitioning to a combination of Emacs, Vim and Alchemist for an

Jun 17, 2015

How to reliably start a service with UpStart

I recently had to start a service in Ubuntu server but I wanted it to be reliable. By reliable I mean it should be restarted in case of any failure

May 30, 2015

Monads in Elixir

This post is not about what monads are, I expect that you already know about them. The post is to see how you can use monads in Elixir using already

May 19, 2015

Elixir Phoenix framework embedded image for Raspberry Pi 2

Phoenix [http://www.phoenixframework.org/] is a great framework and I think it will do for soft-realtime applications what Rubby on Rails did for typical CRUD applications i.e. make

Apr 28, 2015

Blinking LED using Elixir embedded image on Raspberry Pi

In the April Seattle Erlang/Elixir Meetup [http://www.meetup.com/Seattle-Erlang-User-Group/] the awesome guys at Rose Point Navigation [http://rosepointnav.com/default.htm] gave a demo of burning Elixir/

Apr 11, 2015

Yet another "What is a Monad" post

Disclaimer: I dont claim to completely understand what monads are as I am still learning more about them but this is my attempt to explain it how I understand it.

Mar 26, 2015

Railway Oriented Programming in Elixir

It would be a great world if everything ran without errors. Validating inputs from users and handling various other kinds of error ranging from databases access, file access, network issues

Feb 21, 2015

Elixir Cowboy with IIS 8

HttpPlatformHandler: Microsoft recently release the HttpPlatformHandler [http://azure.microsoft.com/blog/2015/02/04/announcing-the-release-of-the-httpplatformhandler-module-for-iis-8/] module for IIS 8+. This module will allow any process that can receive request on

Feb 9, 2015

Connecting Elixir nodes in Azure

What is location transparency "In computer networks, location transparency is the use of logical names to identify network resources, independent of both the user's location and the

Jan 16, 2015

Using ElasticSearch in Elixir

ElasticSearch [http://www.elasticsearch.com/products/elasticsearch/] is a document database, not in the typical sense, topped up with a Lucene [http://lucene.apache.org/] for doing free form text

Jan 16, 2015

Docker file for Phoenix

How many time have you started some project, setup your machine with the correct version of softwares and then after a while have to move to another PC or something

Jan 4, 2015

Year in books - 2014

At the starting of the year 2014 I was determined to read more book. I am forming the habit to read more often now. Previously I used to indulge myself

Aug 8, 2014

Lazy Evaluation in C#

I started looking at Haskell and one thing that was interesting was the lazy evaluation. This allows you to write very generic functions and then chain other functions on top

Aug 5, 2014

Deploying Erlang Mochiweb app using Dokku

Deploying Erlang with rebar is very easy in Dokku. I'm gonna use hello-erlang [https://github.com/jkvor/hello-erlang.git] to deploy the erlang application which is using mochiweb