Showing posts with label CSU diary. Show all posts
Showing posts with label CSU diary. Show all posts

Feb 15, 2014

(Aggie) Resident Profile: Jam & Jaisri

appeared in Apartment Life Newsletter Vol 3, 2013

Aug 16, 2013

Top 10 Productivity Tools in Matlab

Rick Rosson is a Senior Applications Engineer at Mathworks, a company that developed the Matrix Laborary (Matlab) software. He gave a talk on top ten productivity tools in Matlab, most of which I already knew. Still, I liked the talk because I got a free Matlab logo sticker for answering correctly to a question he posed during the talk (Yay!).

Here is the list of top ten productivity tools in Matlab according to Rick Rosson (not in any particular order though).
  1. Code Analyser
  2. Section Mode
  3. Publishing
  4. Command History
  5. doc command
  6. Tab completion
  7. Inline syntax guidance
  8. Automatic variable name change
  9. Matlab path
  10. startup.m
You can read about all the above ten tools from Mathworks website, however, let me give you a brief introduction to each of the tools.
 
Code Analyser: This is a new feature in Matlab which you will find at the top right corner of Matlab editor window. If your script is error free, the code analyser indicator will turn green indicating everything is alright. If your code is inefficient, or has error which does not affect the execution of the code, it turns yellow. As you would have probably guessed by now, the code analyser indicator turns red if there is any error in your script that affects the execution of the code.

Section Mode: As a Matlab user, you would have probably known that '%' symbol at the beginning of a line is used to comment a sentence. Instead, if you use '%%' symbol, it will still work as comment, but in addition, it starts a new section. So if you are writing a code which can be split into several sections (or modules), you can separate them by using '%%'. For example, you can have a section to read or import the data, another section to analyse the data and one more for making plots.

Publishing: One useful feature about Matlab is its ability to publish a report in the form of pdf or html or in many other formats. Traditionally, I execute each plot, save them as jpg or eps format and manually add/import results to create a presentation file or a report in word format. All these can be done now at the click of a button. What more? The comment tag that you type followed by the '%%' symbol will become section header when you publish!

Command History: Had a bingo moment when you created that plot some time ago, but struggling to find how did you create it later on? Command History comes to your rescue in such situations. As the name suggests, the command history windows remembers all the commands you had every typed since the last time you cleared the history manually. You can even select a portion of history and make a script out of it.

doc command: While help command gives you a rough idea of what the function is about, doc command will give you more details and insight of the function. In other words, doc gives you a complete documentation about a function which you want to learn how to use.

Tab completion: This, I think, probably came from working in a Linux environment. Its probably useful when you are creating a Matlab script that runs to 1000s of lines. To speed up writing a code, type first few characters of a command (typically two to three characters) and then hit Tab command to autofill, or to choose the right command from a list of options.

Inline syntax guidance: You probably have an idea of name of a function that you want to use, but not sure about its syntax? Don't worry. Just type the function name and wait for fraction of a second. The inline syntax guidance will pop up with a help window showing various syntax options by which the function can be called.

Automatic variable change: Suppose if you have written a function for a specific problem. And now, you want to generalize it by changing specific variable name such as 'temp' to more general variable name, such as 'x'. You have probably done this using find and replace tool. But the catch is that there could be several variables starting with temp, for eg, tempoutside, temproom. Find and Replace would probably do a nasty work (if you do try, you will get xoutside, xroom instead of general variable names such as x1, x2 etc). Automatic variable change does this job more efficiently. Just change the variable name 'temp' to 'x', hold the Shift Key and hit Enter button. It will search and replace only the variable name 'temp'.

Matlab path: addpath command adds the path to custom library folder where users can create and save custom library files specific to their work. By default, Matlab would search for a function in the current directory. In case the current directory does not have the function file, addpath will tell Matlab where to search for it.

startup.m: Instead of using addpath command every time you open a new session in Matlab, you can write a startup script and set all the paths. Matlab would execute the startup script every time it is started, and automatically add paths to various custom libraries and functions.

