Computing cube roots using bit level hacks

Some time back, I was working on some primality testing algorithms in the FLINT ulong_extras module (the Brillhart-Lehmer-Selfridge test to be precise). It required computing the cube root of the integer being tested. While implementing it, I realized that the ulong_extras module was missing a cube root function.…

Spamming google forms

Some time back, my friend Lohit and I spammed a Google form with random bs. The script that we wrote was quite hacky and could be used only for that particular form. However since then I always wanted to write a script that would work for any form in general.…

Viewing blurred content on Scribd without paying

I had an economics assignment due some time back, and those who know me would be aware of my hatred towards HSS courses. I tried finding the solution manual online (shh), and was really happy when I did. But then I realized it was on Scribd, and most of the…

MPQS in FLINT

I started working on a simple MPQS this week. Most of the code required (Knuth Mutiplier, factor base, linear algebra, square root functions) was already available in the SIQS module, written/ported by Nitin. I just had to make small changes to the code to make it compatible with the…