These are chat archives for scala-js/scala-js/jobs

28th
Apr 2017
Shane Delmore
@ShaneDelmore
Apr 28 2017 02:04
Never been to the scala jobs room before but I just had a funny experience I thought might entertain a few people here. After my last trip to New York a company there reached out to me. I'm not looking right now but I like what they do so I figured why not talk to them. They talked to me like a human, seemed great all around, then after two people I get turned over to Recruiting who promptly says we want you to do a three hour coding interview on coderpad.io. Making an online IDE is hard, so I go in skeptical, but what the heck, let's see what it's about. Look at https://coderpad.io/languages#scala and see they support scala, but as a second class citizen. No code completion or anything like for c and java. But look, they have scalatest and a few libs built-in, great. Let's try their sample. Copy and paste the scalatext example into their window, select run.....
java.lang.NoSuchMethodError: org.scalactic.Tolerance.$init$(Lorg/scalacti
c/Tolerance;)V
    at Testable.<init>(Solution.scala:4)
    at Solution$.delayedEndpoint$Solution$1(Solution.scala:20)
    at Solution$delayedInit$body.apply(Solution.scala:19)
    at scala.Function0.apply$mcV$sp(Function0.scala:34)
    at scala.Function0.apply$mcV$sp$(Function0.scala:34)
    at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.sca
la:12)
    at scala.App.$anonfun$main$1$adapted(App.scala:76)
    at scala.collection.immutable.List.foreach(List.scala:378)
    at scala.App.main(App.scala:76)
    at scala.App.main$(App.scala:74)
    at Solution$.main(Solution.scala:19)
    at Solution.main(Solution.scala)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at scala.reflect.internal.util.ScalaClassLoader.$anonfun$run$2(ScalaC
lassLoader.scala:98)
    at scala.reflect.internal.util.ScalaClassLoader.asContext(ScalaClassL
oader.scala:32)
    at scala.reflect.internal.util.ScalaClassLoader.asContext$(ScalaClass
Loader.scala:30)
    at scala.reflect.internal.util.ScalaClassLoader$URLClassLoader.asCont
ext(ScalaClassLoader.scala:129)
    at scala.reflect.internal.util.ScalaClassLoader.run(ScalaClassLoader.
scala:98)
Why do companies do this? I'll never understand.
Marius B. Kotsbak
@mkotsbak
Apr 28 2017 08:09
@ShaneDelmore tell them to use https://scalafiddle.io/ :D It has code completion...
Otto Chrons
@ochrons
Apr 28 2017 08:54
and it also works ;)
Marius B. Kotsbak
@mkotsbak
Apr 28 2017 12:56
Yes, two important qualities. Or the new Scalacenter project. I don't remember what/where now.
Justin du Coeur, AKA Mark Waks
@jducoeur
Apr 28 2017 13:45
Scastie, although that's still in beta.
Marius B. Kotsbak
@mkotsbak
Apr 28 2017 15:50
@jducoeur That one runs the Scala code on the server, right?
Shane Delmore
@ShaneDelmore
Apr 28 2017 16:24
None of these solve their use case I'm sure, which is watching you work, but if you want to watch someone work, how about watching them in their actual environment via a screenshare?
Justin du Coeur, AKA Mark Waks
@jducoeur
Apr 28 2017 16:29
@mkotsbak I believe so, although I've never delved terribly deeply into the details.
Marius B. Kotsbak
@mkotsbak
Apr 28 2017 16:44
@ShaneDelmore sure that would be better