Thursday, January 31, 2008
posted by: Martin

I've done this a few times now but I wanted to write it all down so that I would have a reference guide. There are instructions available on the dasBlog web site but I think mine are a little more complete.

To level the playing field I need to make some assumptions. I'm assuming that you are performing a clean/fresh install of dasBlog 2.0 on a Windows Server 2003 computer running IIS 6 and that IIS is setup in the default mode and not in Isolation Mode. It's also assumed that you have the .NET framework 2.0 installed on the server and that you have enabled ASP.NET 2.0 for the site you want to use dasBlog in. Also, I prefer NOT to run the 'automatic' VBS script and to do the install manually. Lastly, it's assumed that you already have a web site configured with a unique host header and that you want this blog to be located at mysite.com/blog. Here goes.

  • Download the latest version of dasBlog from here:

http://sourceforge.net/project/showfiles.php?group_id=127624

  • Unzip the files to any directory and then copy the dasblogce folder to the root of your site.
  • Give the NETWORK SERVICE account the Modify permission on the content, siteconfig, and logs subdirectories of dasblogce.
  • Go to the SiteConfig directory in dasblogce and open the site.config file. In that file you will need to change some settings. The most important change is to set the <Root> value to the proper URL for your weblog so per my example here you would change it to http://www.mysite.com/blog/. If you are experienced enough to add another host header to your site and you control DNS for your domain then you can make this anything you like. You can also change the <NotificationEMailAddress> to your email address, the <Title> to whatever you want the title of your blog to be, the <Contact> to your email address and the <Copyright> to your name.
  • Open Internet Information Services Manager and create a virtual directory called "blog" for your site. Point it to the dasblogce directory. Make sure the permission are Read and Run scripts. Now go to the properties of this virtual directory and add the default document "default.aspx" and move it to the top of the list.
  • Open siteSecurity.config in the same directory and set up your own account with a proper password. You will want to edit the first <User> that has the role of admin. Change <Name> to whatever you want your login name to be, change <Password> to whatever you want your password to be, change <DisplayName> to your name and change <EmailAddress> to your email address.
  • Now fire up a browser and go to your blog. The first visit will take a couple of seconds but it will load after it performs the initial configuration.

The rest is all customization. The first thing you will want to do is pick a theme. If you find one you love, great! Or you can find one that is close and customize it. More on that later.

Thursday, January 31, 2008 6:15:30 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [1]  | 

Bookmark and Share
posted by: Martin

I see said the blind man to his deaf friend... whatever. I always thought that joke was kind of like getting hit over the head with a blunt object anyway. The point (which is totally unrelated to this intro) is that we are frequently blind to the truth when it's staring us right in the face.

Andy (one of my co-workers) recently underwent some disaster training here at the UW. This means he is now qualified to wear a dayglo hat on his head, a whistle around his neck and carry a clipboard so he can check off the names of people that died in the earthquake and were not able to run out of the building. During this training he was given an emergency preparedness kit which contained among other things some matches, a flashlight, a first aid kit and this energy bar. Yesterday he noticed it was past the expiration date and was going to toss it but I intercepted it. That's right, no food bar is too stale for Martin "let me shove that in my mouth and to hell with the consequences" Criminale.

01-30-08_1009

Now I know it's silly but I usually associate energy bars with a healthy lifestyle meaning that they are relatively good for you. Most have a good ratio of carbohydrate to protein and fat and some are vitamin fortified as well. This bar blows that theory out of the water.

First of all,check out the name, "New Millennium Energy Bar". It sounds either like something that is really new or something that is supposed to last through the millennium. I'm thinking it's the later. And they vacuum pack this thing like it's going to need to survive some sort of crash test or break the underwater submersion record for a food bar:

01-30-08_1010

Can you see how tight the wrapper is around the bar? And that's no ultra thin Mylar like PowerBar uses, no sir. I could use those edges to scrape the frost off of my windshield. Enough foreplay, let's open this thing up.

01-30-08_1012

Wow, that doesn't look anything like any energy bar I have ever seen... Why, it looks like a cookie; shortbread actually. So I took a bite and while I was chewing I turned it over and read the ingredients.

01-30-08_1013

