Live data from Hacker News

Plwm – An X11 window manager written in Prolog

github.com

41–50 of 77 posts

Re: Plwm – An X11 window manager written in Prolog

#41

I'm hoping one day someone will write a window-manager service for Wayland that replaces the compositor API with a protocol. To once again enable window managers to be implemented in any language, regardless of it having a Wayland/compositor library.

have a look at river, theyre currently working on something like this!

Re: Plwm – An X11 window manager written in Prolog

#43
post #23

Does someone know a tutorial or something which explains how to get from "tutorial Prolog" to "real project Prolog", because that's not look anything like tutorial Prolog. Prolog seems interesting, but any time I tried to do anything more than toy examples on my own, I got infinite recursion, unsolvable problems.

[flagged]

I'm curious how you figure a language whose central verbs and nouns are logic "isn't math".

Re: Plwm – An X11 window manager written in Prolog

#45

Earlier quoted context omitted.

I wish more things were protocols instead of APIs.

Could you explain the difference?

A couple ways to look at it:

- Protocols are descriptive, APIs are prescriptive

- Protocols are implemented, APIs implement

Re: Plwm – An X11 window manager written in Prolog

#47
post #43

Earlier quoted context omitted.

[flagged]

I'm curious how you figure a language whose central verbs and nouns are logic "isn't math".

Many people, when they say math, mean continuous math.

At work, my colleagues are almost entirely statisticians and actuaries, and I sometimes joke that my only math course at university was Calculus 1. I have of course done lots more math, but it’s all CS type stuff like logic and discrete structures like graphs and trees which is a very different world from continuous stuff.

Re: Plwm – An X11 window manager written in Prolog

#48

Isn't ".pl" actually used for perl? Well, there might be a Prolog interpreter written in (a) perl (regex) ...

My first thought upon reading your comment was "it's used for Poland" ;-)

Then using .prl in stead wouldn’t have helped much…

Re: Plwm – An X11 window manager written in Prolog

#49
post #43

Earlier quoted context omitted.

I'm curious how you figure a language whose central verbs and nouns are logic "isn't math".

Many people, when they say math, mean continuous math. At work, my colleagues are almost entirely statisticians and actuaries, and I sometimes joke that my only math course at university was Calculus 1. I have of course done lots more math, but it’s all CS type stuff like logic and discrete structures like graphs and trees which is a very different world from continuous stuff.

These cultural differences even determine how you eat your corn: http://bentilly.blogspot.com/2010/08/analysis-vs-algebra-pre...

(I know this is weak evidence that has been debunked by stronger studies.)

Re: Plwm – An X11 window manager written in Prolog

#50
post #23

Does someone know a tutorial or something which explains how to get from "tutorial Prolog" to "real project Prolog", because that's not look anything like tutorial Prolog. Prolog seems interesting, but any time I tried to do anything more than toy examples on my own, I got infinite recursion, unsolvable problems.

This is one of the best resources for “real” Prolog: https://www.metalevel.at/prolog His YouTube videos are also incredibly good.

I'll second that. Incredibly good quality videos. The precision of the narration is simply amazing. Even if you don't intend to practice Prolog in your programming life, it's worth a listen.
Post reply on HN