Tuesday, February 19, 2008

HD-DVD Really Dead - The Regret

It comes as no surprise that HDDVD is officially dead. Toshiba sent out the announcement this morning.

I'm actually ok with it. I would've preferred that HDDVD won, but I only chose HDDVD because I hate Sony.

I've been looking at Blu-Ray players, sporadically, for the last couple weeks. Yesterday, we went to Circuit City to see if there were any specials. (Their selection was abysmal, and we walked out a few seconds later). Then we went to Best Buy for the same reason, then BJs. That, combined with my online research and conversations with some unbiased folks, has led me to an unfortunate conclusion.

It looks like I have to buy a PS3. I haven't bought a SONY product since 1992. Whenever I've needed anything, it was easy to find a non-Sony choice. There have always been plenty of choices for VCRs, DVDs, TVs, Gaming Consoles, etc. There was never a good reason to violate the ban and buy Sony, nor did I ever want to.

But this is different. It seems that PS3 is the only logical choice for a BLU-RAY player. Not only is it BLU-RAY, but it is also a gaming console. I'm not willing to to spend 1 or 2 hundred dollars more for a lesser competing product.

I'm dissapointed about it because it violates a 16 year embargo, but that's the only reason I'm dissapointed. I don't feel like I'm selling out or giving up. Its just that in this unique case, its the smart thing to do. Unless Sony issues me an apology or a refund for the VCR that started this whole mess, then I will continue to avoid Sony products.

My wife bought a PSP a few months ago. Its obvious that she has absolutely no respect for the sanctity of marriage. The DS is a perfectly suitable alternative, yet she chose the PSP. She's an american and can make her own choices, but you can imagine not only the dissapointment, but the hurt, that this inflicted on our relationship. The PS3 is different because there is not a reasonable alternative.

So, its nearly certain that I will purchase a PS3 in the not so distant future. Its just a matter of determining the appropriate version, and finding one. Then the ugly deed will be done.

Thursday, February 14, 2008

Leia's inappopriate noises

We have a dog name Leia. Gina tries to deny that she was named after a character in a famous science fiction saga, but how many other Leia's have you heard of?

There's no delicate way to say this, so I'll get right to it. Leia has recently become a farter. I don't know if that's normal in the canine world or not, and normally I wouldn't be interested. Its well known that all animals fart; from the majestic armadillo all the way down to the carnivorous palm tree. Its just what animals do. God not only grants them the freedom to fart, but he expects them to. He encourages it. Its his way of saying "be free my child, be free.".

Actually, I just made most of that up as I often do. I am not privy to the opinions of the big g. I can only make logical assumptions based on personal observations and, to be honest, experience.

But that's really all out of scope of what I'm trying to express. The point of this is not how Leia farts, but how she reacts to it. She'll lie on the tile, comfortable while pondering complex issues of her day. "Should I drink water, then clean myself in public, or smell that dog's butt then bark at the wind? When are those stupid humans going to bed? I'd really like to pee in the hallway." Then, the silence is broken by a sound reminiscent of someone twisting a balloon in their hands. That's where normalcy ends. As soon as the fart induced squeak reaches the peak of its cresendo, she jumps up and panics. She tries to run, but her legs move too fast and she can't get traction. By the time she can get traction, she's not longer startled so she stops, then lies back down, perhaps to ponder the experience.

She does this everytime. Its as if she can't relate the loud noise bouncing off the walls with the odd vibrating sensation emerging from beneath her tail. She reflexively panics every time.

One one hand, I laugh, for I am human and humans are fundamentally flawed. On the other hand, I'm sympathetic. I want to protect her from the big-bad-fart. But how can I protect her from that of which I can't protect myself?

Friday, February 08, 2008

They lost?!?

It's been almost a week. Its time to come clean.

Contrary to my previous post, the Patriots actually did lose the superbowl. I tried to justify it by stating that they won by -3. However, that actually makes it worse, because the giants won by +3, which means they won by 6 points more than the patriots won by. I guess its better to admit that they lost by 3.

I can say with all sincerity that Giants won it, and I'm sort-of happy for them. If 6 guys can't take down your quarterback, and your receiver can catch with his helmet, then gosh darn it, you deserve to win. That really was the play of the game... If they managed to either sack him or prevent the reception, I think the outcome would be different. But, that's what its about. They managed to do it, and the Patriots couldn't stop it.

A few weeks ago I stated that the Giants are my second favorite team. Sure, I'm presently aggravated with them, but my position holds. They came out in week 17 and went for the KO. Last week, they pulled it off.

