/studynotes

Berisi link dari hasi belajar

studynotes

Berisi link dari hasil belajar

#Monad and functor in functional programming https://hackernoon.com/functors-and-applicatives-b9af535b1440

#Scala ZIO, Http4s, and doobie example https://medium.com/@wiemzin/zio-with-http4s-and-doobie-952fba51d089

#Free Monad definition and example in scala cats effect https://typelevel.org/cats/datatypes/freemonad.html

#scala for comprehension translation https://medium.com/wix-engineering/scala-comprehending-the-for-comprehension-67c9f7953655

#unit testing in scala zio and sbt https://medium.com/@wiemzin/get-started-with-zio-test-7a27da355498

#identify side effect http://blog.leifbattermann.de/2020/02/03/identify-side-effects-and-refactor-fearlessly/

#edit multiple files without tmux in vim, cause tmux consumes memory too much when working with lsp https://unix.stackexchange.com/questions/27586/how-can-i-edit-multiple-files-in-vim https://www.ostechnix.com/how-to-edit-multiple-files-using-vim-editor/

#multiple environment scala zio https://blog.jdriven.com/2019/10/functional-dependency-injection-in-scala-using-zio-environments/

#principle concurrency and parallelism in java https://javarevisited.blogspot.com/2016/06/5-books-to-learn-concurrent-programming-multithreading-java.html

#how scala for-comprehension works https://medium.com/wix-engineering/scala-comprehending-the-for-comprehension-67c9f7953655

#discussion about exception and why its evil https://pedrorijo.com/blog/scala-exceptions/

#copare java try and scala try, and why scala try better https://blog.softwaremill.com/exceptions-no-just-try-them-off-497984eb470d

#URI Format Protocol https://tools.ietf.org/html/rfc3986#section-2.4

#scrape google trick https://stackoverflow.com/questions/22657548/is-it-ok-to-scrape-data-from-google-results?noredirect=1&lq=1

#htmlunit example https://stackoverflow.com/questions/22725960/evaluate-all-javascript-in-html-to-get-final-html-document-java

#java and openvpn https://stackoverflow.com/questions/46620546/start-openvpn-from-java-application

#avoid scraping blocking https://stackoverflow.com/questions/46620546/start-openvpn-from-java-application

#the difference between stream and buffer https://stackoverflow.com/questions/43935608/difference-between-buffer-stream-in-c-sharp/43935808#43935808

#singleton in zio with ref, can it used for communication between fiber?? https://blog.jdriven.com/2019/11/using-zio-s-ref-to-ensure-a-singleton-in-the-environment/

#STM with zio https://freskog.github.io/blog/2019/05/30/explore-zio-stm/

#async scala maybe fundamental https://blog.colinbreck.com/calling-blocking-code-there-is-no-free-lunch/

#from zio creator about thread/fiber leak https://gitter.im/ZIO/Core?at=5cd9c893b149ca509887104f

#cats effect with doobie https://medium.com/rahasak/doobie-and-cats-effects-d01230be5c38

#lifting zio effect to cats IO and Doobie ConnectionIO, use ctrl + f and insert "Doobie knows how to lift a cats.effect.IO into a ConnectionIO" https://gitter.im/ZIO/Core?at=5d984395940b4c2fc07a64cc

#Doobie Rollback Transaction typelevel/doobie#535

#why rust success as programming language https://www.reddit.com/r/rust/comments/abm6hy/why_rust_is_successful_compared_with/

#scala vs java performance comparison, see mark lewis answer https://www.quora.com/Is-Scala-faster-than-Java

#why scala is not popular https://contributors.scala-lang.org/t/what-can-make-scala-more-popular/2995/6

#Http2, gRPC and obsolet of websocket https://stackoverflow.com/questions/28582935/does-http-2-make-websockets-obsolete

#custom derived json circe https://stackoverflow.com/questions/42068680/circe-and-scalas-enumeration-type

#facebook/ig photo prevuew and youtube streaming https://engineering.fb.com/android/the-technology-behind-preview-photos/ https://medium.com/canal-tech/how-video-streaming-works-on-the-web-an-introduction-7919739f7e1

#JWT documents http://self-issued.info/docs/draft-ietf-oauth-v2-bearer.html

#handle error in finch, ctrl+f 'While having encoder defined in terms of generic Exception, nothing stops your from pattern-matching on an exception type and encoding it according to its type.' https://gitter.im/finagle/finch?at=5ac4f235e4ff28713aa939e7

https://hasura.io/blog/best-practices-of-using-jwt-with-graphql/ #secure conf file https://stackoverflow.com/questions/16241165/how-to-use-typesafes-config-in-scala-with-encrypted-passwords =============================================JAVA/SCALA IO================================================================= https://stackoverflow.com/questions/1605332/java-nio-filechannel-versus-fileoutputstream-performance-usefulness https://pzemtsov.github.io/2015/01/19/on-the-benefits-of-stream-buffering-in-Java.html

===================================== STORY =============================================================================== https://adrianfilip.com/2020/03/15/spring-to-zio-101/amp/ https://blog.knoldus.com/finagle-controlling-the-future-of-rpc-systems/ https://apfelmus.nfshost.com/articles/lazy-eval-modular-code.html https://francistoth.github.io/2020/02/12/variance.html https://increment.com/software-architecture/primer-on-functional-architecture/ https://zach-albia.github.io/posts/my-fp-journey https://semantic-domain.blogspot.com/2020/02/thought-experiment-introductory.html https://www.cs.rhul.ac.uk/home/zhaohui/ //the inventor of proof assistant theory?? inspiration of idris, agda, and coq??

================= big data ============== https://www.quora.com/Where-can-one-get-sample-datasets-for-Big-Data https://www.pewresearch.org/download-datasets/ //pass $Root1080amusuk

=================== PHILOSOPHY of SCALA =========================================================== https://web.archive.org/web/20131020034539/http://blog.enfranchisedmind.com/2009/05/scala-not-functional/