addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Scala Day - Hacking with Kal

  • Dec 15, 2012 · 9:00 AM

For the final ( and some may rightly say, almost the first ) main JUG related event of 2012 Kalman Bekesi is going to run a Scala Lounge/HackDay on the 15th - 9am to 3pm in Movio offices ( above Squid Row on Symonds St).

Depending what people are interested in we could look at:

  • Scala overview, implicits, traits, pattern matching, collections etc
  • Adding scala to existing projects
  • ScalaTest
  • Port and existing app/lib as an exercise
  • Pimp my library - add to existing libs
  • Akka - actor concurrency
  • mvn and or sbt
  • New 2.10 features, value classes, reflection, dynamic types, macros, etc

Note: This is a hands on coding day. Remember to bring your own laptops suitable for Java/Scala development.

 

Join or login to comment.

  • David (.

    I'm moving to NZ in April, and looking for senior Java server engineer positions in Dunedin or Auckland. I'd like to talk with someone privately about good work environments.

    September 9, 2013

    • Kalman

      Hi David, ping me a note kalman a.t. movio dot co

      September 10, 2013

  • Dennis S.

    I completed the Akka project I started on Saturday, but ran into some issues. When connecting actors and routers, relative paths (with '..' components) don't seem to work at all. You can get it from https://github.com/dsosnoski/akka-email

    If anyone wants to give it a try, the EmailFlow class in AkkaEmail.scala has absolute paths in use and relative paths commented out. But note that switching back and forth between the two forms of the code doesn't always appear to work - it looks like there are some sort of caching issues, even if I do a "clean". It's even messier with the code changes when I try running it inside Eclipse - it looks like it keeps all the old versions of the App classes around, causing lots of confusion..

    Anyone else notice these sorts of things? Or have any suggestions?

    December 18, 2012

    • Dennis S.

      The Props function is defined "def apply(creator: ⇒ Actor): Props = default.withCreator(crea­tor)", so the creator parameter is lazy evaluated to get an Actor. I think the lazy evaluation is key here, so that each time a new Actor is needed the parameter is re-evaluated. If the parameter happens to be a constructor with parameters, that's what gets evaluated each time. That's my understanding of it, anyway.

      December 21, 2012

    • Dennis S.

      Wrong terminology. I should say that creator is a call-by-name parameter. This rest is correct, though - each time the parameter is used whatever it is bound to is evaluated.

      December 21, 2012

  • Rick M.

    A good day - thanks to Michael I learned lots of things about akka.

    December 17, 2012

  • Am L.

    Really valuable time spent with Akka, and several good people. Pairing with Oliver went very well (despite Eclipse issues). I really hope there's more to follow

    December 16, 2012

  • Laetitia R.

    Great day (went so fast!). Thanks Movio for the event

    December 16, 2012

  • Mark D.

    Yesterday I mentioned that Rod Johnson ( creator of Spring ) recently appeared on podcast talking about Scala and his move to TypeSafe, with some interesting level-headed comments, at the time I blanked on the podcast but it was the Chariot Tech podcast at http://techcast.chariotsolutions.com/tech-cast-75-interview-with-rod-johnson-part-2-we-discuss-the-scala-language

    December 16, 2012

  • warwick m.

    learning is nice way to spend a saturday. great bunch of folks. big ups to kal and movio for facilitating the...function...and the pizza

    2 · December 16, 2012

  • Mark D.

    The day was fun, good to learn some new tech with others around to bounce ideas off. Look forward to trying out Akka in some more real world type projects.

    1 · December 15, 2012

  • Ram V.

    Thanks Movio for hosting the event. Looks like my next side project will use Scala - Akka. Interesting concepts - still not convinced on the null part though.

    1 · December 15, 2012

  • Dennis S.

    This was an excellent opportunity for Scala developers of all levels to learn and work together. I'm hoping we can do more Scala events in the new year.

    December 15, 2012

  • Kalman

    Hi all, as Mark mentioned, try to get things setup. FYI, I'm running Eclipse Juno Classic with http://download.scala-ide.org/nightly-update-juno-master-2.10.x

    I'll try to publish an example app tonight so that you can setup prior.

    1 · December 13, 2012

    • Ivan

      Thanks guys. By the way it would be great if someone can tell about generics in scala, runtime generics in scala 2.10, continuations and monads. Also are we going to try Play framework? Do you recommend install it for tomorrow? See you all.

      December 14, 2012

    • Kalman

      I won't be able to help will all of that but that's what the day is about, hacking it up. Sure install Play, get it running etc.

      December 14, 2012

  • Kalman

    Sorry for all the email, some logistics, Movio are putting on Pizza for lunch. If you need your daily coffee hit, there's a coffee shop open directly across Symonds St.

    See you all at 9 tomorrow.

    December 14, 2012

  • Kalman

    Also here's a java app with good test coverage that we can port to scala as an exercise - https://github.com/kalmanb/Bowling-Game-Kata

    December 14, 2012

  • Kalman

    Hi all, here's a starter project. Instructions included. https://github.com/kalmanb/scala-hacking

    December 14, 2012

  • Mark D.

    Given the number of people attending this weekend, I think it would be a good reminder to try and have a suitable development environment setup on your laptops prior to arriving on Saturday morning just to make things easier.

    I'm sure we can help anyone out who doesn't already have anything setup, but if possible - it might make things smoother.

    For OSX users who also use Homebrew, you can easily "brew install scala" and "brew install sbt" to get started and I'm sure there'll be something similar for Linux distributions.

    For a quick and simply IDE setup, you can also download the Scala IDE ( Eclipse based ) from http://typesafe.com/stack/scala_ide_download for Windows, OSX, and Linux.

    1 · December 13, 2012

  • warwick m.

    I am wondering what level this will be aimed at? It seems looking at the threads there is a range of experience. Personally, I'm a complete Scala newb and am looking forward to to learning more but I am afraid of holding back those who want to get into more advanced features...

    December 7, 2012

    • warwick m.

      @Kal Thanks, sounds great

      December 7, 2012

    • warwick m.

      @Awinash +1

      December 7, 2012

  • Mark D.

    For those wanting a bit of a head-start, I see that the Scala Exchange 2012 conference videos are now online at http://skillsmatter.com/event/scala/scala-exchange-2012

    December 5, 2012

  • Am L.

    Do you know if there'll be any Play2 content or even any interest?
    There's only a small chance I can make it but it'd be good to know. Ta

    December 3, 2012

    • Mark D.

      I'm using Play2/Scala for my http://gotohal.net­ site, small and simple but enough that we could walk thru something.

      December 3, 2012

    • Am L.

      Fantastic, Mark. I have clearance to skip 'family duties', so I'll be there. No pressure, but it'd be nice to talk about it anyway. I'll resurrect my play2/scala experiment this week, so I can have my Scala hat on in time for Saturday. Sweet as, see you then

      December 4, 2012

  • Rick M.

    What's your experience with the compactness of Scala code? I've seen measures of 4x to 10x more compact than Java.

    December 1, 2012

    • Rick M.

      I took a 58 KLOC Java program I've written and found it creates a jar with 23.56 KB/KLOC. For a large Scala (1.9) program the jar was[masked] KB/LOC. So that's a 6x difference at the byte-code level. However, Scala puts some reflection info in class files, but I don't know how significant that is.

      December 1, 2012

    • Kalman

      Ours is probably lower than that, depending on how function we get. I'd say when we're direct porting it would be between 2x and 4x.

      December 1, 2012

  • warwick m.

    Hi all. Just moved to Akl. Look forward to meeting you all. Warwick

    November 30, 2012

  • Dennis S.

    I'd love to do something interesting with Akka for the day.

    November 29, 2012

    • Rick M.

      Have not used Akka, but am especially interested in remote actors and the differences in actors, stm from standard Scala.

      November 30, 2012

    • Mark D.

      Also keen on checking out Akka and remote/distributed/coord­inated actors.

      November 30, 2012

  • Mark D.

    So how many people attending have used Scala in the past? Personally I've only done a small amount ( the first half of the recent Coursera FP course and some dabbling ) but certainly havn't gone too deep yet.

    Looking forward to the hackfest...

    November 29, 2012

    • Dennis S.

      Whoops, meant to add more... One of my major concerns is understanding the performance implications of recursion (both tail and non) and other aspects of programming in Scala.

      November 29, 2012

    • Kalman

      As Michael mentioned we've been using it for a few months. We've moved about 50% of our old code base from Java to scala and all new work is scala. Starting to explore the more functional aspects, esp after completing the Coursera course.

      November 29, 2012

Our Sponsors

  • Dynatrace

    Dynatrace have agreed to sponsor us for food and drink!

People in this
Meetup are also in:

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