START RequestId: 062d880b-2cfb-11e7-85a3-fdf8acae64d8 Version: $LATEST
{“key3”:“value3",“key2”:“value2",“key1”:“value1"} is awesome
END RequestId: 062d880b-2cfb-11e7-85a3-fdf8acae64d8
REPORT RequestId: 062d880b-2cfb-11e7-85a3-fdf8acae64d8 Duration: 15.62 ms Billed Duration: 100 ms
with
user=> (require '[portkey.core :as pk])
Preparing for self instrumentation.
objc[48865]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java (0x10fa924c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x12fbe64e0). One of the two will be used. Which one is undefined.
Ouroboros succesfully eating its own tail!
Instrumenting clojure.lang.Var... done!
nil
user=> (defn flatter [in out ctx] (let [msg (str (slurp in) " is " (rand-nth ["incredible" "awesome" "fantastic"]))] (println msg) msg))
#'user/flatter
user=> (pk/package! "flatter.zip" flatter)
"flatter.zip"
followed by manual upload for (next is providing repl help)