Quick comparison to the cljs.loader recently added to CLJS.
Things shadow-cljs
does for you:
enable-console-print!
is a config option, you do not need to call itloader/set-loaded!
will be injected for you as well
Quick comparison to the cljs.loader recently added to CLJS.
Things shadow-cljs
does for you:
enable-console-print!
is a config option, you do not need to call itloader/set-loaded!
will be injected for you as well(ns messagepassing.core) | |
(import [java.util.concurrent LinkedTransferQueue]) | |
(def m 10000000) | |
(defn queue-test [] | |
(defn bounce [in out m] | |
(let [value (.take in)] | |
(if (< value m) | |
(do |
from elasticsearch import Elasticsearch | |
import json | |
es = Elasticsearch('http://localhost:9200') | |
q = { | |
"query": { | |
"match_all": {} | |
} | |
} |