HNHacker News
TopNewBestAskShowJobs

muydeemer

33 karma · joined September 13, 2016

submissionscomments
muydeemer··on Ask HN: Why GraphQL APIs but no Datalog APIs?
You might want to check out Grakn (https://github.com/graknlabs/grakn/) - its query language is an implementation of recursive datalog with negation and comes with lazy execution. I am one of its developers.
muydeemer··on Comparing Database Types
The article reminds of the work of Stonebraker and Hellerstein - What Goes Around Comes Around, which gives a description of how the database world goes in cycles (can be found here: https://people.cs.umass.edu/~yanlei/courses/CS691LL-f06/pape...)
muydeemer··on Comparing Database Types
Just a quick remark on graph dbs. Titan which is mentioned in the article as an example of a graph db is dead. Its successor is the Janus graph (https://github.com/JanusGraph/janusgraph).
muydeemer··on The Feynman Lectures on Physics: The Principle of Least Action (1963)
One of my favourite principles. We used to refer to it as the law of general laziness.
muydeemer··on Prolog's Death (2010)
You might find https://github.com/graknlabs/grakn of interest. Datalog was one of our main sources of inspiration. The query mentioned in this thread (the person named Bob who lives in Texas) would be something like:

$x has name 'Bob'; ($x, $y) isa lives; $y has name 'tx';

muydeemer··on CLIPS: A Tool for Building Expert Systems
Backward chaining is goal-driven, it's aimed at answering specific questions where you can prune your search space effectively. This is opposed to data-driven forward chaining where you basically keep looking at what things can be derived without having specific queries in mind. I wouldn't say one is better than the other, it depends on circumstances and use cases. In dynamic systems where there is a lot of data changes/data is fed in dynamically, backward chaining gives you a completeness guarantee whereas FC is eventually consistent (specific answer you are looking for might be not triggered yet). On the other hand, FC is useful when we want to use triggering behaviours - once a specific information is added to the system, a trigger can be executed/specific action can be taken.
muydeemer··on The Essence of Datalog (2018)
Just to add and clarify: it supports recursion (since a couple releases back) and pattern negation based on set difference (on current master branch, soon to be released).
muydeemer··on The Essence of Datalog (2018)
As I see people mentioning Datalog-related software, I'm gonna throw a pebble into the yard as well - Graql (https://github.com/graknlabs/grakn) is a declarative graph-based query language with rule-based reasoning heavily inspired by Datalog and Logic Programming.

Disclaimer: I am one of the maintainers.

muydeemer··on OpenDUNE – An open-source recreation of the game Dune II
in warcraft you could select groups of 4 as far as i remember
muydeemer··on Logic Programming (Prolog, ASP, etc) and GRAKN.AI (a distributed knowledge base)
You can omit the optional value variable and have:

match $x isa person, has firstname 'Titus';

muydeemer··on Ask HN: How much does a master's degree matter, in addition to a bachelor's?
It's an ill-defined question. The correct question should be 'How much can I learn/gain/develop from an extra master's degree". Degrees are just papers, they only matter during CV screening. What matters is your set of skills, abilities and expertise.