Fork me on GitHub
#datascript
<
2021-02-10
>
oly09:02:39

just curious how did everyone learn datalog ?

danieroux11:02:56

http://www.learndatalogtoday.org if you have not seen it. And there is some information in here too, and obviously Datomic focussed: https://github.com/cognitect-labs/day-of-datomic-cloud

oly14:02:37

I went through learndatalog today, but beyond that and a few blog posts mainly from tonsky there is not much out there, I have not looked at day of datomic

oly14:02:47

Seems it is used by some large companies so curious how they got that expertise in the first place courses books word of mouth other resources ?

clyfe16:02:28

A lot of stuff under "Semantic Web" but there's a lot of cerry picking required, RDF , SPARQL etc

6
oly16:02:31

surprised there is not more out there considering there are quite a few dbs using datalog, but yeah cherry picking bits here and there is how I have been picking it up

clyfe16:02:46

Prerequisites are "https://en.wikipedia.org/wiki/Logic_programming" (wikipedia page there is decent) and "declarative programming" (not linking to wikipedia because it's way off the academic subject).

oly16:02:56

these all seem quite low level but perhaps hand to have a look over

oly16:02:49

not the same as googling sql date ranges and getting query examples on how to build the query's which is perhaps more what I was hoping for

clyfe16:02:51

Read the first link I pasted, with patience, it's the main thing, and it's accessible.

clyfe17:02:20

But all this is the internals, if you're more into user/pragma I second learndatalogtoday & datomic docs (and learn by building something).

oly17:02:45

okay will do cheers for the links 🙂

pithyless22:02:29

@UU67HFS2X if it’s not too forward to post my own talk, I feel pretty good about sending people here as an intro: https://m.youtube.com/watch?v=oo-7mN9WXTw

pithyless23:02:41

Some specific topics are covered and discussed at https://vvvvalvalval.github.io/archives.html and https://tonsky.me that I had not found eg in the official Datomic docs.

oly09:02:02

your youtube video is what got me investigating datascript its very nicely done and tonsky's stuff really helped early on

oly09:02:31

I also liked your rest video, looked neat the flow you had working with the api's but there was not much on the librarys your using to achieve that or demo project so I was never sure how to set it up

oly09:02:00

regardless make more videos they are really well done 🙂

❤️ 3
pithyless15:02:25

The ÈQL apis were using https://github.com/wilkerlucio/pathom and I’m a big fan of https://fulcro.fulcrologic.com for building production-ready stuff with these ideas.

oly09:02:32

funny I have been watching some fulcro videos https://www.youtube.com/c/TonyKayNW so will be exploring it at some point :)

oly09:02:44

I get most of the basics but when it gets to aggregates joins multiple databases the amount of information online seems very limited, are there books on the subject which people have used ?

Braden Shepherdson16:02:02

the Datomic documentation has some details on aggregates, DataScript has a similar API for those. multiple databases is a fairly esoteric thing; most usage has only one and it's just implicitly part of :where clauses.

Braden Shepherdson16:02:13

but you can pass in two databases, capture them as :in $ $other and then do :where [$ ?a :some/prop ?b] [$other ?c :other/prop ?b]

Braden Shepherdson16:02:35

(speaking generally about Datalog; I don't actually know how well-supported that is in DataScript.)

oly16:02:51

I did try something like that in datascript, mainly to insert a generated range into a query

oly16:02:53

but that's the thing is that the best way I don't know and the more complex the query's get the less info I am finding