News for hackers. Stuff that matters.
Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by rasz_pl on Tuesday April 28, 2015 @12:03PM (#9453254)
that led blinking example makes me sad :(
Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by skrebbel on Tuesday April 28, 2015 @01:22PM (#9453860)
Why?

I mean, Blinky is the "Hello World" of embedded software. When was the last time a hello world aroused you? The point of this is not the blinky, it's the "omg erlang vm on raspberry pi".

Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by joezydeco on Tuesday April 28, 2015 @02:13PM (#9454196)
Now let's level up and see an ISR using the Erlang VM.
Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by gniquil on Tuesday April 28, 2015 @01:25PM (#9453881)
perhaps the way to make it wow, is to connect 100,000 led to it, and each controlled by a separate browser socket. V8/node folks will cry a little.
Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by nine_k on Tuesday April 28, 2015 @01:54PM (#9454084)
Connecting 100k LEDs to a RPi is an interesting engineering challenge in its own right. (Also, if one LED consumes 10 mA / 30 mW, 100k will consume 1000 A / 3 kW.)

A more realistic thing would be a telnet chat server: code is dead simple, and the ability to handle NH / slashdot / reddit crowd on a RPi would indeed be impressive.

Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by mschuster91 on Tuesday April 28, 2015 @02:30PM (#9454283)
Not exactly, there are many LED driver ICs with SPI, and you don't really need a 1000A-capable 3V bus, just 500 or so small wall-warts ;)
Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by forgottenpass on Tuesday April 28, 2015 @03:50PM (#9454707)
Not lazy enough. Just talk Art-Net, the instruments are now Someone Else's Problem.
Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by mschuster91 on Tuesday April 28, 2015 @04:16PM (#9454875)
More lazy: attach yourself to one of these LED-based megascreens in sport stadiums. Output ordinary composite video and you're done!
Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by jacquesm on Tuesday April 28, 2015 @02:20PM (#9454228)
LED Display seems to be a valid short-cut to your problem.
Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by joezydeco on Tuesday April 28, 2015 @12:43PM (#9453577)
Me too. Should have used a full V8/Node.js stack to do it. =)
Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by eggy on Tuesday April 28, 2015 @01:43PM (#9454025)
And used LFE (lisp flavoured erlang) in place of Elixir, since Elixir is Rubyesque, a fav of the web dev crowd, vs. the parenthetical LFE!

All joking aside, I like seeing BEAM everywhere, and Elixir is a great language.

Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by yellowapple on Tuesday April 28, 2015 @02:46PM (#9454375)
I can't wait until folks start mixing Erlang, Elixir, and LFE in production codebases (which I reckon should, technically, be possible given some better build tools).
Re:Blinking LED Using Elixir Embedded Image on Raspberry Pi by eggy on Wednesday April 29, 2015 @01:41AM (#9456630)
I'm not sure what's in production, but Duncan has talked about just this in his talk "The State of LFE: A Lisp Flavoured Smörgåsbord" 8 months ago:

  https://vimeo.com/102108797