chocolatey.org コマンド実行 管理者で バージョン確認
material-ui react-table
ここ reactjs.org るーぷさせたら要素区別つかなくなるからkey付与しましょうねってことらしい(たしかにね docsより参照 const numbers = [1, 2, 3, 4, 5]; const listItems = numbers.map((number) => <li key={number.toString()}> {number} </li> // キーなしだと警告 // <li> // {number} // </li>…
www.next-system.com note.com unitylist.com
環境 Unity 2019.3.14 ARCore 1.18 端末 OPPO Reno A APILevel 7.0 ~ Augmented Image の仕様うんぬん developers.google.com ※公式より抜粋 最大20枚の画像を同時に追跡できる 同じ画像の複数のインスタンスを同時に検出または追跡しない 各拡張画像データ…
うえから順にみてこー ARCoreDevice ARCoreSession UnityシーンでARCore セッションを管理するコンポーネント そのまますぎる なんだか Session Config ってのから設定値とってARの設定をうんたらかんたらするやつらしい ARCoreSessionConfig developers.goo…
確認環境 Unity 2019.3,14 ARCore SDK for Unity v1.18.0 github.com 端末: OPPO Reno A(対応端末一覧) 準備 [windows] > [Package Manager] から以下2つをインストールする Multiplayer HLAPI XR Legacy Input Helper つづいて ARCore SDK のパッケージ…
developers.google.com designguidelines.withgoogle.com blog.lab7.biz
開発環境 Android Studio Android SDK Platform v 7.0 (API level 24) + android { defaultConfig { … minSdkVersion 24 } } ARCoreを有効にする developers.google.com 必須アプリ と オプションアプリ 必須/非必須、自動インストールする/しない <uses-permission android:name="android.permission.CAMERA" /> </uses-permission>
環境 開発環境 Android Studio 4.0.1 Unity 対応端末 developers.google.com SDK ARCore Unity 2017.1 + unity3d.com AR Foundation Unity 2018.1 + unity3d.com AR Foundation は、ARKit と ARCore のコア機能を Unity 内の抽象化した共通の API に組み込む…
Scala https://gamaspecial.hatenablog.com/entry/2019/11/25/110553 Android https://gamaspecial.hatenablog.com/entry/2020/08/05/175128
公式 docs.unity3d.com 開発関連 techblog.raccoon.ne.jp
? Try(...) match { case Success(v) => Some(v) case Failure(e) => None } Try(new URL(url)).fold( e => None, v => Some(v) ) Try(new URL(url)).toEither.left.map { e => None }.toOption
await(try Future.failed(new Exception("error")) catch { case e: Throwable => Future.successful(()) }) must equalTo(()) 結果 [error] java.lang.Exception: error はいくそ
List val list = List(1, 2, 3, 4) list match { case a :: b => { ... } case _ => { ... } } a: 1 b: List(2, 3, 4) Seq val seq = Seq(1, 2, 3, 4) seq match { case a +: b => { ... } case _ => { ... } } a: 1 b: Seq(2, 3, 4) :+ は逆やねー (´▽`)
うごかね おとしてみる え、、、 WSL1 だとREPLうごかんらしい github.com WSL 2 いれる docs.microsoft.com WSL 2 は、Windows 10、バージョン 2004、ビルド 19041 以上でのみ使用できます。 Windows のバージョンを更新しなければならない場合があります。…
だまされそうになった object Option { ... /** Tests whether the option contains a given value as an element. * * @example {{{ * // Returns true because Some instance contains string "something" which equals "something". * Some("something") …
windows(wsl) + swiftせっとあっぷ - うおおお wsl + swift はいれとく vs code と wsl の連携 Remote - WSL - Visual Studio Marketplace を vs code に入れる したら「><」おして 「Remote-WSL: New Window」 したらつながる code ファイル名 でwslから vs…
val (t1, t2): (Rep[A], Rep[Option[B]]) ... if ((t2.map(_.B.isDefined) && t1.A < t2.flatMap(_.B)) == LiteralColumn[Boolean](true)) { t2.flatMap(_.B).get } else { t1.A } ↓ val (t1, t2): (Rep[A], Rep[Option[B]]) ... t2.flatMap(_.B).fold(t1.A)…
どうせなので今回は ubuntu に emacs いれてみようかなと おすすめされえた2つをいれとく、 cmigemo sudo apt install cmigemo agコマンド sudo apt install silversearcher-ag https://www.yokoweb.net/2018/05/07/ubuntu-18_04-desktop-emacs25/ www.atma…
インストールしとく 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 言葉通り「引き金」の意で、物理的接触がない何かしらの処理をする場合に使…