Some people should not be in the computer profession…

May 27, 2009
bearfacedcow

A friend of mine pointed me to this little question at one of the online forums:

hi all,

IntTemp = Int((255 * Rnd()) + 1)

I used above ASP.NET code.

Problem is in ” Rnd() ”
Rnd() value is changing everytime.

What is the alternative for Rnd()? OR How will stop Rnd() value changes at everytime?

What’s wrong with this picture?? I’ll tell  you what’s wrong… the guy should be flippin’ burgers or conducting audits. He shouldn’t be coding! Of course Rnd() is changing everytime… that’s a distinct characteristic of a Random number generator. If it didn’t change, it would be a bug.

That ranks up there with one of the systems admins I work with who couldn’t operate a microwave oven. And they control the servers that handle 13 million users? Perhaps, we need a command line on the microwave oven… they can’t handle a gui interface. Perhaps, make the microwave oven scriptable.

Oh well… that’s my personal laugh for the day!

Leave a Reply

Required fields are marked *.

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.
%d bloggers like this: