Tuesday, February 2, 2010

Continuity

Truth be told, I was going to write another essay of a post here. As is the case with most long blog posts, I spend the spare moments of the day, like standing in line to get food or walking from class to class, marshaling my thoughts and trying to come up with important themes.

Unfortunately, I don't have as much time as I once did, and so the ideas that I had come up with today can't be expressed in their usual format.

This post was going to be about A-Rod.

A-Rod, my friend from high school. Never a close one, but always a friend.

But as friends go, he's been a great one in CMU.

Basically, what it comes down to is the following:

A-Rod loves to play foosball, as do I. He's looking for new ways to get better, ways to measure improvement, and ways to quantify the game. Perhaps it's our computer science training kicking in, or even our research experience. We want a scientific approach to the game. And finally, we have the freedom and the resources to do it.

Here's the problem. Foosball shots are too fast to see with the naked eye. Too fast to see with a video camera, even. The standard 30 frames per second simply isn't good enough. Here's an example: pull shot

Note how entirely useless the slow motion is. Granted, our shots aren't that accurate, but they can be the same speed (depending on whether the defender is trying to react to our shot or simply blocking arbitrary holes in the goal).

We spent an entire dinner trying to figure out how we might increase the frames per second of our video. The discussion was pretty fruitless, but highly entertaining. Our only remotely feasible idea was to get two cameras recording, but one delayed by 1/60th of a second. That way we could interlace the frames and double the frame rate.

There are obvious problems. How do you offset the recording time by 1/60th of a second? Obviously this would have to be computerized and not manual. I was skeptical of the existence of software that would allow cameras to take pictures on command from computers. Ever the computer science major, A-Rod told me that messing around with firmware should be "no big deal." Still don't believe that.

Other problems exist as well. With two cameras, the two different viewpoints would cause problems when trying to interlace the two clips. Maybe those 2.5 years I spent at MITRE weren't entirely useless, because I thought we could use some sort of beamsplitter, one that divides the light based on wavelength. Of course, this entirely messes up the color, but that isn't important in the overall scheme of things.

The consummate photographer, A-Rod began worrying about things that I have no understanding of - the lighting of the game room, the reflection off the table and players, who knows. The discussion carried on. One of A-Rod's friends stopped by and thought of possible solutions. Plates were clean and napkins were piled high, but we sat there thinking and trying to come up with alternatives to a complex, costly, and horrendously inefficient plan.

In the end we decided we'd look around online and talk about it later. As soon as I get home, A-Rod links me to this

Well that was an hour of our lives wasted.

Not really, actually. Problem-solving, applying knowledge, getting better at foosball. Although it's at a low level on all three of those counts, it really does combine the best of many worlds. On top of that, to sit and debate the implementation with a close friend while making random jokes that probably aren't funny in the slightest is not time wasted.

This semester has been hard. This semester is hard.

But it's things like this that keep me afloat. Foosball. Solving awesome math problems. Playing chess.

And on top of that, getting to do it with friends.

Maybe that hour wasn't useless in any sense. A-Rod suggests that 60 frames per second might not be enough, and that we would be better suited to trying to take 120 frame-per-second clips. We'll have to discuss this another time...

Tuesday, January 26, 2010

Heh

I have lots and lots of work this semester.

That is all.

Tuesday, January 19, 2010

Sports

No one in my family follows sports. At best my dad will make the occasional completely incorrect comment when I'm watching football ... something like "Why didn't he throw it a second time?!? The other guy was free!"

But of course, I'm making this joke to the wrong crowd. Barely any of my friends follow sports.

So why do I?

At first I was inclined to think that I picked up the habit in New Jersey. There, people were on top of their sports. Everyone knew how well the Jets, Giants, Nets, Knicks, Devils, Rangers, Islanders, Yankees, and Mets were doing. People even followed the now-defunct MetroStars, the local soccer team. For 3 years in a row, my parents took my friends and me to their games.

But even now, I pick up new sports like I pick up stones. In 2006 I began following the professional Super Smash Brothers Melee scene. In 2007 I began following baseball more closely than ever before. In 2008 I began following the Korean Leagues of Starcraft: Broodwar.

