Fork me on GitHub
#clojure-uk
<
2020-06-03
>
dharrigan05:06:32

Good Morning!

seancorfield05:06:56

If being under police curfew for a week is "well", yes...

dharrigan05:06:24

It is astounding what is happening, watching from the UK

dharrigan05:06:34

Feels like a powderkeg

seancorfield05:06:04

America has had 400 years of systemic racism -- Trump lit a match. We shouldn't really be surprised. But it is pretty terrifying to see it in reality.

seancorfield05:06:17

We've had peaceful protests during daylight for several days. But at night the organized looters are coming out and destroying shopping malls -- and they're mostly white supremacists trying to cause trouble 😐

dharrigan05:06:35

Trump teargasing peaceful protesters, to walk to church for a photo-op was shameful. But, of course, he's playing to his base.

seancorfield05:06:14

I was just reading the Daily Mail piece about that...

seancorfield05:06:18

He drew so much criticism for not addressing the nation and for hiding in his bunker... so this was meant to be a "show of strength"... maybe America really has reached a tipping point and we're heading into another revolution? Scary to think that but also really cool to be around for such an historic event I guess...

seancorfield05:06:01

In more fun news, I started using Closh after seeing the 0.5.0 release announcement... that is some serious sorcery! I love it!

dharrigan05:06:04

I don't think it will happen. Unlike the last one, the government is extremely well armed.

seancorfield05:06:53

There may come a point where the military refuse to support the government... many have said they will not follow orders they consider to be illegal.

Ben Hammond07:06:55

so they're using Blackwater mercenaries to work around that?

dharrigan05:06:15

Interesting, Closh.

seancorfield05:06:58

I'm running it with clojure -A:deps:closh so I have add-lib available to load arbitrary libraries (nicer than pomegranate)...

dharrigan05:06:26

Unfortunately, not writing any clojure atm. I'm doing a migration from one environment to another environment of a system including data and microservices

dharrigan05:06:46

But I'll hvae a juke when I get back to clj land 🙂

seancorfield05:06:56

I'm doing a mix of writing new stuff in Clojure and rewriting old stuff to Clojure so I can't complain.

seancorfield05:06:01

(and TV-wise, we are officially 103 episodes into our binge-watch of Star Trek TNG 🙂 )

Ben Hammond09:06:08

bbc is embedding this visualisation, which I though was nicely done https://public.flourish.studio/visualisation/1539110

folcon10:06:31

Closh really looks like it’s getting good, is the clj or cljs version better to setup?

dharrigan12:06:15

I've been writing javascript today

mccraigmccraig12:06:09

commiserations @dharrigan , those crappy mutable datastructures always make me want to tear out what little hair remains to me

dharrigan12:06:38

Thankfully, my usage is to simply fire up a mongo client, do very basic shuffling around with data and then insert it into another mongo instance

dharrigan12:06:46

it's a throw away script, part of a migration.

dharrigan12:06:11

what's the recommendation for a clojure library for mongo?

dharrigan12:06:33

a quick google has shown monger and congomongo

Conor12:06:03

F for having to use Mongo

Conor12:06:08

I would probably use Monger myself

dharrigan12:06:42

Trust me - I have shouted until I can shouts no more that the choice of using mongo was really bad

dharrigan12:06:37

The data that we use internally is very relational, why we didn't use Postgresql (my favourite db) (or any other RDBMS) I can only put down to "get things down now, quick, without thinking about how the data is structured, or the future"

dharrigan12:06:48

zero hammock time

dharrigan12:06:04

100% run-around-like-headless-chickens-time more like.

dotemacs13:06:15

Well, Postgres does have JSONB type where you can store all the JSON docs you need. But I guess the queries won’t translate well from Mongo to Postgres. You’d probably have to re-write all those.

dotemacs13:06:23

There’s this, not used it, but it looks cool: https://www.torodb.com/

folcon13:06:54

clojure(script) for bashscripting as a shell

dominicm14:06:30

torodb looks great