tomhoppe.com

Racing, Web Development, Photography, and Beer...Stuff that matters.

Archive for 2008

HDTV == HDTV

Sunday, November 23rd, 2008

So I went to Brandsmart tonight and pulled the trigger on an LG 47″ LCD HDTV. When compared to the Sharp Aquos 52″ we were thinking about, it just had better “pop” on the blacks, no matter what the settings. Also figured that sitting 8-10′ from the TV, the 47″ would actually look better.

Took this thing home and plopped it right next to the 3 year old LCD Projection 50″ Hitachi that I currently have. I was thinking that I’d get a big upgrade in black levels, sharpness, picture quality etc etc by going to a “new” LCD TV versus the LCD projection that I’ve had for a while now.

After hooking both of them up to the cable box and tinkering with some settings on both TV’s (got the LG looking great with the recommended CNET settings and then set up the Hitachi to look like the LG), we realized that its the same damn picture. While there is a slight difference in the black levels, its definitely only slight and can be noticed when viewing dark scenes. Watching normal TV, or discovery HD as we were, its hardly damn noticable. Maybe with a Blu-Ray player we could see it, but on normal HDTV and then upscaled regular DVD, there is just no way to justify the purchase.

I guess in the end I saved myself some $$ as it looks like we’re just going to keep this 50″ Hitachi till it goes away, or until OLED’s come down in price, cause it ain’t worth it going to a 1080P LG LCD right now. Color me surprised.

Javascript if then shortcut

Thursday, October 23rd, 2008

For some dumb reason, I can’t ever remember this shortcut when I need it. Never again :)

varName == (value) ? (true) : false;

Race Car…

Sunday, October 19th, 2008

She’s almost ready for the ARRC (American Road Race of Champions, the Improved Touring National Championship). Got a good amount of work done today. New radius rod bearings, coolant flush, radio install, caliper rebuilds, etc etc. Pretty much all that is left is to bleed the brakes and do a once over on all the nuts and bolts. I also put the new “REDRUM” sticker on the front bumper. I was going to paint it and then put the sticker on, but I decided I’ll be doing lots of bump drafting at the ARRC, so I might as well make it pretty during the offseason. Last but not leas, but front splitter is coming in a few weeks. That should give me a bit of downforce in the high speed turns, but also free up a mph or two on the top end. I’m looking forward to that, as started to get to the point where I was going to make the car looser with a bigger rear bar. I think the splitter will be just enough to make it a tad looser then it is today, without going overboard. We’ll see!

Project Fatass continued….

Sunday, October 19th, 2008

So its been about 2 weeks since I started Project Fatass. I’ve been good and been following the diet. Its actually pretty easy to follow and I like it. I like the lunches a lot better then the usual microwave frozen lunch, and its actually more economical as I don’t spend $8 a day on lunch every day. I’m a fan. I’ve lost 5 lbs so far. If I lose another 5 over the next two weeks, I’ll be happy.

"Project fatass"

Monday, October 6th, 2008

So my parents just “got” me the NutriSystem package after calling me fat for the last year or two. Guess I’ll turn this into Project Fatass and see what I can do. I weighed in this morning at 224.0 and started the diet. I also have my plan to get back to “fighting shape”. I’ve been playing soccer and tennis and just realizing that I’m way out of shape compared to where I’ve been in the past. Few years of sitting at a desk and playing with cars I guess :)

The nutrisystem is pretty cool so far. Good amount of food, but spread throughout the day, so you are not hungry. I think the main goal is showing you how much to each, and by liming the amount, making sure you don’t overeat. Also, splitting up your food categories, so you get enough of everything. One of the first things I’ve noticed, is I don’t eat much dairy and veggies at all. This plan has me do 3-4 servings of dairy/protein a day.

I’m also going to take the next season off of soccer and tennis and hit the gym and mountain bike to get some strength and endurance. I’ll be back with a vengeance for the spring season :)

Quest for cheap radios has ended

Monday, October 6th, 2008

In an earlier post, I talked about how I was going to get a nice cheap radio setup for the race car. Well, after turning on the Midland GPRS radios from Bass Pro shops that sat around for a while, I figured out they were busted. Crapola. So I decided to get “real” radios instead. After messing around on Ebay and finding some Chinese knockoffs, a friend suggested I call Sampson Racing and see if they had any used gear. They hooked me up with a set of Vertex radios, crew chief headset, and a PTT button, all demo gear out of the owner’s race car. Sweet! Cameron at Conover Motorsports is going to build me a badass antenna, and I will still have my “cheap-er” radio system.

  • Vertex 5-watt - $160
  • Crew Chief headset - $90
  • PTT + free car harness - $25
  • Driver helmet gear - $140
  • Badass Conover antenna - $50
  • Misc adapters (headset to radio, car harness to radio) - $25

In the end, I’ve spend $500 and ended up with around an $800 system. My cheap ass is happy :) Looking forward to being able to hear my crew at the ARRC

