David RD Gratton

Category: Stuff...

ARHHG... how NOT to start your morning.

May 1, 2008

Woke up at 4:30 this morning.

Son number 2, was crying.

Son number 1 had crawled into bed at some time around 3:30am and is giving me karate kicks to the ribcage.

By 5:30 decided to heat milk for bottle.

Fill glass with formula.

Put glass in microwave. That has idiotically designed "cooking rack" inside.

Watch glass tip on idiotically designed cooking rack and spill milk:
throughout microwave,
all over espresso machine,
over counter,
onto clean dishes,
into cupboards,
onto floor, and finally
soaked up by floor mat.

Swear!

Cause more crying.

Clean-up.

Take shower.

Make coffee.

Notice interesting smell of warm milk rising from espresso machine.

Wife wakes up (gets up - she HAD TO BE AWAKE already) and says "You are making too much noise stomping around the house."

grumble. grumble...

"I'm moving to Australia. It's been a terrible, horrible no good, very bad day." I say.

No one even answered.

Then...

"I love you, Daddy," says son number 1.

:)

Yeah. I suppose I will live.

Son #1:

Son #2:

Kids Can't Walk at 7 Months... Can They?


mandygratton.blogspot.com

Tags:

Providing useful attribution when using other people's content.

April 29, 2008

I'm guilty.

If you look throughout this blog, you will find many images and quotes without proper attribution. I know I am not alone in my guilt.

Yeah we link to the original blog (most of the time), but the content that we quote/use is often not clearly associated with the attribution. It should to some extent be machine readable: THIS quote/image came from XYZ site. At our company we are building some web services that need to understand/read/display both license and attribution. So we looked at Microformats.org, for some guidance, but the attribution microformat is not complete, it is going to be part of the next version of Rel-License. However, considering most content being quoted in blogs is often being used within 'fair use' commentary regardless of license, a simple academic-like attribution would be very useful sooner rather than later.

So, if I wanted to comment on a picture from wife Mandy's blog post about the family playing Rock Band and my son's fascination with R.E.M.'s Orange Crush, I could post the image below and hyper link it to her blog post blog post where the image came from.


I could also put an anchor on the image to link back to her. However, it would be preferable for "machines" if the attribution maintained tighter context with the image as I have done below:



Using the mark-up:

<div class="hsnip">
  <h4 class="entry-title">Orange Crush</h4>
  <span class="entry-content">
     <img
src="http://bp3.blogger.com/
_dPEXnRmZGH0/SBVGeSCvf0I/AAAAAAAAA84/qUL_jTm5bQ4/s400/DSC_3076.jpg" />
   </span>
<br />
<br />
   <a rel="attribution" href="http://mandygratton.blogspot.com/2008/04/orange-crush.html"
title="http://mandygratton.blogspot.com/2008/04/orange
-crush.html"target="_blank">mandygratton.blogspot.com</a>
</div>


Now if we wanted to add an author, we could include hcard within the div.

What I like about this attribution solution is that it works nicely for text blockquotes. Where it can be argued that by embedding an image using the source URL gives the best attribution (bandwidth issues aside), this cannot be done for text quotes. So I can quote from Mandy's blog and include the attribution as part of the div.

Orange Crush

Two months ago, Dave arrived home with Rockband. [..] It's pretty damned addictive. I've been playing too. I favour the guitar. David and I have our own band: The Def Tones. Yeah, we've taken it on the road. Played a few charity gigs. Increased our fan base. We rock. And can I say, between his metal stud collar and my purple mohawk, we look pretty damn good.

But lest it seem like this is an adult pursuit, think again. Nate loves it too.

Every day, he asks to play Rockstar and when we acquiesce, he drags his chair over to the drums, sets himself up, and demands Orange Crush. No, that's not his drink choice to quench the thirst of hitting the skins for 15 minutes. It's REM's Orange Crush. And he knows the words too. [..]

mandygratton.blogspot.com


The blockquote is an identifiable piece of content by both humans and machines and it is clearly attributed to the source blog post.

Taking a Cruise

April 25, 2008

When I was at the founders and funders dinner in Toronto, I invited myself into a conversation on Holiday Cruises. I, as a Gen-Xer, was decidedly anti-cruise. "Never been on one," I said. "Can't stand the thought of being stuck on a floating hotel."

I was immediately corrected by a gentleman named, Stuart MacDonald, who I learned later is very well known in the travel circles having started Expedia.ca. He waxed on about how it's not a floating hotel, you can go on personal expeditions at numerous ports during a cruise (rent cars, site see off the beaten path, go hiking, fishing, rock climbing etc), you can also sit back and relax anytime you like, and how you can party all night if that's your thing. That's what a cruise offers and it is all at your finger tips. He was pretty convincing as were others in that conversation. All of whom had taken numerous cruises.

Stuart asked, "Do you have young kids?"

I said, "Yes, 3 years and 3 months."

"Ever go on a week long trip with them in a car?"

No. And I immediately got his point.

Talked to my wife, Mandy when I got back to Vancouver about the possibility of a cruise, who like me was immediately "no way!" I couldn't explain it as well as Stuart (He's REALLY passionate about cruises. Seriously passionate.), but she kind of got that it was a bit more than we had both thought about it.

However, literally this past week Mandy and I have been feeling a little overwhelmed with kids and family life and we really want to take a relaxing and fun vacation this year to recharge our batteries and renew our natural Joie de Vive.

"Maybe a cruise is not a bad idea," Mandy said.

Well I've been meaning to contact Stuart about it later this year, but today he launched Trip Harbour. He had mentioned the idea to me in Toronto, but it sounded like it was still in idea state. I didn't realize it was well into development and ready for imminent release.

