zabirauf || Zohaib
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

elixir witai bot bot-framework phoenix facebook-messenger · 5 min read min
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

bot bot-framework elixir phoenix · 5 min read min
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

react flux redux reactjs react-native · 3 min read min
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

ethereum decentralized blockchain · 4 min read min
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:

elixir phoenix-framework design phoenix · 5 min read min
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:

development javascript gulp babel frontend reactjs es6 · 5 min read min
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'

elixir use ecto protobuf genserver · 4 min read min
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

javascript p2p design react flux · 4 min read min
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

phoenix-framework webrtc p2p peer to peer design · 5 min read min
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

elixir functional-programming pattern-matching · 5 min read min
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

elixir alchemist emacs spacemacs vim editor development · 6 min read min
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

phoenix-framework ubuntu upstart reliable service · 3 min read min
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

elixir railway oriented programming monad · 8 min read min
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

elixir phoenix-framework raspberry-pi · 4 min read min
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/

docker elixir embedded-system nerves-project raspberry-pi · 5 min read min
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.

rop functional-programming monad monoid · 8 min read min
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

elixir macro meta-programming railway oriented programming rop patterns · 6 min read min
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

elixir azure iis cowboy windows ubuntu benchmark · 4 min read min
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

elixir azure nodes map-reduce · 5 min read min
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

docker elixir how-to elastic-search tirexs erlastic_search · 5 min read min
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

docker elixir phoenix-framework · 2 min read min
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

books reading 2014 technology existence startups · 3 min read min
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

· 2 min read min
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

dokku erlang · 1 min read min
Aug 4, 2014

Moved to Digital Ocean

I recently moved by blog and personal computing server to Digital Ocean [http://digitalocean.com] from Linode. For my first impression I'm wondering why didn't I

linode digital ocean dokku · 1 min read min