News for hackers. Stuff that matters.
Re:User beware: Modified AGPLv3 removes freedoms, adds legal... by pabs3 on Friday April 08, 2022 @02:34AM (#30953959)
The most accurate license detector is ScanCode. I think it uses some sort of rolling checksum thing for detection.

https://github.com/nexB/scancode-toolkit/

Re:User beware: Modified AGPLv3 removes freedoms, adds legal... by pombreda on Saturday April 09, 2022 @02:26AM (#30965677)
Hey, pabs3! Actually this is not using a rolling checksum for detection but rather a combo of language model, checksums, automatons, bitvectors, inverted indexes and multiple sequences alignment (e.g. a specialized diff). I put some docs there to explain the approach at ahttps://github.com/nexB/scancode-toolkit/blob/develop/src/li...