RSS

Recent news

Erlang on the Web

Dave Bryson - daveb - July 22, 2009

If you’re thinking about using Erlang for your next web application, here’s an IEEE Internet Computing article I co-authored with Steve Vinoski that’ll help get you started: “Web developers find that the Erlang programming language originally conceived more than 20 years ago for building long-running,…

More (2 comments)

rinterface: a pure Ruby client to talk to Erlang

Dave Bryson - daveb - May 21, 2009

After digging through the jinterface code for the past couple of evenings I finally have a working Ruby client that can make RPC calls to an Erlang node.  Although the code is a bit rough right now, it works. I’m hoping to evolve it into…

More (0 comments)

Getting started with BeepBeep

Dave Bryson - daveb - May 14, 2009

I’ve finally had a little time to work on BeepBeep.  With this time, I’ve updated some of the docs included with source code, updated the Blog demo app to the latest code base, and moved the demo app into the code base versus a separate…

More (0 comments)

Connecting to Erlang’s epmd from Ruby

Dave Bryson - daveb - April 24, 2009

Lately I’ve been experimenting with creating a pure Ruby library to communicate with Erlang nodes similar to the capabilities offered by the jinterface included with Erlang.  Using a combination of the Java source code for jinterface and the documention, I’ve had moderate success getting my…

More (2 comments)

BeepBeep obligatory blog demo

Dave Bryson - daveb - December 12, 2008

This code shows how to build a simple application with BeepBeep. It demonstrates a simple application flow and the use of filters for authentication. Download it here: Blog Demo It’s completely standalone, so all you need is Erlang and some curiousity. Setup - Download the…

More (0 comments)

BeepBeep: A Rails like framework for Mochiweb

Dave Bryson - daveb - December 12, 2008

BeepBeep is a simple web application framework for Erlang inspired by Rails and Merb. It follows the principle of convention over configuration - meaning if you follow the code structure layout and a few rules when building your app, it’ll require no extra work on…

More (0 comments)

Erlang init.d script in Ubuntu

Dave Bryson - daveb - November 25, 2008

Problem You’ve created an init.d script for your Erlang application. When logged in the script works and starts the app, however it’s not working on boot. Solution Make sure /usr/local/bin/ is recognized in the profile export HOME in you init.d script that points to the directory with your erlang cookie

More (0 comments)

VMWare Ubuntu copy can’t find network

Dave Bryson - daveb - November 25, 2008

Problem You created an Ubuntu VMWare appliance and copied to another location.  When booting up the copy the network interfaces are not recognized. Well really you only get the local interface. Solution The problem is the mac address is different than the one in the…

More (0 comments)

Create a signature of your data with Erlang

Dave Bryson - daveb - October 27, 2008

-module(signit.erl). -export(start/0,sha_sign/0). start() -> application:start(crypto). %% Sign the data using SHA. %% This will return a 20 byte key for the data sha_sign(Data) -> Sha_data = crypto:sha(Data), Sha_list = binary_to_list(Sha_data), lists:flatten(list_to_hex(Sha_list)). %% Crypto doesn't have a hexdigest method. I found the code below %% here…

More (0 comments)

Mochiweb to Scalaris example

Dave Bryson - daveb - July 27, 2008

I’ve created a simple HTTP interface with MochiWeb that allows you to read and write key/Value pairs to Scalaris. The REST “like” interface is very simple: To write, send a request to: “http://localhost:8002/scalaris/write” with the parameters key=”your_key”, value=”your_value” To read, “http://localhost:8002/scalaris/read” with the parameters key=”your_key”…

More (0 comments)

 1 2 >