The Test Blog Part 1

Source

[POSTER]:  Hi, I’m working on RSA key generation.  As you know, I need two distinct prime integers (p and q) to kick things off.  Is there a quick way of testing primality when attempting to generate these numbers randomly, on-the-fly other than time-consuming, brute force mathematics?  I need to create a test application for it as quickly as possible.

[BLOGGER1]:  Have you thought about starting with Euler’s totient function then moving backwards?

[BLOGGER2]:  Did he say “toilet” function?

[BLOGGER3]:  I don’t think that’s possible since Euler’s phi function still requires n=pq.

[BLOGGER2]:  I don’t give a “phi” about what Euler’s thinks.

[POSTER]:  I know that n must be coprime, but integer factorization and primality testing has never been a strong subject for me.

[BLOGGER2]:  It’s Obama’s fault!

[BLOGGER4]:  Hi. You may want to try using a regular expression instead.  I found this tasty Python morsel online:

http://jtauber.com/blog/2007/03/18/python_primality_regex

import re
def is_prime(num):
 return not re.match(r"^1?$|^(11+?)\1+$", "1" * num)

[BLOGGER2]:  Hey, check this out, I found this online too:

http://www.fatrussianbridesforsale.com

[POSTER]:  Thank you for everyone’s help.  I found want I was looking for.   до свидания!

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

Charley is the Horse Who Runs a Three-Legged Race

Source

John gets a pep talk from his manager after complaining about being assigned too much work.

[MANAGER]:  We only have four people on our team, John.  So we must think of ourselves as the legs that support a table.  Each of us must be strong, sturdy and straight so as to do our part for the common good.

[JOHN]:  Yes, but doesn’t the male coyote stand on three legs when it pisses?

[MANAGER]:  I don’t know how to respond to that, John.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

Dale Drills Hidey-Holes in the Cubes

Source:  Wikipedia

Dale Cull is back working on cubicles.  HR had to let him go.

[TESTER]:  Dale, what is a hidey-hole cube layout?

[DALE CULL]:  I arrange all of the cubes into a perfect circle.

[TESTER]:  Why a circle, Dale?

[DALE CULL]:  So I can drill holes in the walls.

[TESTER]:  Why the holes, Dale?

[DALE CULL]:  I call them hidey-holes.  You can put your junk in them.

[TESTER]:  How do I get my junk back?

[DALE CULL]:  You have to reach around.

[TESTER]:  Thank you, Dale.

[DALE CULL]:  You’re welcome.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

Testing is What Testers Love to Do

Source

[BOSS]:  I know that you love what you do.  I know that you love writing code and developing automation, but now you must step away from what you love to do for the sake of your career.

[TESTER]:  What if I don’t want to?

[BOSS]:  Then I will have to squash you professionally.

[TESTER]:  But I do what I do very well.  Isn’t that what it’s all about?

[BOSS]:  You do what you do because that’s what I tell you to do.

[TESTER]:  This is a hard choice for me.   I’m giving up something I love to do.

[BOSS]:  Suck the bug spray, insect!  Feast or famine…it’s your choice.

So the tester goes home and switches on some strobe lights.  He plays a Buck Owens record  and proceeds to stick the barrel of a .45 in his mouth.  Just then someone knocks on the front door.  It’s an angry, fat man in a koala suit.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

A Tale of Two Test Harnesses

Source

The hardware team created the hardware integration tester (HIT).  The software team created the software integration tester (SIT).  One day the two teams merged.  The tool is now called SHIT.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 
Page 4 of 22« First...23456...1020...Last »

Random Site Quotes

“Always be testing, never be resting.”
© 2009-2011 TestDeveloper.com
Powered by WordPress
Content provided by John L. Whiteman and his Slam Carrot Long Ears Gang