Probably McKay.
There was a strong technical slant in that show.
EDIT:
> For instance, he knew that when Carter got the Stargate working with three supercomputers, they ignored 220 of the 400 feedback signals the Stargate can emit during any given dialing sequence.
http://stargate.wikia.com/wiki/Meredith_Rodney_McKay
I miss stargate so much.