Damn, it is shortbread.

Nutrition Facts: Calories 409, Protein 8g, Carbohydrates 53g, Fat 19g.

Ingredients: Wheat flour, Vegetable shortening, Cane and Corn Sugars, Dried Coconut, Corn Starch, Corn Syrup, Natural Flavors.

The firs thing that I noticed was that it contained 409 calories...?! What other energy bar has that many? Then I saw that it contained fully 2/3 of your daily recommended intake of fat. Ah... now things are a little more clear. This is an 'energy' bar in the sense that is supposed to keep you alive, not in the sense that it is supposed to be good quality fuel when you are sweatin' to the oldies on your indoor trainer or trying to set a new PR at the local century. Nope, this is all about how to pack the most fuel into the smallest package and keep it dirt cheap at the same time. The solution? Flour and shortening. Nice.

Lastly I had to check out the company that makes these things, S.O.S. Food Lab, Inc. Yikes! Prepare yourself for full-on FrontPage web site hell. Does that rainbow colored, arching text remind you of Microsoft Publisher...? Oh yes, it does.

So what did this thing taste like? Just like cherry flavored shortbread. And did I eat it all? Of course. I hate myself.

Thursday, January 31, 2008 5:09:18 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [2]  | 

Bookmark and Share
 Monday, January 28, 2008
posted by: Martin

So I like to write my dates in the format of day-month-year, is that so bad? It must be the Euro half of my heritage showing its face. Or just that I want to be difficult/different - who knows.

Anyway, with the help of a co-worker (Naasir) I figured out how to do this in ASP. Here is the code:

<%
session.lcid=2057
Response.Write FormatDateTime( Now(), 2)
%>

And here is the Microsoft KB article that showed me how:

http://support.microsoft.com/kb/306044

Now I can do stuff like always have a current copyright date in the footer which appears at the bottom of all my web pages.

Monday, January 28, 2008 5:05:13 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 

Bookmark and Share
posted by: Martin

I just got an email from a good friend of mine who is trying to lose a little weight and get a little fitter and he was asking me this question:

"I understand that it is important (was going to say imperative) that protein be ingested within 20-25 minutes of working out. Have you heard such a thing?"

This kind of question proves just how effective all the marketing hype that we drown in on a daily basis really is. Before I continue I probably need to preface this by admitting that I'm not studying to be a nutritionist on the side or anything but here is what I know.

When you exercise your body uses glycogen. Glycogen is the fuel inside of your muscles and is made when your body assimilates and process anything you eat. Your muscles can't use straight up carbohydrates or protein or fat, your body has to break this stuff down and turn it into glycogen first.

There is a 'window of opportunity' after you exercise that your body will absorb new muscle glycogen much for quickly than if you wait. That window is about 30-45 minutes depending on who you talk to. Bottom line is you are supposed to consume something that is easily absorbed pretty quickly after you work out if you want to work out again in the near future and not feel toasted.

ASIDE – if you are not going to work out hard again within the next day or two, it probably does not matter much what you do. Your body will replace all the lost muscle glycogen in time but it might take a couple of days for you to be fully stocked up again.

So, what will your body absorb the fastest? People used to think it was pure carbohydrate but now it's common knowledge that a 4:1 ratio of carbohydrate to protein is absorbed the quickest. That's why drinks like Endurox R4 and such all use this ratio. If you only consume carbohydrate it will help a lot but not as much as if you eat/drink something with this ratio. Pure protein and pure fat are both broken down and absorbed MUCH more slowly than pure carbohydrate.

All this protein, protein, protein hype is one of my pet peeves... You see this in magazines, in ads for products, at stores like GNC and in the gyms. And it's mostly all wrong.

ANOTHER ASIDE - stores like GNC (General Nutrition Centers, Inc.) should probably really be called something like BOGUS (Buy Our Generally-overpriced Unproven Shit).

YET ANOTHER ASIDE – if you go chugging a lot of recovery drinks after working out that's great for your muscles but be careful to not add them to your total caloric intake. If your drink is 500 calories, you will need to trim 500 calories from your dinner or somewhere else. Otherwise you will not lose weight. That's probably pretty obvious but I see so many people drinking their meal replacement shakes and then eating lunch! Hello?!

