Friday, November 27, 2009

Generation Gap: It's the Parents' Fault

Well, it's Thanksgiving break and nothing else to do except chill out and update my blog. That no one reads. But hey, I can handle that.


Today we're going to talk about the Generation Gap. It's the phenomenon that people claim occurs between generations where neither one understands the other.

We can blame it on several different factors. For starters, we can always blame society. The children of the younger generation are growing up in a completely different atmosphere than the older generation. Makes some sense. After all, your younger formative years influence you a lot. If you're bombarded every day with concepts and ideas of what is right and wrong, that has a huge influence on your life. And if these foundational ideas are different than what your parents were exposed to, then it's no wonder than their world views will be slightly different.

We can also blame it on the kids. After all, the older, wise generation were kids, and then grew up and matured and now know better. However, the naive little ones still don't get it and think they're the rulers of the world and these different views clash creating a rift. After all, what teenager isn't just a bit too cocky.


However, I posit a huge factor that overshadows all of these. It's the parents' fault. That's right, I just pinned it on those bastions of knowledge and maturity.

Let's think about this for a moment. As a very young child you idolize your parents. It is their house, they set all the rules, you never see them cry and they hold absolute power over you. In fact, they seem neigh incorruptible. They are the Alpha and Omega of your universe. However, slowly, we start to see the cracks along the edges. Finally, one day, we realize just how mortal the parents really are. They are flawed humans like us. Even worse, they have some serious problems, problems that we see that they don't seem to even recognize. Worse, we figure this out before they realize we know, so they think their wills are still dominating the landscape. In response, the children begin to wonder "why do they think themselves so high and mighty."

Thusly the cookie crumbles. Thoughts of rebellion creep into our minds. Subversion creeps into our habits. And since the parents stay blind, they don't know what's suddenly happened until it's too late and the rift is established with now way back.


Then there's the stubbornness of the old. Let's face it, they're really, really set in their ways. They refuse to change their behavior. They refuse to learn new technology. They think the olde way is best, and there's no way to get it through their heads that iPods are the coolest things ever and that texting is the communication of the future. Or that they should stop repeating themselves every five minutes to try and get a point across. Nope. Even worse when they are ridiculed, they know their idiosyncrasy, and then just shrug it off and say they're too old to change. Bull. No wonder you can't stay in contact with the younger ones if you can't keep up with the times and have to ask for help to add an attachment to your e-mail every single time you want to send one.


So yeah, it's all the older generation's fault.

Thursday, November 5, 2009

TL;DR Metric

How to tell the forum you're viewing isn't super serious? Or, at the very least, filled with people who aren't seriously invested in trying to make life/the game/logical thinking/etc. better?

Step 1) Post a lengthy well-thought out detailed post about some component.
Step 2) See how many people just go "tl;dr"
Step 3) Higher score = moar fail.

Wednesday, November 4, 2009

The Secret to Learning Tricks

As you get better and better at a subject, you start to develop intuitive tricks to make your life easier. For example, many people know that multiplying something by 9 is easy. Multiply by 10 and subtract itself once. Or, how about multiplying 2 digit numbers by 11? You could do the 10+1 or split the digits and the middle digit is the sum of the outer two (don't forget to carry if required into the 100s digit).

While these all seem fairly common knowledge, there's a serious flaw with trying to teach these "tricks". That is when you try to teach the trick but don't give proper foundational knowledge of why it's a trick.


Returning to the multiplying tricks, the real reason these work is because multiplying is effectively shorthand for multiple additions of the same number. Without that foundation, these tricks may appear as magic. To the uninformed, these tricks are true just because. Sure they help out in a test, but when it comes to applying the concept of multiplication to other problems (like multiplying by 12) they may falter. The trick has become and answer, not the shortcut to the deeper underlying system.


This problem was recently accentuated when a friend still at Mudd posted a question about STEMs. It's a class that deals with signals and systems and moving between time and frequency domains due to sampling and a host of other things. One of the concepts is that when you sample something, you could be seeing a lower frequency of something much higher, but you're not sampling fast enough to notice. It's called aliasing.

Say you have a 1Hz signal, amplitude 2. When you sample it, in a perfect world, you would see spectra at the +1Hz and -1Hz in the frequency domain, each magnitude 1. However, say you sample it at 2Hz. Assuming we sample perfectly in phase and see each peak and trough, the sampled data could have come from say a 2Hz signal. Or 3Hz. To show this, the students are taught that their spectra lines in the frequency domain are shifted. So, the frequency domain will have spectra at the +2Hz and -2Hz points, the +3Hz and -3Hz points, and so on.


Here's the problem. They were taught that to do this you essentially copy and paste the spectras in regular intervals. So, you take the +/-1Hz signals, move it right by 2Hz, and you get a +3Hz and +1Hz spectra (magnitude 1). However, the students thought you add these new spectra to the original spectra, resulting in magnitude 2 spectra at the +/- 1Hz positions. This is weird. Now, if we "reconstruct" the signal, we have a 1Hz amplitude 4 signal? Whoa, where did that come from! I thought we started with a 1Hz amplitude 2 signal! GAAAAAH!

You see, the trick took over instead of intuition about what they were doing. In reality, the aliasing effect they were doing when moving the spectra around doesn't involve adding in the way they thought it did. The fundamental idea is to show that this could be a amplitude 2 signal with a variety of frequencies, but we don't know them because we sampled too slowly. The extra weird addition step broke things. Sure you add the spectra in general, but not in the way they were applying the trick.


Similarly, a course I'm currently TA-ing is EEC180A at UCDavis. It involves digital circuitry. There is a special kind of code called a Hardware Description Language (HDL) that lets you effectively write code for how you want your circuit to work and the computer will figure it out and implement it for you. This is a really cool trick! Saves you lots of writing and figuring out the optimal gate set up.

However, they first make them build very complex circuits using wires and physical gates. This is to build the intuition of how to design a circuit. At the end of the day, the HDL has to translate what you wrote into circuitry. If you improperly code something, maybe the computer will figure out a way to make it work functionally, but it will be a mess. The correct way is the use the code as if you were designing gates and wires. Again, the trick saves time, but fundamental understanding of what is going on inside is crucial.


That isn't to say we can't black box things. Since you are reading this, I'm sure you're using a computer with internet. Do you really need to know how the trick of pushing a key on the keyboard works? Or how your computer sends messages to servers and gets this blog? Or the way your modem protects you from hackers? Nope. We've simplified it to so you don't have to.

Then again, the moment your special simplified streamlined trick breaks, do you know how to fix it?