Tuesday, June 16, 2009

Singing the Post Doc Blues

Today I rode my bike again. You will think that I actually ride my bike often, if I keep this up!

But, I can't, since tomorrow I am off to somewhere in Colorado for a 5 hour meeting. Then back for the weekend, then off to Colorado again for 5 days, then back for the weekend, then off to New Mexico for 4 days. Ahhh, travel - how I have missed you in the last 3 weeks!

Yesterday I had an interesting day re my Post Doc. A couple of months ago, we decided on a project for him, which was basically to take someone else's model results as the lower boundary of our code. We started by downloading a very large data file and extracting what we needed from it (I wrote a bunch of code to extract some of the data, then he finished it off by extracting all of the data). He then modified the code to read in the data files that we created and use them for a bottom BC.

Now, take this next part with a grain of salt, since he has never used the model, and I wrote the model from scratch.

He came to me stating that he had finished it, and wanted to do some runs to show how the result changed and do some physics. I wanted to see results right away. He said I should wait, since he had a bunch of runs to do and wanted to look at the results. I agreed. Well, it turns out that all of the results were bad. I am not blaming him at all, since we all make mistakes. You just have to recognize the possibility of mistakes and show your work to someone who has actually used the model...

So, yesterday, while he search for the bug, I took his code and rewrote it from scratch (using his as a guideline for what to do). It took me about 2 hours to code it and test it, verifying that it worked perfectly. It took him over a month to do this.

Once again, I wrote the damn code, and I used his code as a template. But over a month versus two hours. This frustrates me a little bit. It would be great if he could have done it a little faster, since this was his only project during the time and we have a pretty hard deadline (presenting model results on Thursday...)

BUT - we got it done. The model now has a more dynamic lower boundary. We can probably publish at least three papers showing simple results from this, which is just fantastic.

Interestingly, he is going back to Europe for a conference, where he will present this research also. Then he is off to go back to his school, visit his family, and do other things. So, I won't actually see him for the next 4-5 weeks. Well, we had discussed that he HAD to finish this before he left. And he has. With some help. And just in the nick of time.

My second Post Doc arrives in July. Man, this year is going to be fun!

Sunday, June 14, 2009

Sunday Sunday

Today I slept in until 9:15, woke up, ate breakfast, took a shower, and went to see Star Trek by myself. This is the first time I have gone to a movie by myself in a very long time. When I got home, I cleaned all four bathrooms (yes four!), folded a bunch of clothes, and started more laundry. We then went and trained the dogs on the new buried fence. Lilly sure can jump when she is electrocuted!

For the last two weeks, Lilly has discovered that she can run much faster than we can. When she escapes from us, all she has to do is head into the woods and she is home free. She is forced to take a shower when she returns an hour later, but that seems to be worth it for her.

Well, no more. She is wearing the new shock collar right now (so is Heidi). We took them around the perimeter today with the collar on for the first time just a little while ago. Lilly got zapped a few times. Hopefully, she learned that she had to run towards the yard when the zap happens.

