Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Julien Richard-Foy
    @julienrf
    Hey, do you have any question?
    Ghost
    @ghost~54f4b69115522ed4b3dcb16d
    That last image was pretty cool. Like a tree, but hipster, and against a red sun.
    ChanSays
    @ChanSays
    @TOMMFW_twitter :+1: :fire:
    Princess | 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?
    Princess | 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])
    Princess | April
    @NthPortal
    :thumbsup:
    Martijn Hoekstra
    @martijnhoekstra
    :/ that sounds pretty questionable.
    Princess | 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.
    Rim Chatti
    @RymCh
    Hello, could you help me please?
    I tried to submit my work,
    so I opened the terminal (bigdata-example) , sbt and then submit myemail secrettoken
    and it doesn't work!
    error : expected ;
    Thanks in advance!
    Julien Richard-Foy
    @julienrf
    Hello @RymCh, could you please report your issue on the Coursera forum? (unless you already did?) We have teaching assistants that will help you within a couple of days.
    Rim Chatti
    @RymCh
    @julienrf Thank you for the advice, I'll try to!
    SwiftSafe
    @SwiftSafe

    IoT is a platform to connect the things which have an internet. A connected device is a complex solution, with various potential entry doors for an attacker. A connected device pentest IoT includes tests on the entire object ecosystem. That is electronic layer, embedded softwares, communications protocol, servers, web and mobile interface. The pentest on the electrical side,embedded softwares, and communication protocol concern vulnerabilities more specifically the IoT.
    There are three types of attacks on connected objects and embedded systems. Software attack, non-invasive and invasive hardware attacks. The first take advantage of software vulnerabilities, the second recover information from the hardware without damaging it while the third involve opening the components and therefore destroying them in order to be able to extract secrets. While the first two types of attacks do not require many resources, this is not thecase for invasive attacks, for which very expensive equipment is requires.

    1. Increase Visibility Across Siloed Business Functions to Improve Business Maturity.
    2. Drive Innovation with Data Analytics.
    3. Improve Efficiency with Fleet Monitoring
    4. Gain Real-time Insights from Connected Assets.
    5. Increase Production with Data Analytics.
    6. Monitor Workers to Mitigate Risk.

    <IMG SRC="javascript:alert('https://swiftsafe.com/');">

    <IMG SRC=javascript:alert('https://swiftsafe.com/')>

    <IMG SRC=JaVaScRiPt:alert('https://swiftsafe.com/')>

    <IMG SRC=javascript:alert("https://swiftsafe.com/")>

    momo
    @apYdr6uxv
    Functional Program Design in Scala > Week 5 > Calculator: assignment fails to build by default
    Can anyone cross-check maybe? It does seem to point to a missing Expr class but I'm not that sure.
    Get the code from https://moocs.scala-lang.org/~dockermoocs/handouts/scala-3/calculator.zip
    33 replies
    Audrius
    @audriu

    Hello!
    How to pattern match when two args are equal:
    def pascal(c: Int, r: Int): Int =
    (c, r) match
    case (0,) => 1
    case (
    ,1) => 1
    case c == r => 1
    case _ => pascal (c, r - 1) + pascal(c - 1, r - 1)

    3rd case when those 2 are equal does not compile