[1] https://www.thestar.com/news/insight/2016/01/16/when-us-air-...
213 karma · joined February 21, 2018
[1] https://www.thestar.com/news/insight/2016/01/16/when-us-air-...
I knew about quite old NLP+Prolog projects. But never thought that such combination can make it through serious funding. Fingers crossed.
To be completely honest I use Prolog for prototyping new algorithms if they involve some kind of search. It doesn't happen often (every 10 years or so), but it does!
I've seen a lot of Prolog-inspired research (modified semantics, hence really just “inspiration”), one YouTube video about “Prolog in production” and a lot of hobby projects.
As a Prolog teacher at our university, my question was a bit provocative, hoping that someone proves me wrong.
Still, after 4 years, this article has 1 citation, which is a self-citation [1]. Is this a definitive proof that Prolog is dead?
[1] https://scholar.google.com/scholar?cites=4818730189048705347...
Often I feel like having seen 100% of woodworking videos on YouTube. Yet, I recognize 10% channels from your tool. It gives me a good inspiration!
There are many aspects to UI performance. Unlike IntelliJ, our app has only tens of widgets displayed at once - I can't compare in this regard.
However, we have very big models, namely tables with >100000 of rows. Scrolling is smooth and initialization as well. From my experience, JavaFX allows you to write elegant code which still caches a lot of components. This is a strong performance benefit.
My issue with JavaFX is a very well thought-out philosophy, translated into an API which is far from perfect. Once you go beyond "hello world" examples, you e.g. have to start type-casting. I'd love to see JavaFX v3 where these things would be sorted.
The first thing I learned in the 1st year of schools were basic concepts of set theory. We were drawing circles, ellipses and Venn diagrams (even though we didn't call them like that) filled with images of apples, plums and cherries. Teachers explained to us what an intersection, union and set differences are and we were supposed to draw items into one set, but not in another set, etc.
I recall these exercises as funny and playful. They were similar to IQ tests in the sense that the exercise is logical, slightly entertaining, but highly abstract and loosely related to the world you know.
And I think this was the main issue. The 2nd topic we learned was simple arithmetics as in standard educational systems. However, at that time, I didn't see any relationship with the concepts of set theory.
Was the system any good? Hard to say. AFAIK, it was dropped after a few years. Eventually, I obtained a PhD in computer science, so at least, the system wasn't a complete disaster for me. :-)
For me, personally, the hobby part became SAT solving. It's related to software verification and theorem proving and I feel like learning something useful - even for my family through better career prospects (responsibility box ticked). And I still get the bit-fiddling just as when hacking old microprocessors.
Last time I had to write a rule-learning-inspired [1] algorithm with a custom hypothesis language. Prolog has the advantage that you can experiment with different search strategies (depth-first search, breadth-first search, informed search, ...) very quickly. Also, given that SWI Prolog can be used without a build system, it is as quick to bootstrap as to write a BASH script. Not even unit tests need a library nor dependencies...
So my use-case for Prolog is: - prototyping, - that involves some kind of searching, - first-order logic, or at least some kind of pattern matching involved and - no fancy I/O (parsing binary data), because this is IMHO Prolog's weak point.
<disclaimer>I work in a company that deals exclusively with OR. This means that we might be overly specialized for this product.</disclaimer>
I see OR-Tools as an educational product. The tool is easy to start tinkering with and it has superb documentation - even for people not specialized in combinatorial optimization.
Is it really the case?
Human("Socrates").
Animal("Turtle").
Mortal(x) :- Human(x).
Mortal(x) :- Animal(x).
Suppose :- means iff. Turtle is Mortal (lines 2+4, implication to the left). Because Turtle is Mortal, it must be a Human (line 3, implication to the right).Is it really valid according to Datalog semantics?