Hacker News new | past | comments | ask | show | jobs | submit login
Learn Datalog Today (learndatalogtoday.org)
88 points by tosh on May 28, 2017 | hide | past | favorite | 10 comments



Datalog is a declarative database query language with roots in logic programming.

That's right, and even more holds: Syntactically, Datalog is a proper subset of Prolog!


In this tutorial, they use EDN, which is a subset of Clojure data instead.


Yes, I noticed. That's a very significant departure from Datalog syntax.

"Learn Datalog Today", and learn something else from this tutorial!



Is this a bot? Pretty good idea.


If you are wondering why you would want to dive in, let me offer another good reason: there is Datascript (https://github.com/tonsky/datascript), which puts a good subset of Datalog inside your client-side browser app.

I found it very useful for dealing with relational data in browser apps.


This seems like a really interesting page, unfortunately it's currently hard to consume on a smartphone: no mobile view and not possible to enable Reader Mode even on Firefox for Android :(


To be fair, a big part of this page is the interactive exercises, which would be a nightmare to try to do on mobile anyway. So I can see why being compatible with mobile wasn't a big concern.


Well reading about this non interactively is still better than, well, not reading at all. I have vivid imagination!


Reader mode is available in Safari (iOS). Maybe the github sources work for you? You'd miss out on the interactive parts, tho: https://github.com/jonase/learndatalogtoday/blob/master/reso...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: