Links on Must watch talks
-
A Year living Freely - Chris Myers
-
Programs as Values Pure Composable Database Access in Scala. In general each talk from Rob Norris is very useful for learning.
import org.junit.Test; | |
import java.time.Instant; | |
import java.time.OffsetDateTime; | |
import java.time.ZonedDateTime; | |
import java.time.format.DateTimeParseException; | |
public class Java8TimeTest { | |
private String instantFormat = "2007-12-03T10:14:30.000Z"; |
Links on Must watch talks
A Year living Freely - Chris Myers
Programs as Values Pure Composable Database Access in Scala. In general each talk from Rob Norris is very useful for learning.
아카 리더, 할리 지인 Konrad의 "The best is yet to come - State of Akka in 2017" http://event.scaladays.org/scaladays-cph-2017#!#schedulePopupExtras-8119
스칼라 매스크로 창시자, Eugene의 "Building code analysis tools at Twitter" http://event.scaladays.org/scaladays-cph-2017#!#schedulePopupExtras-8130
스칼라 컴파일시간 줄일수 있는 팁을 준다함 http://event.scaladays.org/scaladays-cph-2017#!#schedulePopupExtras-8141
object TwiiterScalaFutureOps { | |
import TwitterScalaFutureConverters._ | |
implicit class ScalaToTwitterFuture[T](f: Future[T]) { | |
def toTwitterFuture: twitter.Future[T] = scalaToTwitterFuture(f) | |
} | |
implicit class TwitterToScalaFuture[T](f: twitter.Future[T]) { | |
def toScalaFuture: Future[T] = twitterToScalaFuture(f) | |
} |
// https://twitter.github.io/scala_school/type-basics.html | |
// 트위터 스칼라 스쿨에 나오는 자료구조를 활용해보겠다. | |
class Animal { val sound = "rustle" } | |
class Bird extends Animal { override val sound = "call" } | |
class Chicken extends Bird { override val sound = "cluck" } | |
class Duck extends Bird { override val sound = "duck" } | |
def foo(tweet: Bird => String) = { | |
tweet(new Bird) |
Scala Cookbook 저자가 씀, 개발 뿐만 아니라 FP의 역사와 같은 내용도 포함되어 있음
ENSIME 메인 메인테이너가 씀 - scalaz를 활용하여 FP로 프로그래밍을 할수 있는방법에 대해서 알려줌
일명 빨간 책이라 불리며, scala + FP의 바이블 같은 존재, 하지만 어려움
import org.reactivestreams.{Processor, Publisher, Subscriber, Subscription} | |
// 데이터 생성 | |
val publisher = new Publisher[Int] { | |
def subscribe(s: Subscriber[_ >: Int]) = { | |
(1 to 100).foreach { x => | |
s.onNext(x) | |
} | |
s.onComplete() | |
} |
#!/bin/bash | |
# zsh | |
echo "Installing zsh..." | |
chsh -s `which zsh` | |
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh | |
# homebrew, pip | |
echo "Installing homebrew, pip..." | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |