This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-23
Channels
- # bangalore-clj (5)
- # beginners (136)
- # boot (1)
- # bristol-clojurians (6)
- # cider (46)
- # cljs-dev (172)
- # cljsrn (35)
- # clojure (82)
- # clojure-china (2)
- # clojure-dev (9)
- # clojure-dusseldorf (1)
- # clojure-finland (15)
- # clojure-italy (54)
- # clojure-norway (4)
- # clojure-russia (6)
- # clojure-spec (19)
- # clojure-uk (61)
- # clojurebridge (1)
- # clojurescript (55)
- # community-development (23)
- # cursive (7)
- # datomic (19)
- # emacs (10)
- # events (4)
- # fulcro (108)
- # graphql (7)
- # hoplon (1)
- # leiningen (7)
- # lumo (14)
- # off-topic (68)
- # onyx (23)
- # parinfer (8)
- # portkey (40)
- # precept (11)
- # re-frame (5)
- # reagent (40)
- # ring-swagger (5)
- # shadow-cljs (58)
- # specter (5)
- # tools-deps (37)
- # unrepl (13)
- # vim (9)
- # yada (12)
Mornin'
How you diddlin' @seancorfield?
Morning. Why are you up so early @dominicm?
@yogidevbear Dog is taking new medication that he needs to have every 8 hours. I get the morning shift, Katie gets the night shift.
Sounds like the late shift isn't that late ๐
Is this short term meds?
You're quite right ๐. Part of that is that we also have to balance with the dog sitter who can't do the tablets at certain times. Long term. His seizures have become more frequent, and this is the best drug to help with that. So far it seems to be working, which is great. There's little-to-no side effects either, very safe, compared to the alternatives anyway.
That's really good news. Hope they are a permanent working solution ๐
@jasonbell aren't you going to say good morning to me too?
But @otfrom there are so many names to use and I'd think it rather prudent that others in the channel not see..
@dominicm - new meds sound cautiously positive - will continue to keep fingers crossed, our two have their paws crossed too ๐
How is everyone doin' on this VERY RAINY(*) Friday? (*it is VERY RAINY here anyway)
Also, for anyone able to "listen freely" wherever you are working, David Byrne is on Desert Island Discs! (Clearly you might want to wait until it's finished by this point and listen again, but in case anyone would be interested)
i can confirm that it always rains from manchester on up north @dominicm
you are safe @thomas - south of the manchester permarain curtain - https://bit.ly/2IHkAAJ
Lovely day here down south... Walked the dogs, walked the little human to school, and went for a 5km run
โจ โ โจ
It's like a summoning spell
Morning @chrjs
Morning @yogidevbear
@mccraigmccraig hmm just under 7 hours... not bad actually.
a namespace layout question for y'all - i quite like the pattern of a top-level namespace for a module stuff.foo
with various implementations in sub-namespaces stuff.foo.api
stuff.foo.model
etc and the top-level requiring the impl namespaces and maybe re-exposing stuff with potemkin or simple defs. however -
this doesn't play well with using the top-level namespace for namespaced keywords :stuff.foo/thing
because you can't require stuff.foo
in the impl namespaces (:require [stuff.foo :as foo])
(circ. dep) to get short-form keywords like ::foo/thing
so, does anyone have any favoured namespace layouts which also let you use aliased namespaced keywords ?
atm i'm only using longform for namespaced keywords in the impls, which works ok, but makes for some quite long lines sometimes
does using the alias
function directly instead of require
ing from the impl namespaces work?
Hmm, I see your problem @mccraigmccraig. In our code that has fully namespaced keys, theyโre usually in a dedicated namespace for the datastructure(s) theyโre describing. For instance stuff.foo
has business logic, but we get a bunch of data describing, I dunno, say quux
es. Weโd have a separate stuff.quux
namespace that implements a repository pattern on quux
and use ::quux/thing
throughout all of stuff.foo.api
and stuff.foo.model
.
alias
does appear to work @sundarj
Thatโs not always applicable though and in our case is probably an accident of design/our particular codebase.
oops, rather @sundarj (alias 'foo (create-ns 'stuff.foo))
appears to work ๐ฌ
it's a bit smelly though
i suppose there's always the option of having something like
boot.user=> (def main-kw (partial keyword "org.foo.bar.baz"))
#'boot.user/main-kw
boot.user=> (main-kw "hello")
:org.foo.bar.baz/hello
as wellyeah, it doesn't look like a kw then, which makes scanning code harder...
@chrjs i would do that where it makes sense - with the module i'm looking at atm they keyword is part of it's api, so it doesn't make sense there
If all goes to plan, the Bristol Clojurians will have a presentation next week: https://www.meetup.com/Bristol-Clojurians/events/246760597/ instead of the usual study group.