Stream

Join this community to post or comment

Stavros Skamagkis

Articles, Podcasts, Talks  - 
13
2
Brendon Williams's profile photoCraig Cruden's profile photobruno da silva's profile photoJosh Lynn's profile photo
2 comments
 
Any niche language (which pretty much is all languages except C++,C,Obj-C, and Java) could have been used in a cartoon like this, but unlike Haskell - you cannot say that Scala guarantees no side effects.... (only if you program with it in a purely functional paradigm).  Good humour like this is made possible by taking a modicum of reality and stating it in a new light. Nothing to get defensive about.
Add a comment...

Martijn Verburg

Articles, Podcasts, Talks  - 
 
Hi all, here's a post on why we spent almost 2 years building Illuminate for the #jvm  (including #scala  ) what we think is the future of APM :-) - http://www.jclarity.com/2015/02/24/why-we-built-illuminate-where-apm-is-going-next/
3
1
Phillip Wittrock's profile photo
Add a comment...

Darren Sharp

Misc. Dialog & Discussion  - 
 
WANTED: Scala Developer/Architect (Java, Elastic Search, MongoDB) - £50k-£60k - Central London

Are you a Scala Developer/Architect (Java, Elastic Search, MongoDB)?

I have a great opportunity to join a leading Global technology company based in London. You'll help develop new features for their next generation/cutting-edge application.

You'll have:
- 3 yrs (min) commercial experience in the Java/Scala ecosystem
- be able to demonstrate excellent knowledge of the Scala language
- have strong knowledge of MongoDB/Elastic Search
- knowledge of implementing message based architectures - JMS/Active MQ
- ability to mentor/lead jnr developers

Contact Kevin on 01604 201030 or kevin@s-sa.co.uk

For more information, check out our website - http://www.s-sa.co.uk/job/scala-developerarchitect-java-elastic-search-mid-senior

Or why not FOLLOW Stafford-Sharp Associates on LinkedIn and keep up-to-date with all new job opportunities - http://linkd.in/1tWNl0j
5
4
Zsolt Donca's profile photoSlim Ouertani's profile photoMarino Borra's profile photoHui Li's profile photo
4 comments
 
+Darren Sharp I wouldn't like entering a discussion about expectations and negotiations here, but I'll tell you that last year I turned down an offer of £50k for a role of Senior Java (not Scala) Developer (not Architect) in Central London. And, according to the upvotes of my first comment, it seems that a few people have a similar opinion.
I understand that you are guided by clients' budget, that's why I was asking about the salary levels in London. If this reflects a general tendency, we shouldn't be surprised that London has lost its leadership as European tech hub.
Add a comment...
 
Hi All! 

Skills Matter is giving away 2 tickets to Scala Days 2015! Simply share the tweet at the bottom of this page to enter: https://skillsmatter.com/conferences/7059-scala-days-2015-san-francisco

We'll announce the winner this Friday! 

Good luck! 

#scala   #functionalprogramming  
1
Add a comment...
 
Hi all. Is there an easy way to return case class from slick database query instead for tuples? I have seen the documentation but unfortunately could not do that with auto generated schema.
1
Michael Bondar's profile photoKabir Idris's profile photo
5 comments
 
I just  realized that the database table columns where > 22 , so slick codegen generated a HList and scala class instead of a tuple and a case class for the table in question. I found the solution here.
 http://stackoverflow.com/questions/28305023/custom-mapping-to-nested-case-class-structure-in-slick-more-than-22-columns
+Michael Bondar  Thanks a lot
Add a comment...
 
Scala Days SF 2015, March 16-18th at Fort Mason Center
Great program planned for Scala Days San Francisco in March.  The event is about a month away, sign up soon as tickets are selling fast.  http://bit.ly/175BW76
4
1
Edward Knyshov's profile photo
Add a comment...
 
[Spanish] Introducción a Teoría de Categorías para programadores: en streaming, hoy a las 19:30 CET. Organizado por ScalaMAD.
 ·  Translate
1
Add a comment...

Sergey Scherbina

Web App. Development  - 
 
finch - Purely Functional HTTP Microservices on top of Finagle
7
2
Fede Garcia Ronca's profile photoEdward Knyshov's profile photo
Add a comment...

Brendon Williams

Misc. Dialog & Discussion  - 
 
Review

I needed a function to strip non-alphanumeric and non-space characters from a String, so I wrote up:

def stripSymbols: String = str.foldLeft("") { (acc,c) =>
    if (c.isLetterOrDigit || c.isSpaceChar) acc ++ s"$c"
    else acc
}

(where str = a String being implicitly worked on) 

The part that bugs me is the (acc ++ s"$c") bit; it's just ugly. What's a cleaner way of achieving this?

Thank you
1
Craig Cruden's profile photoBruce Richardson's profile photo
12 comments
 
