Fork me on GitHub
#datomic
<
2019-06-26
>
okocim16:06:11

(into #{} (comp (map :make) (map str/lower-case)) [{:make “Volvo”} {:make “Audi”} {:make “volvo”}])

favila16:06:10

I assume namespace/name?

favila16:06:24

I haven't tried it

shaun-mahood16:06:19

Yeah, that works - thanks!

Joe Lane16:06:30

Oh awesome!!!

favila16:06:56

doublecheck that (namespace the-kw) and (name the-kw) give what you expect

favila16:06:21

and it's not doing something silly like making the name part "ns/name" (i.e. with a slash in it)

favila16:06:52

that is a bug I can imagine happening

shaun-mahood16:06:43

Everything seems to work right! Thanks so much, I couldn't think of what syntax to even try with it 🙂

Jakub Holý (HolyJak)12:07:04

Neither would have I. It would be helpful to get an example of this added to the docs.

shaun-mahood16:06:04

@jaret Might be worth adding how to return namespaced keys in return maps to the docs, I wasn't able to figure it out without help

🙏 4
jaret16:06:39

Thanks! I’ll take a look at adding an example.

oz20:06:01

Not sure how active #ions-aws. Maybe this is a better channel for this issue. https://clojurians.slack.com/archives/CC0A7PUHF/p1561577826007800

shaun-mahood22:06:43

I think I just crashed my datomic cloud - I retracted an entity, then tried to pull the entity and everything hung (using datomic-socks-proxy to connect). My cloudwatch sat stuck at 6 pending ops for a while and I couldn't reconnect to the socks proxy so I tried rebooting the EC2 instances. When I tried to restart the compute instance, it went from "starting up" to "shutting down" and was then terminated by AWS - I don't think I told it to do that! My socks proxy instance started back up without a problem, but of course it can't do anything. I'm going to try a compute-only upgrade and see if things come back.

😱 4
shaun-mahood22:06:10

This is all with the solo topology.

ghadi22:06:25

what version of Datomic solo template @shaun-mahood?

shaun-mahood22:06:45

I'm not sure which version I was on, it looks like I originally created the compute stack on 2019-03-28, and I think that was an upgrade from the original combined stack. So I probably used CFT 470-8654, is there a way I can find out? It was pretty recent, but I just upgraded to 477-8741. Both my compute node and socks proxy are running again but the socks proxy can't connect now.

ghadi22:06:23

make sure your bastion security group allows ingress

ghadi22:06:35

see if you have the same error on 477

shaun-mahood22:06:42

Bastion security group looks ok to me, I just followed the instructions on the getting started page and nothing changed. The bastion is hung on the line client_input_global_request: rtype want_reply 0

shaun-mahood23:06:16

I tried updating it to remove and put back on the bastion, still nothing. Going to put in a ticket for it.