Before the game, I read a quote somewhere from one of the patriots in the offensive line. It was something like: "If we do poor, they call us old. If we do well, they call us experienced." Well, this week you're old. Last year they got the big guns for the receivers. This year, I bet they get some younger guys up front. They held it off all season, but in the superbowl, they might as well have stepped aside.

You win some, you lose some. Its a crappy way to end the season, but there you go. The wife and I were just out with a couple friends, and another guy commented on a Red Sox logo. Then he proclaimed "18 and O!". I like that approach. We don't have to say 18-1, we can say 18-0 because, its accurate. They were 18-0. It reminds me of Jimmy Fallon's t-shirt in Fever Pitch: "Boston Red Sox - 1918 World Champions!"

I love it when the patriots win, but don't care too much when they lose. Does that make me a bad fan? When they lost AFC Championship last year, I thought "That's what you get for throwing 5 interceptions". This loss isn't as easily identifiable. "That's what you get for getting out played". It was harder to take because of what was on the line, but its time to move on.

The thing that bothers me the most is that this loss defies math. I thought for sure they were using the fibonnacci sequence to guide their destiny: Win a superbowl, miss the superbowl. Win two superbowls, miss two superbowls. Win three superbowls.... that's as far as I got. Unfortunately, this should have been the first win of three, so math has proven to be unreliable.

Sunday, February 03, 2008

The patriots win the superbowl to go 19 - 0!

Wow, what a game. That was a real nail biter... that was worse than the ravens game.

I thought it was over when the giants led by 3 with 1 second left, but somehow the patriots pulled it off. They always do. They just don't know how to lose.

The game was a lot closer than I expected. I thought they'd win by 10, not -1, but the important thing is that they won. A win is a win is a win. The points don't matter. They have once again re-cemented their position as this centuries new dynasty.

I wanted to provide you a link to Patriot Superbowl #42 Championship T-Shirts, etc, but they haven't come online just yet. I'll keep watch and let you know as soon as the vendors get on the ball. I'm sure they'll be available at the victory parade.

Congratulations to all.

New Blog Alert

Greetings

I created a new blog at http://hamletcode.blogspot.com.

I'll post all technical content there instead of continuing to pollute this one with both tech and non-tech.

Friday, January 25, 2008

Part 3 of the flood trilogy

Greetings

The flood wasn't important enough to warrant all of these posts, but I don't have anything better to talk about.

In conclusion, here is the last flood post. This is the email sent to friends and family.


Greetings I worked from home yesterday. I had a conference in West Palm Beach at 6:30. I left my house at 5:30 to make sure I could find the place, etc. I was gone for about 3 to 3.5 hours.

During that 3 hours, Boynton Beach (where we live) got between 10 and 12 inches of rain. I didn't know this. I was in a conference listening to a bunch of geeks talk about microsoft products. (Bless them all, every last one of them, including the microsoft products. All hail microsoft. But I digress.). When I got back to the community, I thought it was suspcious that the gate was open. I thought it was more suspicious that the streets and lawns of the main road had been replaced by a lake. And when I say "lake" I'm not being overdramatic in describing a puddle. We're really talking about a lake for as far as the eye could see (assuming you don't have bionics). I just sat there sort of dumbfounded for a few minutes. I called gina and asked her to look out front. Naturally, she was afraid of the rain and was hiding under the coffee table, but I persuaded her to grab her teddy bear and go to the door. She quickly confirmed my suspicion: the house was now on the paved shore of a newly introduced body of water. Huh.

(Side bar: I proposed that we call it lake of jay, but that was lame, so it was rightly rejected. Alternatives are still under consideration.)

I parked my car a few miles away at my brother-in-law's house and got a ride back to the gate. Then I trekked through the water back to the house. Fortunately, it was just water. I feared there maybe some distateful...shall we say, "material", which would've prompted me to stay at a hotel for the night. I walked on the high parts whereever possible. At its lowest, it was well over my ankle. At its worse (remember, of the high ground) it was up to my knee.

Anyway, it was unusual, so thought I'd share. I love rainstorms and, of course, I happened to be gone for the biggest rainstorm that has probably occurred since we've lived her. Bogus. And it was dark, so I couldn't get any good pictures. More bogus. Thankfully, the water only made it about 1/2 way up the driveway. Most of you have never seen our community so I can't really describe it 500 words or less. You're just going to have to trust me. It was odd.

By this evening, the waters had mostly receeded. Then it rained again, and things started to backup into big puddles, but nothing like what happened yesterday. Good times. The cleanup should be fun.

