Scala Coding Dojo

  • December 4, 2013 · 6:00 PM

A coding dojo is a meeting where a bunch of coders get together and work on a code kata, a programming challenge to improve their skills. They code, learn and have fun away from interruptions, distractions, deadlines and production bugs. A coding dojo provides a safe environment to discuss topics like design, functional programming, testing, refactoring, choice of code editors, tools, etc.

The kata will be announced at the beginning of the dojo.

Requisites

Bring your own laptop with a Scala IDE (Eclipse, IntelliJ, etc.) already installed and configured.

Have SBT[masked] installed on your machine (0.12.x also works, but you need to edit the plugins.sbt file - see comments below).

Quickstart

Follow the instructions given here:

https://github.com/scala-vienna/wordguess-client

Program

We'll be working in pairs. Pairs will be formed at random, pairing together experts and beginners.

All pairs will work on the same problem (to be disclosed in the Dojo). But the goal is not to finish, but to learn and have fun while doing it.

At least 30 minutes before the end of the Dojo, we'll discuss our different solution approaches together. You can then present cool aspects of the language you used or discovered, ask questions, etc.

Join or login to comment.

  • Rafael C.

    BTW, we made a video of the Distributed Hangman in action!
    http://www.youtube.com/watch?v=PUIrPwyIJNE

    2 · December 18, 2013

    • Nikolay K.

      Nice! It would be great to make a challenge again :)

      December 18, 2013

  • Christian P.

    Thanks Sebastian for organizing this! Had a lot of fun implementing the Distributed Hangman (and I like how that sounds)

    2 · December 4, 2013

    • Sebastian N.

      @Nikolay: very nice code! I also didn't know you can do ranges with Chars!

      December 6, 2013

    • Nikolay K.

      Me too! I've just discovered it when I did some refactoring after dojo :)

      1 · December 6, 2013

  • Lukasz R.

    What do you think about encoding these probablisistic solutions as a genetic algorithm. were genom consists of letter frequencies, fitness function evaluates number of guessed words using assumed genom, and recombination - kind of sum of frequencies (normalized). I don't know - it's just a kind of idea to go into genetic algorithms world, before next akka workshops ;)

    December 6, 2013

  • Sebastian N.

    In case you still want to solve this challenge at home, here is the *server* implementation. Remember to use the "wordguess" branch.

    https://github.com/clashcode/clashcode-wordguess/tree/wordguess

    Also remember to change the settings accordingly. If you are running only locally, you can leave the IPs at[masked] - Have fun!

    3 · December 5, 2013

    • Sebastian N.

      @Eduard Lukschandl: Good point, didn't think of that.

      December 6, 2013

    • Lukasz R.

      Just for fun... letters frequencies in English together with bigrams, trigrams,.. ;) http://www3.nd.edu/~b...­

      1 · December 6, 2013

  • Eduard L.

    Excellent. Learned a lot.

    1 · December 5, 2013

    • Eduard L.

      Thank you. I think my main problem is unfamiliarity with the tools Git, Eclipse, sbt. Have to practize that in order to start with the real coding.

      1 · December 6, 2013

    • Sebastian N.

      I see. Feel free to post to our mailing-list if you have any questions.

      December 6, 2013

  • Andreas E.

    That was a great experience and a good example for collaboration. Thank you very much, Sebastian, for putting all that time and effort into preparing this session.

    1 · December 5, 2013

  • Nikolay K.

    Exciting! That was really cool to solve the exercise. Thanks organizers!

    2 · December 4, 2013

  • Sebastian N.

    For a quick start follow the instructions given here:

    https://github.com/scala-vienna/wordguess-client

    We'll use this project to work on. Make sure you can compile it and open it in your IDE.

    I'll provide the server and connection details in the dojo.

    3 · December 3, 2013

  • Sebastian N.

    SBT[masked] also works, but you'll have to edit the project/plugins.sbt file and change the versions of the assembly and eclipse plugins:

    - eclipse plugin, use: 2.2.0
    - assembly plugin, use: 0.9.2

    December 3, 2013

    • Radim P.

      Do I need Scala IDE or what you are going to use?

      December 3, 2013

    • Sebastian N.

      No. You might want to use *any* Scala IDE not *the* Scala IDE. If your development environment is Eclipse, Idea, vim or punchcards it really does not matter.

      1 · December 3, 2013

  • Sebastian N.

    Following the great success of the Christian's last Akka workshop, this Dojo will also involve Akka. We'll be using it for implementing the client part of a client/server game. In contrast to the Akka workshop, we won't be competing with each other...
    More details to be disclosed soon ;-)

    Don't worry if you have no prior Akka experience, as the foundations will already be laid for you.

    Enormous thanks to Christian Papauschek, who is helping me implement this...

    3 · December 1, 2013

    • Sebastian N.

      I just published some notes on tomorrow's program

      December 3, 2013

    • Christian P.

      Looking forward to it :-)

      1 · December 3, 2013

  • Sebastian N.

    Hello people, just to get a feeling...
    who of you is new to Scala?

    November 25, 2013

    • A former member
      A former member

      I've been learning it for < 1 month. Basics are covered however :-)

      November 28, 2013

    • Sebastian N.

      Beginners will be paired to experts, so don't worry

      December 3, 2013

  • Lukasz R.

    Great!

    1 · December 1, 2013

  • Manuel B.

    Have fun! Won't be able to make it, I'll be on my way back from Java2Days

    2 · November 26, 2013

Our Sponsors

People in this
Meetup are also in:

Create your own Meetup Group

Get started Learn more
Bill

I started the group because there wasn't any other type of group like this. I've met some great folks in the group who have become close friends and have also met some amazing business owners.

Bill, started New York City Gay Craft Beer Lovers

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy