- なかやん・ゆーき / ぺんぎん / もみあげ
- @pocketberserker / id:pocketberserker
- Microsoft MVP for
F#.NET (2015/04/01~ 2016/03/31) - そういえば Scala でアプリケーション作ったことない…
- 168 JSJ The Future of JavaScript with Jafar Husain - Javascript Jabber - DevChat.tv
- http://devchat.cachefly.net/javascriptjabber/168-jsj-the-future-of-javascript-with-jafar-husain.pdf
を聞きながらのメモ
I can clarify this for you. This is how it works. If you're speaking to a member of TC39, it's calledJavaScript 2015.
Introducing Incremental DOM — Google Developers — Medium
Reactやvirtual-dom、Glimmer(Ember)などVirtual DOMの実装は色々あるが、これらのVirtual DOM実装には2つの問題がある
- 既存のテンプレート言語を利用していない(しにくい)
- モバイルでのパフォーマンス、特にメモリに関しては大きすぎる
これらを解決するためにIncremental DOMと言うものを作っている(WIP)
📝 async/await/observableのECMAScript近況のノートついでに
追記: これは2015年7月ごろの近況です
https://github.com/jhusain/asyncgenerator はObservableに書いてたプロポーサルだったけどこっちはoutdatedになった。
- Observableは https://github.com/zenparsing/es-observable になった
- async/awaitは https://github.com/tc39/ecmascript-asyncawait こっち
package example | |
import akka.actor._ | |
abstract class ActorCompanion[A <: Actor](implicit A: reflect.ClassTag[A]) { | |
/** constructor parameter type for `A` */ | |
type B | |
def props(param: B): Props = |
1. Change to the directory with DynamoDBLocal.jar | |
2. Create a new file called log4j.properties with the contents: | |
log4j.rootLogger=DEBUG, stdout | |
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | |
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | |
log4j.appender.stdout.layout.ConversionPattern=_LOG_%d %p [%c] - %m%n | |
3. Remove the existing log4j.properties files from the jar (there might be two) |
After publishing my article on ECMAScript 6, some have reached out to ask how I exactly I make it all work.
I refrained from including these details on the original post because they're subject to immiment obsoletion. These tools are changing and evolving quickly, and some of these instructions are likely to become outdated in the coming months or even weeks.
When evaluating the available transpilers, I decided to use 6to5, which has recently been renamed to Babel. I chose it based on:
package akkahttptest | |
import akka.actor.ActorSystem | |
import akka.http.Http | |
import akka.stream.FlowMaterializer | |
import akka.http.server._ | |
import akka.http.marshalling.PredefinedToResponseMarshallers._ | |
import akka.stream.scaladsl.{HeadSink, Source} | |
object Proxy extends App { |
- 僕はおくみん
- @okumin