On to Star Trek. I enjoyed the movie very much, but kept getting hung up on the fact that all of the crew ended up being in place by about 3/4 of the way through the movie. This makes sense for continuity with the TV series and such, but it makes no real sense in a military outfit. Everyone on board the Enterprise was so great in getting to their current position, but then failed miserably at every getting a promotion again (until some movie, in which they decided to promote people - I can't remember which one - after something like 20 years in the same position). If you set aside this fact, and many other coincidences within the movie, it was a very good action flick. It made me want to go out and rent The Wrath of Khan (or Khan Strikes Back in Star Wars lingo).

Ok, the wife informs me that I should call our friends who are going to come and pick up their daughter and invite them to dinner. I guess that means that I need to shut up.

Thursday, June 11, 2009

A Good Day

Today I rode my bike to work. 14 miles there and 14 miles back. It rained all the way home. That sort of sucked, but it wasn't that bad. I think that riding my bike gets me all energized and pumped, giving me energy to do my wonderful job!

I also have been huddling in a room with another person every Thursday morning and writing. We have committed to writing during this time every week. So, last week I wrote proposal stuff. This week I actually worked on a paper! Holy crap! Paper? Yes! I made a few figures and started working on the paper, which I started about a year ago.

I did have a conversation with one of my students about what she wants to do with the rest of her life and more specifically about what she wants to do in the next year before she finishes. This was an interesting conversation. My student is extremely talented in just about everything that she does, but she doesn't really seem to like to do science. Science is extremely hard. It involves realizing that the solution is not straight forward. That may be a trivial thing to say, but it is hard to take. In everything that everyone does throughout school, there is a solution. It may be extremely hard to get to that solution, but there is a solution. With science, there may not be enough data or the simulations may be extremely difficult to figure out. If you hit your head against this wall over and over and over again, when you have never had to hit your head before, it is hard to take. This is a lesson that she will have to learn. It is not an easy lesson. It sucks.

I actually have no real idea how to teach her this. She is obviously smarter than I am and pretty much an equal when it comes to coding and such. How do I then teach her how to think independently and come up with unique solutions? All I basically do is tell her what I would do next. Lead by example. I am not really sure if this is the best way to teach something like this, but I'll give it a go for a while.

My Post Doc is doing pretty well. He has made a bunch of code modifications to a model that I developed and is starting to get some results. One of the problems that we are running into is that the model is slow - most other models that are of this type are simplified so they can run fast. My model is not simplified, so it runs slow. We have optimized the crap out out it, so it runs about 2-3 times faster than it did about 6 months ago, but if you are used to using a model that runs a day in about 4 hours on your desktop and you need 64 processors of a supercomputer to do the same thing, it is a drag. But, he is working on it. We have a pretty hard deadline to get some of the research done. I am going to a meeting next week and he is going to Europe the following week. Both of us have to give presentations on what he is doing. Needless to say, it is put up or shut up time. He is confident in the put up, so tomorrow he has to show me results. Should be another good day, eh?

Then one of the undergrads that is working for me finished one of the steps in a 100,000 step process. He didn't really know how to program before he started work 5 weeks ago. He learned Fortran90 and a bit of IDL, then played with C to reproduce what he did in Fortran. Next he has to learn how to program in CUDA, which is NVIDIA's parallel programming language. Did you know that your video card in your computer is like a little super computer? Why do you think that you can play Quake so well (ok, I don't know what the latest 3D games are... 3D Pac-Man? Actually, Halo 3 would be my best bet...) So, you can program your video card to do a bunch of really, really simple math very, very quickly. The key is to figure out how to do it. My undergrad is going to figure it out. Hopefully. Well, enough that I or someone else can take what he did and figure it out.

When I got home, the wife had dinner ready. It was soup and bread, which is good, since we tend to over eat a LOT, so having a light meal is great a couple days a week. I got to read to the kids for about 30 minutes (over half way through Eragon now - he's in jail! What's going to happen???? Tune in tomorrow, unless Crab Boy has a sleep over, in which case, tune in Saturday.)

And now I am blogging. A couple days in a row. Wow!

Ahhh... I was also going to start putting in lyrics to songs that have some meaning to me. Like the other day's Gun's and Roses lyrics. But different.

Let's play name this song....

When you try your best, but you don't succeed
When you get what you want, but not what you need
When you feel so tired but you can't sleep
Stuck in reverse

Ok, that is probably pretty obvious. But, there it is. Maybe I will make it harder and harder and harder, so only Rico can answer!

Tuesday, June 9, 2009

gnr

I get up around 7
get out of bed around 9
i don't worry about nothin', no
cuz worrying's a waste of my time

Monday, June 8, 2009

todo

I feel like my brain has turned to mush - at work and at home.

At work I have made a gigantic todo list, and have been slowly plowing through the list. Very slowly. I am in so many meetings and have so many students working for me, that I can't actually get any work done at all. I guess this is what a manager does, eh? People get work done for me. I tell them to do something, and they do it. Move on to the next person.

I am a person who likes to actually do stuff, though. I hate the fact that I can't take the time to actually build a payload for the balloons. Or that I make my student rewrite her code because it runs out of memory for me when I run it on a problem that she didn't test it on. I can do this stuff - I just don't have time to do it.

So, when I am sitting at my desk, thinking that I would like to program or do something "useful", I have to look down at my todo list and force myself to do something on the list. I really don't like working like that, but this is what it has come down to. Maybe when my 3 weeks of travel starting next week is over, I will be able to breathe a sigh of relief and do some stuff.

One very nice thing that I have started to to actually set aside Thursday mornings to write. For the last two weeks I have been working on my big proposal. This Thursday, I will probably work on a paper. I have not written a paper in a long time. I have been forcing my students to do it, while I have not. I really hate writing papers. But, I should probably lead by example.

On a completely different note, I have to say that Nina Totenberg kicks ass. She did a story last week on Sotomayor which was a one-two punch to the right-wing pundits out there who are calling Sotomayor biased. It was great. It basically said that she is pretty impartial in racial cases, having fallen on both sides of the issue, while also saying that she doesn't believe that the courts make policy. Here is her last sentence - "The treaty's language is clear and it is not for the courts to make policy, she said, adding that if policy is to be changed, Congress or federal agencies must do it." I just laughed at this, because it was such a subtle jab to republicans that have been saying she has said that the courts make policy. Nina Kicks It!

Saturday, May 30, 2009

Proposal Time

I am working on a major proposal for NSF. If I get this proposal, it will basically change my life. Normally, I work on modeling and that is about it. I have a couple of students and a post doc who do nothing but modeling and data analysis work. It is a good life. But, I really like doing hands-on type of stuff. For example, I did a huge amount of the work on our new house. Modeling is fun to me because it involves writing code and building stuff (not real stuff, but fake, codey stuff).

This new proposal will be to build a bunch of actual, real, stuff. And then deploy that stuff all over the United States and Canada. It is a big proposal. And somewhat important, since it could be life-changing, as alluded to above. Why would it be life-changing? Because it is building so many of these things that it will basically force me to do this 100% of my time for the next 3 years. Then, when the stations are all built and deployed, I will have to do science with the data and manage the operations and the data flow and all sorts of other aspects of them, implying that I will have significantly less time to actually do the modeling. Since I have a lot of grants to do the modeling, I will have get more students to do the modeling and such.

Life could be very different.

One thing that I am finding, while coming up with a management plan, is that I will be doing a lot of driving over the next three years. The furthest station is about 300 miles north of Edmonton, Canada (Fort Smith - 2,755 miles away from Ann Arbor!) The closest station is in the Upper Peninsula of Michigan. I have to figure out how to deploy 18 stations all over North America in 3 years, with each taking about a week. This is going to be an adventure!

The first hurtle of this proposal is that I have to get it through the university. We are only allowed to submit three proposals from each university, so they have to judge which ones are the most likely to be funded, and which will benefit the university the most, etc. It is going to be harder to get through the universities filter than through the NSF filter, since there will probably be 20-30 proposals submitted to the university, while they have to pick three (a success rate of about 10%-17%), while NSF is expected to fund about 40% of those submitted. (Yeah stimulus money!)

Ok, back to work on the proposal.

Wednesday, May 27, 2009

My Weekend

I finished the talks. I don't think that either one was that great, but, they existed. There was no standing ovation.

I talked to a lot of people out at the Air Force Research Lab. They are working on some pretty interesting things. I am actually quite biased against scientists who work in labs like this, since I see them as basically not contributing to science hardly at all. It seems like many of them get jobs, then are beaten down by the government regulations or whatever, and end up just in in-office retirement.

For example, I was trying to give the person who invited me to come and give the talk my power point presentation. He asked me to mail it to him. I couldn't, since I have movies and stuff that are larger than the 50 MB that our mail server can handle. (Note - don't send 50 MB mail attachments. They really suck down your mail program.) I then suggested a USB thumb drive. No - the government won't let them put USB drives in their computers. (What???) Next, put it on a web page. Well, I can't actually connect to the internet because my computer may explode the Air Force base (or something). So the solution we came up with (he came up with - having gone through this once or twice before) was for me to burn a CD with my talk on it. Then he takes the CD and puts it in his computer and copies it to his hard drive. We then throw away the CD, which fulfilled its destiny in 30 second.

Ah, viruses. I think that the terrorists have won this battle.

Imagine living everyday with this type of logic at work in your life.

"Can I do this?"

"No!"

"Why?"

"Because we have determined that if you do that, something bad could happen and that would be bad."

"But, by not allowing me and everyone else working for the US government to not do it, you are cause untold amount of lost time and inefficiency."

"Yes, but if we get a virus, we could be down for a day."

"But, if you add up all of the time that is wasted to circumvent this illogical madness, it is MUCH longer than the down time if the worst probable thing happened."

"Follow the rules."

"But..."

"Follow the rules!"

I think that after a few years of this crap, I would probably join the in-office retirement community of our great nation.

Moving on.

For my talk in Boston, there were a bunch of people out of town. It was a real shame, since there are a large number of people there that I would like to talk to. This was all caused by my moving the day that I was supposed to come and give a talk from the middle of April (during classes) to the middle of May (during summer). I was traveling too much, so I asked if I could move it, and they agreed. But, many people were out of town and a significant amount of the discussion that I could have had with people was cut. Oh well, such is life.

I then climbed on an airplane and flew to an undisclosed location in a state that begins with the letter P and hopped into the minivan to drive to another state that begins with the letter V. The wife and kids and dogs all met me at the airport (she arrived within 15 minutes of my flight arriving, even though she had to drive 5+ hours to get there - how is that for timing?) This all happened at 11 PM. We had to find a hotel that would take dogs. It turns out that in the great state of P, it is difficult to find a hotel that (a) takes dogs or (b) is not completely booked by Halliburton workers. Seriously, the entire Comfort Inn was taken over by Halliburton workers. It was a little scary. We finally found a hotel after asking 11 of them if they let dogs stay. It was crappy, but I had spent the previous night in a bed and breakfast in downtown Boston (I would have to say at least $250/night) and the night before that in a Marriott (about the same price), so pretty much anything would look like a Hell Hole. Hey, there was only one bug that I saw, and it was in the bathroom, so it wasn't all bad.

In the AM, we slogged into a Bob Evan's and ate some good old food for breakfast. I realized, once again, why we never go out for breakfast. Crab Girl eats about 438,625 pieces of french toast. At home this isn't too prices (just ~20,000 loaves of bread), while at a restaurant, it is about $2/piece, which ends up being a fair bit. And it doesn't come with eggs, so you have to order that extra. And juice costs $5/ounce. So, a breakfast that would have cost you about $5-$10 at home costs about $35-$40 at Bob's. Oh well. After we left, I vowed to get a hot plate, a skillet and some pancake mix.

Am I a bitter old man or what?

We decided to take the shorter, yet more scenic route to Aunt Crabby #4's house. This meant traveling through the mountains on a two-lane road. It must have been the breakfast, because I almost hurled. Up and down and round and round. I was even driving. It seems like the mountains in Colorado were up and up and up and then down and down and down. These were up and down and up and down and up and down and ... Ralph. Oh sorry.

We arrived at Aunt Crabby's house where we had a doggy love fest - four dogs in < 1000 square feet. It was all dog, all the time. It is funny, because I remember one of Aunt Crabby's dogs being very big, but compared to Lilly, he was tiny. Lilly is now a gigantic moron dog (not just a little moron dog!)

Aunt Crabby put us all to work on little gifts for all of the attendees of the wedding. They were very well thought out and nice gifts. She spent a lot of time and energy making things that she thought people would really like. So, we helped finish some stuff up and put bows and stuff and other things.

The next day we got to do more running around and going to rehearsals and going to rehearsal party and such. Fun times. I really wasn't involved at all, but Crab Mama was the Maid of Honor, while Crab Girl was the Junior Maid of Honor, and Crab Boy was a flower boy or something (he got to throw flowers while looking embarrassed). We met up with Grandpa and Grandma (divorced, one remarried, the other bitter... awkward!) at the party, and hung out for a while.

It was quite humorous, since people put a movie on for the kids to watch, and after about 30 minutes, the groom and the best man made their way over to the couch and sat and watched the movie, while the rest of the people talked. It was at the groom's house, and 75% of the people their were his family. I should have been the one on the couch! I have no relationship with these people at all (well, ok, I married in the deranged family, but you get the point) and HE is the one sitting there watching the stupid kid's movie, while I talk up the wife's father. Grrrr....

The next day was the wedding, which didn't start until 6:30. So, we had the day to kill. I took the kids to see "Night at the Museum 2" (sucks monkey balls). And arrived back to a freaked out bride. I am not really sure why she was freaked out, but, after a little bit, she calmed down and she and Crab Mama packed up and left for the wedding place. I took Crab Girl to the store to print some pictures for Crab Auntie, while Crab Boy stayed with Grandma. We ended up getting prints and then going to Bed, Bath and Beyond, since I realized that we hadn't actually bought them a present yet (oops!) Then, it was off to the wedding!

It was a very small wedding. I actually felt much better about our wedding, since we had a ton of friends there, while Crab Aunt didn't have many friends there at all. Considering that it was he second wedding and she is about 10 years older than we were when we got married, maybe it is to be expected. The reception was fun. We danced a fair bit. I know that there is some crazy video of me dancing to Come On Eileen, which was the fastest/most modern song the DJ played. Since I now have tenure, I don't have to worry about these types of things anymore (right?)

We drove home on Monday. It was a very nice day for driving. I drove like a bat out of Hades through V, WV, and P. As soon as we got into O, Crab Mama took over and there were Police Officers EVERYWHERE. We didn't see any until this time, but once she took over, they were spaced about every 10 miles on the interstate. She drives much ... better ... than I do, so there was nothing to worry about.

Never, ever, get a burrito from anyplace associated with Hardee's.

It took us about 10 hours to finally make it home. Home Sweet Home.

My next trip is in three weeks. I don't know whether to be happy that I have three weeks, or to be frustrated that I only have three weeks.

Bed time!