The Hard Way

 

Posted by Dan on Tuesday, January 31, 2006 at 12:05 AM

I hate having to do something multiple times, especially when it's a lack of research or planning on my part that necessitates the do-over. I can think of a couple of recent examples of this, the biggest being my never-ending Z project (I painted it back during college, that didn't hold up so well), and the blog you're reading now.

The problem is that when I set out to learn ASP.net, I learned enough to use it to continue writing the CGI-type programs that I used to write in Perl and C++, and nothing more. I've known for a long time, however, that it offers much more, especially in the area of data binding. Over the weekend I decided to start rewriting the admin pages for my blog using proper ASP.net. I reduced around 1200 lines of code, most of which I wrote, to around 250 lines of code, most of which Visual Studio wrote. The result is an application that's much easier to read, maintain, and debug.

All of this started when I decided that I needed to add some features to (and, for that matter, finish implementing) my image gallery. I was tired of writing code to dynamically generate HTML. Unfortunately, now that I've decided to convert the site to true ASP.net, I've been spending my time converting code that I had already written (badly), instead of implementing new features. So those features are coming (things like being able to comment on images in my gallery)... hopefully soon. For now I've added a few new pictures to my Z Body Work album of the work I've been doing over the past few days. I'll detail it in another post as it's already past my bedtime. Suffice to say I discovered a hole I'd forgotten about and needed to fix (It's amazing the things one forgets about when one side of the car is parked 4" from a wall for upwards of 6 months).

Add Comment - View Comments (0) - Link



Intelligent Design

 

Posted by Dan on Wednesday, January 25, 2006 at 9:33 PM

I like to make things. I've come to this conclusion observing myself over the years. I enjoy assembling the raw materials, be they metal, wood, the letters and numbers that make up a program, the notes that make up a song. I enjoy creating.

Tonight I had one of the more enjoyable sessions in my (never-ending) Z project. I needed to fabricate a piece of metal to cover the back of the frame rails, behind the rear bumper cover. The nice part about this is that whatever I do will be hidden by the bumper cover, so all it needs to do functionally is stop rocks, leaves, and the like from getting into the frame rails, collecting water, and causing rust. I think I've been pretty successful so far. I fashioned the plates out of 22 gauge steel using my jigsaw, metal shears, and drill. I'm debating how to attach them, but at this point I think it's going to be rivets, JB Weld, and Bondo, as welding would require dropping the gas tank, and I don't look forward to doing that.

I also spent some time working on my photo gallery app, if you click on the picture to the right-hand side of this post you'll see my work so far. It's nowhere near done, but I feel it's finished enough to put it online and get some feedback on it. It will have commenting soon, the tables are in the database, just not hooked up yet. I'm also thinking about adding statics for number of times images are viewed. Thoughts? Is anyone actually reading this blog? Well... that's it for now... just a quick mid-week update. Off to watch Mythbusters and Drawn Together and get some much needed sleep.

Add Comment - View Comments (1) - Link



Knowledge by Association

 

Posted by Dan on Monday, January 23, 2006 at 7:46 PM

I hate body work. It's mindless, tiring, and dirty. It is ultimately rewarding, but so are many other pursuits that do not involve inhaling brain-damaging chemicals for weeks on end, breathing dust from paint with god-knows-what carcinogens in it, and sanding until one's fingers bleed. If I weren't such a cheap bastard I would have taken my Z to a body shop 15 months ago when I started this project and told them "I want it red, with no rust, and no dents. I'll see you in a month, I don't care what it costs." But I am a cheap bastard, and thus I subject myself to this.

I've made the observation over the years, usually to myself, and in frustration, that if people find out you know anything about a subject, they assume you know everything about a subject. In college it was, "Oh, you're a computer science major, can you tell me why Microsoft Word won't double-space my report?"

My co-workers have found out I'm a car guy. Well, I'm not a car guy, I'm the car guy, because most of them would have trouble filling their windshield washer fluid. This isn't to say they're not intelligent, they're some of the smartest and most creative people I know... many of them just aren't mechanically inclined, nor do they care to be. So I've become the walking car FAQ. It seems that due to the high volume of traffic on Microsoft campus, and the claustrophobic parking garages, the most frequent question I get is, "how do I fix this scratch/dent?" Which brings me back to where I started. I hate body work.

Add Comment - View Comments (3) - Link



Schedule

 

Posted by Dan on Saturday, January 21, 2006 at 8:17 PM

