News for hackers. Stuff that matters.
Re:How to Solve the Sudoku Puzzle with Programming by cbarrick on Monday October 11, 2021 @01:20PM (#28830643)
My favorite way to solve constraint satisfaction problems is by using the the excellent CLP(FD) or CLP(Z) libraries for Prolog.

A sudoku solver can be written in just a few lines [1].

[1]: https://github.com/triska/clpfd/blob/master/sudoku.pl

Re:How to Solve the Sudoku Puzzle with Programming by gcatalfamo on Monday October 11, 2021 @12:10PM (#28829883)
> For a junior programmer, a programming language is something like Angular or Blockchain, while for a senior developer, a language is Ruby or Python.

What?

Re:How to Solve the Sudoku Puzzle with Programming by 0xFFFFFFFFF on Monday October 11, 2021 @01:41PM (#28830848)
Also:

> A data structure is a linked list, a red-black tree, or another data structure.

Seems we have a recursive definition here

Re:How to Solve the Sudoku Puzzle with Programming by dllthomas on Monday October 11, 2021 @04:09PM (#28832451)
It's a joke, like about half of the article. There's some non-humor value to the whole thing too, though, if you get far enough in.
Re:How to Solve the Sudoku Puzzle with Programming by DylanSp on Monday October 11, 2021 @04:21PM (#28832597)
I didn't realize it was a joke until I saw the author's newsletter about it today. Should've caught it earlier, though, given how different it is from his usual high quality.
Re:How to Solve the Sudoku Puzzle with Programming by dllthomas on Monday October 11, 2021 @09:08PM (#28834852)
https://buttondown.email/hillelwayne/archive/new-essay-and-t... seems to be the newsletter in question; I am not subscribed despite fitting the demographics on a number of axes.
Re:How to Solve the Sudoku Puzzle with Programming by DylanSp on Monday October 11, 2021 @10:21PM (#28835375)
Indeed. It's generally an interesting newsletter, covers some interesting topics.
Re:How to Solve the Sudoku Puzzle with Programming by throwaway889900 on Monday October 11, 2021 @12:55PM (#28830364)
For something equally as unreadable as J, try APL! http://dfns.dyalog.com/n_sudoku_bfs.htm
Re:How to Solve the Sudoku Puzzle with Programming by dunefox on Monday October 11, 2021 @02:42PM (#28831468)
Norvigs Sudoku solver: https://norvig.com/sudoku.html