The last week
Had to implement a magic squares algorithm for my Alog class.
Totally forgot that “x^y” was not x to the y power. However it was inside the truth condition of a for loop so I didn’t get an error and sat their for twenty minutes wondering why my algo ran forever or not at all. Finally fixed it and felt stupid. That being said the grad student didn’t notice it either so I guess I don’t feel as bad.
Got to play with OpenGL in my Comp Arc Class. That was pretty fun. I had always been curious how OGL was implemented, but never had the time to check it out myself. Neat little tutorial for it called JPot, explains the basics and gives you a good overveiw of how it’s implemented in C++, lets you play around with the code then re-compiles it so you can see the changes.
