
Elixir/Erlang/BEAM Meetup
About this event
> Host
This meetup is hosted by Erlang Solutions AB.
> Agenda
- 17.00 Start registration
- Food & drinks will be served
- 17.30 Intro
- 17.45 Dennis Palmer - Live Coding a Nerves Robot with Livebook (30 min)
- 18.15 Break
- 18.30 Raimo Niskanen - Do the List Shuffle (20 min + Q&A)
- 19.00 Final mingle
- 20.00 Optional: Join us for a drink at a nearby pub/bar
> Talk 1: Dennis Palmer - Live Coding a Nerves Robot with Livebook
Several years ago, Dennis started reading the book “Arduino Robot Bonanza” by Gordon McComb. He had assumed that an Arduino was required to build robots like those described in the book, but has since discovered that a Raspberry Pi running Elixir via Nerves, along with Hex packages like Circuits.I2C could do much, if not all, the same things. Inspired by the Teachbot platform described by McComb, he designed and 3D printed Wobbles, a self-balancing 2-wheel robot powered by Nerves and programmed via Livebook.In this session, we will see a hands-on demo of using binary pattern matching in a GenServer to read the gyro/accelerometer data via I2C and control the motors to make Wobbles a little less wobbly. Then we’ll walk through how to use an ultrasonic distance sensor to help prevent collisions when he starts to move.
> Talk 2: Raimo Niskanen - Do the List Shuffle
A deep dive into the list shuffling function `rand:shuffle/1`introduced in OTP 29, performance of investigated algorithms, hardship to find functional algorithms online, which algorithm that was chosen and why.
> Any allergies or special requirements?
We plan to serve some food and soft drinks during the event. Let us know if you have any allergies or any other special requirements.
Source: meetup