In addition to the top ten productivity tools, Rick also listed ten more productivity tools. They are
  1. tic toc
  2. profiler
  3. file compare
  4. todo fixme
  5. debugger
  6. stack browser
  7. plot browser
  8. plot tools
  9. generate script
  10. file import wizard.
Thanks to audience's frequent interruptions and their effort to make this talk "An introduction to Matlab", Rick did not have time to discuss about these ten tools. But then, we have Google right?

Mar 28, 2013

Workshop on Scientific Illustration

"We would hear our inner voice saying No, you are not meant for this everytime we try to do different things, learning to draw a picture for example", the speaker at the workshop organized by College of Natural Sciences in collaboration with Sigma Xi, CSU chapter, said.

True! I always wanted to try my hand at drawing. Not that I feel I'm an innate artist, I just want to know what I am capable of by putting it to a test.

"Expressing your ideas through art is a good practise. It helps communicating your ideas clearer and faster", he continued. For about 45 minutes, the speaker talked about various techniques to overcome the inner voice and master the art of drawing.

Like all creative works, drawing uses right part of our brain. When we start to draw an image, the left part immediately takes over and command us saying "this line does not look straight, it doesn't look like what-you-see at all, etc". The simplest way to overcome this voice is to try drawing illusions.

Draw a rough sketch of a human profile from a side angle. Now try drawing a mirror image of the profile and observe your thinking process. 

When I did this, I drew a replica of the profile instead of a mirror image! "This is the beginning. By practise, you will be able to overcome this and can draw mirror images at ease", the speaker explained.

Drawing mirror images triggers more response from right part of our brain, and after some time, we would feel the flow by losing track of time while drawing.

In the next stage, one should try to look at light and shadow and identify the shades. Viewing a particular scene through a rectangular frame would also make our life easier by telling us what to draw. One typical advantage in using  a frame is that we can draw a picture by looking at the negative space around the object within the frame.

Towards the end, the speaker showed various examples from Biology and Chemistry of how drawing helped scientists shape their ideas and communicate effectively. The most significant of those examples is a 3000 year old book on Tibetan medicine.


my drawing of a dry fern

Finally, the audience were asked to draw pictures of some of the objects we saw around. I tried my hand at drawing a dry fern, a flower vase with rose and a vow to draw many more in future.

Dec 14, 2012

Study, we did, to take a break from study!


"Aggie community is organizing a study hour between 8.00 and 9.00 pm this mid-week. Shall we go?", I asked my wife. "They are serving hot beverages and snacks", I added.

"Sure! I have been reading a book for the past few weeks. May be I can finish it today", she replied enthusiastically.

We reached the Aggie Center on the dot and knocked at the door. A young girl welcomed us with a smile. "We are here for the study hour", I told her displaying the books we had carried with us to read.

"Please come in", she welcomed us. "Another event was held here at this center and they are just winding up. We will be ready in another five minutes", she informed. "No problem", we said, found a couch and settled, and started reading the books we brought with us.

"Coffee is ready. There is tea as well. You can enjoy your drinks now", the young girl whom we assumed to be one of the coordinator made an announcement. "Some snacks will be made available soon", she continued.

The organizer helped us in pulling a coffee table in front of our couch. We went to the cafetaria, helped ourselves with a beverage, picked up a snack packet each and returned to the couch. "Cookies will be ready in a minute", the coordinator assured.

On our way back to the couch, we noticed that we are the only ones to join them tonight. One of the volunteers was turning the stereo on and was selecting a soft number for the background music setting.

A cookie was served to us at the couch. "I am sorry. It is still hot and not crispy yet", the coordinator said. We took a just baked cookie each which was soft and melted in our mouths.

For the next one hour, I read a few chapters on "The sins of the father" by Jeffrey Archer, while wife read "The voyage of the frog", a cast away story. After a while, a girl joined us, but she did not bring any book with her. She left her coat at the entrance, went to the cafeteria and started chatting with the organizer.

