This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-20
Channels
- # announcements (5)
- # beginners (37)
- # calva (3)
- # cider (23)
- # clojure (98)
- # clojure-dev (16)
- # clojure-europe (5)
- # clojure-italy (4)
- # clojure-nl (5)
- # clojure-spec (7)
- # clojure-uk (52)
- # clojurescript (14)
- # cursive (15)
- # data-science (1)
- # datomic (20)
- # emacs (7)
- # flambo (2)
- # fulcro (10)
- # jackdaw (1)
- # jobs (3)
- # joker (2)
- # juxt (3)
- # keechma (3)
- # leiningen (8)
- # luminus (3)
- # music (1)
- # off-topic (83)
- # pathom (19)
- # re-frame (19)
- # reitit (4)
- # shadow-cljs (76)
- # spacemacs (95)
- # tools-deps (16)
isn't it borked for deps.edn
too
I'm still holding out on 2019.1
måning
@dharrigan what for? 🙂
Well, say you have scripts in your repo that do things, like setup services, or invoke remote APIs to download some data
you can generalise the scripts, but putting the endpoints etc., as environment variables
#!/bin/bash
# Please use direnv to store the ES variable
ES="${ES:-}"
cat investigation-mapping.json | http PUT $ES/investigation_a
admittedly, for the use-case you're describing. I'd probably just do this in the scripts: [ -f "../.env" ] && . ../.env
No program required
that's super simple to do, rather than mess around with arguments, positions et.c..
and once I cd into that directory, direnv will load the .direnv and export the environment for me.
the other side of this, is that I don't find that developers much need to parameterize these things much. Everyone can agree on where elasticsearch will be.
I have a local elasticsearch and a remote elasticsearch running on http://elastic.co
I try out things locally first, esp with migrations from previous versions to newever versions
so, having direnv gives me the ability to choose, but not just me, others in the team too
anyone here climatestriking today? I've done our website, but as I own the company I have to admit I don't know what the form is
is skinning a cat like skinning winamp or skinning rabbits
but once I set my environment variable in direnv, I can forget about having to remembre to pass in stuff to the script, for my local development
I see systemd is now a step further to becoming its own OS: https://www.phoronix.com/scan.php?page=news_item&px=systemd-homed
@cfeckardt why ? (i haven't exactly been paying a lot of attention, but i haven't noticed much difference, other than that the systemd logging facilities seem to work much better with k8s+fluent-bit than i ever got the upstart or whatever logging facilities to work with dc/os)