Why? Well, for the same reason everyone else follows sports. Sports bring people together. It's kind of strange how a game that pits fierce rivals against one another can do so, but there's no denying this fact.

These games inevitably have winners and losers. Recently, I've been fortunate enough to have my favorite team and player accomplish impressive feats in their respective sports.

It's a great feeling. Of course, with it comes the pain of defeat. It really does sort of darken your day when you find out your favorite team lost, or that your favorite player dropped out of a league, or any one of the multitude of things that can go wrong in professional sports.

But watching Pound 4, the biggest Super Smash Brothers tournament to date, I realized why I subject myself to this.

Two of the best Captain Falcon players in the world were playing against each other. It was an intense game. Both players are well-liked, they each had their own cheering section. The participants kept topping each other. The level of their game play rose to incredible heights, spurred on both by their opposition and the cheers of the crowd.

The crowd did a funny thing then. People stopped yelling things like, "Kick his ass, Jeff!" or "Kill this noob, man!" They began to appreciate what the game was giving them. Entertainment. And when someone started up the cheer "Fal-con! Fal-con! Fal-con!" I seriously doubt there was a person in the room who didn't join in.

Bitter rivals or not, the entire room could appreciate what they were seeing. They could agree on something. Even something as trivial as a video game goes a long way toward establishing a little more appreciation, a little more respect, and a little more love in the world.

And I guess that's what I'm really after.

Tuesday, January 12, 2010

My New Life

Traditionally in high school, I'd write about all my classes after the first day. It feels strange doing it in the middle of the year, but since all my classes are new, I suppose it's appropriate. Unfortunately (or perhaps fortunately), since I have work to do and it's rather late, I will keep this brief.

15-251 (Great Theoretical Ideas in Computer Science): This class is half the reason CS classes are referred to by number and not by name. Supposedly one of the most challenging classes at CMU, it's required for all computer science majors. Do not be misled by the title. This is a math class. The computer science department just decided that having the word "math" in one of their required courses was unacceptable. Therefore, at least according to Arvind, they replaced "math" with a synonym - "Great."

21-484 (Graph Theory): This is a required class for me, but in reality the reason I'm taking it now is because of the Professor. John Mackey, the most popular math professor in the school, is teaching it, and as you may recall he reminds me distinctly of Dr. Osborne. He is absolutely hilarious, quite informative, and very approachable. Actually, this worked to my disadvantage once, because I'm fairly sure he noticed me skipping class one day in Concepts of Math.

21-341 (Linear Algebra): The professor here is some old Russian dude with a heavy accent. I have no idea why, but he gives everyone the impression that he's really nice. I wonder how we got that impression, because it's at times very difficult to understand what he's saying. Today he couldn't figure out how to work the projector and consequently had to write the entire lecture in a 1 ft. by 1 ft. box of blackboard. I think his arm was tired from erasing.

15-123 (Effective Programming in C and Unix): Maybe the CS department needs to work on its course titles. Was the "Effective" really necessary? It would surprise me if they taught us to program ineffectively ... regardless, programming is the necessary evil of my major (at least in my opinion) so I'm hoping I can get this over with and not fail. That would be awesome.