More info here: http://jayallard.blogspot.comThere are some links and a couple of posts about it. I don't really have much else to talk about, so I'm going to milk this for all its worth. Please mark your calendar for the first annual "flood rememberance" ceremony, tentatively scheduled for 1/22/2009.

Wednesday, January 23, 2008

Waterfront Update

Late this afternoon, the waters had finally receeded enough so that I could see the street in all directions. Then it started raining again, and everything got backed up again, though not nearly as bad. Rather than a torrential flood, it was merely a big puddle.

The streets and lawns are a mess. All of the debris floated up then landed in what I assume to be random locations. Someone's going to need a broom.

We're not in a flood zone, so I don't have flood insurance. I should probably look into it. Maybe it will be cheap because its not a flood zone. The water was a good 10 feet from the garage door, but it was still alarming. What if I was napping in the driveway?

Last night, I was walking through it (before I dropped the car off) to see if it was low enough anywhere to reasonably drive through. Bill was hanging out in the driveway, so I called him over. He came prancing through the water like he didn't know it was there. This is a dog that hates the pool, but for some reason walking into a flood is ok. Silly dog. Anyway, it was fun watching him run around in it. He gave up quickly and headed back to the house via our neighbor's lawn.

Sun Sentinel Flood Watch report
http://www.sun-sentinel.com/news/local/palmbeach/sfl-boyntonfloods0122,0,561434.story

10 - 12 inches in 3 hours??!!
http://www.sun-sentinel.com/news/local/palmbeach/sfl-flpflooding0123pnjan23,0,840793.story

http://www.palmbeachpost.com/localnews/content/local_news/epaper/2008/01/23/s1c_flooding_0123.html

http://www.wpbf.com/news/15118241/detail.html

There's probably 100 more, but you get the idea.

DvdFriend - Create Account

I took a break from the "other" project so that I could add the "Create Account" functionality to DvdFriend. I've put it off for a long time because I really just had not desire to do it. Its a page with some fields and some validations. Its painfully boring at this point.

The validations are minimal. When you create an account, it should send you a verification email, but it doesn't. Additionaly, it should validate your email address. It doesn't. Why not? Because I'm still not in the mood.

Even though its a meager, at least its in there.

Chris requested a link for "MY REVIEWS" so that he can see what he's done. That would be a good feature.

I started a BROWSE page recently, but didn't have time to finish it before deploying this version.

Tuesday, January 22, 2008

Unexpected Waterfront Property

I was supposed to go to the office on Wendesday, but that's not happening, so I had to inform the team. Email follows.


Greetings

So I went to a MVC overview in West Palm last night. I left my house at 5:30. The MVC stuff was interesting. I learned a lot, met some people, ate some pizza, and was feeling pretty good about the universe in general.

I was whistling pleasant Disney tunes as I approached my community. The birds were singing. Animated animals greeted me and smiled. It was darn-near utopia. What could go wrong, right? Nothing! It would take something truly awful to ruin this little slice of heaven. Then I passed the threshold of the community and learned that all of the pleasantness was merely a coverup to mask a tragedy that had befallen my abode and all those around it: Complete flooding (well, not really). I have reason to believe this scenario was orchestrated by god himself in response to an unfortunate code bug I wrote in 1986. I was new to programming. It was pascal. I thought he would forgive, but he didn't. Instead, he waited all these years and finally cast his fury upon me. At last, I have been smote.

Fortunately, the flooding only made it 1/2 way up the driveway, so neither my paper-mache howitzer collection, or my gremlins, are at risk. But, the roads are unpassable. I had to park at my brother-in-laws house, get a ride back, then swim home. I'm seriously considering giving myself a tetnus shot, but that would require more courage than I have readily available.
I have 3 regrets about this whole thing:

- I love a good rainstorm. Why did I have to be in West Palm for the doozy of all rain storms? Yet another facet of god's cruel joke. Had I not been in West Palm for MVC, my car would be safe in the driveway. (So maybe microsoft is to blame for inventing mvc?)
- Why does it have to be dark at 9pm? I'd love to get some pictures. Maybe it will still be there by the morning.
- they should have just called it Struts.net instead of MVC.net

So, I'm writing to report that due to transportation difficulties, I won't be in Wednesday as planned. Lets make it Thursday instead. Unless there's an earthquake in my driveway or a worse-than-usual firestorm in my bathroom, it should work out just fine.

Question? Comments?

Friday, January 18, 2008

Dog Food

I made 2 peanut butter and jelly sandwiches. I was hungry.
75% of the first sandwich is all I could eat before completely losing interest.

