Better HN
topnewbestaskshowjobs
Log inSign up

usgroup

2,683 karma · joined Sep 13, 2016 (10y ago) · 1,331 submissions

Submissions

1.

Snakes and Ladders: A Statistical Analysis(emiruz.com ↗)

1 points · by usgroup · 10mo ago · discuss

comment 10mo ago · link · parent

https://awesomeclaude.ai/ralph-wiggum

3.

Explainable Query Tagging (NLP)(emiruz.com ↗)

1 points · by usgroup · 10mo ago · discuss

comment 10mo ago · link · parent

Well that would be extra information. Wherever you find the edge of your information, you will find the "problem of induction" as presented above.

comment 10mo ago · link · parent

yes, if you decide one of them is much more likely without reference to the data, then it will be much more likely :)

comment 10mo ago · link · parent

This issue happens at the edge of every induction. These two rules support their data equally well:

data: T T T T T T F

rule1: for all i: T

rule2: for i < 7: T else F

7.

Explainable Unsupervised Query Tagging(emiruz.com ↗)

2 points · by usgroup · 10mo ago · discuss

comment 10mo ago · link · parent

SWI Prolog is just fine, and you'll find it to be batteries included unlike many other choices. The first thing to learn is the "Prolog state of mind", or how to express your intentions in Prolog without trying to turn it into a functional or imperative programming language.

Prolog will show you another way of thinking. If it does not then you are doing it wrong.

comment 10mo ago · link · parent

Personally I don't like the Standard ML based mash-ups.

I think Curry is an interesting take on logic programming. A sort of Haskell meets Prolog.

comment 10mo ago · link · parent

I can recommend "Simply Logical". I also suggest Advent of Code as a nice way to cut your teeth with expressing thoughts with Prolog.

comment 10mo ago · link · parent

Generally speaking, Prolog syntax is ridiculously simple and uniform. Its pattern matching is the most universal of any programming language partly because of this.

comment 10mo ago · link · parent

Yeah that sounds like me too. Prolog became a fetish a few years ago. I used it intensely for 2 years, wrote a lot about it, until it became a part of me. Its intangible what it does to you, but its the dual of what you might expect.

comment 10mo ago · link · parent

No, datalog is a decidable subset of Prolog. That changes everything.

comment 10mo ago · link · parent

I think this article is problematic because Prolog is truly a different paradigm which requires time to understand. Laments about no strings, no functions and "x is confusing" read like expectations of a different paradigm.

Prolog is also unusual in a sense that it is essential to understand what the interpreter does with your code in order to be able to write it well. For vanilla Prolog, that's not so hard. However, when constraint programming and other extensions are added, that becomes much harder to do.

15.

Snakes and Ladders: a short statistical analysis(emiruz.com ↗)

2 points · by usgroup · 10mo ago · discuss

16.

PyEvidence: Practical Evidence Theory for Python(github.com ↗)

6 points · by usgroup · 10mo ago · discuss

17.

Pyevidence: Practical Evidence Theory(github.com ↗)

1 points · by usgroup · 10mo ago · discuss

18.

Alias Method(en.wikipedia.org ↗)

2 points · by usgroup · 10mo ago · discuss

comment 11mo ago · link · parent

evil(x) -> not(do(x)) which equates to not(evil(x)) or not(do(x)).

The negation would be evil(x) and do(x) by DeMorgan's law.

If what you mean is all(x), evil(x) -> not(do(x))

then the negation would be exists(x), evil(x) and do(x).

12345
45