News for hackers. Stuff that matters.

PirateAvogadro

Re:Is This Prime? on Friday July 16, 2021 @10:49AM (#27856806)
You don't need to test up to n/2, just floor(sqrt(n)) will do

even better you only need to test the primes <= floor(sqrt(n))

You could use ITERATOR_DEBUG_LEVEL=1 or 0 in debug mode; I made a "FastDebug" profile for this, although you will have to recompile dependencies
Re:Malware identified in CCleaner 5.33 on Monday September 18, 2017 @06:23PM (#15280212)
Having chrome installed by whatever [dark] pattern is at least putting it on an even footing with the platform's default browser - for those who would never proactively change their browser, this at least is closer to such a browser meritocracy.