Epic Ride

May 24, 2009 at 5:22 pm (Personal)

Cody and I did an epic ride yesterday. It was 13 miles making it the longest ride I’ve done this year. The weather was perfect; the temperature was in the 70’s and it was a bit cloudy.

We covered all of the best stuff you can do on the downtown trails. We did the Bobsled and then the Roller Coaster. We started at the Red Butte Garden and did not shuttle.

The bobsled was still pretty muddy; it had running water though half of it. I did the monster drop again. This time I felt in complete control and did not blow up my rear tire on the landing.

On the Roller Coaster I got to 34 m/h. It was great. But my max speed there has been 37m/h.

Permalink Leave a Comment

Trail Souvenir

May 20, 2009 at 5:58 pm (Personal)

Yesterday’s bike ride came with a souvenir:

draper-small-loop-exploration

It looks pretty bad because it is dirty; but it was really not too bad. The fall was so stupid that I’m not going to go into details. I was not even going fast.

Cleaning out the scrape is always painful though. You need to really get all the dirt out even if it means making the wound worse; you really don’t want it to get infected.

Permalink Leave a Comment

Student life description on LA Times

May 15, 2009 at 3:09 pm (Computer Science, Personal)

Neumont made the LA Times today with the article: At ‘Geek Heaven,’ students are skilled in tech, if not talk . It’s a fun read.

I think the writer got the essence of the average Neumont student. Well, almost. The average Neumont student does not stink (although we do have a fare share of stinkers). And even though we have a lot of geeks, we have a lot of normal students as well.

I guess the author did not talk to instructors or laptop support (the people that sometimes need to touch student’s keyboards) because he didn’t write about dandruffed, crumby keyboards.

Permalink Leave a Comment

back home from a fulfilling bike ride

May 13, 2009 at 3:16 am (Personal)

I’m still feeling pumped up from today’s ride. We did a 9.5 mile loop. it took us about 2.5 hours out of which almost two were uphill. And then there was a half hour of screaming downhill.

The weather was perfect and the company was superb.

Permalink Leave a Comment

Tamed the Fear beast

May 10, 2009 at 2:47 pm (Personal)

I admitted on another post that I was psyched out about a 4 foot drop that I failed to do last year on my bike. When I failed, I got the worst scrape I’ve ever had, it was about 6×4 inches.

I’m happy to report that I taught Fear who’s boss. This time I did the jump with my full suspension bike and everything went great. Well,, I was running about 33 psi on my rear tire and I got a pinch flat (it pretty much exploded when the rim pinched the inner tube against the ground), so I’m going back to putting 40 psi on it. But the landing was pretty smooth, I felt in control.

The jump is on the Bobsled Trail, and we were coming from the Roller Coaster trail. My two favorite trails in the Salt Lake Valley. I was biking with Bridger and he pulled off the jump too. He’s bad ass!

Permalink Leave a Comment

Reminder: Must take care of self…

May 8, 2009 at 3:04 pm (Personal)

I’m going downhill on the mountainside with the mountain on the right and the cliff on my left, a slight right turn comes. The mountain wall does not let me see too far out. Suddenly the turn sharpens as it slopes down a bit more. I was already pushing my grip and the increased slope makes me have less grip as the turn sharpens. I need to stop as much as possible with both tires. I overdo it a bit with the rear so it starts skidding and goes off the cliff. I shift my weight to the front tire and let go off the rear break. The rear tire comes back to the trail. Adrenaline rushes.

That is what mountain biking is all about!!! This was yesterday in the Ghost Falls trail @ Draper.

It was a nice reminder that the body is fragile and I don’t want to have as many injures as I had last year. Hell, the goal is NO injuries. So must take it easy.

Permalink Leave a Comment

Biking did not happen today =(

May 5, 2009 at 11:46 pm (Personal)

Mostly because the weather people predicted rain yesterday. But it did not rain! We’ll bike tomorrow or Thursday.

We did an excellent, somewhat long ride last week at Jacob’s Ladder in Draper. That trail is awesome and reminded me of the good times I had last year. I think it won’t take us too long before we get back the endurance we lost during Winter.

Permalink Leave a Comment

Began using categories in my Blog

May 5, 2009 at 11:20 pm (Computer Science, Personal)

I started categorizing my blog posts to make subscription more flexible. I mostly did this so my family can check out the posts about my life (Personal category) and not get posts about code (Computer Science category).

Here are feeds you can subscribe to:

All categoriesrss - email

   Personalrssemail

   Computer Sciencerssemail

Permalink Leave a Comment

C# Log Roller Class

May 5, 2009 at 9:45 pm (Computer Science)

Class description:

/// This class handles writing to a log file and rolling it based on
/// the file size. Currently you only need to send one parameter to the
/// constructor: the logFullFilePath
///
/// From the logFullFilePath, this class will determine the folder location where
/// to place all logs and the file names for the log files. Log files will be
/// rolled when the file hits 5MB; this will be customizable in the future via
/// constructor parameters or public properties.
///
/// For a logFullFilePath like this one: C:\dir1\dir2\log-file-name.log
///
/// All of the log files will be located in C:\dir1\dir2 , the most recent
/// log file will always be log-file-name.log and once log-file-name.log hits 5MB,
/// it will be renamed log-file-name-01.log and a new log-file-name.log file will
/// be created. Then when log-file-name.log hits 5MB again, log-file-name-01.log
/// will become log-file-name-02.log, log-file-name.log will become log-file-name-01.log
/// and a new log-file-name.log file will be created. And so on…
///
/// Currently you will have 15 log-file-name-NN.log files; but this will be
/// customizeable in the future via constructor parameters or public properties.

So basically you just have to do the following, and this class takes care of rolling the logs for you:

LogRoller roller = new LogRoller("C:\dir1\dir2\log-file-name.log");
while (true)
{
    roller.LogMessage("test message");
    roller.LogException(new ApplicationException("this is an exception");
}

You can find the class here LogRoller.cs

Permalink Leave a Comment

Follow

Get every new post delivered to your Inbox.