News for hackers. Stuff that matters.
Re:Code that is valid in both PHP and Java, and produces the... by splintercell on Thursday September 01, 2016 @11:36AM (#12406110)
> I mean, HN likes to be very dismissive of PHP but at the same Composer (the de-facto PHP package manager) avoids dependency conflicts entirely and provably because it contains a home-cooked SAT solver[1]. In PHP. Tackling an NP-complete problem without breaking a sweat. <

Any idea where can I find more details on that. The slideshow you linked does not provide enough information.

Re:Code that is valid in both PHP and Java, and produces the... by skrebbel on Thursday September 01, 2016 @12:45PM (#12406809)
I wish I did! I can't remember how I learned that it's SAT based and google isn't very forthcoming :-(
Re:Code that is valid in both PHP and Java, and produces the... by terminado on Thursday September 01, 2016 @09:40PM (#12410213)
Probably because most Google searches for "SAT" involve prep courses that help you achieve a score of 1600... [._.]

On the other hand, jargon searching wikipedia helps narrow results:

https://en.wikipedia.org/wiki/Boolean_satisfiability_problem

Re:Code that is valid in both PHP and Java, and produces the... by johnny22 on Sunday September 04, 2016 @05:34PM (#12426834)
i thought the SAT solver was a PHP port of libsolv.