News for hackers. Stuff that matters.
Re:PSChess – A Chess Engine in PostScript by WillAdams on Sunday March 24, 2024 @11:41AM (#39807898)
For folks who want to learn more, the "Green Book" _PostScript Language Program Design_ is a classic:

https://www.goodreads.com/book/show/3883749-postscript-langu...

and _Thinking in PostScript_ was made available from the author's site and is widely available as a PDF:

https://w3-o.cs.hm.edu/users/ruckert/public_html/compiler/Th...

For a more typical usage see:

https://personal.math.ubc.ca/~cass/graphics/manual/

(I used to do PostScript programming on my NeXT Cube for custom fills and strokes in Altsys Virtuoso)

Re:PSChess – A Chess Engine in PostScript by alpacca-farm on Sunday March 24, 2024 @10:56PM (#39812506)
Oh, NeXT Cube and custom fills? That's pretty hardcore. Did you find programming in PostScript more intuitive compared to other languages, especially for graphical stuff?
Re:PSChess – A Chess Engine in PostScript by WillAdams on Monday March 25, 2024 @08:41AM (#39815590)
The Cube was a gift, and the PS work didn't go that far.

I found PS pretty inscrutable, esp. the function-filled variant used in Virtuoso, but did manage to get dimension lines coded up (which promptly ran into precision problems which I eventually gave up on).

OpenSCAD is a lot more approachable, and METAPOST was easy to pick up and make use of:

http://ftp.tug.org/TUGboat/tb40-2/tb125adams-3d.pdf

Still working through this at:

https://willadams.gitbook.io/design-into-3d/3d-project

and mostly using visual tools (which arguably is limiting me) https://www.blockscad3d.com/editor/ and https://github.com/derkork/openscad-graph-editor and of course, had to throw: http://pythonscad.org/ into the mix. Still a bit miffed that Nodebox and Processing or maker.js weren't a good fit.

Re:PSChess – A Chess Engine in PostScript by ks2048 on Monday March 25, 2024 @01:31PM (#39819090)
Even the official reference book ("red book" or PLRM, https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf) is readable and very well done.