82-132 (Elementary Chinese II): The original class size, in Elementary Chinese I, was around 20 students. I walked in to find a small circle set up, and to find that I was the last person to arrive. The problem? There were only 6 students already there. I can't hide when I don't know the answer anymore :( I also have a new teacher. He began the class by informing us that he had only given 2 B's last semester, and those were to people who didn't show up for the final presentations. Well ... okay then ...

Overall it was a good, if brutal day. I had to sit through 5 hours of class! How did I ever pull that off in high school ...

Monday, January 11, 2010

Back

Since I'm really just killing time at this point, I will point out some obvious, and perhaps non-obvious, pros and cons of being at school

Pros:
  • There are people here
  • The shower shoots water out really fast
  • I can dual screen with my computer and monitor
  • I have a keyboard which does not decrease my Starcraft apm by about 30
  • I can play foosball again
Cons:
  • I have much less space to put my stuff in
  • I have to do my own laundry again
  • Food is harder to procure at 3:00 AM
  • I have to go to (some) classes
And I suppose
  • I don't get to see you all anymore

Tuesday, January 5, 2010

Climbing Mountains

This is a post about the ski trip. Yeah, a bit delayed >_>

My parents are no longer the athletic type. Their days of playing sports are behind them. In fairness, I'm told that my dad was one of the best cricket players in his school and my mom played volleyball. But those days are long gone, probably due to the fact that they spend all their time chasing after me. You'd think that'd be good exercise, but apparently not.

As a consequence of this, we've never gone on trips that would involve them doing any physical activity. Actually, this isn't fair in the slightest, since whenever we go sightseeing I tire way before they do. But we'll ignore that.

So this was my first time skiing. I've seen it on the Olympics before. Those people are pretty good. They fly down the slopes at breathtaking speeds, crouched over with poles tucked in so as to minimize air resistance.

That's the easy part. I bet none of them could get up if they ever happened to fall >_>

I knew I was in trouble from the moment I put the skis on. Well, I knew I was in trouble even before that, since I could barely put them on without assistance. As soon as my second boot locked, I regretted standing putting the skis on while standing on an upward slope. I slowly but surely began to slide downwards, and I had no idea how to stop. Yangbo insisted that I should "wedge," but I hadn't the faintest idea what that meant. Eventually I got it, and stopped my almost inevitable descent to the bottom of the slope.

Getting up said slope, however, was yet another challenge. As the group moved off to the lift, I was stuck behind, desperately waddling left and right, flailing my arms, the whole nine yards. It wasn't until I received the most excellent advice of digging the skis into the the snow that I was able to make any progress at all. Even with this extremely useful tip, walking up the slope was pretty difficult.

I thought my troubles were over once I made it to the lift, but apparently not. Who on earth designed the lift system? Could they have made it less beginner-friendly? I'm not entirely sure. Apparently we are not only expected to be able to move forward at will, but also in time to catch that horrendous moving park bench that is no doubt secretly trying to bowl you over. However, thanks to my natural talent and some minor help from the lift operators, I managed to escape my encounters with the lift alive.

There was one operator who learned to recognize my hat, most likely because it is emblazoned with the logo of the most successful franchise in the history of American sports. He was one of those who had to give me minor help, such as pulling me along. Yes, this is minor help. Don't worry about it. On my third or so time getting on the lift, I took off the cap to see if he would still recognize me. Apparently not. Such is the power of the Yankees, but I digress.

Clearly, getting on the lift was not challenging enough. The designers also had to make sure that getting off the lift was also an impossible task. The moving park bench sets you down nicely and gently. However, that is about all that is nice and gentle about the disembarking. It then roughly shoves you down a steep slope, forcing you to fight to keep your balance and avoid your park-bench-mates as you careen downwards. If, in the end you are lucky enough to have maintained your balance, you also have to stop before you hit the wall of snow that is mere feet away from the bottom of said treacherous downhill tilt.

Finally! I was at the top of the slope, ready to begin my epic descent. I cheerily waved goodbye to the snowboarders, who had already fallen. Haha! I laughed to myself. I totally made the right decision in choosing to ski instead of snowboard. I eased myself forward, and let gravity do the rest. Unfortunately, gravity is not very considerate of my personally imposed speed limits. Nor is it conscious of people in front of me. Heading straight for them, I employed the only method of stopping I could think of - I took a fall.

In terms of safety, probably an excellent idea. In terms of ... time saving? Worst idea ever. Getting up with skis on is virtually impossible, and do not let anyone tell you otherwise. I'm pretty sure it took me at least 5 minutes to get up the first time. After getting up, I promptly started sliding towards those same people, so I was forced to take yet another fall. Eventually I did succeed in getting up and redirecting myself. When I reached the bottom, I saw that I was the last person to get there. In fact, I bet some people had gone back up the ski lift and then down the slope yet again. There was certainly time for it.

Eventually I improved, which was sweet. It was still fun taking the falls, and trying to control myself. One of the more eventful trips down the slope was when I tried to show off my newfound skills to Eddie. Everything was going spectacularly, until I got to the bottom. Some snowboarder who actually knew what he was doing cut in front of me, doing his whole "carving" thing. I tried to turn out of the way, and to my great surprise, it worked! I veered off to the left. Unfortunately, either my common sense or my blind luck failed me, because I was unable to turn right. This is unfortunate because I was heading right into the trees.

Escaping the entire day relatively uninjured (much to the surprise of my dad, who had skiing adventures of his own. They were unsuccessful on a whole new level.) was a major accomplishment of mine. To be perfectly honest I was wondering how we could spend the entire day - some 6 hours - sliding down giant hills on large metal strips. At the end of the day, however, I was wondering where the time went.

New experiences frighten me. I am not a particularly outgoing or adventurous person. Good thing the unfamiliarity of the ski slopes was mitigated by the familiarity of old friends. It was a great time, regardless of how terrible I was at it.

But next time I'm definitely trying snowboarding. So I can get the beginner package again. And so Arvind can join me :P

Age

This has always been a curious topic to me. As many wise people plus Jack have noted, age is but a number.

It isn't uncommon to have friends who are a year older than you are. It isn't uncommon to have friends who are a year younger than you are, either. Indeed, by meeting people through your friends, people two and three years apart have become great friends at TJ.

I was actually weirded out in German 2, the first time I had classes with people a year younger than me. I wondered what they would be like. Immature brats, no doubt. Foolish freshmen that knew nothing about German or life in general. How could they compete with our full extra year of experience and wisdom?

This thinking is of course, completely immature and foolish in itself. On the first day, I saw the freshmen in my classes. None of them had diapers. None of them were carrying Barney lunch boxes. They were perhaps a little lost, but in fairness, so was I.

In German, who you sit next to is a big deal. Frau Vaden was a huge fan of partner activities, and we'd regularly have to practice speaking with our partners. I of course attempted to sit next to Eric on the first day, but Frau Vaden was having none of that. She switched me with another student, and I ended up partnered with Renjie.

Renjie was as apathetic as they come about German. In truth, I got lucky. Whenever we were sent off to do partner work, instead of speaking in German, we would speak in plain English. Usually about math team. It was a great first quarter, and the beginning of a beautiful friendship. Renjie will deny this, but too bad.

Making friends across even the smallest of age gaps has been tough for me. I've always been too intimidated, and sometimes even too intimidating (or so I've been told), to start up conversations with people who are in a different year. It has always taken some sort of special circumstance to bridge that gap - be it German class, starcraft, or shared friends.

