• Posted on April 08, 2014

kerl – easy building and installing of Erlang/OTP instances

When I upgraded my Mac OS X and my MacPorts Erlang was update to R16B03-1 version I have problem with new version of Erlang. I have application with parameterized modules which are no longer supported in R16** Read More

  • Posted on November 24, 2011

Random shuffle in erlang

There are two basics algorithms for this both described by Knuth. The more well known Knuth/Fisher-Yates shuffle is O(n) but requires destructive updates. The shuffle listed is O(n log n) but works well for any functional language Read More

  • Posted on September 11, 2011

QR-code erlang library

qr code код
I found a good qrcode erlang library, added rebar support Read More

  • Posted on August 03, 2011

Simple generating XML in Erlang Using xmerl

Here’s a quick example of how to build XML documents in Erlang using xmerl. The basic idea is to first transform your data into xmerl’s “simple” format of tagged tuples and then use xmerl:export_simple to generate the XML. Read More

  • Posted on July 25, 2011

flash socket policy-file-request in Erlang

This Erlang version is pretty much a straight translation of this perl-flavoured socket policy file to give credit where it’s due Read More

  • Posted on April 20, 2011

Erlang: cpu usage

Erlang can more than you expect Read More

  • Posted on April 11, 2011

Erlang: convert any string to binary utf8

I took half a day, until I found a wonderful module xmerl_ucs. It is available in Erlangen R14B Read More

  • Posted on February 24, 2011

Agner: a repository of libraries and applications

Agner is a rebar-friendly Erlang package index inspired by Clojars and Homebrew. Essentially, Agner is an index of Erlang packages with some extra capabilities such as versioning, downloads and so on. Agner is a shorthand for A Giant Nebula of Erlang Repositories. It also pays homage to the Danish statistician Agner Krarup Erlang. Read More

  • Posted on February 17, 2011

Webmachine redirect resource example

SImle redirect resource by webmachine-way Read More

  • Posted on February 14, 2011

Mustache is a framework templating system

Mustache is an Erlang port of the Ruby framework of the same name, originally written by Chris Wanstrath, one of the founders of GitHub. A powerful feature of this type of framework is the ability to write a ‘template’ that you could use in a Rails application and then reuse in an Erlang application with no changes to that file. The ‘view’, which in MVC terms is more like the ‘controller’ would have to be re-written, but this would greatly simplify the work of porting an application, OR simply running a part of application in a different framework for performance reasons. Read More

hosting hostbe.net