<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/16/2015 08:19 AM, Steven Proctor
wrote:<br>
</div>
<blockquote
cite="mid:CADVrm9RoHRcZ13+TGN0OFGPgrtTmfQAWzr7Qenh84RqDsD+Vsw@mail.gmail.com"
type="cite">
<div dir="ltr">Hey all,
<div><br>
</div>
<div>I am going to be showing off Erlang (Elixir and LFE as
well) running on a Raspberry Pi at our next DFW Erlang User
Group (<a moz-do-not-send="true"
href="http://www.meetup.com/DFW-Erlang-User-Group/events/222986865/">http://www.meetup.com/DFW-Erlang-User-Group/events/222986865/</a>).</div>
<div><br>
</div>
<div>My question for everyone here is if you have seen or played
with any good projects that make an impressive demo for what
the Erlang VM can do on a Raspberry Pi.</div>
<div><br>
</div>
<div>Part of the goal is to show how lightweight processes are
on the Erlang VM; I have heard mention of ~1 Million processes
on a Pi, and was hoping to show something somewhat mind
blowing to people who haven't seen it on a Pi, or just getting
into Erlang.</div>
<div><br>
</div>
<div>I have some basic ideas of some simple stuff to show off,
but I would love to hear what you have done with Erlang and a
Raspberry Pi.</div>
</div>
</blockquote>
Instead of the Raspberry Pi, I got 4 Odroid-C1s because they cost
the same as the Raspberry Pi but have better specifications
(<a class="moz-txt-link-freetext" href="http://www.cnx-software.com/2015/02/02/raspberry-pi-2-odroid-c1-development-boards-comparison/">http://www.cnx-software.com/2015/02/02/raspberry-pi-2-odroid-c1-development-boards-comparison/</a>).
I also got a LCD (16x2 characters) for each of the Odroid-C1s and
had CloudI 1.5.0 (<a class="moz-txt-link-freetext" href="http://cloudi.org">http://cloudi.org</a>) running on all 4 (8gb microSD
card with Ubuntu 14.04). I then used a C CloudI service to work
with the LCD display and a Python CloudI service to handle UTF8-art
fish where each fish is a CloudI service request (dieing with the
timeout, swimming between the nodes while displaying the node index
where it was born). I presented this demo at LinuxFest Northwest
2015 and everyone seemed to enjoy it.<br>
<br>
The repositories for the the two CloudI services are
<a class="moz-txt-link-freetext" href="https://github.com/okeuday/odroid_display">https://github.com/okeuday/odroid_display</a> and
<a class="moz-txt-link-freetext" href="https://github.com/okeuday/odroid_fish">https://github.com/okeuday/odroid_fish</a> . You may notice that
odroid_display depends on <a class="moz-txt-link-freetext" href="https://github.com/hardkernel/wiringPi">https://github.com/hardkernel/wiringPi</a>
which is a fork of a Raspberry Pi repository. The odroid_display
repository also has utf8 to hd44780u conversion for the LCD display,
though it doesn't yet support the Japanese in <span class="pl-c">A00
or the European characters in </span><span class="pl-c">A01, in
case you are interested. If you want to see a clip of the fish in
action, there is an animated gif at </span><a class="moz-txt-link-freetext" href="https://github.com/okeuday/odroid_fish#example">https://github.com/okeuday/odroid_fish#example</a>
.<br>
<br>
Best Regards,<br>
Michael<br>
<br>
<blockquote
cite="mid:CADVrm9RoHRcZ13+TGN0OFGPgrtTmfQAWzr7Qenh84RqDsD+Vsw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Thanks!</div>
<div>--Proctor</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
</body>
</html>