This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-30
Channels
- # bangalore-clj (1)
- # beginners (23)
- # boot (1)
- # cider (23)
- # cljsjs (2)
- # cljsrn (4)
- # clojure (251)
- # clojure-dusseldorf (2)
- # clojure-gamedev (23)
- # clojure-italy (5)
- # clojure-russia (53)
- # clojure-sanfrancisco (5)
- # clojure-spec (7)
- # clojure-uk (66)
- # clojurescript (169)
- # community-development (21)
- # core-async (10)
- # cursive (15)
- # data-science (1)
- # datomic (7)
- # docker (1)
- # emacs (24)
- # events (1)
- # funcool (6)
- # hoplon (24)
- # liberator (1)
- # luminus (6)
- # lumo (62)
- # mount (7)
- # off-topic (1)
- # om (12)
- # om-next (5)
- # onyx (14)
- # overtone (2)
- # pedestal (58)
- # powderkeg (27)
- # protorepl (1)
- # re-frame (1)
- # ring-swagger (16)
- # rum (51)
- # spacemacs (25)
- # uncomplicate (7)
- # unrepl (22)
- # untangled (7)
- # yada (109)
Being on Java 8, I’ll go and have a look on how to add hours there. This is all good info, thanks!
@rubek an interesting wrapper for java 8 time api is https://github.com/dm3/clojure.java-time You might try something like this
(t/time-between (t/local-time 8 0 0) (t/local-time 14 15 0) :minutes)
;;=> 375
You can use :hours
but that will give you only the the whole hours (6)
You can also use duration
:
(t/duration (t/local-time 8 0 0) (t/local-time 14 15 0) )
;;=> #object[java.time.Duration 0xea4b2cc "PT6H15M"]
mapping the function returns false for all the calls, but filter still keeps returning all values
hello, what is your experience how much data possible store in atoms? I would like to store in atoms, user custom setups
@sb Atom doesn't do much but wrap a data structure. I did some measure a while back and clj maps where about similar size to java maps
@rauh I would like to store just 1k user data (1k keys x 20 params) (B2B platform), Hopefully I think, in this case that would be ok.
This is probably a networking issues and not an nrepl issue but I'm not sure. I ran lein repl :headless
and get nREPL server started on port 62490 on host 127.0.0.1 -
as feedback but I can't use lein repl :connect 192.168.2.174:62490
to connect to the repl. Is this normal behavior? If I use localhost it works sure, but I was trying to test something from another box.