Bluish Coder

Programming Languages, Martials Arts and Computers. The Weblog of Chris Double.

Posts tagged “erlang”

20 posts

Building Erlang for Android

Support for building Erlang on Android is provided in the standard Erlang source. # Build setup I use the Erlang git version for building. Cloning can be done with: git clone https://github.com/erlang/otp more →

Erlang and Mobile Phones

Luke Gorrie has started a new weblog and he's posting about his experiences learning Squeak Smalltalk. In his first post to the weblog he mentions what he's been working on the past couple of years: more →

Trapexit is back

Trapexit, one of the best Erlang resource websites is back in action. The forum on trapexit mirrors the Erlang mailing list and has a much better search mechanism it's a great resource and I missed it while Trapexit was down. Announcement of Trapexit coming back is here. more →

Lightweight Erlang with Package Management

A post on the Erlang mailing points to a lightweight distribution of Erlang with package management facilities to enable installing extra functionality. The first install is a 1.4MB file which expands to 3MB. This is compares favourably to a full Erlang installation of 35MB (for the windows download). Functions are included to list, install, remove and upgrade packages. more →

Little Smalltalk and Javascript for Minix

I've been working on porting some small programs to Minix to get familiar with what's required for ports. From there I hope to get some bigger stuff working that I really want to use like Factor and Erlang. So far I have Little Smalltalk working (including the web based class browser and editor) and SpiderMonkey Javascript. Porting is a little... more →

HTML Template Languages

There's a discussion going on in the Erlang mailing list about HTML template engines. This is JSP-style definition of HTML pages with portions replaced dynamically with data from an application. I've leaned towards building HTML pages in code using Lisp style S-expressions for HTML, or Seaside style building of pages. This is also the approach I took in building the... more →

Real-time Wiki

From the Erlang mailing list comes a pointer to 'Real-time Wiki'. It's a Google Summer of Code project that allows using XMPP (ie. Jabber) from a browser based client. Values can be changed from the server and the change is broadcast to the clients and instantly updated. It seems that the application for this is a Wiki that updates automatically... more →

Handling X-Forwarded-For in Yaws

I run a Yaws webserver behind a Pound proxy. This works really well but all the IP addresses logged by Yaws appear as the localhost (127.0.0.1). This is due to Yaws picking up the IP address of the proxy as it forwards the request. Pound sends the original IP address as a header in the HTTP request called X-Forwarded-For. This... more →

Erlang SMP support

Snapshots of the upcoming Erlang release with SMP support are available from the Erlang site. As mentioned by this post on the Erlang mailing list, any of the P11B snapshots have SMP support and should be built with the following flags to enable it: ./configure --enable-smp-support --disable-lock-checking more →

Jaws Erlang Web Framework

Joe Armstrong posted on the Erlang mailing list about Jaws, a web framework he is developing in Erlang. Jaws has a template language for the Yaws web server that allows mixing HTML and Erlang similar to PHP, JSP, etc. Multiple pages can be specified in a single file and it provides Ajax functionality. It looks very interesting, hopefully a release... more →

Concurrency

Bill Clementson has been posting about concurrency in programming languages and linked to me about my use of Erlang. I've been using Erlang for a personal project for the last few months and I've found it very easy to use. The ability to spawn processes without the need to worry about any practical limits is quite interesting. I've found that... more →

Uptick resurrected

Joel Reymont is resurrecting his Uptick project. Uptick is intended to be a realtime trading platform. It looks like he has decided on Erlang/OTP for the platform to build it on. There is more information on the Uptick mailing list. more →

Haskell and Erlang

Joel Reymont has another post comparing Haskell development against Erlang. He has recently rewritten the work he did in Haskell to develop poker bots for testing a poker server into Erlang: more →

Real World Haskell Part 2

I mentioned previously that Joel Reymont is using Haskell these days for some of his 'real world' programming systems. I hoped at the time that he would outline some of his stuff on his weblog with comparisons to Erlang. Since then he has put up a Haskell vs Erlang post where he describes some of the things he's come across... more →

Code replacement in Erlang

From DrXyzzy, a good article on how code replacement is done in Erlang. Code replacing allows replacing code in a running system with new versions, without having to bring that system down. more →

Obfuscated Erlang

The results of an Obfuscated Erlang competition have been made available. From the announcement on the Erlang mailing list: more →

Trap Exit

Trap Exit is a great Erlang resource that I came across recently. It mirrors the Erlang mailing list as a forum, and has a number of great HOWTO's on using Erlang. more →