Both of us were immersed into our books that neither observed the chat nor paid attention to the background music. When the clock struck nine, we closed the book, thanked the organizers and left the center.

"I read a few chapters today", I boasted on our way back. "I'm almost done with my book", wife countered. While we were walking back to our apartment, she read the notice which said "Study break between 8.00 and 9.00 P.M on 11, 12 and 13th of December!"

Jun 15, 2010

Right and Wrong!

It can be right. It can be wrong. But can something be right and wrong at the same time?

I was having my usual small allegro at sweet sinuations at Lory Student Center (LSC)  when I read this strange article. Well, my routine is to grab a cup (mug?) of coffee from the counter, add sugar and cream and mix it together, spot a chair just outside the cafeteria and have the drink. But there was a change in the usual seating area which makes me to look for an alternate space to rest my ass till I finish my cup of coffee. On the chair was placed an "USA today" daily magazine, neatly folded and was very inviting to read.

I browsed through the first page which talks about the sudden flash flood due to heavy rain in camping areas and about missing and dead people. When I flipped the daily to its fourth page, a news article about new birth certificate rule on Puerto Rico grabbed my attention. It was only a week ago that a friend of mine who is doing his Ph.D at CSU told me that Puerto Rico is an US territory and people who are born at Puerto Rico are US citizens by default.

Well, its not about what my friend told me about the territory, or the new rule that has been discussed in the article that I wanted to talk about here. The interesting thing comes at the end of the article which talks about some problem with the new law. A 78 year old Puerto Rican have applied for new birth certificate as per the rule, got his fee waived because he is over 60, but got his age printed on his new birth certificate as 33! Is there a mistake on waiving his fee, or on his age? One is correct, other is wrong. We know which is what, but does the Puerto Rico government knows about it?

May 21, 2010

Colorado Diary - Apartment Life

I have been fortunate to have come to the US on an exchange visitor program sponsored by an educational institution. It has revived my good old college days experience and have made it possible to compare the kind of education I had back in India with the US. Again, I haven't traveled or visited any college other than the CSU and so this comparison cannot be used for any extrapolation.


First comes the apartment life. I was not fully prepared for my US trip partly because I followed my junior's suggestions who visited the same university last summer. He said I can take food in the mess for which the money will be taken directly from my monthly stipend. But it came as a shock to me when I came to know that they don't allow graduates to the mess. They expect graduates to take care of themselves and so we are given an apartment furnished with a kitchen.

The apartment is about 15 minutes distance by walk from the CSU transit center. The front portion of the apartment is secured by a gate. The key to unlock the gate and reach the front office is available only with the residents. The new comers are helped by the inmates or the concerned care taker to open the front entrance. Checking in is done at the front office by filling a few forms with your name as in passport, duration of your stay etc. The apartment has to be booked well in advance in order to get an accommodation. The CSU department and Prof. Chandrasekar's (under whom I will be working at CSU) assistant helped me in reserving an accommodation by paying $140 deposit and so a room was already allotted  for me by the time I arrived.

One of the Ph.D scholar working under Prof. Chandrasekar has already taken the key from the front office because my arrival time is after the office hours. The keys include  one for the front entrance, another to  my apartment and the third one to my bedroom. The fourth key, which is used to open my mail box located opposite to the front office was given a day later, after my check-in process is completed. All the keys but for my bedroom one were working fine. After registering a formal complaint from me, they changed the lock and gave a new key the next day. I must say that the maintenance people are very good and lot more friendly. They helped me to get in the apartment with a spare key and changed the lock with in the next working day.

I am living in the second floor at West Elizabeth. The apartment is called as The International House and the resident inmates come from various countries from all over the world. The entrance to the I.House has a lobby where people gather every Friday and introduce themselves to the new comers. The lobby also houses a snooker table,  hand socker game and table-tennis. Opposite to the front office lies a couch facing the television, and two computers on the left side which is for the resident inmates to get connected with their parents, relatives and friends through internet.