I've had a hard time lately getting motivated to do much of anything outside of work (and anything at work on occasion). Maybe it's the weather. Maybe it's depression. Maybe I just suck. I finally decided this morning that I was tired of letting my weekends go by and accomplishing nothing beyond eating, sleeping, and going to the grocery store. I sat down this morning and started making a list of what I'd like to do this weekend. I know this doesn't seem that special, or strange, but there are a couple things that I did differently than usual. Firstly, I hauled out the clipboard and yellow legal pad. I usually keep my "to do" lists on my PDA, where they can be easily ignored. There something about a big, yellow, pad of paper sitting on your desk, dresser, etc that makes it hard to ignore. It makes it seem more urgent. Secondly, I wrote down estimated completion times for each task on my list, and broke down what I wanted to do each day.

I now had a plan, I had a pseudo schedule, and I had two (virtually) empty days ahead of me. The final piece I needed was motivation. Having already had my morning coffee, and not feeling very motivated in spite of that fact, I decided I could approach the weekend in one of two ways: A) I lay around, watch TV, chat online, and nothing worthwhile gets accomplished. This describes my weekends for the past few months. B) I can get off my lazy ass and actually DO something that I want/need to do. The TV will still be there (I have a TiVo, so it really will still be there), my friends will still be on AIM when I get back, and I should, hopefully, have a sense of accomplishment of finishing something that I've been putting off for entirely too long. That's all well and good you might ask... but what did I actually get done?

I worked on my Z! This project has been going on for entirely too long (15 months at this point). I just want to be enjoying driving the damn thing, not the endless sanding/bondoing that I'm doing now. The biggest problem has been my lack of motivation, and the fact that on average I probably only spend 10-15 hours per month on it. I spent the latter half of my afternoon sanding bondo. I hate sanding bondo. This wasn't just any bondo job either, it was covering up the weld where i joined a replacement piece of fender last time I did body work on the car. There is a LOT of bondo and a lot of opportunity to make it look like crap. As far as the remaining work, there is bondo to be applied and sanded on the driver's side, a few panels to be sanded still (hood scoop, side skirts, headlights), and then the whole thing will be ready for priming and wet sanding. I'm not looking forward to this either, but it is almost the final step before taking it to the body shop for paint, which gives me hope.

The other big thing I accomplished today was cleaning up my spare room. I didn't think to take any before pictures, but you might be able to get an idea from the pictures of Chris' computer in the "UPS Sucks" post below... they were taken in said room. I have to say it was a big improvement and took only about half as long as I had planned. The closet in said room, however... that's a whole other story.

The last of the things I planned on doing today was to update my blog. Seeing as you're reading this, I think I succeeded. Check out the new functionality for comments. You can now post a URL to your own blog/website, and when you mouse-over the comment poster's name (click "View Comments" below a post), it brings up a menu giving you links to e-mail the commenter, or visit their website. I'm going to stop now as I didn't intend to write a novel when I started this post, but I suppose it's good therapy at the end of a long, productive day.

Until next time... stay busy.

Add Comment - View Comments (3) - Link



Fully functional with a SQL database!

 

Posted by Dan on Friday, January 13, 2006 at 9:58 PM

After spending entirely too long tracking down what turned out to be a typo (I was hell-bent on it being a SQL 2000/2005 incompatibility, as my local dev work is with SQL Express 2005, and my web host runs SQL 2000), my blog is online and fully functional again! For future reference, the SQL 'timestamp' and 'datetime' data types are NOT the same, not interchangable, and not in any way, shape, or form even CLOSE in function to each other. Visual Studio also gets really pissed off if you create a strongly-typed DataSet that expects one, and feed it the other.

This is what I've ended up with for a database. Feel free to test out the comment feature and make sure it really does work with the new SQL back end. Well, that's it for now. I had so many of those "almost there" and "just 10 more minutes of coding" break-throughs tonight, and I really wanted to get this online. I'm going to go watch TV and be unproductive for a while now. I'm hoping to get some serious work in on my Z this weekend as well, so having the blog up and running is just one less distraction.






Edited 1/21/06 at 9:00PM to clean up formatting.

Add Comment - View Comments (1) - Link



UPS can suck it

 

Posted by Dan on Wednesday, January 11, 2006 at 12:18 AM

Where do I even start? I built a computer for a friend back around the beginning of December. It was built at the request (and financing) of his parents, and was to be a Christmas gift for him. Things started to go wrong when the parts arrived and I noticed the case had a nice big dent on the top. I called said friend (Chris Peters, for those who care), and he said to go ahead and build it. So I did.

A little over a week later I get a call from Chris. He had received his computer, in rather less than perfect condition. UPS had dropped the box so hard that they broke all of the plastic standoffs that hold the front (plastic) bezel onto the metal part of the case. Being that I'd paid for extra insurance coverage, I filed a damage claim and UPS picked the computer up from his house for "inspection".

Fast forward three and a half weeks. I get a voicemail from the local UPS store that a) the computer is HERE (back in Seattle, WA... not Fredericktown) for me to pick up and b) they're denying my claim due to inadequate packaging. This would probably be an opportune time to mention that the computer was packed IN THE BOX THAT THE CASE CAME IN... as in... from China.

