Coder Social home page Coder Social logo

3alchemy's Introduction

3Alchemy (FreeAlchemy)

Recording of the freestyle improvised interactive live mob programming Elixir sessions done at the TriCity (3city) Ruby Users Group (TRUG).

  • 3Alchemy stands for free / freestyle alchemy.
  • Alchemy stands for programming using Elixir.

Goals:

  • Learning,
  • Teaching,
  • Free creativity.

Session Log

Session 0 (2015-04-15)

  • duration: 1 h
  • (not recorded)

Has shown some basic Erlang/Elixir semantics and Elixir syntax.

links:

Session 1 (2015-05-20)

  • duration: 2.5 h
  • command line history: /priv/history/session1.history
  • code: checkout the first commit (tag: session1)

Has shown:

  • how to use mix and create a new project using mix new,
  • how to use tmuxinator for tmux,
  • IEx,
  • function, module definition, pattern matching, IO output, etc.
  • basic concurrency in Elixir/Erlang (spawn, send, receive),
  • processes that do tasks, processes that hold state, server processes,
  • :observer.start.

The end result was a MessagePingPongRing that allows to create a ring of processes that exchange messages in turn to each other. New processes and messages can be added to the Ring at any time.

Sample output:

#PID<0.102.0>: #PID<0.100.0> I like
#PID<0.100.0>: #PID<0.101.0> Ruby
#PID<0.101.0>: #PID<0.102.0> Sopot
#PID<0.102.0>: #PID<0.100.0> Gdańsk
#PID<0.100.0>: #PID<0.101.0> I love
#PID<0.101.0>: #PID<0.102.0> Elixr
#PID<0.102.0>: #PID<0.100.0> I don't care
#PID<0.100.0>: #PID<0.101.0> Go
#PID<0.101.0>: #PID<0.102.0> I dislike
#PID<0.102.0>: #PID<0.100.0> Node.js
#PID<0.100.0>: #PID<0.101.0> PHP

Session 2 (2015-06-17)

Agenda:

  • Distribution (Nodes)
  • Intro to OTP
  • GenServer

...

Acknowledgements

All TRUG organizers and participants (especially those who stay till the end of the sessions and get highly involved).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.