Showing posts with label matlab. Show all posts
Showing posts with label matlab. Show all posts

Friday, July 17, 2009

Program program program...

If there's one thing that I will walk away from this summer having more respect of, it's programming. Since my lab is a computational memory one, it means that a lot of the work done in the lab involves computer programming. This stems from the fact that the founder of my lab grew up in the time right after the silicon valley revolution of Bill Gates, Steve Jobs, and many more. From the few conversations that I've had with him, I've learned that he could program computers just as well as the best back when he entered college at the age of 15. He continued that ideal throughout his studies and opened his lab under the same pretense.

He bought all Macs because they use UNIX and outfitted them all with programs that make them close to a linux distribution. In fact, I'm surprised that not more of the people in the lab formatted their computers with linux. In addition, he bought a 200 core computing cluster (think 200 computers linked together in one big box to allow you to run programs many times faster). As a result, not only have I had to do the usual of getting used to the lab, its people and its experiments, but I have had to learn (or at least attempt to learn) multiple programming languages.

MATLAB is the program that they use mostly for their data analysis scripts, and which I have been learning the most. It runs okay on the Macs, but the newest version, which is installed on the cluster, is based on linux and has some functionalities that the mediocre versions installed on the Macs don't. Another program that the some people use is Python, but I haven't had to be involved with that thankfully.

Meanwhile, they use LaTeX for word processing. Think of it as similar to HTML (if you know that) in formatting pages. The best way to see your end result is with a latex to pdf converter that was not installed correctly on my computer. Most people write their LaTeX scripts in a program called GNU Emacs, which is the programmer's version of a word processor. It has no formatting and endless shortcuts that move here and there, complete this and that, and customization that takes forever to learn.

Lastly we come to the bread and butter of these languages: UNIX. The operating file structure behind Macs and I think most linux operating systems. See, that's my problem. I don't know enough about these things and yet I have to deal with the terminal a lot, learning many commands by myself. This is because my PI is ridiculously busy going to the gym in the morning, having coffee with random people all over Philly, or writing papers. I end up asking the few people in the lab who know about my project to the point that I feel like I'm being a nuisance for not knowing all these simple things that should probably be prerequisites for being in this lab.

Hopefully by the end of the summer, I'll have learned enough of the programming to allow me to learn about the actual memory side of the lab in better detail.