It is here at this lobby that I have made most of my friends who all have come from various countries to study at CSU. Well, actually you don't have to 'make' friends as people here are lot more friendlier and start to talk with you themselves. I started conversing with a guy from Russia when I was using the internet to send sms to my mom about the recent happenings. I told him about the time difference, about the cyclone Laila, about climate in Chennai, Himalayas and in some major cities. He seems to have known about Calcutta (he pronounced the 'cut' as in 'put') through his friends. He is a very good listener, and later he told about his country, but soon he got a call from his friend and so I couldn't learn much about him.

The lobby leads to a washing machine room on the left side.  Inside the washing machine room there is a place for inmates to share their stuffs with fellow residents, mostly left over by the students who are graduating/graduated in the current semester. I found lots of plastic utensils some of them are new, some CD's, a telephone instrument, some food items which are unopened and a book. My roomie picked up the telephone instrument; since much of the food items are non-vegetarian, I prefer not to take anything from there. But now I know when I leave the apartment where to keep the stuffs that I had bought so that other inmates can use them. They call it as "green recycling policy".

The apartment entrance leads to a kitchen and a common area. There are two bedrooms on either side of the common area and a common bathroom. The common area has a couch and a chair, a tea table and provision for cable connection. My roomie has bought a Sony television with wide angle. I watch programs during my lunch break. The programs includes Miss USA competition (which got over recently), random flicks, TBBT, Star wars and Exploring the universe with Stephen Hawking.

The common area, bathroom and two bedrooms are heated electrically the control for which is located near the bathroom. The bedroom was unfurnished before, and furnishing is done at free of cost at the time of checking in as per your requirement. I got a double bed, a desk and a chair and a cupboard to keep my stuffs on. Later I bought a comforter and a pillow to keep myself warm at nights. Its too cool inside my bedroom in spite of having a heater as the upper cut off is set at 70 deg Fahrenheit to save energy.

Unfortunately, I am not able to mingle with more people because most of them had vacated and had gone home for summer and will return back only by the month of August. The only Indian I had come across so far is the Ph.D student who works with Prof. Chandrasekar. The apartment life is good, but it will be in its full glory when more students are here, that is when the CSU is in session. I hope to make friends with more people and plan to meet some fellow Indians here in days to come.

May 19, 2010

Colorado Diary - Traffic

To talk about the traffic in US by observing how the rules are followed in Fort Collins is like an extrapolation outside of the domain, which is prone to lot of error due to uncertainty. So in this article, I am going to talk only about the traffic at Fort Collins. As I had mentioned earlier, Fort Collins is a college city, with the population majority from college students who are either in their teens or early twenties.

