Fork me on GitHub
#off-topic
<
2020-01-28
>
sogaiu02:01:38

anyone tried this out? https://github.com/cretz/asmble > Compile WebAssembly to JVM and other WASM tools

dpsutton15:01:25

is there an extension for postgres for edn?

borkdude15:01:36

you mean like jsonb?

Alexandra Staniland15:01:23

Hey! I work for funding Circle and I wondered if anyone knew where would be best to post Clojure engineering roles for the US (Specifically SF)?

danielstockton15:01:47

#jobs I think

4
borkdude15:01:57

@alexandra.staniland #jobs or #remote-jobs

4
borkdude15:01:47

@dpsutton in a sense, using postgres as the storage backend for Datomic will make it a supercharged EDN database 😛

danielstockton15:01:09

Would there be any advantage in using postgres for datomic storage? I understood it was mainly treated as a KV-store.

borkdude15:01:25

yeah, I don't think there will be

borkdude15:01:49

we just translate our edn to jsonb and then use all the existing jsonb things in postgres

👍 4
borkdude16:01:39

This library was recently announced which should help with preserving some things that are not expression in json normally, while still having query capabilities: https://github.com/wilkerlucio/edn-json

borkdude16:01:24

I've not used that myself, just posting the link for further examination

dpsutton16:01:47

thanks! i'll put it on my list

p-himik16:01:21

Maybe transit with json-verbose would be useful here, since it's backed by JSON by itself.

p-himik16:01:09

json-verbose to support queries - with just json the keywords will get cached and replaced with LUT indices basically.

dharrigan16:01:24

I tried out using postgresql as the storage for datomic on-prem

dharrigan16:01:39

it works fine - it just stores opaque values

dharrigan16:01:13

CREATE TABLE datomic_kvs
(
 id text NOT NULL,
 rev integer,
 map text,
 val bytea,
 CONSTRAINT pk_id PRIMARY KEY (id )
)
WITH (
 OIDS=FALSE
);

dominicm16:01:33

I have done transit with JSON verbose, worked nicely for my use case.

dominicm16:01:37

Fun story, long before datomic presto, some department at a customer was insisting that they could connect to our database for analytics. We asked them what data they needed so we could start writing an export job. Eventually we caved and let them access postgres and the datomic opaque blobs, we never heard from that person again.

dpsutton17:01:19

read only i hope?

dominicm21:01:19

I wouldn't swear to it

kenj20:01:07

Anyone have any strong opinions on Elm? I played around with it a bit and it seemed kinda nice.

chepprey20:01:20

I vaguely remember a discussion on it not long ago, perhaps in #other-languages (looks like it has timed out of that channel now)

andy.fingerhut20:01:12

I do not recall if #other-languages channel is logged on Clojurians ZulipChat, but if it is, there should be searchable history there from whenever that logging began.

seancorfield21:01:30

There was a very brief mention of Elm about two weeks ago. Nothing logged prior.

andy.fingerhut21:01:15

and looks like prior goes back to Jan 2019 on that channel, perhaps, but not certain I checked that correctly

seancorfield21:01:13

@risinglight I really like Elm. I like its (very opinionated) mindset and its somewhat proscriptive architecture. That said, when building apps with it I also got pretty frustrated with it because it is very opinionated 🙂

👍 4
eccentric J21:01:31

Out of curiosity is that because you disagree with those opinions on how the app should work? Or is it a matter of getting used to them over time?

seancorfield21:01:58

The latter. It was a steeper learning curve than I expected and getting used to the "Elm Way of Doing Things" was hard when "the simple and obvious way" didn't work 🙂

👌 4
gklijs21:01:20

Elm is known for breaking changes. Some of them seem to be 'just because they can'. Doing interop with js libraries when there is a lot of data/event interaction is a lot of work, all to keep the 'elm-world' pure. If I where to build a new frontend, and Elm would support all the features needed I might pick Elm over Clojurescript. Both are a lot better than Angular, which somehow rules for Corporate in the Netherlands.