I'm an RIA Developer who owns a motorcycle custom paint shop, who loves to race anything with wheels. I also enjoy woodworking, cooking, fine wines, liqueurs and dark beers. So if nothing else my blog should be eclectic.  

Viewing by month: July 2008

Jul 27 2008

Import MySQL into MSSQL (free/easy)

I needed to move several medium size MySQL backend apps to SQL server 2005 and did not have a cool tool for doing it. I found a way that was suprisingly easy... To do this you will need to install the ODBC drivers for your version of MySQL; I'm using MySQL 5.

Then in your SQL Management Studio, modify and run the following code.

EXEC master.dbo.sp_addlinkedserver
    @server = N'MYSQL',
    @srvproduct=N'MySQL',
    @provider=N'MSDASQL',
    @provstr=N'DRIVER={MySQL ODBC 5.1 Driver}; SERVER=127.0.0.1; DATABASE=db_name; USER=user; PASSWORD=pass; OPTION=3'

Then write seperate scripts that contain an instance of the following pieces of code per table in your MySQL db. In my case I had about 40 tables, so I wrote a ColdFusion job to do it smartly and added SQL to drop the target table if it existed.

SELECT * INTO [target_mssql_db].dbo.[target_mssql_table]
FROM openquery(MySQL, 'select * from mysql_db_name.mysql_tablename')

One of my apps had some tables with LOTS of rows, so I also set my script up to only run 5 conversions at a time to avoid timing out MSSQL locks. This should also work on MSSQL 2000 and I'm sure at least a few versions back of MySQL.

3 comments - Posted by Russell Brown at 2:24 PM - Categories: ColdFusion | SQL | MS-SQL | Development

Jul 21 2008

One of the best MotoGP races in years

I know many of my readers are more technical and I haven't blogged on anything non-motorcycles in a while but I had to post about the Red Bull U.S. Grand Prix MotoGP race on Sunday. After some marked improvements to Casey Stoner's Desmosedici GP9's electronics the 2007 world champion has been completely unstoppable in the last 3 races. Seven time world champion Valentino Rossi even joked before the Laguna Seca round began that he would have to shoot Stoner in order to stop him.

In an amazing show of talent and aggressiveness from both riders, Rossi was able to finally stop the train that is Stoner. Knowing full well that if he let Stoner stay in front for long that he was pull away, Valentino made multiple daring and aggressive passes in order to maintain his lead providing for some of the most exciting and breath taking racing the sport has seen in many years.

The wheel to wheel race was brought to an end though when Casey Stoner ran wide in lap 24 of 32 and dropping his bike in the gravel. However the duo had been racing so hard that they had already obtained more than a 25 second lead on third place. So while Stoner was unable to re-challenge Rossi, he was still able to retain second place.

If you've ever wanted to check out a MotoGP race, I would highly recommend looking into this round and if you follow the "Read More" link you can view some video from YouTube.

Read more...

6 comments - Posted by Russell Brown at 7:01 AM - Categories: Motorcycles | Racing | Reviews

Jul 18 2008

Batman: The Dark Night Review (no spoilers)

In short: The Dark Night continues what I think Batman should have always been: Dark, gritty, sadistic and ugly. Heath Ledger steals the movie with an amazing representation that makes Jack Nicolson's version look like a cotton candy parody.

Soon after Ledger's passing and reading early reviews of "The Dark Night" I was sure that his acting was being exaggerated as some sort of tribute to him. After all, the acting and storyline in Brokeback mountain won tons of awards and accolades; but in truth it sucked and if wasn't for the premise and social mind job would have been straight to video...

At first I was not in favor of Heath's voice, but after several short dialogues I was convinced it was just what was needed... Ledger’s physical acting was immense; his ever so slight facial adjustments, the way he walked and even held a knife was phenomenal. He even pulled off some full theater audiance laugh grabs while never leaving his dark character. The storyline behind the Joker was also perfect. No BS story no cause to fight for... nope he just enjoys to fuck with humanity and test people and their limits!

So while Christian Bale plays to a T the tortured hero and Aaron Eckhart plays a nailed Harvey Dent / Two-Face and Michael Caine plays my favorite butler; the movie is definetly stolen by the lead villain The Joker!