How to make a MacBook Pro hibernate

Monday, September 22nd, 2008

Since I’ve had the MacBook Pro I’ve been wanting it to “hibernate” instead of “sleep” when I close the lid. There are times when I’ve shut the lid, stuck it into my backpack, just to not look at it again for 3 days over a long weekend. During that time, even in regular sleep mode, the battery dies as the laptop is not all the way off. My Thinkpad on the other hand can fully hibernate, in which it turns itself all the way off and stores its current state to the hdd.

Turns out that the MacBooks have the same mode, but its not an option in the menu. After a little digging, I’ve found a site that tells you what to do. I’ve outlined the steps below for “mac noobs” such as myself.

  • Go to Finder, Utilities, Terminal
  • type pmset -g | grep hibernate
  • You should see that your hibernate is set for mode 3. This means when it sleeps, your items are saved to the RAM and power stays on. What you want is to set that to mode 5 which will function just like windows hibernate, and actually turn your laptop all the way off while saving where your state to the hdd.
  • Create two aliases, one to enable mode 5, and another to set back to 3 if you want.
  • Type alias hibernateon=”sudo pmset -a hibernatemode 5″
  • Type alias hibernateoff=”sudo pmset -a hibernatemode 3″
  • Now when you type hibernateon, it will set that mode to 5. Once you do that, type pmset -g | grep hibernate again to confirm that you are on mode 5
  • Your laptop is now set to hibernate like windows when you close the lid. If you ever want to revert back, run terminal again and type hibernateoff

How to make iPhone ringtones from MP3s

Friday, September 19th, 2008

This is easy as pie. With the below steps, you can take any MP3 and make it into a ringtone for your iPhone.

  • Grab the MP3 you want to turn into a ringtone and using Audacity turn it into an MP3 that is less then 30 seconds in length.
  • Drag the newly shortened file into iTunes
  • Find it in iTunes, right click on it and choose “Convert to AAC”. It will make another version of the song.
  • Find that song in your iTunes folder library (probably c:/…./My Documents/My Music/iTunes) and rename if from .m4a to m4r. In iTunes, delete the m4a that you made.
  • In iTunes, go to “file” then “add file to library” and select the newly renamed m4r that you made in the step above
  • Now you can sync with your iPhone and you will have a new ringtone to select.

The Quest for cheap racing radios

Tuesday, September 16th, 2008

In car radios are a very “nice to have” in our amateur racing world. The crappy this is, that a nice radio setup is just south of $1k, while the bottom of the line systems are $600. I had a chance to spend that kind of cash on the race car earlier this year, and correctly opted for the data acquisition package. Having data in the car has allowed me to very quickly pick up time at new race tracks, and also find more time at my home track. Frankly, I don’t see a point in even doing practice or test days w/o data.

Back to radios though. I had to buy a helmet headset for a few endurance races I’ve done, and also my codrives with Lyman last year. With that, I had a small but expensive chunk of the system out of the way. I decided to put together a cheapo system with the rest of the components, and we’ll see how it works out

Below are the pieces one needs and how I got them, and for how much.

  • Radios - I found Sampson Racing uses Midland 5 watt radios in their “cheap” radio package. Found mine at Bass Pro Shops for $50 for the pair on closeout. Sweet.
  • Driver - Headset/headphones I had to buy before. $140, no way to get around that one. Any cheaper/crappy mic or headphones and the crew chief cannot hear the driver.
  • Car - Two components needed. The car harness, and PTT. Car harness connects from the driver to the PTT button and to the Radio. I picked this up for $0 since Lyman had a busted connector on his and just bought a new one. Connector needs some re-wiring. We’ll see if it works. PTT is $40 from Sampson Racing.
  • Crew Chief - Need a fancy crew chief headset. This needs to be noise cancelling in order to work trackside while cars are going by. Most of the time these are right around $180 or so. I found some on ebay for $100 new. We’ll see if that works, but it seems to be the same stuff as the more expensive one.

The above system should work for some of the parts of the race tracks. To have full track coverage, you need nicer (read: $$$$) radios with an external antenna. Depending on finding some used ones, I will do that later, but for right now, I’ll settle with having radio communications for the front half of Road Atlanta.

My total outlay so far is $330. Same components, but 1/2 of the price of the bottom of the barrel system, and 1/3 the price of a middle of the road system. We’ll see how it works in November at the ARRC

Get Parameter from Querystring via Javascript (getParam)

Friday, September 5th, 2008

A while back I posted a method to grab all the querystrings out of a URL and parse them into arrays. While that is very useful sometimes, its overkill for other situations, when you have 1 or 2 variables in the querystring and you know their names already. For those times, I like to use a function “getParam”. It takes in the variable name and returns you its value from the querystring.

function getParam(name) {
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var tmpURL = window.location.href;
  var results = regex.exec( tmpURL );
  if( results == null )
    return "";
  else
    return results[1];
}