Yesterday at work, I heard about Google Web Toolkit (GWT) for the first time. I read their docs and played with a couple of the samples last night, and I'm quite convinced it's really cool stuff!
Basically, it's a framework for AJAX development. It includes a DOM/HTML-based widget toolkit and facilities for localization and asynchronous RPC over HTTP. You use these to write and debug your client in Java, and then use their tools to convert it into JavaScript, which can be added to host HTML and served up from any old Web server. The server side of your application runs as Java bytecode, with the RPC mechanism providing seamless object-based communication between the two.
Not surprisingly, my original motivation for looking at this technology was to try to integrate it with everyone's favourite modeling technology to provide instant browser-based model editor UIs. I'm not sure it's terribly well suited to this task, since with AJAX, you're typically trying to put as much into the client side as possible. The client side is ultimately JavaScript, so of course the EMF runtime isn't available there. So, it seems that some significant glue would be needed to get data across. Also, GWT lacks an equivalent to JFace viewers, so demand-populating a widget like a tree might be more difficult, too.
Anyhow, I think it might be more fun to use this stuff to try to develop some sort of practical Web application, rather than the kind of generic framework stuff that I do all day at work.
Hmm...I just need a good idea...
Tuesday, August 22, 2006
Tuesday, August 15, 2006
Food Poisoning 2.0
Much improved from the first release! Faster and less painful! No hospitalization required!
Seriously, can you believe it? Food poisoning for the second time this year. The saddest part: I'm convinced that I got it at a restaurant I love.
Seriously, can you believe it? Food poisoning for the second time this year. The saddest part: I'm convinced that I got it at a restaurant I love.
Monday, July 24, 2006
Ouch!
This summer, Kevin has been getting more and more suntanned, while I've remained my usual pasty white. No doubt it's partly a matter of exposure and partly of predisposition.
He has certainly seen a good amount of sun during his Friends for Life training rides, while I've spent much of that time indoors. But I would assert that, had I been along with him for those rides, either I would have applied lots of sunscreen and remained just about as pasty as I am now, or I would have not applied lots of sunscreen, burned and peeled repeatedly...and remained just about as pasty as I am now.
For the last decade or so, I've been quite convinced that I simply can't tan.
I don't really know if it was jealousy of Kevin's fantastic skin, simple vanity, or maybe a desire to challenge my own assumptions that pushed me to act yesterday. I paid a visit to a local, well respected tanning salon to get some fake and bake UVA goodness.
I filled out a consent form, noting on it my tendancy to not tan, my tendany to burn, and my lack of sun exposure. They recommended seven minutes in a 200W Sun Capsule VHR. I was warned that I might very well see no effect from the session, reassured that we were just trying to start a base, and promised that I'd start to see something after a couple more tans.
"No worries," I replied. I'd rather take a few seesions to get results than to overdo it and end up getting burned.
The seven minutes passed quite quickly, and I felt fine the whole time. On emerging from the machine, I checked myself out in the mirror. As predicted, I didn't see much difference. My face and arms might have looked a bit darker, and I had a general glow about me. Interestingly, the combination of the ambient heat and the blowing cool air had left my hair looking fantastic. I went home feeling quite satisfied and planning to return on Tuesday for another session.
It only took another half hour for the burn to develop. My arms and face remained fine, but my torso and upper legs turned bright, bright red. If Kevin hadn't borrowed my camera for his ride, I'd post a picture of my burn line. It's pretty shocking. Every time I look in the mirror, I'm reminded of Kevin's red body paint last Halloween.
Today, I'm pretty sore. The worst spots are my outer thighs and under my armpits.
Once it all fades and peels, I'll have to decide whether I should give up on tanning for good or go back and give it another go...maybe for a four minute session.
He has certainly seen a good amount of sun during his Friends for Life training rides, while I've spent much of that time indoors. But I would assert that, had I been along with him for those rides, either I would have applied lots of sunscreen and remained just about as pasty as I am now, or I would have not applied lots of sunscreen, burned and peeled repeatedly...and remained just about as pasty as I am now.
For the last decade or so, I've been quite convinced that I simply can't tan.
I don't really know if it was jealousy of Kevin's fantastic skin, simple vanity, or maybe a desire to challenge my own assumptions that pushed me to act yesterday. I paid a visit to a local, well respected tanning salon to get some fake and bake UVA goodness.
I filled out a consent form, noting on it my tendancy to not tan, my tendany to burn, and my lack of sun exposure. They recommended seven minutes in a 200W Sun Capsule VHR. I was warned that I might very well see no effect from the session, reassured that we were just trying to start a base, and promised that I'd start to see something after a couple more tans.
"No worries," I replied. I'd rather take a few seesions to get results than to overdo it and end up getting burned.
The seven minutes passed quite quickly, and I felt fine the whole time. On emerging from the machine, I checked myself out in the mirror. As predicted, I didn't see much difference. My face and arms might have looked a bit darker, and I had a general glow about me. Interestingly, the combination of the ambient heat and the blowing cool air had left my hair looking fantastic. I went home feeling quite satisfied and planning to return on Tuesday for another session.
It only took another half hour for the burn to develop. My arms and face remained fine, but my torso and upper legs turned bright, bright red. If Kevin hadn't borrowed my camera for his ride, I'd post a picture of my burn line. It's pretty shocking. Every time I look in the mirror, I'm reminded of Kevin's red body paint last Halloween.
Today, I'm pretty sore. The worst spots are my outer thighs and under my armpits.
Once it all fades and peels, I'll have to decide whether I should give up on tanning for good or go back and give it another go...maybe for a four minute session.
Tuesday, July 04, 2006
Convenient Delusions
Last night, I saw An Inconvenient Truth, the documentary about Al Gore's campaign to raise consciousness of global warming. It was truly alarming.
I would love to summarize the points he made, but I don't think I'd be doing him justice. Most alarming for me were the revelations about the melting and cracking that's already occuring in arctic and antarctic ice. It's happening quickly -- in many cases, more quickly than previously predicted -- and the potential consequences are dire. The melting of Greenland's shelf ice would raise global sea levels by over 20 feet, submerging many costal cities around the world. Scarier yet, ocean currents may be affected in totally upredictable ways, completely altering global weather patterns.
The response to Gore's science mirrors a point he makes in the film: the scientific consensus is there, but it is denied by those who find it politically convenient to pretend that there is a significant disagreement within the scientific community.
Anyhow, I would encourage anyone and everyone to see the film.
This morning, I was enraged by conservatie pundit Ezra Levant, who appeared on Sounds Like Canada to promote his book, The War on Fun. In this book, he argues that nasty, liberal do-gooders are trying to control our every action and take away everything that's fun. Apparently, he defines "everything that's fun" as smoking, over-eating, and producing massive amounts of carbon dioxide. He was actually speaking from his new Hummer, as if to prove how obnoxious and disconnected from reality he is.
He tried to claim that, while we should have the freedom to do what we want, we also need to take personal responsibility for the outcome of our actions. But, he utterly failed to address any notion of collective responsibility for outcomes that affect us all. He might be just fine driving around Calgary in his Hummer, but if the Netherlands wakes up under water, how is he going to take responsibility for his part in that?
Big surprise, it's not even an issue for him. Ezra doesn't seem to believe in global warming. Without citing any science at all, he brushes off global warming as lacking a scientific concensus, and asserts that climate change certainly isn't the most pressing issue facing us.
I guess that's his convenient delusion.
Interestingly, Ezra's live-and-let-live attitude towards personal liberty only seems to go so far. On one hand, we shouldn't let something petty like a desire not to radically alter the world's climate stand in the way of his gas-guzzling fun. But, please, let's not offend his sensibilities by daring to extend equal treatment by the state to gays and lesbians. Fun is all well and good, but, two boys kissing? That's just gross.
I would love to summarize the points he made, but I don't think I'd be doing him justice. Most alarming for me were the revelations about the melting and cracking that's already occuring in arctic and antarctic ice. It's happening quickly -- in many cases, more quickly than previously predicted -- and the potential consequences are dire. The melting of Greenland's shelf ice would raise global sea levels by over 20 feet, submerging many costal cities around the world. Scarier yet, ocean currents may be affected in totally upredictable ways, completely altering global weather patterns.
The response to Gore's science mirrors a point he makes in the film: the scientific consensus is there, but it is denied by those who find it politically convenient to pretend that there is a significant disagreement within the scientific community.
Anyhow, I would encourage anyone and everyone to see the film.
This morning, I was enraged by conservatie pundit Ezra Levant, who appeared on Sounds Like Canada to promote his book, The War on Fun. In this book, he argues that nasty, liberal do-gooders are trying to control our every action and take away everything that's fun. Apparently, he defines "everything that's fun" as smoking, over-eating, and producing massive amounts of carbon dioxide. He was actually speaking from his new Hummer, as if to prove how obnoxious and disconnected from reality he is.
He tried to claim that, while we should have the freedom to do what we want, we also need to take personal responsibility for the outcome of our actions. But, he utterly failed to address any notion of collective responsibility for outcomes that affect us all. He might be just fine driving around Calgary in his Hummer, but if the Netherlands wakes up under water, how is he going to take responsibility for his part in that?
Big surprise, it's not even an issue for him. Ezra doesn't seem to believe in global warming. Without citing any science at all, he brushes off global warming as lacking a scientific concensus, and asserts that climate change certainly isn't the most pressing issue facing us.
I guess that's his convenient delusion.
Interestingly, Ezra's live-and-let-live attitude towards personal liberty only seems to go so far. On one hand, we shouldn't let something petty like a desire not to radically alter the world's climate stand in the way of his gas-guzzling fun. But, please, let's not offend his sensibilities by daring to extend equal treatment by the state to gays and lesbians. Fun is all well and good, but, two boys kissing? That's just gross.
Sunday, June 04, 2006
Ride for Heart
I just got back from the Ride for Heart. It was a really good ride. It's incredibly fun to ride on the highways and to watch the way the crowds of riders move around and past each other. Best of all was going past the financial district at around 8:30, before the city had really woken up.
We finished in just over 2 hours. The first half of the ride was a bit of a slog: it's more uphill, and the wind was against us. The second half was just wonderful. I feel good, but my legs are pretty tired.
Thanks very much to my sponsors. Together, we raised $400 for the Heart and Stroke Foundation.
We finished in just over 2 hours. The first half of the ride was a bit of a slog: it's more uphill, and the wind was against us. The second half was just wonderful. I feel good, but my legs are pretty tired.
Thanks very much to my sponsors. Together, we raised $400 for the Heart and Stroke Foundation.
Monday, May 29, 2006
Bring on the Idols!
Tonight marks the start of season four of Canadian Idol. I recognize that it's the same old, but for some reason it's still so much fun to watch. Somehow , it just seems a little more real than that other idol show, which I suppose is always good for a reality show: the contestants, the judges, even dorky old Ben Mulroney. And don't tell, but I think we've got better singers, too.
Today's episode didn't disappoint. My favourite moments came when Zack almost wheeled himself off the stage in Kitchener Waterloo, when one girl was preparing herself to start singing and she farted, and best of all, the girl who did impressions of Britney, Cher, and Sharika. What I want to know: did they put her through to Toronto?
But apparently, this episode was brought to you by the oil industry association of Alberta. What was with that little tribute to the oil patch workers? Maybe they just had three minutes of air to fill?
Anyhow, I can't wait -- bring on the idols!
Oh, and Gameshow Marathon looks pretty exciting. You know, in that bloody, gory train wreck sort of way.
Today's episode didn't disappoint. My favourite moments came when Zack almost wheeled himself off the stage in Kitchener Waterloo, when one girl was preparing herself to start singing and she farted, and best of all, the girl who did impressions of Britney, Cher, and Sharika. What I want to know: did they put her through to Toronto?
But apparently, this episode was brought to you by the oil industry association of Alberta. What was with that little tribute to the oil patch workers? Maybe they just had three minutes of air to fill?
Anyhow, I can't wait -- bring on the idols!
Oh, and Gameshow Marathon looks pretty exciting. You know, in that bloody, gory train wreck sort of way.
Friday, May 26, 2006
More Painting
Since last weekend was a long weekend, I decided to use the time to try to do the painting that I hadn't managed to finish before moving into my new place. If you're an avid reader, you may recall that I had left the kitchen and entraceway unpainted (and you may want to look harder for interesting things to read on the 'net).
Anyhow, I figured that finishing up would be about a two-day job, but painting never goes as planned for me (really, what does?). It ended up taking Saturday, Sunday, Monday, Tuesday evening, Wednesday (I took the day off work), and a couple of hours Thursday...and Kevin helped me all day Sunday and Monday...and I'm still not quite done yet. Basically, I just need to fix up a few little mistakes now.
I still don't really understand how it took so long. The closets and doors took a long time; they were much more complicated to paint than the simple, sliding doors in the rest of the unit. The ceilings were a huge pain, too. I made lots of mistakes that took time to correct. I had to move appliances around, blocking off areas I needed to paint. And, I ended up having to deal with three different paints (two colours, one in two different finishes) plus primer, which meant lots of time cleaning brushes and waiting for them to dry. But still, pretty much five days in total?!
The worst part is that I haven't done anything with the bathroom (though happily I really have no plans to) and there's still the balcony door step that needs to be painted with an oil-based paint.
Anyhow, I figured that finishing up would be about a two-day job, but painting never goes as planned for me (really, what does?). It ended up taking Saturday, Sunday, Monday, Tuesday evening, Wednesday (I took the day off work), and a couple of hours Thursday...and Kevin helped me all day Sunday and Monday...and I'm still not quite done yet. Basically, I just need to fix up a few little mistakes now.
I still don't really understand how it took so long. The closets and doors took a long time; they were much more complicated to paint than the simple, sliding doors in the rest of the unit. The ceilings were a huge pain, too. I made lots of mistakes that took time to correct. I had to move appliances around, blocking off areas I needed to paint. And, I ended up having to deal with three different paints (two colours, one in two different finishes) plus primer, which meant lots of time cleaning brushes and waiting for them to dry. But still, pretty much five days in total?!
The worst part is that I haven't done anything with the bathroom (though happily I really have no plans to) and there's still the balcony door step that needs to be painted with an oil-based paint.
Sunday, May 14, 2006
Cycling
I first mentioned a couple of months ago that I had bought a bike. Turns out that I've actually been using it!
Since Kevin is going to be cycling to Montreal in July, he's been doing a lot of training, and I couldn't help but get caught up in it. I've been doing a couple of rides per week for the last few weeks, and I even signed up for the Becel Ride for Heart. So, I'll be riding 50 km along the Gardiner and DVP (they'll be closed for the event) on June 4. If you're so inclined, you can sponsor me online. It's for the Heart and Stroke Foundation, a very worthy cause, and of course it's tax deductible.
I just did 50 km for the first time today, and it was pretty hard. I think it would have been much more manageable if weren't for the strong headwind for the last 15 km or so, which pretty much finished me off. I expect I'll be pretty sore tomorrow. But still, I think I'm in pretty good shape for the ride, with another three weeks to go.
We rode along the lakeshore to the Humber river, and then took the Humber trail up almost to Lawrence Avenue. It's a really beautiful trail; it's almost hard to believe such a thing exists in Toronto.
Since Kevin is going to be cycling to Montreal in July, he's been doing a lot of training, and I couldn't help but get caught up in it. I've been doing a couple of rides per week for the last few weeks, and I even signed up for the Becel Ride for Heart. So, I'll be riding 50 km along the Gardiner and DVP (they'll be closed for the event) on June 4. If you're so inclined, you can sponsor me online. It's for the Heart and Stroke Foundation, a very worthy cause, and of course it's tax deductible.
I just did 50 km for the first time today, and it was pretty hard. I think it would have been much more manageable if weren't for the strong headwind for the last 15 km or so, which pretty much finished me off. I expect I'll be pretty sore tomorrow. But still, I think I'm in pretty good shape for the ride, with another three weeks to go.
We rode along the lakeshore to the Humber river, and then took the Humber trail up almost to Lawrence Avenue. It's a really beautiful trail; it's almost hard to believe such a thing exists in Toronto.
Wednesday, April 26, 2006
Canadian Music Creators Speak Out
Today a new voice was heard in the debate over copyright reform in Canada: a group called the Canadian Music Creators Coalition was launched to represent the views of artists. Which artists, you ask?
How about Barenaked Ladies, Avril Lavigne, Sarah McLachlan, Chantal Kreviazuk, Sum 41, Raine Maida, Billy Talent, Broken Social Scene, and Sloan, for starters? These are some of the biggest names in Canadian music. Some are signed to major labels, and other to independents. They've banded together to clearly reject the notion that the major labels and their lobbyists speak on their behalf, and to advance a decidedly fan-friendly agenda.
Here are their three guiding principles for the copyright reform process:
This couldn't come at a better time. The new federal government will be taking a fresh look at copyright reform, after Bill C-60 died with the previous session of parliament. They will now be faced with a strong voice putting forward these principles, and I'm sure they will find it difficult to ignore the artists.
C-60 may have seemed quite civilized compared to the DMCA, but viewed through the lens of these principles, it looks positively draconian. Hopefully copyright sanity will prevail in Canada, and the Canadian music will continue to flourish.
And now, I shall go listen to Train Wreck with glee.
How about Barenaked Ladies, Avril Lavigne, Sarah McLachlan, Chantal Kreviazuk, Sum 41, Raine Maida, Billy Talent, Broken Social Scene, and Sloan, for starters? These are some of the biggest names in Canadian music. Some are signed to major labels, and other to independents. They've banded together to clearly reject the notion that the major labels and their lobbyists speak on their behalf, and to advance a decidedly fan-friendly agenda.
Here are their three guiding principles for the copyright reform process:
- Suing our fans is destructive and hypocritical
- Digital locks are risky and counterproductive
- Cultural policy should support actual Canadian artists.
This couldn't come at a better time. The new federal government will be taking a fresh look at copyright reform, after Bill C-60 died with the previous session of parliament. They will now be faced with a strong voice putting forward these principles, and I'm sure they will find it difficult to ignore the artists.
C-60 may have seemed quite civilized compared to the DMCA, but viewed through the lens of these principles, it looks positively draconian. Hopefully copyright sanity will prevail in Canada, and the Canadian music will continue to flourish.
And now, I shall go listen to Train Wreck with glee.
Saturday, April 08, 2006
What would you do? What would you do?
I think I had my first celebrity encounter today. Well, sort of celebrity, anyway.
Kevin and I were walking down Queen Street today, just approaching Yonge, when we saw a familiar face. Well, it's been familiar only recently, since we started watching VJ Search on MuchMusic a few weeks ago. It was Sean! I held in my squeal, and Kevin and I just looked at each other. Then we noticed that he was walking with Nikki! We actually walked right behind them for a few steps before I couldn't hold it in anymore, and I squealed like a little girl.
They turned around and Kevin said "hi." There was an awkward silence before I stammered out, "so you guys don't know yet? Is it, like, in real time?" And she said yeah, that they'd find out on Monday, and the voting's still going on. I said that was exciting and that it seemed I was more nervous than them. Sean said he was waiting for them to announce, "and the person with the least number of votes is...Sean!" But then, he's been underselling himself the whole time.
I don't really remember everything that was said, but I do know that Nikki pointed out a couple of times how cute I was. "Cute" as in "freaky, scary, get-this-stalker-away-from-me cute," I guess. Sean didn't really say much. Maybe he was kind of annoyed by the attention, or maybe he's just not used to thinking of himself as a celebrity.
They both looked really good, like maybe they got to keep the clothes from the show and use the stylists on their off time. Nikki was gorgeous; she has a great smile.
I quickly ran out of things to say. We somehow got in front of them at a traffic light (we were in a hurry) and walked off. I didn't even think to wish them luck!
Kevin and I were walking down Queen Street today, just approaching Yonge, when we saw a familiar face. Well, it's been familiar only recently, since we started watching VJ Search on MuchMusic a few weeks ago. It was Sean! I held in my squeal, and Kevin and I just looked at each other. Then we noticed that he was walking with Nikki! We actually walked right behind them for a few steps before I couldn't hold it in anymore, and I squealed like a little girl.
They turned around and Kevin said "hi." There was an awkward silence before I stammered out, "so you guys don't know yet? Is it, like, in real time?" And she said yeah, that they'd find out on Monday, and the voting's still going on. I said that was exciting and that it seemed I was more nervous than them. Sean said he was waiting for them to announce, "and the person with the least number of votes is...Sean!" But then, he's been underselling himself the whole time.
I don't really remember everything that was said, but I do know that Nikki pointed out a couple of times how cute I was. "Cute" as in "freaky, scary, get-this-stalker-away-from-me cute," I guess. Sean didn't really say much. Maybe he was kind of annoyed by the attention, or maybe he's just not used to thinking of himself as a celebrity.
They both looked really good, like maybe they got to keep the clothes from the show and use the stylists on their off time. Nikki was gorgeous; she has a great smile.
I quickly ran out of things to say. We somehow got in front of them at a traffic light (we were in a hurry) and walked off. I didn't even think to wish them luck!
Subscribe to:
Posts (Atom)