Cue my arrival at college. One thing I've noticed is the apparent insignificance of age. No one cares that I'm a freshman. I've been introduced to people who never bother to ask. Inquiries into what I'm majoring in are far more common. Even hobbies, sports, TV shows, etc take priority over age. In all honesty, I didn't even know the year of some of the people I talked to until some one month after I met them.

Maybe that's made it easier. Maybe it's that, as we get older, the significance of age differences means less. I mean, if you're 45, you'd have to be a real snob to care in the slightest if the person you're talking to is 44. Whatever the reason, it's easier to talk to people older than I am now. It's not just a difference of one year. One of the most interesting people I've met is a 24 year old exchange student from Spain. He's learning Chinese as his fourth language, but this is the first time he's had to learn a language through English, rather than his native language. I can't imagine how difficult that must be, but it doesn't stop me from trying.

The shrinking of the age gap doesn't stop at 6 years. My Chinese teacher, a graduate student at University of Pittsburgh, is another person I've found common ground with. She sadly no longer teaches Chinese because she is expecting her second child soon.

Wow. A friend of mine is pregnant.

6 months ago, I would've laughed at the notion. But it's true. I don't hesitate to call her a friend. I really can't give her advice, or relate to anything even remotely close to what she's going through. I don't have to, though.

When I was little, I used to be immensely proud of my age. I used to know when I would turn four. I used to know when I would turn four-and-a-half. I used to know when I would turn four-and-three-quarters, and even when I would turn four-and-seven-eights. My friend Jeremy was about 6 months older than me. Whenever I would attain a "new" age, I would run over and inform him. He would, unfortunately, always have aged the same amount. I vowed that one day I would catch up to him.

In some sense, maybe I have. Whether it's a difference of 6 months, 6 years, or a full decade, it no longer matters as much as it once did. I would be lying if I said these people were my closest friends. There are countless things they know that I don't, and many challenges they face that I don't understand. But to have their support - and to give them mine - is a challenge that I myself am starting to overcome.