freenode/#lisp - IRC Chatlog
Search
17:06:10
selwyn
does anyone know of lisp libraries that do monte carlo tree search? am also interested in alpha-beta pruning and minimax
17:10:20
dim
https://github.com/melisgl/micmac even, sorry, looks like I did a stray C-t when copy/pasting
17:19:42
Kabriel
disregard my 9999 comment; just noticed it is a normal integer, so everything is fine.
17:20:11
sjl_
doesn't really bother me too much though, since you can't process times before 1900 anyway, so really the answer is usually "just use local-time"
17:31:10
pjb
Kabriel: 1- use lisp. 2- use integer. 3- be very sad to still be on Earth using Gregorian calendar in 9999-12-31.
17:33:16
aeth
My personal favorite for the future's year numbering system is the Holocene calendar. https://en.wikipedia.org/wiki/Holocene_calendar
17:33:46
sjl_
pjb: yes, that is one of the main points of naggum's time article, which was the inspiration for local-time
17:33:50
aeth
The HE system is the year numbering system that uses the programmer's solution... just add a "1" in front of the current year. Now almost all meaningful-to-human dates are positive!
17:34:16
pjb
aeth: we have at last _some_ historical and astrological written data to be able to fix the origin of the gregorian calendar.
17:41:01
aeth
pjb: If the universe is a simulation, it started running on 1970-01-01 and everything before that point is fiction.
22:21:49
asarch
One very stupid question: I can do: (net.html.generator:html (:html (:head (:title "My first page")) (:body (:h1 "Hello, world!")))) and I get: <html><head><title>My first page</title></head><body><h1>Hello, world!</h1></body></html>
22:22:33
asarch
However, if I do: (defun wrapper (body) (net.html.generator:html (:html (:head (:title "Mi first page")) (:body body)))) and then (wrapper "Hello, world!") I only get: <html><head><title>Mi first page</title></head><body></body></html>
22:23:39
pjb
asarch: go read: https://github.com/informatimago/lisp/blob/master/common-lisp/html-generator/html-generators-in-lisp.txt
4:22:23
beach
It is a self-published book about LISP9, a Lisp system of the author's creation. It is inspired by Scheme.
4:29:20
beach
The first 340 pages contain only a very small amount of Lisp code. Most of it is C. And there is English text explaining what it is for.
4:32:16
beach
That part is around 60 pages and it contains definitions like CAAAR, and macro definitions like COND, AND, etc.