Sunday, April 29, 2007

What a weekend!

Friday, early evening, 3-2 loss at soccer.

Friday, late evening, send off party for Bob. LOTS of desserts.

Saturday, great climbing at Madrone. I'd say this place is the gem of outdoor climbing in/around Portland. I got on 6 routes, and all 6 were classic. Good movement, good gear, good rock. I can't wait to go back.

Saturday night, a "little" get-together at Montage for Karen's birthday. Gellato followed, as did a solid 37 minutes of laughing so hard my face cramped. Joe is funny. Even when he's trying not to be.

Today, Ozone. While not as good as Madrone, it still had some nice routes. Got kinda crowded though.

Now I take a shower and go to sleep.

Thursday, April 26, 2007

Automatic code highlighting on the web

Ok, quickly before I go to bed.

I've seen some code highlighters on the web before. The one I use in this blog is adapted from what I saw on the Prototype Carousel page, which is based on Star-Light.

To get them to work with Blogger, I had to link the scripts like on Carousel, but I would MUCH PREFER to use Star-Light as is.

I will be adapting the T-SQL Star-Light styles into the other way for an upcoming SQL Server 2005 Ad-Hoc Report Model/Dynamic Query PIVOT goodness post.

Stay tuned!

UPDATE: I switched back to Code_Highlighter from the Carousel page because it works in Firefox without having to reload the iframe, and it just works in IE7)

Wednesday, April 25, 2007

Transparent PNG Rollovers in IE6, IE7 and Firefox

I haven't posted anything remotely technical in a while, but I thought this would be a good one.

I'm working on chopping a comp to html at work, and while the design looks nice, it requires a few transparent PNGs. Of course Firefox renders them correctly, as does IE7. Besides the tabs, I'd say that's the biggest improvement in IE from 6 to 7. IE 5.5+ pretty much doesn't work.

I've tried just about every method/fix/hack to get transparent PNGs to show up correctly in IE6. I've tried applying just the filter, using a behavior and having javascript fix all my images but none worked. Well, the last one worked, but only when applied to individual images. Iterating through all the images wasn't really viable, and the defer attribute of the script tag didn't work.

Though I just found this article on mouseovers, I came up with a cute little fix.

Click to view code

If I load each image and immediately hide the hover, the rollover will work by switching the visibility. Using prototype it's trivial to toggle both.

And I do understand this isn't the best way to do it. But hey, if I could have gotten ANY of the other's to work... I would have used them.

Sunday, April 22, 2007

the last week

It seems like I use my blog as more of a personal journal that I may or may not look back on in the future. I guess that's why I seem to post the same stuff over and over... climbing, music, UFC and soccer. So, here we go!

In the last 8 days I've gone to 4 concerts. Friday night was Heavyweight Dub Champion, AFTER my 11:15pm soccer game. We lost the soccer game 4-2, but the concert was a win.

Last night was UFC 70 in Manchester, England. The biggest upset I've seen since Serra beat GSP was when Gonzaga kicked Cro Cop upside the head with 9 seconds left in the first round, knocking Cro Cop OUT. It was hella crazy.

Today some friends went to Club Sport in Tigard to try out a new climbing gym. It was pretty nice. They have a nicely overhanging wall that I would love to get on all the time. Even though they have 50% off a 5-punch pass I probably won't go back for a bit. Cool nonetheless.

Thursday, April 19, 2007

the Expanses of VAST

I just got back from the VAST concert and I had a great time. I was trying to remember when I first started listening to them, and I think it was 1998 when I heard their single, Touched. I highly recommend downloading their albums. One thing I really like about the band is their willingness to put their music online at a very reasonable price.

If you only get one album, get the self-titled one.

Tuesday, April 17, 2007

Windows Media Player plugin for Firefox

Go get it!

You know, it's about damn time Microsoft released this plugin. Now I can watch CNN videos without having to open up IE. My world is getting brighter!

Sunday, April 15, 2007

Back to Back Soccer Games Are Wicked Fun

Black Diamonds played a good game against Casey Eyeball (what a charming name!) and we tied 2-2. Zach "Le Tigre" Fleischer scored our two goals. I was tired as hell and didn't run as hard as I would have liked. Not bad for missing a lot of players.

I was asked to play keeper for the next game that day, which I gladly obliged. While I let 4 go by me, we tied in the last minute. I learned I need to come out at the ball more. No need to sit there and give them a stationary object to shoot around. Though I'm sorta quick, I'm not always quick enough to stop their shots. Moving out should help prevent goals, or at least I think...

Saturday, April 14, 2007

Alternative at Its Best

Tonight I saw the Silversun Pickups and they fucking ROCKED. The opening bands... I wasn't so into them. But the Pickups delivered a fantastic show. One thing that stood out, which I tend to appreciate very much, was their songs being close to those on the album. Maybe it was being able to hear the bass loud and clear the whole show. I guess that's pretty important when it's a big part of your sound.

Anyway, 94.7 FM's awesome "I Saw Them When" shows are money. Go to them.

Friday, April 13, 2007

Ghetto Youth: 2 Marley Brothers

Tonight I was lucky enough to see both Damian "Jr Gong" and Stephen Marley perform on the same stage. It was perhaps the best reggae concert I've been to. Stephen is the crown prince of roots reggae, and seeing him in concert is the closest I'll ever get to seeing Bob Marley live. Damian, while having a different style, rocked the stage with his older brother, rapping about as fast as I'd ever heard.

Go get Mind Control, Stephen's new album. It's... hella good!


Monday, April 09, 2007

Daisuke Matsui

Daisuke Matsui was my older host brother when I went to Japan in 1997.
I found out this morning that he died in an avalanche in British Columbia on April 2nd.

It came as quite a shock to me. Daisuke was so full of energy, easily making everyone smile.
As you can tell, he was a great roll-model

Here are a few other pictures I've collected in the last 10 years. I know he passed doing what he loved, but it's still tragic.

Rest in Peace Dai-chan. You are already greatly missed.

Sunday, April 08, 2007

GSP Goes down quickly, and other news

Hooters replays the UFC fights at 10pm, so we all decided to hit the late viewing.
Here's a quick recap:

  • Koscheck and Sanchez can make for boring fighters
  • 155 lb badasses Huerta and Garcia make for EXTREMELY exciting fighters
  • Serra can pound GSP in less than 4 minutes
That being said, my jaw did literally drop when Matt "the Terror" Serra beat George St. Pierre in the first round of their fight. I did not see the match going that way, but I'm glad for Serra. Maybe now he will get to fight that dick, Hughes.

Saturday, April 07, 2007

1-0: Us, and it was good

Had a hell of a game just now. Nathan "Lucas Sabedra" Calies scored our only goal, though we had PLENTY of chances. Hell, I had 3 or 4 good shots on goal that were either blocked or just barely off. Anyway, off to Hooters for UFC 69.

Bishop in the Spring

I just got back from a week-long trip to Bishop and it was lovely.

Ok, that's not entirely true. While we had a good drive down, and a good first half-day bouldering at the Buttermilks, the second day I tweaked my left hand at the Happies. So for the rest of the trip I could only climb a little. Yet, it was still a great trip. It was nice to get out of town, and I needed the break from the GoGoGo of Portland.

Here are the best of the pics I took. Moira's are up here too. If Tara, Joe or Ryan put their's up I'll update the post.

Edit: Here are Tara's pics, or at least the ones I wanted to put up ;-)