So, I shared 1.25 sanwiches amongst three dogs resulting in approximately 0.416 sandwiches per dog.

I say "approximately" to allow for an error of margin, but that's just a formality. In actuality, I was very careful about distribution of the 1.25 sandwiches. Thanks to modern technologies, I'm confident that the distribution wasn't only fair, but was also accurate. I used the latest industry tools for weighing, measuring, and cutting the remaining sandwich parts.

I intentionally neglected to consider the weight of the dogs. (There was not a dog-weight-to-sandwich-mass ratio in my calculations.) I figure they all deserve just as much regardless of their size. The important part is the joy of eating them rather than the nutritional value.

Leia ate hers in two swallows. She doesn't chew things when she doesn't have to. I don't think she fully appreciates what she's eating; she just wants to eat.
Fred actually chewed his, but did so in one sitting.
Bill took his allotment back to his pillow and laid it out. He then nosed it around and ate it in chunks. He's always been a connoisseur of fine dining, so his behavior didn't surprise me. (To be honest, I lied about nosing it around. He just dropped it.)

The "crumbs" remain an issue. I think I'll just throw them away. I've already done enough math for one day.

Thursday, January 10, 2008

Blog readers? / New Side Project

It has come to my attention that there are actually people out there who read this blog. They are an elite few. Vadim said he found it by searching for something else altogether. Interesting.

Anyhoo, some people left comments and I have not, to this point, acknowledged them. That's primarily because I didn't see them, and I didn't receive email notifications. Notifications were sent, but I didn't get them because of my spam blocker. That's been resolved.

So, comment away.

Speaking of comments, Chris has requested a DvdFriend feature that would allow him to respond to people's reviews. Neutral and negative comments about certain comic based movies inspire him to educate non-believers in the errors of their ways. In the old site, you could leave comments. On the new one, you cannot, but I'll get there. Its a good suggestion. He also mentioned how he has his blockbuster and facebook linked together, and he'd like to do something similar with DvdFriend. I didn't completely follow because I was thinking about a cheeseburger, but I'll follow up. It sounded like an interesting idea. However, a cheeseburger was more important at that particular moment.

On Monday, I had a meeting that secured a side project. As usual, the hobby site will take a back seat to actual work. The upcoming project is pretty big, though I hope I can still pick away at DvdFriend. It really needs a CREATE PROFILE page, but I'm bored to death with doing those. When I need a break from the other thing, maybe I can commit to doing that. (Maybe commit? That sounds like a non-commitment)

The side project is an update to a system I originally built 6 years ago. Since then, I've been occasionaly recruited to add new features. (Those who know me know the project I speak of)
Over the last couple days, I've been working on setting up a development vm including:
- vb 6.0 (for the vb stuff)
- vs 2005 (for the .net 1.1 stuff)
- vs 2008 (for the .net 2.0 and, possibly 3.0 stuff if the project requires new code)
- Sql 2005. This was supposed to be sql 2000, but the install keeps hanging and I can't connect. The application is a SQL 2000 application, so I'll just lower the db compatability, assuming that the 2005 install works)
It started off as an asp/vb COM+ app, but has evolved over the years. Each time somethine new comes out, I use it for new development. The new project involves changes to the foundation of the app, so I will most likely be coding in asp and vb.

That's about it.





So the DVDFriend community is now active with three people. World dominations starts with three people, so we're on the right track.

Saturday, January 05, 2008

DvdFriend Updates - Library

I've been working on other projects for a couple months now. I put both on hold last night so that I could work on DvdFriend for a bit.

Chris T has offered a lot of feedback on what the site should be able to do. Fortunately, most of the stuff he has come up with is stuff that the old site could do. Once it gets rebuilt in the new site, it should be better than the orignal.

