Monthly Archives: January 2009

pop quiz time!

this was in assembly, but i’m converting it to C to make it so you can understand it (though in this context the premise doesn’t make any sense)

//swaps two numbers.  Doesn’t use a temporary variable.
void swap(int &x, int &y)
{
    x = x + y;
    y = x + y;
    y = y – x;
    x = x – y;
}

nice try….

(hint: the problem has nothing to do with pass-by-reference)

the actual solution should be:
void swap(int &x, int &y)
{
    x = x + y;
    y = y – x;
    x = x + y;
    y = 0 – y;
}

Today after our chamber pod meeting thing one of us, who happens to be a guitarist/vocalist, played this random riff and a bunch of us just spontaneously started jamming.  That may have been the coolest thing that’s happened all week.  We had 2 guitarists, a cello player, a flute player, a piano, a harmonica, and an ACCORDION.  hot damn.

Nanoha StrikerS is actually GOOD!  I just watched the first ep!

hoorayyyy

nanoha and fate don’t look nearly as bad as i thought they would.  maybe they just looked terrible at the epilogue of nanoha A’s…

i guess i should just get into visual novels at some point…

though, first I’ve gotta get:
School Days
Tsukuyomi: Moon Phase
_Summer
kamichama karin
A Little Snow Fairy Sugar
night wizard
prism ark
kyoushirou to towa no sora
Kannazuki no Miko
Kodomo no Jikan
One: Kagayaku Kisetsu e
Omishi Magical Theater: Risky Safety
Natsuiro no Sunadokie
Soul Link
Love Get Chu
Gakuen Utopia Manabi Straight!
Mahoroba
Canvas 2: Niji Iro no Sketch
Da capo
Fruits Basket
Myself Yourself
Summer Days
Yoake Mae yori Ruriiro na: Crescent Love
Kaze no Stigma
Otome wa Boku ni Koishiteru
Spice & Wolf
Read or Die
Ginban Kaleidoscope
Kimi ga Nozomu Eien
Akane Maniax
Ayumayu Gekijou
Elfen Lied
Hidamari Sketch
shugo chara
Chi’s Sweet Home
Nogizaka Haruka no Himitsu
REC
Zero no Tsukaima
Mamoru-kun ni Megami no Shukufuku wo!
Kirarin Revolution

When you’re sick, you don’t feel like doing -anything-!

it’s a perfect excuse for not:
-going to class
-doing your homework
-going to taiji practice
-watching lectures
-playing starcraft
-writing letters

i’m feeling better now (though still a lot more =tired= than usual), so I’m starting to get back in the swing of things.  yay…

though, admittedly, even though I was sick, I still watched like 4 eps of anime…hahahaha…not to mention, going through a ton of prospective ones and evaluating them (I found a bunch that looked pretty promising!).