Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 23 2021 09:24
    @sjrd banned @yensaoxuan_twitter
  • Apr 18 2021 19:06
    @sjrd banned @Amitgup48798297_twitter
  • Mar 29 2021 07:47
    @sjrd banned @quangs
  • Jan 23 2021 06:34
    @sjrd banned @Rebeka58_gitlab
  • Jun 08 2020 20:43
    @sjrd banned @sw7240614
  • Sep 29 2019 08:35
    @sjrd banned @8bitpitRBX_twitter
  • May 23 2019 13:44
    @sjrd banned @BIGCRYPTO001_gitlab
  • May 01 2019 14:31
    @sjrd banned @Certificates1_gitlab
  • Apr 22 2019 15:31
    @sjrd banned @lerbatax
  • Jan 31 2019 23:04
    sjrd commented #3555
  • Jan 31 2019 22:56
    sjrd review_requested #3555
  • Jan 31 2019 22:56
    sjrd opened #3555
  • Jan 31 2019 21:06

    sjrd on 0.6.x

    Remove dead code: specific coll… Adapt the signature of `js.Arra… Merge pull request #3554 from s… (compare)

  • Jan 31 2019 21:06
    sjrd closed #3554
  • Jan 31 2019 20:54
    erikvanoosten commented #2665
  • Jan 31 2019 16:33
    sjrd commented #3538
  • Jan 31 2019 15:54

    sjrd on master

    Fix analyzer cycle detection to… Add toString methods to analyze… Do not provide linked ClassInfo… and 1 more (compare)

  • Jan 31 2019 15:54
    sjrd closed #3552
  • Jan 31 2019 15:54

    sjrd on master

    Remove Logger.success It is un… Make level helpers final Clean-up ScalaConsoleLogger cod… and 1 more (compare)

  • Jan 31 2019 15:54
    sjrd closed #3553
jhegedus42
@jhegedus42
so far this was only possible with haskell, but now there is monix in scala, react, scalajs-react, which is quite a nice combo ... i dont quite get why outwatch is not just building on react, like you do... or just uses scalajs-react... a few lines of code, and the main concepts from the sodium book will give you outwatch + understanding... i mean, you actually make your own outwatch... and it takes you a few lines of code ... wrapping scalajs-react components into behaviours, as it is described in the sodium book
@aappddeevv interesting, so you basically put your focus onto using existing react components ?
yeah... scalajs-react is a heavy stuff.... it lets you do a lot of things... but it has some learning curve... but as you wrote... its difficult to mess it up once you learn it... and wrapping existing react components should be nowadays pretty easy too... in the newest scalajs-react ...
aappddeevv
@aappddeevv
I think binding.scala was doing the frp thing consistently. Existing, yes, as much as possible. That way I can focus on the 1 or 2 things visually that makes a difference e.g. some visualizations. The only problem with all the other approaches for my tasks is that I half to rewrte a lot of components again and I don’t have time for that.
jhegedus42
@jhegedus42
@aappddeevv like stuff that does not use react, right ?
aappddeevv
@aappddeevv
Right.
jhegedus42
@jhegedus42
binding, yes, outwatch yes, they use FRP, but they are not running on react
thats the problem, you loose the react ecosystem
aappddeevv
@aappddeevv
That’s why I’ll reuse a JS lib for routing if it’s good enough although not perfectly pure, etc.
jhegedus42
@jhegedus42
well
for routing.
the switch thing in sodium might be the solution... thats quite a magical thing
aappddeevv
@aappddeevv
Will look.
jhegedus42
@jhegedus42
and there is switch in monix too
so if you are not yet using switch
you might like it ...
thats the whole point in FRP ... switch.... without switch, FRP is not really FRP....
if you like purity ... and are in early stages of your lib development...
but i recommend reading the sodium book itself
Eric K Richardson
@ekrich
Reference to the Sodium book?
jhegedus42
@jhegedus42
wait a sec
btw
i just got sodium working on scala.js
image.png
at least this test passes
@ekrich ^
here are the links to all resources
i also posted this to the sodium forum, if someone wants to ask questions on sodium, then check out that forum.
Have a good one, over and out !
OlegYch
@OlegYch
hi folks
perhaps someone can help me understand why a whitespace change would cause all my sources to be recompiled https://gist.github.com/OlegYch/775e657ad4edb41b77c88e0fa8be3c83
Sébastien Doeraene
@sjrd
Incremental compilation is ruled by sbt. You will probably have more luck asking on the sbt/sbt channel.
OlegYch
@OlegYch
yeah not much luck there
haven't seen this kind of behavior outside of this particular scala.js project though
jhegedus42
@jhegedus42
image.png
@sjrd ^ are you using one of these ?
i picked up a sentence here
a few days ago...
that you are not using intellij
are u using mac ? @sjrd ?
Sébastien Doeraene
@sjrd
I'm using VS Code on Windows and Linux.
DongHee Kim
@terdong
@sjrd How about VS Code? I tried to use it, but I had to go back to the intellij because "rename symbol" feature didn't work on VS Code.
Sébastien Doeraene
@sjrd
I don't really care about rename symbol. I need reliable diagnostics, go to definition, type at point and completions. That's all.
DongHee Kim
@terdong
@sjrd, thank you for the answer. I also think it is a good editor and expect it to be better.
Dan Di Spaltro
@dispalt
@OlegYch so I actually have this problem every once and while, and I usually end up going through and marking a bunch of stuff private