It's a pretty impressive travel site. I'll dig into it later this summer, but if anyone has cruise suggestions let me know. Or I guess write a review on Trip Harbour.

Congratulations to you and your team, Stuart.

Mike Gillis: My Old Hockey Coach is the Canucks New GM

April 22, 2008

OK, I'm excited to hear that Mike Gillis is the new GM for the Vancouver Canucks. Mike was my hockey coach for one season at Queen's University. Mike actually helped me love the game again.

The quality of coaching was horrible for the majority of my hockey career. At the top level in minor hockey, coaches are just as keen or more so to climb the hockey ladder as the players. Unfortunately, in my experience that lead to damaging manipulation and mind games by wanna be coaches on wanna be teenagers. After years of bullshit, I was burned out from minor hockey when I got to Queen's. I had I sat out Junior and hadn't played in 18 months and was certain I would never play again. However, a dorm mate who knew I played AAA encouraged me to try out, I thought it might be a way to make some friends. Plus my father knew how badly my last year of hockey went and really wanted me to play again.

When I showed up at Queen's training camp, I was horribly out of shape, and was certain to be cut. Every day passed with me close to puking my guts, but my name was never called. On the last day of tryouts, Mike skated beside me, and asked me my story. That was weird, he just wanted to know who I was and about my playing career in minor hockey. I told him the truth as I saw it. It probably sounded a bit bitter. I was bitter. I half expected him to cut me right then and there. He just smiled and said, "Grats, we'll have some beers, and I will tell you some stories." Then he said, "you're out of shape. You need to build your strength. You're on the team but you are in the press box." Meaning, I went to every practice, but I was not likely to dress for many games.

We Queen's Golden Gaels were not a great team that year. We had some decent players and we were competitive, but we struggled. I played a few games here or there and saw limited ice time. Then we had a home and home series against Laurentian. In Game 1, I was watching the game from the stands. It turned into a brawl. There were suspensions. Short of players, I was going to dress for the next game.

After word got out across campus about the previous week's brawl, we actually had fans in the stand for Game number 2. Fortunately or unfortunately - whatever your point of view, the game did not have any major brawls. But I got into a fight with their biggest guy.

I lost.

Badly.

Mike said I played a gutsy game. I knew I did, and I appreciated him saying so. My previous hockey life would have resulted in me getting benched for the beating I received on the ice. Mike recognized my efforts for the entirety of the game, and ignored the "fight" (though there were a few playful jabs and lots of laughs in the dressing room). The next practice, Mike grabbed me as I was skating off and proceeded to "demonstrate" on how a hockey fight should be waged so that I don't get the crap beaten out of me in the future. Mike would do that type of thing. He'd get dirty with the players. He would help guys work on their shot, help them with a check, how to win a face off or tie up an opponent.

Mike knew when to be chummy with the players and he knew when to kick our asses, but most of all he was straight-up-no-nonsense honest. If you played well he said so. If you played poorly he said so. If you made a mistake, he would simply point it out. He wouldn't berate you (Don't do it twice though). At the end of the season we failed to make the playoffs by a game or two. As we were packing up after our last game, Mike paid me the highest compliment I had ever received from a hockey coach. It was a simple compliment about heart and the desire to compete. It is a comment that I appreciate to this day.

The next season, I stayed in shape over the summer, but Mike got accepted to the full time law program at Queen's and we had a new coach. The new coach seemed cool enough, but I loved hockey again and didn't want to risk that feeling on a new coach, plus University hockey is difficult to balance with school as it runs over two semesters. So, I chose not to play competitively again. (I play duffers and pick-up) My father understood, and wished he could have met Mike.

Now... as for Mike's 'stories', we did get drunk at his birthday. I will not go into details, but his wife threw a party, and she presented him with a dart gun and a life size cardboard picture of a former coach and present HNIC commentator with his dog promoting Canadian Tire. There was a target on the guy's head. Mike was all too happy to unload multiple times on that cut-out.

Mike understands players, and he knows what makes a good coach. Plus as THE player agent, he knows who's who. That sounds like good GM material to me.

IBM Finds Critical Vulnerability in Flash Plugin: Get the Patch. Run don't walk.

April 17, 2008

First go to this page and Check your Flash Plug-in version. If it doesn't say you have Flash version: 9,0,124,0, go here and UPGRADE.

You must be running 9,0,124,0

Mark Dowd who is a "X-Force Researcher" for IBM Internet Security Systems published a report titled, Application-Specific Attacks: Leveraging the ActionScript Virtual Machine.

If you are not interested in reading the paper or like me it is entirely over your head, Thomas Ptacek wrote a great point-by-point walkthrough on how Mark uncovered a remote code exploit, which as I understand it allows anyone to literally run malicious code on anyone's computer running Flash with the nasty script he developed.

The flaw isn't easy to exploit. In fact, Thomas Points out that:


This New Vulnerability: Dowd’s Inhuman Flash Exploit

Look at the details of this attack. It’s a weaponized NULL pointer attack that desynchronizes a bytecode verifier to slip malicious ActionScript bytecode into the Flash runtime. If you’re not an exploit writer, think of it this way: you know that crazy version of Super Mario Brothers that Japan refused to ship to the US markets because they thought the difficulty would upset and provoke us? Thisis the exploit equivalent of that guy who played the perfect game of it on YouTube.

http://www.matasano.com/log/1032/this-new-vulnerability-dowds-inhuman-flash-exploit/

I think that sounds impressive.

Considering Flash's installed base, I would think that this is much more serious than any IE security flaw. The fact that Adobe Flash only checks for updates every 30 days and the "how to" has been published. It makes me wonder why the Adobe Website is not telling people to install the critical patch?

Alternative Post Title:
Adobe p0wned by IBM researcher who discovers serious Security Vulnerability in Flash.

Syndicate content