The city is well connected by roads and all roads are either parallel or perpendicular thus forming a regular rectangular grid like pattern. The major roads are identified, and are within 1/4 to 1/2 mile (they don't follow metric system in the US). Majority of the people living in Fort Collins owns at least one car. The city's major roads are also connected by the city bus transport called Transfort. A single ride in Transfort cost $1.25, 60 cents for senior citizens, free for kids under 17 and for CSU students with a valid ID (its called as Ram card).

There are three important junctions, aka transit centres; the one closest to the CSU is called CSU transit centre, the one in the north is called as Downtown transit centre, and the other own down south is called South transit centre. Buses are numbered from 1 to 17, the route map is available at any of these transit centres, or at the apartment's front office for the benefit of new visitors. Each bus starts from their particular destination which is one of the three transit centres and always proceed in one direction in a cyclic manner.

Contrast to the keep-left rule in India, the vehicles move in the right lane of the road in the US. At any of the 3 or 4 way junction, the vehicles traveling in all direction comes to a halt even if there is no signal, and are proceeded on first come first drive basis. I call it as a gentleman agreement as the drivers agree the order unanimously without any conflict. Horn is used only when somebody is angry with your driving, which is the case when either you don't follow the lane rule, or when you don't listen to other vehicle's movement.

School zone and other important zones are identified and speed limits are mentioned. The lowest speed is near the school zone where the speed limit is set to 20 mph. To say that they obey those traffic rule is an understatement. Because they religiously follow it. Preference are given to pedestrians and heavy vehicles such as trucks wherever possible.

Since I don't own or use a car here for my transport, I will talk about the bus service at Fort Collins. All buses are air conditioned and has two exit doors whose functioning is controlled by the driver. The buses are equipped with video and audio recording device for the security purpose. The front half of the bus is designed to provide comfort traveling to old people and people with disability. The bus is also designed to lower itself using pneumatic control for easy boarding of these people.

Every bus has a chord passing above the shoulder level connecting from the first seat to the last which is operated by the passenger to request the driver to halt at the next bus-stop. People pull the chord, sit on their seats till the bus comes to a full halt, get down the bus and say "thanks" to the driver. Most of them are lot more friendlier and say "have a good day" in addition to saying thanks.

The bus driver waits until the lane is clear before starting from any bus-stop. Once he starts from a particular place, he doesn't have rights to stop in between to take-in or drop a passenger until he reaches the next one. In order to not to miss a stop, the driver announces the next stop over mike well ahead of it. The gentleman's agreement follows even with the co-passengers. If you are sitting in any of the front seat at the latter half of the bus, got up from your seat to get down, the co-passenger who is getting down at the same stop coming from behind will stop, allow you to move ahead and then gets down. One can see this gentleman's agreement at many places, such as from a parking lot, or while driving out from a mall or an apartment.

Its a human's nature to compare things what we have got with what we see. I personally believe that its not a good idea to compare, because the system which works at Fort Collins might not work in Chennai for various reasons.  In this  post, I have tried to avoid comparison to the possible extent by putting things only that I observe in writing.

May 18, 2010

Colorado Diary - Fort Collins Public Library

In any new place one can observe several good things and several bad things. To take good things and ignore bad things requires a certain level of training, which comes out of practice. Often, we tend to be biased by accepting things that we like as good and things that we hate as bad. One has to reach a level to understand and appreciate the fact that often times things that we like the most need not be good.

I was contemplating on the good and bad when I was beginning to feel that I got lost in Downtown,  north of CSU on Saturday. Earlier, my roomie dropped me at the Fort Collins Public Library, which is in Downtown, about 4 to 5 miles from my apartment. Having no other job to do in my room, I went to explore downtown, one of the busiest center in Fort Collins. Since I am yet to receive my first month stipend here, I choose not to shop and lose the few dollars which I still carry and so I went straight ahead to the public library. The library is well maintained, and very well organized. Its not very large and not too small. I should say its spacious enough to house the collections that they have. The ground floor is the juvenile section, where they have collections in all forms such as text, graphics, in various fonts for kids of varying ages.

The public library was not crowded on the day I went.  Partly because Fort Collins is a college city with majority of the population coming from CSU students. The vacation started on last Friday and so the population dwindled to about 10% of the total. I went to the first floor of the library after skimming through the juvenile section. On the stairs was a display board exhibiting various competitions and events asking the locals to participate, however much of them got over already. One of the event which caught my attention is the reading competition wherein the participant should read a book continuously for 4 hours!

After coming out of the public library, I lost my direction and so wandered along a random path. On the way, I asked a person how to go to downtown. He was in a hurry and so he didn't stop. I returned back to the library road and found a bus stop. I remembered that some of the buses don't run on vacation days. Not knowing if the bus will come in this route or not, not knowing if it will take me to the downtown transit center, I walked slowly to the bus stop counting on my fate. To my surprise, I found an old lady sitting on the bus stop talking over her cell phone to someone.

I approached her and asked if the bus that comes to this stop will go to the downtown transit center and received a positive reply from her. After she finished her call, we don't have any other job to do until the bus comes, which is about 10 minutes from then. So I casually started talking to her, telling that I came to see the public library. Then I told her I am coming from India, came here to CSU as an exchange visitor and will stay here for about 2 months. She was surprised to hear from me that I am doing Ph.D from IIT Madras and that I will be finishing it in another couple of years.  She told me that her daughter have just finished her school and will be joining some college next semester.

We talked about the weather at Fort Collins. Then she said she enjoys traveling and she has traveled herself to several countries in Asia, Europe and Africa including China and Pakistan, but never to India. She said India has changed a lot since her childhood days. She likes Indian culture which she came to know through Indian immigrants staying near to her house. Then the talk moved on to the places to see in and around Fort Collins. Earlier, my cousin brother had planned to take me to Aspin, a ski resort. But the old lady said there is nothing to see in Aspin except some wealthy and rich people from all over the world. Rather she asked me to go to Estes park from where I can get a beautiful view of the mountains.

I am still planning the trip with my cousin brother and we are yet to finalize our plan. My bet will be we will travel to Estes park, take a peak-to-peak drive having breathtaking view of the mountains through the natural forest, drive up to rocky mountains park and end up the trip at Denver. I will post about my trip after I undertake it, which will be by the end of this month.

Wondering if my contemplation have got anything to do with this article? Nope, it doesn't have anything to do with it :P.

Colorado Diary - Horsetooth Reservoir

Having an Ethiopian roomie (Zeab), who is here in the states for the past 7 years, a green card holder and owning a Nissan vehicle is like a boon from God. Yesterday, my roomie and I along with my guide and his family went to Horsetooth reservoir, which is only about 15 minutes drive from our apartment. At first, we ended up in wrong place because the map mislead us, and so does the street which is named as 'horsetooth'. We thought the street will lead us to the reservoir, but it didn't. Instead, it took us to a community park where the dogs and kids relaxed themselves by playing lot of games.We took some snaps there, asked a local lady about the way to the reservoir and drove back to the actual place.

From a distance, we are able to see the rocks on top of a mountain which resembles like some tooth. We assumed its the horse tooth and hence the name. We took the road that leads us to the reservoir bank. Man...the view from reservoir road is mesmerizing! Alas, we couldn't find a proper place to park our car, so we just kept going all the while capturing the beautiful view in our eyes. Finally we spotted a parking lot where some people have parked their cars, but the foot of the reservoir is not reachable from there because the rocks are very steep. We weren't prepared for that sort of trekking as we were just wearing sports shoe. So we decided otherwise, found a place to sit and enjoyed our snacks. We did have a good view of the water from there, and we could spot people who are boating and water skating in the reservoir water.

On our way back, we went to the Indian shop, bought puliyodarai mix and vatha kuzhambu mix. I cooked the rice, mixed it up with vatha kuzhambu and puliyodarai and served it to Zeab for dinner. We both had a very good dinner, following which we went to nearby redbox and rented Sherlock Holmes DVD for about a dollar. I watched the movie alone in our apartment since Zeab doesn't like watching movies. But the movie was boring and I was also tired after all the journey we took. So I hit the bed at 10 pm.

May 17, 2010

Colorado Diary - Introduction

Travel is always fun. Especially if you get a chance to travel into an unknown place. For this summer, I am visiting the Fort Collins at Colorado following the invitation from the Colorado State University (CSU) as an exchange visitor. In fact, this is my first trip out of my country.

One thing unique about the CSU is the student population. People come here from all over the world to get themselves educated in current topics with state of the art facilities. My visit is being funded by the Dept of Elec and Comp Engg, and I am currently staying at International House, which houses grad students from various countries. People here are very friendly, and are willing to provide help any time. The campus also has a bus facility which connects most of the important landmarks with in the CSU.

To start your stay, there are a couple of good stores such as walmart. I spent about $90 to begin with by buying a comforter, pillow, an electric cooker and some veg food items with which I can survive for about couple of weeks. I am planning to do some more shopping today to buy some ready-to-eat food items which can be served with rice. I am also planning to visit the horsetooth reservoir today, which is only few miles from my apartment. I will write about it after my trip.