Thursday, April 21, 2005

school is almost done, finally. . . . .my motivation is wearily growing thin. i think i have really found what is my cause for dissatisfaction with school and that is the almighty class schedule. it really doesn't help that 3 days of the week i have 3 classes each of an hour in length, each separated by an hour span. an hour of class followed by an hour of break followed by an hour of class followed by an hour of break followed by an hour of class really makes it hard to get into any type of groove. if my classes were all together, atleast then i could get my mind into a working groove. and then i wouldn't squander my breaks between class trying to make up some sleep. only two weeks of class left, however, so little time left to suffer.

i'd also like to state my hatred for the dorms. i have finally realized that my childhood dreams of pimping my room would have been worthless as i have found out that i hate living out of one room. having all personal belongings and necessities in one room ALONG WITH a whole other person and their set of belongings just isn't comfortable. now i am one to enjoy the company of a friend for the most part, but i require a large bit of me time. being alone just brings along the security of knowing that if i think or fart out loud, no one else is there to think i'm weird. i also feel safe in knowing that should i ever need to investigate any region of my body for any purpose, i can drop trou at that instant and not worry whether or not someone's class may have been cut short today.

i have also found that i am way too polite to have a roommate. i like to lead by example and be very courteous to my roommate. when he is sleeping, i turn the tv down very low and avoid making any loud noises. i keep all of my shit out of the way, i try not to let anything stink. i don't really run the same schedule as him because i like to stay up late. he doesn't like to nap at all, like i do. so i do these following things hoping he will show me the same courtesy, but it seems like he doesn't. say i am napping and he comes in. he turns the tv on as loud as he chooses. say i am still sleeping when he is leaving, he leaves the tv on, loud. . . . now i could probly say something but i am too much of a pussy and a pushover. i tend not to care because i've found that most people prefer to get their way more than i do. i grew up with my mom and brother who always seemed to have their preference of how they wanted things to go, and they got their way. meanwhile my dad basically had to take a passenger seat. i think i ended up modeling myself after him. most people say that has become a redeeming quality of mine, how i tend to not give a crap and am easy going. but i have found that doing that too much tends to leave people taking advantage of you.

well i hope everyone had a happy holiday yesterday. i'd like to leave everyone with a little excerpt from the MSU newspaper "The Reporter." this little bit is from a weekly installment entitled "News Abuse" by one Andrew Miller. it's just a little piece where he gives color commentary on big stories in the entertainment world:

Yesterday was 4/20.
And that probably means a lot more to you than it does for me, but I hope it was a happy one. You Piles.
4/20 is the most redundant day in the universe. It's like masturbators deciding to have an unofficial masturbation holiday-probably June 9th. Does that change their daily regimen? Hell no. They're gonna do it every other day of the year because they like to and that's OK. They don't have to get together once every year and hold hands (thank goodness for that). Have some security in your habits, birds and blokes.

i mostly laughed at the part where he insinuated a circle-jerk. but i really did enjoy the correlation of the two ideas, but hey, just because trees are probly planted every day on earth doesn't seem to take away too much from Arbor day. and people buy shit every day, but that sure as hell doesn't take away from christmas. so let the stoners and masturbators have their holidays (they probly can't be on the same day, probly won't be the same people either).

well i guess i could save some content for a further post. peace

Thursday, April 14, 2005

a trip into the mind of a computer programmer

in choosing my major as computer engineering, i've finally gotten to learn things about computers i've never known. . .mainly coding. now the coding i'm doing is nowhere near that complex or intricate as real programming that runs most operating systems, i'll get to that down the road, but i am getting an introduction into the main ideas such as basic syntax, modularity, strings, and graphic programming.

it kind of sucks because most everyone in my class has previous experience with programming because they all had computer classes in their "big town" high schools. me, nilch. i guess i didn't do any exploring myself either, but still. i was busy being a popular jock, i didn't have time for being a nerdy computer nerd. and i seem to be learning well. a funny thing is, i bet i have just as high of a grade in that class, if not higher than some of the other nerdy nerds.

