Archive for the ‘Google Summer of Code’ Category

Epic win

Instead of sleeping or doing homework, I decided to just add some tests and get that function I wrote working.  The bug, surprisingly, was not in the massive chunk of code but in the way I was passing arguments to Math::GMPz (surprise surprise I suck at checking my arguments).  A little love from perl -d [...]

Posted in Google Summer of Code | Comments Off

Code sprint for the win

The only part that was remaining for the is_strong_lucas_pseudoprime function was either a massive block of indecpheriable code composed of unprounceable variables and seemingly random function calls and for loops in the reference code (a fun little C program that has everything and the kitchen sink) or a sentence in the reference PDF.  Ugh. Turns [...]

Posted in Google Summer of Code | Comments Off

Fixes, tests

Minor updates that caused major headaches for Math::Primality.  With this commit, some methods are refactored and they now have tests.  The headaches this time were discovered the hard way – passing the wrong type to Math::GMPz (or any other code that couples with C libraries) will causes segfaults and unhelpful error messages.  All of my [...]

Posted in Google Summer of Code | Comments Off

Baby steps…

Did some minor work today: Submitted a bug report for Math::GMPz Did some preliminary work on the Lucas Psuedoprime Test The author of Math::GMPz has already responded with a patch for the Makefile.PL and I will re-run the test suite tomorrow (perhaps after a reboot… I think this is necessary).  I’ll get some feedback from [...]

Posted in Google Summer of Code | Comments Off

Starting off…

Rant: I hate libraries not living in the right path

Posted in Google Summer of Code | Comments Off

Google Summer of Code

I’ve been accepted into the Google Summer of Code!  I’ll be working on a Perl 5 module that implements some sweet math.  I’ll keep all zero of you updated with my progress here.  Also, it’ll be a separate category so you don’t have to wade through all of my junk.

Posted in Google Summer of Code | Comments Off