Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 16 05:35
    47erbot synchronize #994
  • Jun 16 05:35

    47erbot on cats-effect-3.1.1

    Update sbt-scoverage to 1.8.2 Update upickle to 1.4.0 Update github4s to 0.28.5 and 3 more (compare)

  • Jun 14 05:41

    47erbot on commons-io-2.10.0

    (compare)

  • Jun 14 05:41

    47erbot on main

    Update commons-io to 2.10.0 (compare)

  • Jun 14 05:41
    47erbot closed #1005
  • Jun 14 05:38
    github-actions[bot] labeled #1006
  • Jun 14 05:37
    github-actions[bot] labeled #1005
  • Jun 14 05:37
    47erbot opened #1006
  • Jun 14 05:37

    47erbot on sbt-1.5.4

    Update sbt to 1.5.4 (compare)

  • Jun 14 05:37
    47erbot opened #1005
  • Jun 14 05:37

    47erbot on commons-io-2.10.0

    Update commons-io to 2.10.0 (compare)

  • Jun 11 05:38

    47erbot on github4s-0.28.5

    (compare)

  • Jun 11 05:38

    47erbot on main

    Update github4s to 0.28.5 (compare)

  • Jun 11 05:38
    47erbot closed #1004
  • Jun 11 05:34
    github-actions[bot] labeled #1004
  • Jun 11 05:34
    47erbot opened #1004
  • Jun 11 05:34

    47erbot on github4s-0.28.5

    Update github4s to 0.28.5 (compare)

  • Jun 09 05:47

    47erbot on upickle-1.4.0

    (compare)

  • Jun 09 05:47

    47erbot on main

    Update upickle to 1.4.0 (compare)

  • Jun 09 05:47
    47erbot closed #1002
Shubhransh Jagota
@fireddd
@borosmihai39 this error is caused because it expects a string, even i faced this yesterday
johnny16233
@johnny16233
hi, i'm really confused with the last exercise about type classes and ow can i define an ordering to have insertionSort(rationals) shouldBe List(fourth, third, half)? i was able to get println(insertionSort(List(2,3,1))) to work
Davis Zanot
@dzanot
@johnny16233 the Rational data type contains both a numerator and denominator. For a hint, the impl of compareRationals will be very similar to an Int impl, using subtraction. Think about what you have to do to subtract two rational fractions with different denominators.
rrjohnson
@rrjohnson
On the page https://www.scala-exercises.org/monocle/traversal the function def filterKeyK, V: Traversal[Map[K, V], V] won't compile under latest versions of monocle (com.github.julien-truffaut::monocle-macro:2.0.3-2.12) / cats (org.typelevel::cats-core:2.3.0-2.12)/ alleycats (2.12-2.13.0).
Davis Zanot
@dzanot
thanks @rrjohnson I've made an issue to upgrade this here: scala-exercises/scala-exercises#929
Not sure when the team will be able to upgrade but it's on our radar!
Adam Bartosik
@codesurf42
Hi, I just tried to make few cleanings to monocle, but looks like it fails when I try sbt compile. I have raised an issue (scala-exercises/exercises-monocle#106) but similar error occurs when I have tried exercises-circe. It fails on Linux (ext4) and osx, jdk8 and 11... (adoptOpenJDK). Is it just me?
rakesh kumar
@rakesh-k
is it cheating to define curry in terms of partial1?
Charlie325
@Charlie325
As a Chinese beginner, i cannot perfectly understand the meaning of "evaluate"
prathm9
@prathm9

val value1 = maybeItWillReturnSomething(true)
val value2 = maybeItWillReturnSomething(false)

value1 getOrElse "No value" should be( _)
value2 getOrElse "No value" should be(_)
value2 getOrElse {
"default function"
} should be(__)

can any one help me with this
please explain all the possibilies of the output
value1 getOrElse "No value" should be( _)
Ryan Peters
@sloshy
@Charlie325 "evaluate" usually means "interpret and replace with the final value". So if you "evaluate" a function, you are running it
Charlie325
@Charlie325
@sloshy thanks a lot~
prathm9
@prathm9
yo hommies tell me the place where I can learn everything about bash programming
Denis
@Denis03842146_twitter
Hi! Does anyone know how to complete Cats exercises? The problem is that the last section https://www.scala-exercises.org/cats/Eval has all "Run" buttons disabled with red mouse cursor above. So I cannot complete the last section, and consequently the whole Cats exercises. I have tried to do that in 3 browsers (Chrome, Firefox, and Edge). Also, there is no way to enter anything. Here is example:
Denis
@Denis03842146_twitter
image.png
chillozawr
@chillozawr
Hello, does anyone know why "Run" buttons disabled with red cursor?
Dmitry Minenkov
@dmtryyy
You need to disable adblock to make Run button work. There should be a console message about it.
Denis
@Denis03842146_twitter
@dmtryyy , the Run button is disabled only for the last section in Cats exercises. There are 12 of them. The last one - Eval, is not working. All other sections are allow to enter data and click Run button. I've just checked in under other OS. So I've tried, 3 browsers in Windows, Chrome in Kubuntu and Chrome on my mobile phone. Behavior is the same everywhere. So it's not adblock. Btw, I don't have it installed, I just thought that Chrome itself can block some stuff. Also, look at the screen I have provided above. You will see that not only Run button is disabled, but in addition there is no way to enter anything - no white textbox which is available in other sections. There are no error messages in console. Here is what I have when loading eval section of cats exericeses:
image.png
image.png
ml10
@ml10
Note that integers will not be part of the StringBuilder, they are the values assigned to x, y, and z.
Also can you expalin the differences between vals lazy vals and defs as you understand them currently?
mariaunipi
@mariaunipi
Thanks, I solved. I understand that val is evaluated once it gets into execution scope, lazy val is evaluated once it gets accessed and def is evaluated every time it gets accessed
ml10
@ml10
:thumbsup:
Devendra Parhate
@devendraap
Why my quotes get converted from "" to “”? I am using iPad pro
DataFibers Admin
@datafibers
how to reset the exercise
hmahmoo
@hmahmoo
How to RUN
in Scala
Heena Bansal
@heenabansal
not able to run exercises
imn scala
*in scala
please help
ml10
@ml10
If you have trouble running the exercises make sure you don’t have any script or ad blockers active on the page.
Sasso
@sasso-effe
we
Simone Montali
@montali
oh la
finally
anyone else here for zavattaro
tette\huge{tette}
Can anyone tell me why?
hobovsky
@hobovsky
Your code is not valid. """ and "\" are not valid string literals.
Sasso
@sasso-effe
I wish everyone a nice day
Sasso
@sasso-effe
I've almost finished the course, i'll miss you guys...
Simone Montali
@montali
ma tralaltro che bella la bibliotecaria
Sasso
@sasso-effe
davvero
gatisnolv
@gatisnolv
People, the ssl cert on the site has been out of date for several days already.
Ujwal Jain
@ujwal-jain
Hey I'm getting a weird error: Evaluation failed : Evaluation failed : org.http4s.client.UnexpectedStatus: unexpected HTTP status: 503 Service Unavailable
I've tried resetting but nothing is working, has anyone had the same issue?