the programming language we learn in is called python. it's a lot simpler than say java or C++ or other languages. there's a lot less syntax, so you have to type a lot less for basic operations. what i submit after this paragraph is a little gem of mine that i take some pride in. the problem laid forth to us was this. . . .
according to the Goldbach Conjecture every even number is the sum of two prime numbers. i had to type a program where a user inputs an even number and the program finds two prime numbers that sum to the input number.
now this program had to have catchalls, basically if the program doesn't work properly or an input is wrong, it has to perform another task instead of letting the program put out an error message, so you really have to cover all your bases. and just so it is noted, all type following the # are comments that will tell you what certain lines do.

behold. . . . . .

import math

def prime(num):
divisor=2
#initialize divisor variable
while num%divisor!=0 and divisor<=math.sqrt(num):
#if either condition comes back false, while loop is exited
divisor=divisor+1
#if while loop is entered, variable is changed
if num%divisor!=0:
#after while loop is exited, checks current value of divisor to see if number is prime
return "prime"

def primeif(num, number1, number2):
if prime(number1)=="prime" and prime(number2)=="prime":
#check to see both are prime. if so, print statement
print "The two prime numbers that sum to %0d are %0d and %0d." %(num, number1, number2)

def main():
print "According to the Goldbach conjecture, every even number is the sum"
print "of two prime numbers."
print "This program calculates two prime numbers that sum to your input number."
#print program headers
number=input("Enter an even number: ")
#user inputs even number to calculate
if number%2==0:
#checks that input value is even
num1=3
num2=number-num1
#initializes variables num1 and num2 so they sum to input number
primeif(number, num1, num2)
while prime(num1)!="prime" or prime(num2)!="prime":
#runs prime function for both num1 and num2
#both conditions must be false to exit loop
num1=num1+1
num2=number-num1
#re-initializes num1 and num2 if still in loop
primeif(number, num1, num2)
else:
#print statement when input number is not even
print "The number is not even."
main()

now the ouput of this problem would look something like. . . .

According to the Goldbach conjecture, every even number is the sum
of two prime numbers.
This program calculates two prime numbers that sum to your input number.
Enter an even number: 30
The two prime numbers that sum to 30 are 7 and 23.

well, now that you've been bored to death, i'm gonna prevent myself from getting carpal tunnel.

Wednesday, April 06, 2005

and so my life fades to mediocrity. . . .

well tonight concluded yet another night of shitty bowling for scott. it seems like most things in my life. i plateau quite early, then as everyone progresses i either remain at this plateau or even start to fall backwards. maybe i just have a problem with beginners luck and now my true colors are showing. tonight as the night started, i was doing pretty well, i had control of the ball and was putting it right in the center. but i could never put a whole game together. could never pull in the clutch frames. basically, if you were lookin for a money man to make somethin happen when it needed to be done, it wasn't me.

maybe it's the fact that i'm still honing my touch on the spin technique. i much better prefer the ball i was using tonight over the one i used last week so that helped. i just gotta tie some good frames together, or atleast just get my good rolls at the beginning of the frame. it doesn't help to get a 0/ or follow any spare with a 0, which seemed to be my frame of choice.

i'd also like to say fuck college physics. professors suck at teaching well and are pricks when it comes to grading tests. First of all, we have two different teachers grading all the tests from two different sections, how is that fair? the other teacher grades our work based on her views while we are learning from another teacher. i think this is somewhat evident as to what teacher graded what problem seeing that on two problems i got 20's and on two other problems i had a 2 and 5. lots of no credits and other bullshit. it seems like they don't apportion values to each part. it's like screw up one part and you get no points. . . .fuckers. all i know is i am learning from this class but that probly won't be evident in my grade.

well this week has been kind of shitty but hopefully the weekend will bring a little relief. we're having the first grill out of the year and will probly do a little rollerbladin round town to enjoy the nice weather. i'm guessing we'll consume a little alcohol too. killing brain cells is the last thing i need to do though. spring is the devil and it is occupying my idle mind and body. even though i am doing nothing to enjoy it. i'm suffering from amotivational syndrome and it is sadly not the result of drugs.

so ends another post. nothing interesting to think about or comment on, but little quips of inspiration would be nice for this uninspired person. peace to all and do the world a favor and be nice to someone today.

scottie