This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-26
Channels
- # aleph (2)
- # aws-lambda (18)
- # beginners (81)
- # boot (3)
- # cider (25)
- # cljs-dev (274)
- # cljsjs (10)
- # clojars (25)
- # clojure (65)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-dev (33)
- # clojure-dusseldorf (6)
- # clojure-gamedev (3)
- # clojure-italy (17)
- # clojure-poland (3)
- # clojure-russia (7)
- # clojure-spec (48)
- # clojure-uk (45)
- # clojured (1)
- # clojurescript (26)
- # core-logic (2)
- # data-science (4)
- # datascript (6)
- # datomic (58)
- # defnpodcast (2)
- # docker (1)
- # duct (14)
- # figwheel (2)
- # fulcro (130)
- # graphql (3)
- # leiningen (1)
- # liberator (15)
- # luminus (5)
- # nrepl (1)
- # numerical-computing (1)
- # off-topic (45)
- # onyx (15)
- # re-frame (9)
- # reagent (3)
- # ring (1)
- # shadow-cljs (91)
- # spacemacs (8)
- # sql (23)
- # unrepl (38)
- # videos (2)
- # vim (12)
morning!!!
m˚nm˚n
a request-for-comments, if I may - I've been re-thinking how Nomad (configuration library) works, after a few years of using it in various applications
decided to try bringing the configuration into Clojure files as vanilla maps, which can then be generated/manipulated using standard clojure.core functions - by keeping it 'near' the code it's configuring I'm trying to avoid having to audit an entire configuration infrastructure to find out why a configuration variable has a certain value
also trying to avoid a configuration library needing its own DSL for things like parsing environment variables, defaults/fallbacks, retrieving configuration from other sources, secret management etc - IME these usually turn into an almost-turing-complete language anyway - if it's Clojure, we can already use (System/getenv ...)
, or
, merge
, read-string
etc
appreciate it's a bit of a big ask to get excited about a config lib on a Monday morning, but any feedback/thoughts would be gratefully received 🙂
it's currently on a branch here: https://github.com/jarohen/nomad/tree/0.9.0-rethink
I like the idea for an environment where you’re just running Clojure services. Where you’re running multiple services in multiple languages it can be nice to keep things in a consistent state across those languages which is where you fall back to Environment variables or something your infrastructure provides like Kubernetes ConfigMaps
I've been quite fortunate to have been working with predominantly Clojure systems for a while now
thanks @U0694C7V3 🙂
Morning
"Lovely" snow outside
@dominicm how'd your private static AWS site thing go?
@yogidevbear success!
Just had a penny-drop moment. I've been working with nested vectors and (into #{} ...
and seeing inconsistent errors. Finally clicked that some of my vectors (e.g. [1 1]
) are losing a little in the waistline (e.g. #{1}
)
Does anyone have a minute to quickly test something for me, please - will entail clicking on a link, telling me whether or not a web-page loads and then copying the top 5 lines of the page source into here for me to look at? Would also be helpful to know where in the World you are... 🙂
me too if you need more than 1
having written a whole bunch of cross platform bash I wish I could have written that in lumo/cljs and have it play nicely in org-babel