Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 23 01:50

    weihsiu on master

    Add zio slides Merge pull request #33 from jir… (compare)

  • Apr 23 01:50
    weihsiu closed #33
  • Apr 23 01:50
    weihsiu commented #33
  • Apr 23 01:31
    jirijakes opened #33
  • Apr 21 09:24

    weihsiu on master

    ScalaReflection add README.md Merge pull request #32 from vit… (compare)

  • Apr 21 09:24
    weihsiu closed #32
  • Apr 21 06:50
    vitojeng synchronize #32
  • Apr 21 06:44
    vitojeng opened #32
  • Jan 16 2020 09:15
    weihsiu commented #31
  • Jan 16 2020 09:15

    weihsiu on master

    Add Scala Through Lenses resour… Merge pull request #31 from jir… (compare)

  • Jan 16 2020 09:15
    weihsiu closed #31
  • Jan 16 2020 08:49
    jirijakes opened #31
  • Jan 15 2020 06:33
    weihsiu commented #30
  • Jan 15 2020 06:32

    weihsiu on master

    add purely functional redis dri… Merge pull request #30 from yar… (compare)

  • Jan 15 2020 06:32
    weihsiu closed #30
  • Jan 15 2020 04:33
    yaroot synchronize #30
  • Jan 15 2020 04:22
    yaroot opened #30
  • Dec 18 2019 03:51

    weihsiu on master

    add FrameworkChoice finagle vs … Merge pull request #29 from che… (compare)

  • Dec 18 2019 03:51
    weihsiu closed #29
  • Dec 18 2019 03:51
    weihsiu commented #29
Walter Chang
@weihsiu
@jirijakes I knew I could get you out of your cave somehow.
Walter Chang
@weihsiu
it looks like the release of the very first milestone of http4s that is built for scala 3 is imminent! this is a huge undertaking with many library dependencies that have to be scala 3 ready and many constructs in the library itself that have to be rewritten in scala 3. now i can finally write all my web applications in scala 3! :clap: :clap: :clap:
http4s/http4s@198e2ea
Walter Chang
@weihsiu
Vito Jeng
@vitojeng

Scala 3 Syntax Summary 可以找到所有的 syntax, 這個很好...但很可惜沒有進一步的 reference.

請問...大家有沒有什麼好方法可以針對 Scala 3 keywrod 查詢某個 keyword 的解釋(說明)? 尤其是一些 "符號"

例如 =>> 我弄了半天才找到原來在這裡 😂
Type Lambdas - More Details

Walter Chang
@weihsiu
Yes, that's a big problem. Also something like hoogle for haskell is dearly needed for scala. In hoogle, not only are you able to search for symbols, you can search for a particular function signature as well, and the search encompasses all haskell packages. Now that TASTy is available on both scala 2 and 3, it's high time for someone to make such search for scala.
Vito Jeng
@vitojeng
@weihsiu Yes.
Google search 雖有符號搜尋功能, 但不夠精準, 只能勉強一用, 聊勝於無.
官網 document search, 只有符號是定義在 class/method 時找得到, 若是 keyword 則找不到. 因此若能讓 scala document search 在文章內的符號也能被搜尋到的話, 我覺得應該就比 Google search 好用了.
Walter Chang
@weihsiu
as discussed at mokumoku yesterday, odersky's idea of checked exception goes far beyond what people thought about checked exception. https://github.com/dotty-staging/dotty/blob/add-safe-throws-2/docs/docs/reference/experimental/canthrow.md
Vito Jeng
@vitojeng

sbt 1.5.0 快要出來啦~ 🎉
https://github.com/sbt/sbt/releases/tag/v1.5.0-RC1

sbt 1.5.0 adds built-in Scala 3 support, contributed by Scala Center. Main implementation was done by Adrien Piquerez (@adpi2) based on EPFL/LAMP's sbt-dotty.

Walter Chang
@weihsiu
yes, no more dotty sbt plugin!!
Vito Jeng
@vitojeng

請問大家, dependency artifactId scala3-library_3.0.0-RC1 , scala3-compiler_3.0.0-RC1 等 jar 裡面, 我看差不多是個空殻...好像應該用不上

migration guide寫的應該是這樣沒錯, 但若是如此, scala3-library_3.0.0-RC1 , scala3-compiler_3.0.0-RC1 等是在什麼時候用到呢?

Walter Chang
@weihsiu
a very exciting talk on the new cats effect 3 library. the performance is really crazy and the way they write the underlying io implementation is just wild. https://www.youtube.com/watch?v=JrpFFRdf7Q8
Walter Chang
@weihsiu
a very good intro talk on cats effect by @arosien that goes into not only the how but the why of using an effect library. even when the talk is mostly ce2 based, most of it applies to ce3 as well. highly recommended! https://www.youtube.com/watch?v=xDATcERgKgg
Yan
@yaroot
Walter Chang
@weihsiu
:clap: :clap: :clap:
Walter Chang
@weihsiu
the long awaited in-person meetup is upon us! and in Hsinchu no less! please come join us for a fun saturday afternoon with a 2 talk lineup. https://www.meetup.com/Scala-Taiwan-Meetup/events/277230320/
Vito Jeng
@vitojeng
🎉🎉🎉
Walter Chang
@weihsiu
@yaroot and the new ce3 website is fantastic!! https://typelevel.org/cats-effect/docs/getting-started
Walter Chang
@weihsiu
this is pretty cool! using async/await in cats effect so that for comprehension is not necessary anymore. a very imperative style while using functional constructs. very interesting indeed! https://github.com/rssh/cps-async-connect/blob/master/cats-effect/shared/src/test/scala/cps/cats/effect/StupidFizzBuzzSuite.scala
Vito Jeng
@vitojeng

