?

Log in

Tue, Feb. 8th, 2005, 03:18 pm
The Quality of a restaraunt.

The quality of a restaurant comes down to the simple element of making a Fajita. How good the fajita is determines where a restaurant resides on a scale of A+ to F. I seem to order Fajitas any time I go to restaurants. I just always order them, I love them so much. I really should refrain from ordering them at certain restaurants, because it's a large let down.

I ate at Chili's last night here in Michigan, along 94 East towards Detroit. The fajitas were very favorable but the cheese, or lack there of soured the tasting experience. I give their Fajitas a B+, thereby automatically giving their restaurant a B+ as well. Remember, if you make great Fajitas, your restaurant is the best in the world.

On that note I am a bit bored out of my mind at night. My work laptop can run Wow, but it feels way to stiff. I associate it with the fact that the LCD panel has either a slow refresh rate or bad color contrast. In the end I can't play more than 40-50 minutes on it before I find myself livid with the graphical lag.

I wrote a semi-bubble sort last night in an IM with a friend. I messed it up because in order for it to truly sort the entire combination, it requires a double recursive loop, one from the front and one from the back. The correct code would be as follows.

for(a=0; a < array.length-1; a++)
{
for(b=1; b < array.length; b++)
{
if(array[a] > array[b])
{
temp = array[a];
array[a] = array[b];
array[b] = temp;
}
}
}
for(a=array.length; a >= 0; a--)
{
for(b=array.length-1; b >= 0; b--)
{
if(array[a] < array[b])
{
temp = array[a];
array[a] = array[b];
arrray[b] = temp;
}
}
}

Tue, Feb. 8th, 2005 10:38 pm (UTC)
shaktadalapoo

Two seperate loops? <3

Wed, Feb. 9th, 2005 03:38 am (UTC)
phaelon74: good times

Yeah, I messed it up originally. The Real code would be

for(a=0; a < array.length-2; a++)
{
for(b=1; b < array.length-1; b++)
{
if(array[a] > array[b])
{
temp = array[a];
array[a] = array[b];
array[b] = temp;
}
}
}
for(a=array.length-2; a >= 0; a--)
{
for(b=array.length-1; b >= 0; b--)
{
if(array[a] < array[b])
{
temp = array[a];
array[a] = array[b];
arrray[b] = temp;
}
}
}