My only bad comments pick out two things that matter not to the story or movie that much…

  • Christian Bale’s voice when he is in Batman persona is too gruff and altered. Next to the Joker he sounds overplayed in a number of dialogue exchanges.
  • Maggie Gyllenhaal has stepped in to replace Katie Holmes as Rachel Dawes… To be honest I don’t think she pulled it off. She didn’t have the elegance that Katie did and somehow she managed to look horribly aged (she's only 30) and kind of ugly in a number of scenes.

 

 

Read more...

4 comments - Posted by Russell Brown at 3:58 AM - Categories: Reviews

Jul 11 2008

Review: SixSixOne Core Saver (Crash Tested)

In May 2008 my desire to get chest protection was heightened after a fatality at the race track involving a bike Vs rider collision. I did lots of looking and finally settled on a couple of products by a company called SixSixOne that seemed to meet most of my criteria

My initial reactions to the Core Saver were positive. Professional construction and good seems, It felt comfortable to wear and didn't seem to affect my riding position or any body movements. The shorts feel a bit odd at first; you wear them high to protect your hips. While they look a little funny, I have found them comfortable to wear and they do instantly appear to give me protection in places where I feel the thin hard armor in my Alpinestar suite lacks.

Crash Testing
This past weekend (7/4/08) I crashed during practice at Summit Point T4 in the rain/wet. Speeds were estimated between 90-100mph in the downhill slightly off-camber right hand sweeper. I downshifted a hair to late and after several tank slapper Esq wiggles/save attempts I was fairly violently thrown to the pavement about 10' short of the apex.

I took the full weight of the crash with my right shoulder and top right portion of my chest. After looking at my MRI images I feel fairly confident in saying that my new SixSixOne Core Save is what kept me from breaking both my collar bone and my shoulder blade. Instead I walked away with a fractured shoulder blade and some minor fluid build ups... I'm also pretty sure I would have a bruised keester and hips since I ended up hitting both pretty hard. I ended up leaving the track backwards in an upright position. Due to track conditions there was a drop off and my tail bone hit the ground pretty damn hard. Aside from a swollen thumb and my shoulder I have no other injuries.

A feature not highlighted on the spec sheet very highly is the padding on top of the shoulder. It’s a very think and firm padding that I know worked with the shoulder armor in my suit to help dampen my fall. Between this padding and the chest protection that I had no intention of testing out so soon, I definitely feel much safer at the track and on those weekend mountain runs. This armor will definitely be seen on me every weekend going forward.

The Bad / Areas of improvement

  • The Core Saver's back protection is not as full length as I think it should be. That is why I believe I would only recommend this to racers who also plan on wearing the Pro Bomber Shorts in junction with the Core Saver. The Pro Bomber shorts have a continuation of the back protector that meet up fairly closely. It Provides fantastic tail bone protection. That said, I still think SixSixOne should increase the back protector length
  • While there is a kidney belt, some improvements could be made in this area. For road racing I don't think it's much of an issue, but for cross use, such as off-road, snowmobiles and motocross, it would be a nice addition.
  • Venting: I don't get it, there are these nice vents on the front of the Core Saver, but you just cover them up with the strap for the kidney belt? This doesn't seem to have any ill effect, just a "duh" kind of comment...

 

 

Review Low Down

  • Highly recommend the Core Save to any street rider and the Core Saver + Pro Bomber Shorts to any racer.
  • Won't win you sexiest racer if you get caught wearing just the shorts.

Read more...

1 comments - Posted by Russell Brown at 2:32 PM - Categories: Motorcycles | Racing | Reviews

Jul 8 2008

Remote Desktop Key Binds/Shortcuts

Maybe everyone just knows all these, but for some reason I forget from time to time.

Shortcut Description
ALT+HOME Displays the Start menu.
CTRL+ALT+END Brings up the Windows Security dialog box.
ALT+PAGE UP Switches between programs from left to right.
ALT+PAGE DOWN Switches between programs from right to left.
ALT+INSERT Cycles through the programs in the order started (same as ALT+PAGE Up I think)
CTRL+ALT+BREAK Switches the client between a window and full screen.
ALT+DELETE Displays the Windows menu.
CTRL+ALT+Minus (-) Snapshot of the active window; same functionality as pressing PrintScrn on local computer.
CTRL+ALT+Plus (+) Snapshot of the entire client window area; same functionality as pressing ALT+PrintScrnon local computer.

 

1 comments - Posted by Russell Brown at 11:54 AM - Categories: Debugging | Windows XP | Development

Categories

Monthly Archives

Tech Blogs I Read

Motorcycle Links