News for hackers. Stuff that matters.
Re:Learn Prolog Now by ang_cire on Wednesday November 12, 2025 @01:10PM (#45903556)
Um, that's really easy to do in your head, there's no carrying or anything? 7,070

7 * 101 = 707 * 10 = 7,070

And computers don't brute-force multiplication either, so I'm not sure how this is relevant to the comment above?

Re:Learn Prolog Now by polotics on Wednesday November 12, 2025 @01:57PM (#45904373)
I think it is very relevant, because no brute-forcing is involved in this solution.
Re:Learn Prolog Now by nutjob2 on Wednesday November 12, 2025 @03:29PM (#45906109)
That's not true, the 'brute force' part is searching for a shortcut that works.
Re:Learn Prolog Now by numpy-thagoras on Wednesday November 12, 2025 @05:28PM (#45907746)
The brute force got reduced down to fast heuristics, like Arthur Benjamin's Mathemagics.
Re:Learn Prolog Now by jabbywocker on Wednesday November 12, 2025 @02:20PM (#45904833)
It’s almost like you’re proving the point of his reply…