タグ

scalaに関するkatzchangのブックマーク (73)

  • sbtのマルチプロジェクト構成によって関心事を分離する - CARTA TECH BLOG


    id:katzchang / @katzchang  Zucks Ad Network使WEB API Scala  sbt 使 ./build.sbt  ./project/Build.scala  使使  Zucks Ad NetworkJSONWEB API
    sbtのマルチプロジェクト構成によって関心事を分離する - CARTA TECH BLOG
    katzchang
    katzchang 2015/08/14
    そういえば書きました
  • Getting Started with Scalding, Storm and Summingbird

    Scalding と Storm と Summingbird で始める Scala でデータ処理 Sep 6, 2104 at Scala Matsuri 2014 in Tokyo, Japan.

    Getting Started with Scalding, Storm and Summingbird
  • GitHub - m3dev/octoparts: Octoparts, the backend services aggregator

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

    GitHub - m3dev/octoparts: Octoparts, the backend services aggregator
    katzchang
    katzchang 2014/09/06
    “Octoparts, the backend services aggregator ”
  • Josh Suereth -

    Welcome This is the landing page for all my nerdery. I hope you enjoy. object ScalaInDepth extends Book { def url = "http://www.manning.com/suereth" } object Scalawags extends Podcast { def url = "http://scalawags.tv" def cohosts = Seq("Daniel Spiewak", "Dick Wall") } object BigNerd extends Career { def company = "http://typesafe.com" }

    katzchang
    katzchang 2013/07/24
    "Effective sbt"
  • GitHub - plokhotnyuk/actors: Evaluation of API and performance of different actor libraries

    katzchang
    katzchang 2013/06/20
    "Evaluation of API and performance of different actor libraries written on Scala: Akka vs. Lift vs. ProxyActors vs. Scala vs. Scalaz"
  • case classとList/Map/Tupleの相互変換 - still deeper


    case class   scala 2.9.2 scala> case class Foo(i: Int, s: String) defined class Foo  List Listcase classasInstanceOf productIterator ref: scala - Instantiating a case class from a list of parameters - Stack Overflow case class -> List scala> val l = f.productIter
  • sbt-install 作った - tototoshi の日記


    https://github.com/tototoshi/sbt-install sbt  manual install   sbt   sbt   java -jar sbt-launch.jar  0.12.x  launcher  sbt  $ curl https://raw.github.com/tototoshi/sbt-install/master/sbt-install > ~/bin/sbt-install && chmod 0755 !#:3   $
    sbt-install 作った - tototoshi の日記
    katzchang
    katzchang 2013/04/14
    地味にうれしい。
  • ライフゲーム実装例

  • finagle入門 - サンプルを動かすまで


    2012110400:16 Scala finagle -  finaglefinagle調 finagle Finagle, from Twitter  TwitterRPC  Scala NettyNetty HTTPStreaming HTTP   Future使   Finagle Developer Guide Finagle
  • sbt プラグインのまとめ · eed3si9n

    2012-04-11 / sbt XML ベースのビルドツールと比較すると sbt はビルド定義を (.sbt と .scala の両方とも) Scala を使って書くという違いがある。それにより一度 sbt のコンセプトや演算子を押さえてしまえば、ビルドユーザが sbt プラグインを書き始めるのにあまり労力がいらない。 既にあった sbt 0.7 のプラグインも移植してきたが、オリジナルのも書いているのでまとめて紹介したい。 sbt-dirty-money sbt-dirty-money は Ivy キャッシュを何となく選択的に消去するためのプラグインだ (~/.ivy2/cache 下の organization と name を含むもの)。たった 25行の簡単な実装だけど、clean-cache と clean-local の 2つのタスクは僕の役に立っている。 例えば、何かプラグイ

  • Finagle - 都会育ちのメッセージングフレームワーク - Backnumbers: Steps to Phantasien

    Scala でもやるかとぶつやく同僚を見て, たしかに Scala したいかも...などと意思の弱い私は気をそそられ, しかし特に書くものも思いつかずなんとなくウェブをぶらぶらしていた. そういえば HerokuScala をサポートしたニュースを読んだっけと検索すると, たしかにアナウンスがあった. このアナウンスにあるサンプルコードは面白い. Lift でも Play でもなく, Twitter の RPC フレームワークである Finagle が使われている. Finagle でサンプルを書いた理由の一つは画面におさまる簡潔さ, あとは流行り物の目新しさだろうけれど, Heroku の勧める Polyglot Platform の ありかたを示す意味もある気がしなくもない. Polyglot Polyglot という言葉を最初に目にしたのは プロダクティブプログラマ だったと思

  • Play2.0のIterateeを理解したい - papamitra


    Play2.0WebSocketIteratee/Enumerator googleHaskell iteratee Enumerator Package  Yet Another Iteratee Tutorial 使 Enumerator Play2.0Iteratee Inputstep Iteratee I
    Play2.0のIterateeを理解したい - papamitra
  • Liftから複数のDBに接続する。 | ukikusa.info

    Scala+Lift 関連目次 前回、Oracleへの接続ができたので、今回はOracleMysqlに繋いでモデルごとに接続先のDBを定義してみる。 接続設定 例によってpropsにOraclemysqlの接続設定を書く。 oracle.db.driver=oracle.jdbc.driver.OracleDriver oracle.db.url=jdbc:oracle:thin:@HOST:1521:SID oracle.db.user=USER oralce.db.password=PASSWORD mysql.db.driver=com.mysql.jdbc.Driver mysql.db.url=jdbc:mysql://HOST/DBNAME?user=USER&password=PASSWORD コネクション取得処理 bootsrap.liftweb.Boot.scala

  • lift-json リファレンス - tototoshi の日記

    参考: JSON Support | Lift Project | Assembla Scala標準にもjsonパーサとかありますが、lift-jsonのほうが人気。 基礎知識 A central concept in lift-json library is JSON AST (Abstract Syntax Tree) which models the structure of a JSON document as a syntax tree; all features are implemented in terms of AST. It provides a case class for each of the above mentioned JSON primitive and structured type, and provides functions used to tra

    lift-json リファレンス - tototoshi の日記
  • Lift in Action

    pro $24.99 per month access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks! choose one free eBook per month to keep exclusive 50% discount on all purchases lite $19.99 per month access to all Manning books, including MEAPs! team 5, 10 or 20 seats+ for your team - learn more

    Lift in Action
    katzchang
    katzchang 2011/11/28
    出てたか。
  • 始める sbt - ようこそ


    ! sbt 1/14   : Getting Started Guide  sbt sbt  sbt  (build definition) 使 sbt   sbt (build definition)   sbt  .sbt    
  • sbt0.10.1 で google app engine を試す方法。そして sbt の plugin の仕組み自体の簡単な説明など - xuwei-k's blog


    20122: sbtappengine pluginversion  eclipse eclipse  scala plugin eclipse  SVN plugin eclipse  GAE plugin GAE commit log  tweet  bot google code *1 SVN使plugin  google id*2便 GAEmavensbt使jar
    sbt0.10.1 で google app engine を試す方法。そして sbt の plugin の仕組み自体の簡単な説明など - xuwei-k's blog
  • 第22回 Liftウェブフレームワークを使う(その2)

    前回はLiftの基的な使い方を紹介し、簡単なウェブアルバムサービスを作りました。今回はこのウェブアルバムサービスを拡張しながら、より発展的なLiftの機能やテクニックを紹介していきます。 今回紹介することは次の通りです。 ユーザーアカウントの扱い方 Boxモナドを使ったテクニック Ajaxの実装方法 前回作ったウェブアルバムサービスではすべてのアルバムが公開されました。しかし、実際は家族や友人だけにみてほしい場合もありますよね。例えば結婚式やオフ会での写真を参加者だけで共有したり、子供の成長の記録を家族や親戚で共有できたらとても便利です。 今回は前回のウェブアルバムサービスを拡張し、いろいろな人に使ってもらえるようアカウントを導入し、アルバムごとの権限を導入し、ユーザーが設定できるようにします。 1. アカウントの導入 まずはユーザーアカウントを導入します。Liftにはユーザーアカウント

    第22回 Liftウェブフレームワークを使う(その2)
    katzchang
    katzchang 2011/07/08
    あとでみよう
  • Finagle, from Twitter

    Finagle is an extensible RPC system for the JVM, used to construct high-concurrency servers. Finagle implements uniform client and server APIs for several protocols, and is designed for high performance and concurrency. Most of Finagle’s code is protocol agnostic, simplifying the implementation of new protocols. Finagle is written in Scala, but provides both Scala and Java idiomatic APIs. GitHub p

  • Reading LiftFilter Bootup - @katzchang.contexts


    Liftweb.xmlLiftFilterhttp://www.assembla.com/spaces/liftweb/wiki/HTTP_Pipeline Bootup   LiftFQCNFully Qualified Class Name LiftRules 2.FQCNLiftbootstrap.liftweb.Boot Lif
    Reading LiftFilter Bootup - @katzchang.contexts
    katzchang
    katzchang 2011/06/11
    起動部分は一通りよんだ。