Fork me on GitHub
#clojure-uk
<
2021-07-08
>
dharrigan05:07:35

Good Morning!

alexlynham08:07:11

does anybody have a decent pattern for passing env vars to a reframe app? i've got a workaround but it's sh-sh-sh-shonky

alexlynham08:07:35

Ah yeah ok so this is pretty much what I'm doing. Was curious if there was a way to directly use env vars on say a hosting box but this will do

alexlynham08:07:44

Thanks for the link man!

dominicm08:07:07

Hmm, if it's vars on the hosting box I generally see this done by generating HTML with vars like:

[:script "let xxx='" (System/getenv "BLAH") "'"]
Which isn't great either really. Does webpack have a different solution to this? I can't imagine it does?

alexlynham14:07:24

similar really, pass 'em in when you build and they get assigned to a config fie

alexlynham14:07:53

makes you realise how spoiled one is on the server side

dominicm14:07:28

Servers are awesome, why did we stop using them?

alexlynham14:07:32

something something interactive something something the ceo's niece showed them facebook something something two weeks to do an mvp something something

alexlynham14:07:38

as i recall 😂

alexlynham14:07:01

we all woke up one morning as js developers

dominicm16:07:36

I wonder if it's too late to jump to the alternative branch of history where the terminals at a mainframe model won instead...

dominicm16:07:33

https://en.wikipedia.org/wiki/Centralized_computing I wonder what the most modern version of this is. As in, not just thin clients but an actual protocol that requires a persistent session to a server to work but has other benefits like not using js.

dominicm16:07:25

Cloud gaming is kinda cheating because it's just wrapping existing software.

alexlynham18:07:54

i suppose the current era and paradigm will pass before long, just like all things

alexlynham18:07:13

probably js has so much mindshare now though that whatever comes next will still be js lol

dharrigan12:07:13

How's everyone doing today?

Conor12:07:39

Very pleased about our brave football troops getting revenge for the Danish fighting back during the battle of Copenhagen in 1807

Conor12:07:52

Subs please check