LIBRARY / RATINGS
When you click a product, you go to the product page where it shows you all of the ratings, reviews, prices, and summary information. There's a new section that allows you to:
- Change your rating (if you already have one)
- Add a rating (if you don't have one)
- Edit or Write a review (depending if you have one)

The ADD A RATING isn't perfect. It brings you to the EDIT REVIEW page rather than offering the drop down list. This is because that in order to create a rating, you have to specify the rating type such as MOVIE, BOOK or XBOX 360. Products in DvdFriend don't have product types. They're ambiguous. That's good because it allows me to bind anything to anything. Its bad for situations like this where I would like to do something specific.

There's an EDIT PRODUCT page in the admin side of the site. I'm going to work on that (eventually) and add some default information.

You'll also see there's a LIBRARY section. Here, you can select what formats of the product you own. DVD, HD-DVD, BLU-RAY, BOOK, XBOX 360, etc. This list is too long, but will work for now. Once the concept of PRODUCT TYPE exists, the list will adjust contextually.

When you click a checkbox in the library section, it uses ASP.NET AJAX to save the call automatically. This isn't anything fancy; its just an update panel.

XBOX 360
By request, I added an XBOX 360 entry and an image, so now we can review and sell games. I added some prices. They went in as DVD. I'll change those to XBOX when I feel less lazy.

REVIEW SOMETHING
There used to be a REVIEW SOMETHING link and a SEARCH link in the menu bar. The search sucked because when you found a product, you wouldn't have a way to write a review or rating. So, then you'd have to go to the REVIEW SOMETHING page and search again. Lame. Really, that was just due to the fact that the product page was incomplete. It was lacking a lot of functionality. That functionality is now in there, so it should be a better experience.

I got rid of the REVIEW SOMETHING link altogether. I used to need that so that I could add non-product related entries, such as news items, rants, etc, but I haven't used it much, so I don't need it. If/when I do need it, I'll add it to the admin site.

NEXT STEPS
Now that the library stuff is in there, I need to make it more available. I'm picturing a BROWSE page that will allow you to look at products different ways. Immediately, it would be nice to list all of the HD-DVDs so you can just go down the list and click those that are in your library.

Once people have items in their library, the next logical step is to share the list with friends and co-workers. In the old site, this was called DVD COMMUNITIES. I'll have to start rebuilding that.

Also, I think its about time to open up the site. I currently enable users on an individual basis because I haven't finished all of the signup stuff. I should probably make that a priority.

In the meantime, if you would like to be able to login to the site to set ratings or write reviews, let me know.

Friday, January 04, 2008

The Death of HD-DVD?

Oh crap.

I spent $500 on the HDA1 HD-DVD player when it first came out. My goal was to be the coolest kid on the block, though I didn't go door to door to confirm. Not too long later, Microsoft created the HD-DVD drive for the XBOX 360. Once again, I rushed out to get it. $179.

Since then we have ammassed a pretty good collection of HD-DVDs. In fact, 8 of them came in today due to a BUY 1 GET 1 FREE sale at Amazon. I ended up with Dante's Peak to round out the bunch, which I'm not proud of.

Ah, heck... why not. Here's the list of 8
- Fearless
- Breach
- Meet the Fockers
- Dante's Peak
- Knocked Up
- Assualt on Precinct 13
- Traffic

Dante's Peak is easily the weakest of the bunch, but the special effects should be pretty good in HD. Meet the Fockers was a hesitant choice, but its funny.

Anyhoo, I'm going to guess that we now have approximately 20 HD DVDs. That's a few bucks.

So, I'm invested. I knew there was a format going on, and due to my rabid hatred of Sony, I backed HD-DVD. I doubt my investment in the technology caused any perceivable ripples, but I did my part.

I never agreed with the "lets see who wins" approach to the format war. HD-DVD players got pretty cheap, especially if you own an XBOX. Rather than wait for a winner, people should jump in the ring and fight. A lot of people can't due to the cost, so we'll leave them alone, but if you're a technology nut with the means of picking one, then pick one.

Ah, the War. At the beginning of the summer, it felt like that BLU-RAY was winning. By the end, it felt like HD was winning. Paramount and Dreamworks signed exclusively with HD-DVD. Michael Bay made a ruckus about this, then retracted his comments the previous day. (That was actually kinda cool. He didn't try to pass it off as misunderstood, or something lame. He put it down as a rash remark, and moved on.)

Somewhere along the way, there were some stories stating that Blu-Ray wasn't going to allow adult movies. If that turned out to be the case, then I'm confident that HD would've won. The adult industry is a billion dollar industry. (Or more. Maybe less. I don't know. I'm obviously just making up numbers as I go.). Say what you will and object all you like, but porn drives industry.

I have been a little bit envious about Blu-Ray. I would like to get Spiderman 3 on Blu-Ray, for one. The Incredibles would be something special too. The standard "Resident Evil: Extinction" dvd came in today... The Blu-Ray version would be better. But, that's the way it goes. You pick a side and you get the good and the bad, and you miss out on some of the good. I'm ok with it.

Warner Bros supported both formats, until now. Today they announced that they will drop HD-DVD in May. Most of the "analysts" say that that's the end of the format war. It will be over in a matter of weeks at the most. I don't know if that true or not. I'm not familiar with the qualifications of the said "analysts", but I'm the trusting sort so I'll assume they know what they're talking about.

Christmas just passed. I know of one co-worker who got an A3 for Christmas. Another one is going to buy one this weekend, though maybe he'll change his mind now. I don't know. Either way, it feels like then beginning of the end of an era, and I don't know that his purchase (or lack thereof) will have an impact either way. C'est la vie. (I don't know what that means for sure, but it seems to be contextually accurate).

If this is the end of the format war, then lets make it a quick end. They're saying days or weeks. Let it be so.

Supposing that Blu-Ray does win, how does that affect moi? As already covered, I'll have to buy a Blu-Ray player. I won't buy a PS3 because I still rabidly hate sony. Nor will I buy a sony Blu-Ray player for the same reason. There are enough others to choose from.

I just jumped onto CircuitCity.com to look at the prices on Blu-Ray players. Then I realized it doesn't matter, so I stopped looking. If Blu-Ray wins, we'll have to buy a player, so it doesn't matter what they cost. If the time comes, it comes. Lets give it some time and see if the analysts are worth their salt. (Again, I don't know what that means. Is salt a currency?)

The focus of my website will have to change somewhat, too. When I add movies to the database, I have to choose an image. My current priority is HD-DVD, BLU-RAY, STANDARD. I'll have to reprioritize. (In a related story, I also have to change the site to store images per product format rather than per product.)

And that's it. Damn Warner Bros. If this were an actual war, they'd be the French. (I know I'm not being fair to Warner Bros or the French, but that's ok. This is a rant. I'm not required to be fair, accurate, or even cohesive. Be grateful that I'm using complete sentences.)

The end.

Sunday, December 30, 2007

Patriots 38, Giants 35

What a game.

The Giants definitely came out swinging. They never let up, and they were winning for a good portion of the game. The starters played the entire game.

For a while there, it wasn't looking good for Patriot fans. But, even then, I would rather lose a ligitimate game then win a gimme. It would've sucked, but I would've been the right way to do it. The Giants did their part; they tried their hardest.

As hard as a game as that was, it was never really that bad. When they were down by 12, there was still plenty of time left to play, so no real concerns. The worst game of the season was the Ravens. Sure, there were other close calls, but the Ravens was the biggest nail biter by far.

Go Pats. Go Giants. (The Giants are my new second favorite team. They stepped up in a big way.)

Saturday, December 29, 2007

Patriots and Giants

The big game is less than 3 hours away. The patriots are going for legendary status.

There has been a lot of talk about wether or not the two teams are going to show up to play. There are playoff advantages for the Giants if they take it easy. Technically, this game doesn't mean anything to them. Technically, it doesn't mean anything to the Patriots either other than the opportunity to be the first team in 35 years to have a perfect season. They say that its meaningless if they don't go all the way, but I disagree. Clearly that would be a better season, but regardless, no one has gone 16 and 0, not to mention all of the records that are about to be broken.

I hope that both teams show up to play. Obviously I want the Patriots to beat the Giants handily, but I'd rather that it wasn't a gimme. I want the Giants to come out swinging, and for the Patriots to beat them toe-to-toe.

I heard a quote somewhere that the Giants coach stated that it is not his responsibility to beat the patriots. 15 other teams have tried. If that quote is at all accurate, then I disagree. Its not his responsibility to stop them, but it his responsibility to try just like every other team has tried. 20 years from now, do you want to look back at this team and think that maybe you could've stopped them if only you tried? This is a key moment in football history. Don't roll over.

Jay's Prediction: Patriots 28, Giants 10. *
* - Jay's prediction is based on wild guessing.

Thursday, November 15, 2007

Death of an XBox

After approximately 1 year and 10 months, it finally happened. My treasured XBox 360 has died.

Thankfully, it didn't suffer long. It crashed a couple times, and I knew that was the beginning of the end. Finally, after a particularly dramatic crash and a reboot, the three red lights started flashing.

Even though I knew it was coming, it didn't make it any easier. My good friend Mike, who has lost 2 XBoxs in the past, was quick to console me and offered advice on how to get on with my life. It started with a call to Microsoft, and will some day end with acceptance.

Over the next several hours, I have some tough decisions to make. It may take 3 or 4 weeks for the good folks at Microsoft to get a new XBOX 360 to me. Do I patiently wait that long, or do I give in to the great Halo 3 tempation and buy a new one?

I'll be honest. Everyone is expecting me to buy a new one. Its impractical. Its a waste of money. Some may even call it childish, but here I am, thinking about it. Verbalizing it. About to sleep on it. What will tomorrow bring? A trip to best buy, or quality time with my Nintendo DS? Or will I spend the day reading non-fiction thereby bettering myself as a human being? Place your bets.

There are 3 versions of the XBOX 360 available. The least dumb choice would be to buy the cheapest version, but in my time of grief, it is easy to consider upgrades.


The arcade version costs $280. As a general rule, I generally don't consider the minimal offering.

The premier model costs $350 and comes with 2 games whose combined worth is $120. $350 - 120 suggests that I'm only spending $220 on the acutal console. logical, right?

The elite model cost $450 and comes with 2 games and a 120gb drive. The games are worth $120, and the drive is worth $180. $450 - ($180 + $120) = $150. A console for $150 sounds perfectly reasonable, doesn't it? Seriously?

Oh, did I mention that the Elite is black? Oh yes. Black. That's old school. No more prissy white xbox 360 glaring at me from the entertainment center. Heck no. Its time to dare to be different.

Do you get the feeling I'm talking myself into anything?

That's it for tonight. Dawn is just a few hours away, and I have a lot to think about. I'm going to need some hot pockets.

Thursday, October 25, 2007

DvdFriend Site Update

Greetings

Site development has been on a hiatus for several weeks; some of it involuntary, and some of it just laziness. I had a bunch of side work to do for one client, and I built a prototype for another. (Lets see if that prototype turns into actual work).

Anyhoo, I've been able to work on DvdFriend quite a bit this week.

Pricing
- Pricing - PREVIOUSLY: I created the APIs to retrieve the data from the vendor sites and update the DvdFriend database. There's a EDIT PRODUCT page that uses that technology to do the initial parsing.

NOW: The next step is to update the prices automatically on a periodic basis. When the page loads, it checks when the price was last updated. If it was over a day, it needs to get fresh pricing. It needs to do it in the background, though. I don't want the page to hang for 5 or 10 seconds as it hits the vendors. Additionaly, if hundreds of people are hitting hundreds of pages, I don't want it to process all of those remote requests at once.

I spent more time on this then I needed to. I could've slapped together a quick solution to satisfy the immediate need. Instead, I created a ThreadQueue api that allows for great reuse for future needs. Basically, its just a queue. You stuff things on the queue. You then assign a delegate to the queue, and tell it how many can be processed at once. The object takes it from there. It will start up to x number of threads which process the queue. When each thread finishes with a work item, another thread is started that handles the next one. Neat. (It uses the thread pool, so the same threads are used repeatedly.)

Its a neat object. I spent the extra time on it so that I can make it distributable. I'll finish it up and make it available somewhere.

So anyway, when the page loads, it checks to see if the prices need to be refreshed. If so, it queues the items that need to be refreshed. The page shows the prices, but displays "refreshing" beneath them. A tooltip tells you what's going on, and suggests that you refresh in a few seconds. (Later, I'll wrap this up in an update panel and have it refresh automatically. 1 thing at a time.)

There's one problem, though. I only have about 50 prices in the DB. The original DB, which has all of the pricing, is sitting on the hard drive on my shut-down home computer. I get home tomorrow and leave again Saturday morning. I'll see if I can run the conversion somewhere in that window.

Alas, the moral of the story is that pricing is now FULLY functional. I just have to repopulate the data.

Admin Product Editor
The product page editor is where you assign vendor product ids to the product. Once I have the product ID, I can refresh the pricing whenever I need to. Currently, that's done just by dragging-and-dropping the url from one browser to the editor page. That's a pain, but there aren't many options. IE7 really locks down things like cross-frame scripting. I looked at creating a windows form program where that wouldn't be an issue, but the IE control constantlly crashes under XP PRO SP2. So, at the time I did what I could and just added a textbox. You paste the url, and it will parse out all of the information.

That's handy for updating products on a one-by-one basis. But, it needs a way to deal with things in mass. It needs to tie into lists of products that need pricing.

I created a view that assembles all products + all product types + all vendors and indicates if pricing exists for each one. It also specifies if any reviews or ratings exist for that product. From that view, I can now create child views that provide specific useful information.

The first one is "products with reviews and without pricing". Now I can run a quick query and see which products people have reviewed but don't have prices. I can display the list of the left side of the page and work through them one by one. (They'll probably be ordered by recent review date so that the most recent stuff can be updated).

