2020-06-01から1ヶ月間の記事一覧
インストールしとく WSL(Windows Subsystem for Linux) ubuntu sudo apt-get install clang libicu-dev 何か失敗したんで、 sudo apt-get update アップデートしてから再実行でいけた swiftおとして展開 ほかバージョン: https://swift.org/download/ ぱす…
import scalaz.syntax.std.string._ ... val l: String = ... val v = l.parseLong // Validation[scala.NumberFormatException, Long] fold v.fold(f, s) ... /** Catamorphism. Run the first given function if failure, otherwise, the second given fun…
/** Partition this query into a query of pairs of a key and a nested query * containing the elements for the key, according to some discriminator * function. */ def groupBy[K, T, G, P](f: E => K)(implicit kshape: Shape[_
stackoverflow.com
tech.aainc.co.jp
// 1 _ <- "A" match { case "A" => case _ => ... // 2 _ <- "A" match { case "A" => "a" case "B" => "b" case "C"が追加された場合、//2ではビルド検知できる
}.runFold(Seq.empty[String])((acc, x) => x +: acc).map(_.sortBy(/** sort **/)) }.runWith(Sink.seq).map(_.sortBy(/** sort **/))
環境 Scala 2.12.7 ExcetionContextって もろもろの暗黙パラメータとして渡されるやつで、非同期を良しなにしてくれるやつ ....
ためすこと ハンドトラッキングでオブジェクトを「掴む」ということ 環境 Unity 2019.3 Android SDK Oculus Ver 12以上 方法 そも、ハンドトラッキングに「掴む」という動作は用意されていない これは公式にも明記されてる developer.oculus.com 今回はピン…
今回はピンチ操作をかるく触ってみる 前回のつづきから gamaspecial.hatenablog.com なんかオブジェクトを配置 今回は「Cube」を使用 (大きさ、場所は適当に調整する。 IsTrigger 言葉通り「引き金」の意で、物理的接触がない何かしらの処理をする場合に使…