So take Dr. Martin's advice and remember, carbohydrate is much more important for muscle recovery than protein. We all need protein but most people that get caught up in this craze and start taking loads of supplements end up getting too much and then it's just extra calories you don’t need. And ANY extra calories you don't need – no matter if they come from protein or carbohydrate or fat – will get turned into fat.

Class dismissed.

Monday, January 28, 2008 4:45:02 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [2]  | 

Bookmark and Share
posted by: Martin

Really, really damn fast. Check this:

http://www.cyclingnews.com/road.php?id=road/2008/jan08/qatar08/qatar082

On a flat, windy day of the second stage of the 7th Tour of Qatar the peloton (not just the leaders!) averaged 55 kph. For those of you that were not around for the half-assed attempt the US made to go Metric many years ago, that's over 34 mph. THIRTY FOUR.

Oh sure you say, "Anyone can do that when you are getting sucked along in the pack." Wrong.

  • You have never had the likes of the Quick Step team riding you into the gutter because you can't get into their echelon.
  • This stage was 137.5 km (85 miles) long. When was the last time you even averaged 25 mph for more than a few miles.
  • This was the average. That means at times the speed was much higher.

Unbelievable.

I wonder how many bags of potato chips I could buy if I sold all my bikes. 'Cuz that's what I feel like I'd be pretty good at right now - getting fat.

Monday, January 28, 2008 4:17:39 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 

Bookmark and Share
 Saturday, January 26, 2008
posted by: Martin

Every year I think it would be a neat thing to post an all-inclusive calendar of cycling events that interest me. My first iteration was lame to say the least... But it slowly got better and in 2006 I settled on a format that I thought would stand the test of time. I 'borrowed' this look from OBRA and ended up liking it so much that I used it for the WSBA calendar as well.

But, since I'm no professional coder my calendar is 100 percent manual when it comes to updates and revisions. Not so good. And it has to be completely overhauled every year when January 1 no longer falls on a Saturday or whatever day of the week it was last year.

Enter Google Calendar.

Now my ride calendar looks like this. I love it. You can opt to view just road races, track races, social rides, holidays, whatever you want. I can now also create recurring events, easily link to Google Maps and people can add this stuff to their Google Calendar if they have one.

Outsourcing like it's going out of style - I love it.

Saturday, January 26, 2008 7:39:03 AM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [3]  | 

Bookmark and Share
 Friday, January 25, 2008
posted by: Martin

Green Lake has historically been a haven to milfoil, ducks, migrating Canada geese, really bad pick-up basketball, English Premier League wannabes and these days, now that it's way too crowded to ride around the lake, it's also apparently the freaking dog walking capitol of the universe.

The other day Shelley and I went out for a leisurely stroll to enjoy a rare moment of Seattle winter sun and after seeing dog after dog pass us by we wondered how many we would encounter on our one lap around the lake. I blurted out, "40 dogs!" but Shelley, after giving this some careful thought said, "I think 25." So, coffee in hand we took off to walk and count.

Oh. My. God.

I had no idea... and how long has Martin lived in Seattle? The best thing is that part and parcel with being the dog walking capitol of the universe Green Lake has now also become the dog shit capitol of the universe. It seemed like every few (okay, maybe hundred) feet or so I was swerving left or right to avoid stepping in another pile. To be technically accurate, they weren't piles, they were just smears as someone else had already beaten me to it. At one point I even saw an elderly couple that were both stopping to scrape the soles of their shoes off on some piece of wood. Blech... Nothing quite as fun as finishing a brisk walk, getting back into your car (with carpeted interior of course) and realizing - too late - that you stepped in dog shit.