The editor page has a button that launches a search in the vendor site. I use that as a starting point, then browse to the particular product I want. I then paste (or drag) the url to the parent page.

That's a step in the right direction, but its annoying.

Solution!

At last, I came up with a great solution. As I said, there are all types of security things that prevent me from doing this the way I used to do it. Finally, I worked out something that isn't blocked by security.

You can create an IE Favorite that has javacript in it.

IE: instead of http://www.dvdfriend.us (or anything else), you can create a favorite for
javascript:alert('hello');

Each time you click the favorite, it gives you an alert box.
I created this one

javascript:alert(document.location.href)

Once that worked, I was cautiously optimistic that I could solve my problems.

The next test was this:

javascript:document.location.href='http://mymachine/test.aspx?url=' + escape(document.location.href);

That javascript redirects to a specified page and passes the URL of the current page to it. So, the final URL is something like

http://mymachine/test.aspx?url=www.blogger.com
(That's a simplified version. The full url is actually escaped within the parameter. I omitted the special chars)

This is the big test. If security was going to interfere, this would be the place. It didn't!

Once that worked, I knew I as home free.

Here's how the pricing editor works:
- Go to the Edit Product page
- Select the item you want to get pricing for (IE: Transformers / HD-DVD)
- The button redirects to VendorProxy.aspx
The proxy page saves the product id and the product type id as cookies
It then redirects to the search results page for the vendor passing TRANSFORMERS as the search keyword
- I select the TRANSFORMERS HD DVD that I was looking for.
- I then click a favorite on my link bar. It takes the url of the current page and passes it to my VendorProxyReturn.aspx page.
- The VendorProxyReturn page:
- gets the product id and product type id out of the cookie
- gets the url out of the querystring
- uses those three pieces of information to get the pricing
- Redirects back to the edit product page. The pricing is now populate for that item.

I've been doing this pricing stuff since 1999 or 2000. I've had many solutions over the years, and some have been very good but required a lot of code that wasn't 100% reliable due to the intricacies of each vendor. This solution, while not the most robust, is the simplest and easiest.

From a admin user perspective:
- click the button which opens the search results page for that vendor
- find the product
- click the favorite link
Done!

Its really cool. I'm thrilled that I finally found something that works. Another key advantage of this is that its something I'm comfortable letting other admin users use.

Product Type Images
DvdFriend is very movie centric, obviously. But, it supports all types of products. Its currently setup XBOX games and books too. The problem is that the main page is dominated by movies. If I suddenly drop in a book review, how do you know it's a book review?

I added icons to indicate the product type. There's a journal type thing for a book, and everything else is a film reel. (I'll find a good game icon when I need it). I think it looks pretty good on the page.



