This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-04
Channels
- # announcements (2)
- # beginners (30)
- # calva (30)
- # cider (10)
- # cljs-dev (4)
- # clojure (59)
- # clojure-nl (2)
- # clojurescript (21)
- # cursive (22)
- # datascript (3)
- # datomic (5)
- # duct (5)
- # figwheel-main (1)
- # flambo (2)
- # fulcro (8)
- # jackdaw (1)
- # joker (9)
- # off-topic (24)
- # pathom (1)
- # re-frame (2)
- # rewrite-clj (4)
- # shadow-cljs (163)
- # sql (14)
- # tools-deps (6)
- # vim (24)
- # yada (3)
Daniel Compton’s The REPL is also great https://www.therepl.net/
There is also https://clojuredesign.club/
not sure if they still do them but I enjoyed this too http://blog.cognitect.com/cognicast
And if you are up for video, Apropos Clojure is great fun https://www.youtube.com/channel/UC1UxEQuBvfLJgWR5tk_XIXA
a long time ago i remember on the cognicast someone mentioned that they worked for a whole summer and ultimately added a semicolon to a prolog program. anyone happen to remember that episode?
ah! exclamation mark for cut, not semicolon > I did have an answer. Let me think. What did I say my most beautiful bit of code was? It was a single exclamation mark I added on my thesis. It was a massive Prolog program, and I spent probably about three months analyzing this AI planning system. My sole contribution to those three months was a single exclamation mark, which was just, in Prolog, cutting the back tracing. I was so satisfied that I had a big comment next to it for anyone who was reviewing the coding like, "This took three months. This is where I started. This was my contribution." The smallest and, I think, perhaps the most beautiful bit of code I've ever written.
they were talking about beautiful code. i threw it up here because i forgot how to find it and was wondering if anyone knew. But then I found it and just thought it is an awesome story
I guess I’m not following their perspective on it without having heard the interview. Like was the code so good that all they could contribute was an exclamation mark?
Ahh. The exclamation is very important in prolog. It’s a logic language and will search through a bunch of possible solutions. This includes backtracking. The cut operator prevents backtracking across the point where it is added. So this was intense scrutiny that this was appropriate
Prolog is a two year old child: you ask it a question and either it succeeds and gives you the answer, or it just says "No." You can spend a lot of time asking Prolog questions and just getting "No." back repeatedly 😐
In Prolog, !
can be a massive optimization and it can also cause a lot of correct answers to be omitted if you put it in the wrong place.
(I love Prolog, BTW, and worked at a company in the early 90's that did a lot of production Prolog work 🙂 )
Prolog seemed so magical in the little exposure I had with it.
I only used prolog on the university and only to build a game. Maybe that's why I see it only as a academic/toy language. But it's used commercially as well?
Yes. It's definitely a niche language but it's been in use commercially for decades.
Someone mentioned RETE in the context of figuring out "what queries changed as a result of this new fact", could it mean something other then RETE Algorithm?
@jayzawrotny Here is my list of podcasts in a screenshot from iTunes: