November 2009 Archives

long sick week

Hey even programmers get sick.

Too bad I had to get sick during a holiday.

Frozen Perl is coming along, however we need more sponsors ...

more on friday

Long busy week

I have not had time this week to write my usual friday perl entry. I however will write on Monday.

Have a good weekend everyone!

Long busy week

I have not had time this week to write my usual friday perl entry. I however will write on Monday.

Have a good weekend everyone!

a brilliant Perl One liner

| 3 Comments
Andy Lester posted a link to this article, and this one-liner  is the first in that article:
<code>
perl -lne '(1x$_) !~ /^1?$|^(11+?)\1+$/ && print "$_ is prime"'
</code>

Can I just say that testing for a prime number with one line of code is brilliant?

And it can run quickly too, the lower the divisor the faster the run time.

The algorithm however has some inefficiencies that will keep you limited to smaller numbers. It will scan to see if the number is a multiple of 2, then it will scan to see if it is a multiple of 3, then it goes on to scan for 4, which will never match because it would have stopped at 2. This inefficiencies of this algorithm cannot be overcome while using a regular expression.

However it is still really neat.

Frozen Perl Call for speakers

Hello all,

I am writing to advertise to all of you that Frozen Perl 2010 will be on Saturday, February 5-7, 2010. on the University of Minnesota campus Please register, come and have some fun with us.

We are also offering a hackathon on Sunday, and two classes on Friday one taught by brian d foy , and "Introduction to Moose" by Dave Rolsky.

The call for speakers is open and I'd like to see presenters from outside of our local PM group. Check it out and submit a talk.

If you are concerned about the weather in Minnesota in February, there is a hotel that is connected to our venue by underground tunnel: http://www.radisson.com/minneapolismn_metrodome. After you arrive, you won't have to go outside unless you choose.

Please pass this information on to your employers/co-workers/fellow students, as they might also like to attend.

If you or your business would like to sponsor Frozen Perl 2010, please contact me, or visit http://www.frozen-perl.org/mpw2010/sponsorship.html .

Thank you

Leonard Miller
Frozen Perl 2010 coordinator

Frozen Perl 2010 status update.

Well, the Frozen Perl website is up, accepting talks, registrations, and payments. That was a big goal of mind for this Friday.

My other goals were to have the sponsorship things ready to send, and to have my list done.

The sponsorship items are ready to send, and I have started sending them out to my list of sponsors. Last night I got through about 25% of my list. I think I will be able to finish off my list this weekend.

The next goals are to have the call for speakers completed this weekend, and to have a call for attendees written and ready to go by Wednesday next week.

About this Archive

This page is an archive of entries from November 2009 listed from newest to oldest.

October 2009 is the previous archive.

December 2009 is the next archive.

Find recent content on the main index or look in the archives to find all content.