These changes are all live on http://www.dvdfriend.us

What's Next?
I'd like to start putting in ratings for tv shows. I have to build a product hierarchy, which doesn't exist yet. When I built this version of the DB, I kept it very flat. Previous incarnations became to complicated due to the hierarchies. Flat is simple. I can use other objects to build a hierarchy as needed, such as with TV shows, but not force it where it's not needed.

Hey, the Red Sox won

13-1? Is that even a game?

Monday, October 22, 2007

RedSox followup

When we last discussed the Red Sox situation, I expressed a disinterest in a certain ALCS game #3. As predicted, the Sox went on to lose that game. As declared, my conscience is clear. It would have been nice to see the back-to back-to back homeruns, but not that nice.

Since then, the Red Sox have won 3 in a row. I watched all three games. If they fell behind by 6 runs again, I probably would have shut it off again, but that didn't happen.

So last night they went the distance. They once again came from behind and won the pennant. It was as dramatic as 2004 (0-3 as opposed to 1-3), but it was still good.

Now on to the world series. Coincidentally, i'm going to be in Colorado next week. I don't know where Steamboat is relative to wherever the Rockies play, but it might be worth an excursion.

Go Sox.

And, let us not forget: Go Pats.

Tuesday, October 16, 2007

ALCS Game Three, Fifth Inning, Red Sox are losing by 6?! / Car Poolers

For the first time in the history of jay, as I remember it, I have stopped watching a game.

I don't often decide to sitdown and watch a baseball game, but when I do, it's a commitment. I sit there and watch it through thick-and-thin.

But not tonight. 6 - 0?!?! That's too hard to watch.

There's a chance that Red Sox could pull off this game. Maybe the Indians pitching will fall apart and the Red Sox will belt out 8 runs. Maybe. But probably not.

If they pull it off, I should feel guilty about changing the channel, but I won't. Instead of commiting to watching the game, I've re-commited to not feeling guilty if they suddenly win. Not only will I not feel guilty, but I will also not regret my decision.

Instead, I'm watching Car Poolers on the trusty DirecTv DVR. Once its over, I'll go back to the game for a status check. I expect that I'll then choose something else to watch.

In other news, I am also a Patriots fan. That eases the pain.