The latest development is that I decided to open the box before going to bed, just to see if they'd done any more damage in shipping the box back to me. To my disbelief, the computer was completely destroyed. The case is no longer square, the screws had been worked loose from all of the drives so that they were just sliding around inside the case. The CD-ROM (40-pin IDE) cable had been ripped from the board, and no doubt there is damage to the motherboard too. I haven't bothered booting it yet, I'm too angry at UPS for a) tearing it up, b) refusing to take responsibility.

Well, I'm off to attempt sleep, with the aid of some over-the-counter night time cough medicine. I'm hoping it'll knock me out. I leave you with a couple of pictures of the carnage:







Edited 1/21/06 at 9:05PM to clean up formatting.

Add Comment - View Comments (0) - Link



It ees ALIVE!

 

Posted by Dan on Monday, January 09, 2006 at 9:00 PM

Well, I'm up and running on my new webhost after requesting that my account be moved to a server that supports ASP.net 2.0 I'm still running into a few problems (that I figured I would) around my apps not having write access on their servers. The next task is to rewrite some of the base classes for the blog so that they serialize out to a SQL database as opposed to the XML files I'm using now. Until that time, I have disabled the addition of new user comments as they obviously won't work with the current state of things.

Add Comment - View Comments (0) - Link



Setbacks

 

Posted by Dan on Sunday, January 08, 2006 at 8:45 PM


I had the full intention (and still do) of moving this blog to a real web host (i.e. one that is not running on the box sitting in my upstairs hallway). Then things happened. Holiday things. And lazyness. I decided to try once again today to figure out why my blog application refused to run on the webhost I had chosen. After a bit of troubleshooting it appears that said host does not support ASP.net 2.0. I debated for a while trying to recompile the site using Visual Studio 2003 (.NET 1.1), but there are too many 2.0 features I rely on to make it worthwhile (the main one being generics). So, the next step. I guess I need to find a means of hosting that supports .NET 2.0 Until then... I'm stuck on this server... being run at one end of my excruciatingly slow cable connection (the upload is capped at 384kbps).

Oh yea... while we're at it. I'm still alive and intend to post more frequently once I get this moved to a real server.

Add Comment - View Comments (0) - Link





Send Email to Brian Bell(brianjbell@columbus.rr.com)
Visit Brian Bell's Website
Send Email to Adam Beutel(Jackal_174@yahoo.com)
Visit Adam Beutel's Website
Send Email to glock(yeahright:-))
Visit glock's Website
Send Email to Adam Beutel(Jackal_174@yahoo.com)
Send Email to Glock(uhsure)
Send Email to Bob(you@know.me)
Visit Bob's Website
Send Email to glock(not_tonight)
Send Email to glock(nahh)
Send Email to Sheikh(laughing_guitarist@hotmail.com)
Visit Sheikh's Website
Send Email to Dan(dan86turbo@hotmail.com)
Visit Dan's Website
Send Email to glock(not tonight)

Send Email to Dan(dan86turbo@hotmail.com)
Visit Dan's Website
Send Email to Simonzayne(yourmom@gmail.com)


Visit erik's Website

Visit Farmer Drew's Website


Send Email to Stu(orcus29@hotmail.com)
Visit Stu's Website
Send Email to Stu(orcus29@hotmail.com)
Visit Stu's Website



Send Email to Stu(orcus29@hotmail.com)
Visit Stu's Website
Send Email to Stu(orcus29@hotmail.com)
Visit Stu's Website
Send Email to Stu(orcus29@hotmail.com)

Visit Tom's Website


Send Email to Stu(orcus29@hotmail.com)



Send Email to Stu(orcus29@hotmail.com)

Send Email to KatyLee(katylee@mindspring.com)



Send Email to Dan(dan86turbo@hotmail.com)
Visit Dan's Website
Send Email to Katy(katylee@mindspring.com)


Send Email to Stu(orcus29@hotmail.com)


Send Email to Stu(orcus29@hotmail.com)
Send Email to Stu(orcus29@hotmail.com)
Send Email to glock(glock@glock.com)
Send Email to yachtcharter griechenland(ramkumar.shakywar.sv@gmail.com)
Visit yachtcharter griechenland's Website
Send Email to “Yacht charter Greece”(ramkumar.shakywar.sv@gmail.com)
Visit “Yacht charter Greece”'s Website
Send Email to “yachtcharter griechenland”(ramkumar.shakywar.sv@gmail.com)
Visit “yachtcharter griechenland”'s Website



Send Email to Auntie Maureen(reenie513@comcast.net)

Visit Rusty's Website

Visit *cam*'s Website