Repeated concatenations of an immutable list as an accumulator is very inefficient.  All the data in the accumulator is copied every time.  Think about it.  Just using filter is almost certainly going to be more efficient than anything complex you write, but if you want to do a left fold over a list, building a new list which preserves order, you need to do it with accumulated functions, not an accumulated list.  Read the "Taking advantage of data as functions" section from this chapter of "Real World Haskell": http://book.realworldhaskell.org/read/data-structures.html.   If, at the end of it, you understand how difference lists work, you really will have learned something important.

Folds beat naive recursion, yes, but only if you use them intelligently.
Add a comment...

Sebastian Nozzi
moderator

Core Language  - 
 
Is there a functional/Scala way to call a function repeatedly until it succeeds, while reacting to failed attempts ...?

Illustration example with trying to get an Int from the console.
1
Add a comment...

About this community

A Google+ community for articles and discussions related to the Scala programming language. (picture (c) Miles Sabin) Posts and conduct should follow the Scala Code of Conduct - http://docs.scala-lang.org/conduct.html This includes: no job postings.
World Wide

John Matthews

Articles, Podcasts, Talks  - 
 
https://www.coursera.org/course/reactive  

New session of Principles of Reactive Programming from EPFL starting April 15. 
Take free online classes from 115+ top universities and educational organizations. We partner with schools like Stanford, Yale, Princeton, and others to offer courses in dozens of topics, from computer science to teaching and beyond. Whether you are pursuing a passion or looking to advance your career, Coursera provides open, free education for everyone.
25
4
Jan Friderici's profile photoMichael Bolz's profile photo
Add a comment...

Robert Thorpe

Misc. Dialog & Discussion  - 
 
Lots and lots of Scala resources :)

https://scala.zeef.com/ivano.pagano
6
1
Pashh PGH's profile photo
Add a comment...

Sebastian Nozzi
moderator

Articles, Podcasts, Talks  - 
 
"In this post I want to explore the design space for error handling techniques in Scala."
Designing Fail-Fast Error Handling. Share on Twitter. Posted: 23 Feb 2015; by: Noel Welsh. In this post I want to explore the design space for error handling techniques in Scala. We previously posted about some basic techniques for error handling in Scala. That post generated quite a bit of ...
6
Add a comment...

Juan Pedro Moreno

Articles, Podcasts, Talks  - 
 
Check out my latest post on the 47 Degrees blog: Scala Macros - Annotate your case classes http://www.47deg.com/blog/scala-macros-annotate-your-case-classes
How Scala macros can help us generate, analyze and check the code that we develop...at compile time.
12
Add a comment...

Simeon Fitch
owner

Core Language  - 
 
I predict this will be huge for Spark adoption. Very exciting announcement. 
12
2
Jan Aerts's profile photoRaffaella Ventaglio's profile photo
Add a comment...

Sebastian Nozzi
moderator

SBT & Build Related  - 
 
Executable Scala documentation / tutorials

Found this cool project today:

"""tut is a very simple documentation tool for Scala programs that reads Markdown files and interprets code in tut sheds.

So you add tut as an sbt plugin and then you can write tutorials that are typechecked and run as part of your build.

The idea is to have tutorial code that is never out of sync with the code it's documenting."""

(Emphasis mine)

Just think about it, your README would always be up-to-date. I would put my introductory examples and trigger acceptance tests from there...

- - - - - - 

Also, somehow related, check this other sbt-plugin out:

https://github.com/tkawachi/sbt-doctest

It generates property-based tests from comments as part of the build-process.
10
2
Sebastian Nozzi's profile photoNaftoli Gugenheim's profile photoAndreas Flierl's profile photoNoel Yap's profile photo
3 comments
 
+Sebastian Nozzi I suppose, but IIUC it has a similar purpose to tut and abt-doctest
Add a comment...

Christian Kaps

Web App. Development  - 
 
After 7 months of work, I'm pleased to announce the first release candidate of Silhouette 2.0 for Play 2.3. If no bug was found in the next two weeks, then this version will be released as the final stable 2.0 version of Silhouette. The major changes in this new version are: ...
2
Add a comment...

Ivano Pagano

Misc. Dialog & Discussion  - 
 
My comprehensive web reference list to all things scala

https://scala.zeef.com/ivano.pagano
16
6
Gonzalo Ferreyra Jofré's profile photoUlrich Winter's profile photoFrank M's profile photoDominik Winter's profile photo
5 comments
 
I'll gladly welcome anyone's suggestion
Add a comment...

Giampaolo Trapasso

Articles, Podcasts, Talks  - 
 
Scala Needs YOU!

Dick Wall is on a mission to make positive changes to the Scala language and notes "pretty much everything in the community contributions side of things hasn't been a target for a long time."

So, he's out to change that. This talk from NE Scala outlines his ideas on how to make contributing easier, more fun, and a generally better experience. He's figuring out what need's fixing and starting with: documentation, bug fixing, tools, core libraries, and compiler features.
12
1
James Litsios's profile photoKonrad Malawski's profile photo
 
Are there other languages, with similar dynamics as Scala between "owners" (e.g. Typesafe) and community development?
Add a comment...