關於 Scala spec 3.2.9 講的 Refinement ...看 spec 看得很痛苦, 想直接問... XD

Refinement type 是不是像這樣:

type RT = { def message: String;  val names: Seq[String] }
val obj: RT = ...

直接聯想到以前看過的 duck typing...
也許可以稱為 strong typed dock typing ? XD

抱歉...後來接下來看到了 Example... :P
我想應該是沒錯了
Jesper Lundgren
@cleaton
Any instructions on which entrance to use for the meetup? :)
Jesper Lundgren
@cleaton
Oh i found it :) there's a sign
Walter Chang
@weihsiu
Thank you for great talks, @vitojeng and @jirijakes , they were both very informative and fun. And the pizza and beer afterwards were outstanding as well!
Walter Chang
@weihsiu
@vitojeng @jirijakes please send pull requests of your presentations to https://github.com/ScalaTaiwan/ScalaTaiwan , thanks!
Vito Jeng
@vitojeng
@weihsiu np!
Walter Chang
@weihsiu
@vitojeng 's slides for his talk last week is online. enjoy! https://www.slideshare.net/vitojeng/scala-fun-part-reflectionruntime
Walter Chang
@weihsiu
All there's left is for me to merge and upload the talk videos...
Walter Chang
@weihsiu
Vito Jeng
@vitojeng
import spray.json._
import DefaultJsonProtocol._
println( ().toJson )
注意到 spray-json 在轉換成 json 時, 會將 Unit 固定轉成數字 1
我從沒想過 Unit 居然也能轉成 JSON...好奇這個轉換實際有這個需要?
Walter Chang
@weihsiu
New scaladoc will have search by function/method signature!! Eat your heart out, hoogle! https://contributors.scala-lang.org/t/pre-sip-scaladoc-search-by-type-signature/1604/15
Walter Chang
@weihsiu
Vito Jeng
@vitojeng
@weihsiu Finally!! 看著 "3.0.0-Mx" -> "3.0.0-RCx" -> "3.0.0"
真的有感動到 XD
screenshot 6.jpg
Yan
@yaroot
well the release build is pretty painful to watch live yesterday https://github.com/lampepfl/dotty/actions?query=branch%3A3.0.0
Vito Jeng
@vitojeng
@yaroot XD
Walter Chang
@weihsiu
How did scala 3 come about? https://youtu.be/0yRAtLL18cY
Walter Chang
@weihsiu
Scalacon is coming, just in time for those of us WFH ;) https://www.scalacon.org/talks/
Walter Chang
@weihsiu
shapeless3 for sc3 is out and it's slimmed down by quite a bit. most of it's features from v2 have been integrated into sc3 by @milessabin himself and the result is , imo, one of the crowning jewels of sc3. what is in shapeless3 is the part that's missing from sc3, and it is a big part: it lets you make automatic derivable typeclasses very easy. have a look https://github.com/milessabin/shapeless/tree/shapeless-3
Walter Chang
@weihsiu
has anyone gotten "organize imports" working on vscode? i couldn't for the life of me make it to work. i always get "no organize imports action available". any ideas?
Walter Chang
@weihsiu
oh, i found out why:
[0m2021.05.24 17:47:31 INFO  Organize import doesn't work on 3.0.0 files
Walter Chang
@weihsiu
a very good explanation of why it's called "tagless final" by @SystmeFW on discord (recommended by @alexandru). https://discord.com/channels/632277896739946517/839263668478672937/847438971969077248
chenghsienwen
@chenghsienwen
請問有人知道scala macro paradise的作用嗎?看了官網還是有看沒有懂@@
https://docs.scala-lang.org/overviews/macros/paradise.html
Walter Chang
@weihsiu
@chenghsienwen "Macro annotations are available in Scala 2.13 with the -Ymacro-annotations flag, and with the macro paradise plugin from Scala 2.10.x to Scala 2.12.x. " https://docs.scala-lang.org/overviews/macros/annotations.html
it's specifically for macro annoations and scala 2.12-
chenghsienwen
@chenghsienwen
thx a lot
Vito Jeng
@vitojeng
https://twitter.com/rockthejvm/status/1401106860694986753
自己感覺 Intellij Scala plugin 目前在 Scala 3 可用性大約不到 30% ...
intellij user 只能癡癡地等了 QQ
Walter Chang
@weihsiu
this is interesting! hopefully they will take this encoding into consideration when they think about the new cats 3.x design. https://github.com/jcouyang/meow
Walter Chang
@weihsiu
just a reminder to @/all that we also have a discord server. feel free to join!! https://discord.gg/nkQrkTwBgY
Walter Chang
@weihsiu

this is interesting! hopefully they will take this encoding into consideration when they think about the new cats 3.x design. https://github.com/jcouyang/meow

sadly this encoding does not solve the coherence problem though :( https://www.adelbertc.com/publications/typeclasses-scala17.pdf