Code Monkey home page Code Monkey logo

workshop's Introduction

README

Lab requirements

  1. Install git

  2. Install Erlang & Elixir (at least 1.5)

Verify your installations

Verify your installation by calling the executables git, erl and iex in your shell. Your Erlang installation needs to be on OTP 18 and Elixir on 1.5.0 or higher. Check the version by running iex:

~ λ iex
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]

Interactive Elixir (1.5.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>

Installing a lab

The repository for all labs is found at https://github.com/ericmj/workshop.

  1. git clone from your console

    $ git clone https://github.com/ericmj/workshop.git

  2. Enter the workshop directory

    $ cd workshop

  3. Enter the directory for the current lab named labN

    $ cd labN

Running tests

  • Run all tests for a project: $ mix test

  • Run all tests in a specific file: $ mix test test/my_test.exs

  • Run all tests on a specific file and line: $ mix test test/my_test.exs:42

Lab links

The individual labs can be found at the following URLs:

Lab 1 - Elixir basics: https://github.com/ericmj/workshop/tree/master/lab1

Lab 2 - Data structures and higher order functions: https://github.com/ericmj/workshop/tree/master/lab2

Lab 3 - Implement a chat: https://github.com/ericmj/workshop/tree/master/lab3

Lab 4 - Processes: https://github.com/ericmj/workshop/tree/master/lab4

Lab 5 - Chat with processes: https://github.com/ericmj/workshop/tree/master/lab5

Lab 6 - Chat with OTP: https://github.com/ericmj/workshop/tree/master/lab6

workshop's People

Contributors

batate avatar ericmj avatar ggpasqualino avatar kiminoa avatar rlopzc avatar whatyouhide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

workshop's Issues

Lab 4, Exercise 1

Forgive the pedantry; hope this'll be useful for future n00bs.

  1. "Create a process that just prints the first message it receives with IO.write(:stderr, message)" - I misunderstood this to mean we had to set up receive to look specifically on :stderr channel (instead of intention: any message, and report that to :stderr channel.)
  2. "then dies, it should return the pid of the new process." Does solution.ex actually do this part?

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.