by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Martijn Hoekstra
    @martijnhoekstra
    it's unedited from the downloaded version
    I chose a bad time for a synchronous channel, I don't have my assignment here :/
    George Zhang
    @odysseus0
    Anyone who used homebrew to install Scala? I cannot find Scala SDK with Intellij
    Han van Venrooij
    @irundaia
    I've used homebrew to install scala. But I think IntelliJ downloads its own version of the SDK
    Anton Yalyshev
    @yalishevant
    @TaoOfCoding if you install Scala via homebrew, default path of SDK for IntelliJ should be like [/usr/local/Cellar/scala/2./idea]. The finder won't show directories like /usr etc. A workaround is to temporarily add this folder to the shortcuts sidebar in Finder (open a terminal and run: open /usr/local/Cellar/scala. This will open a finder and show the idea directory. You can drag this to the shortcut sidebar.).
    In IntelliJ go to Project Structure -> Global Libraries -> New GL (plus sign) -> Scala SDK -> Browse -> choose [/usr/local/Cellar/scala/2./idea]. This way works for me. But usually I use SDK that IntelliJ proposes to download.
    daemoz
    @JeremyCooper
    @TaoOfCoding You can also Apple-Shift-G to type a folder to navigate to.
    Charles Mims
    @charlesmims
    Hello - First post! I'm on week3 of Functional Programming in Scala, and having a hard time trying to follow along in the videos using IntelliJ. I can't figure out how to get Rational.scala and scratch.sc set up so that I can use package week3 and import week3._. In Rational.scala I have no warnings, but in scratch.sc I get a warning that "Package names doesn't correspond to directory structure." My project is setup like this: progfun/src/main/scala/week3 where week3 is a Package in IntelliJ, and Rational.scala and scratch.sc are Scala Class and Scala Worksheet, respectively. Has anyone here run the examples from the lectures in week3 in IntelliJ can help me get this working?
    Martijn Hoekstra
    @martijnhoekstra
    maybe give it a try on the coursera forums if you don't get anything useful here @charlesmims - I'm not an IntelliJ user myself, so I can't help you out, but I don't see anyone else stepping up (yet?) either
    Igor Ramazanov
    @igor-ramazanov
    Just now ended Scala Specialization, it was really awesome!
    It took about 1 year for passing all courses parallel with working and studying at university.
    When I started this specialization I didn’t know much anything about Scala and now I’m working remotely on a very good job as Scala Developer.
    I want to say 'thank you' for your work: @heathermiller @julienrf and all EPFL Scala team, thanks!
    Julien Richard-Foy
    @julienrf
    Thanks for your kind words :)
    vonny
    @egorushkin
    Sorry for the question, I'm new to the coursera, I can not figure out how to send my homework (it's written run the script sending the work from the download package), which script to run? I will be grateful for the help
    Jimin Hsieh
    @jiminhsieh
    @egorushkin Into sbt interactive mode. Then
    sbt shell > submit xxx@email.com your-secret
    vonny
    @egorushkin
    @jiminhsieh Thank you so much
    Anthony Louis Burns, Esq.
    @anthonylouisburns
    have been workign on finishing the capstone project all weekend
    am getting odd results from grader
    and no activity on forum
    Julien Richard-Foy
    @julienrf
    Hi, we will answer on the forum!
    Maxime Kjaer
    @MaximeKjaer
    Hi @anthonylouisburns, I've replied on the forum, but feel free to write to me here too if you need any help
    Tom-Michael
    @TOMMFW_twitter

    Hi everyone,

    If you're on the search for your new Scala gig, check out Functional Works for some of the greatest Scala opportunities around the world!

    Check it out - https://goo.gl/HxigLe

    Thanks, TM

    tchakap9
    @tchakap9
    hi everybody i'm searching how to plot a graph in scala. I have tried the plotly api but i get an error ( Exception in thread "main" java.lang.NoClassDefFoundError: org/json4s/JsonAST$JValue).
    ChanForPres
    @ChanForPres
    channel still active?
    Julien Richard-Foy
    @julienrf
    Hey, do you have any question?
    som-snytt
    @som-snytt
    That last image was pretty cool. Like a tree, but hipster, and against a red sun.
    ChanForPres
    @ChanForPres
    @TOMMFW_twitter :+1: :fire:
    Nth/April
    @NthPortal
    I believe I have found a problem with the assignment for Week 2 of the Functional Programming Principles in Scala course on Coursera. who do I talk to about this?
    Julien Richard-Foy
    @julienrf
    Me :)
    What’s the problem?
    Nth/April
    @NthPortal

    it asks you to implement:

      /**
       * Returns a set transformed by applying `f` to each element of `s`.
       */
      def map(s: FunSet, f: Int => Int): FunSet

    however, you cannot actually correctly implement such a set using f. you need the inverse of f (which may not even exist, e.g. for _ / 2). you can hack it together by iterating over some subset of the domain, as is done with forall and exists, but that is not a completely correct solution/implementation, and also should be documented as needing to use the upper and lower bounds if you need to do so

    Julien Richard-Foy
    @julienrf
    You are right.
    We should document that an incomplete implementation is fine (ie, works only for values within [-1000, +1000])
    Nth/April
    @NthPortal
    :thumbsup:
    Martijn Hoekstra
    @martijnhoekstra
    :/ that sounds pretty questionable.
    Nth/April
    @NthPortal
    it's what's used for forall and exists, so it's at least not new in that respect
    Julien Richard-Foy
    @julienrf
    Actually, the goal is to implement map in terms of forall or exists, but this wasn’t clearly specified in the instructions
    J.
    @0x99_gitlab
    @julienrf Hi, it seems that it is not possible to download the handouts from http://alaska.epfl.ch/~dockermoocs/handouts-coursera-2.13
    Julien Richard-Foy
    @julienrf
    Hello, can you give me the URL of the coursera page that contains this link?
    It is the Reductions and Prefix Sums assignment on Week 2 for the Parallel Programming course
    Julien Richard-Foy
    @julienrf
    Thanks. Indeed, the links are dead.
    I’m looking at it.
    Julien Richard-Foy
    @julienrf
    @0x99_gitlab The problem should be fixed now, thanks to our awesome sysadmin!
    Can you confirm that this is the case?
    J.
    @0x99_gitlab
    It works, yes. Thanks a lot for the quick response.
    Jimin Hsieh
    @jiminhsieh
    When do we see the new version of Functional Program Design?
    I saw the announcement at twitter. The thing is I did see the new version of the syllabus. However, I didn’t see any change when I opened that course. I still saw the old version. BTW, I’m the one already finished the course. Thanks.
    Screen Shot 2020-03-17 at 12.51.44 PM.png
    Julien Richard-Foy
    @julienrf
    Hello @jiminhsieh! Since you already finished the course, you need to explicitly ask to “switch session” to jump to the latest session. Let me know if that doesn’t work.
    Jimin Hsieh
    @jiminhsieh
    Screen Shot 2020-03-17 at 16.43.34.png

    @julienrf Do you mean this page? If yes, I will try it later.

    Another question is does the courses updated to https://courseware.epfl.ch/. Thanks

    Julien Richard-Foy
    @julienrf
    Yes, this page. No, the courses on courseware.epfl.ch will be terminated soon.
    Jimin Hsieh
    @jiminhsieh
    Got it. Thanks for the answer.