Which brings up the things I love about some dog owners. And in case you were wondering, I have previously had two dogs; now I know I can't offer them the quality of life they deserve.

  • Ever watch the Dog Whisperer? You know, the show where Cesar Millan tells all these folks that they should stop treating their dogs like people? There was no shortage of owners being led around the lake by their dogs all the while talking to them in English telling them stuff like, "No!" Nice.
  • If you can't control your dog with your voice, what are you doing taking it to such a crowded place? Likewise, if your dog does not like crowds, can you please put this trait ahead of your need to chat on the phone while ignoring the fact that there is a 60 lb animal bouncing all over the path in an effort to avoid (or attack - take your pick) everything that passes you by?
  • If you have to carry your dog because it's too small to keep up, maybe you should leave it at home. It will get enough exercise just running to the door when you arrive every evening. It's resting heartrate is probably already 200 bpm; don't push it.
  • When it comes to dog clothing, who decides if the dog really needs this or not? Did your dog tell you that it was cold? And who managed to upsell you from the cotton or wool horse blanket style garment to the Gortex shell with more pit zips, vents and technology than what was used to summit Everest 20  years ago?

ASIDE - check this out, for the obscenely devoted dog owner and homemaker with way too much time on their hands you can even get patterns and sew your own creations.

Animals, I love them, really. But they aren't people, people. And clean up after them, please.

Friday, January 25, 2008 1:42:19 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [1]  | 

Bookmark and Share
posted by: Martin

How long until the next neat-o thing appears on the Internet? Oh wait, it's already here...

I first heard about MapMyRide from my friend Brian and I gotta say, this is cool. Not only can you 'map' your road or off-road ride, you can apparently also save you ride and let others search them, use them, etc., etc. A two wheel ride share if you will.

As cool as this is I'm really bummed that this service never uses a secure, encrypted (HTTPS) connection when asking you to create your profile, sign in, anything. In this day and age that seems unconscionable. Oh well, it won't stop tons of folks from entering all kinds of personal data I'm sure. :(

After checking it out and seeing that they use Google maps, I wonder how different it is from Gmaps Pedometer.

Friday, January 25, 2008 1:24:00 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 

Bookmark and Share
 Thursday, January 24, 2008
posted by: Martin

Call me a cave dweller but I had never seen this before yesterday when I was driving Cameron to school. We passed by a construction site and one of the workers was running across the street to a mini mart and he had on a hard hat in the shape of a cowboy hat.

Nice.

What's the deal here? Is turning your traditional, old school hard hat around backwards just not hip enough? Or is the classic rock version of the hard hat and it's been around for years - it's just that I have never seen it. I'm betting that's the case...

A quick Google search confirms that you can get a hard hat in any color you want, with any graphics, but they only come in the standard shape (with some slight variations) and the cowboy hat. And I could not help but notice that all the 'models' sporting the cowboy hard hat had a mustache. It seems somehow perfect.

It really does come to your frame of reference. If I was on a construction site and saw someone with a cowboy hard hat they would be subjected to endless ribbing. Which obviously proves that I have never been on any construction site in my life. If this guy can get away with that hat in one of the most narrow minded, homophobic, blinders on when it comes to style communities it has got to be a cool thing to do. Not so cool that everyone is doing it mind you, you've gotta know the young construction crowd prefers the Ken Griffey look but still, to be able to pull that off...

One word: balls

Some more: doesn't travel outside of his social circle much

Thursday, January 24, 2008 9:17:07 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 

Bookmark and Share
 Monday, January 21, 2008
posted by: Martin

Long story short - I have a computer running Windows Server 2003 and because of problem with a RAID card I had to edit the boot.ini file to see if the issue it had booting up was due to the operating system trying to boot from the single system drive or the RAID array.

I know you can make some changes to the boot.ini file using msconfig but you can't just edit the raw file. Well this way you can.

  • Click Start > Run and type sysdm.cpl and click OK.
  • Select the Advanced tab and click Settings under Startup and Recovery.
  • Under System Startup, click Edit.

This will open the boot.ini file in Notepad and you can type or delete at will!

Here is the Microsoft KB article with a sample of a default Windows 2003 boot.ini and a dual-boot boot.ini file:

http://support.microsoft.com/default.aspx?scid=kb;en-us;323427

Here is the Microsoft KB article with the above instructions for editing your boot.ini file for Windows XP but it works exactly the same for Windows Server 2003:

http://support.microsoft.com/default.aspx?scid=kb;en-us;289022

Lastly - here is a default Windows Server 2003 boot.ini file:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows .NET Standard Server" /fastdetect
Monday, January 21, 2008 8:25:28 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [1]  | 

Bookmark and Share