16 November 2010

Reaching Around

Yesterday Steve and I made a big push on starting to cold email our ever growing list of influential OSHW people. It actually went pretty smooth - and we’ve even gotten a few responses already. I do have to say we felt a little like stalkers though. Routing around the interweb trying to find which part of the world people are in, and how we get a hold of them. I have to say linkedin pages are like a goldmine, and twitter feeds with location rock! haha. Thankfully most of the people are pretty prominent/noisy and finding their info wasn’t too hard. But there is definitely a lesson in all of this - make sure people can get your email address, and know where you are EASILY. You just never know why someone is trying to get a hold of you! Today is packing for SF, and heading to Toronto to meet up with Mike and crash on his couch for our super duper painfully early flight tomorrow AM.

14 November 2010

Mmmmm Disney Hotness

 Ummm yeah. So I feel a little bit like a creeper on this one, but you have got to check this out. Hottest Disney characters ever! Totally random I know, but they really are! haha. On an unrelated topic we all went out for a big family dinner at Bertoldis in London last night. partly as a nice family dinner, and partly to celebrate the birth of our 7th brother… Steve. It was a lot of fun and the food was pretty good! And we just hung around chatting for a few hours - it was nice. I have to say its really cool how accepting and welcoming my family has been about Steve moving in - its really great. And just another reason why we are gonna win! On the business front I am still deep in refactoring land - but its going well. I have a few dozen files left and I’ll be done - and we will open a brand new chapter on our client code (which is really exciting!).

13 November 2010

Client Rewrite & Google Closure Library

 So Steve is full time! And one of our first missions with him here was to re-architect and overhaul the client code a little bit. This really is a good thing to look at regularly and make sure we are on track as expected - and it lets us adjust if needed. One of the big adjustments we did decide to make was towards the Google closure tools and library. This library is absolutely breathtaking in its size, coverage, and quality. This stuff is bad-ass. and we are going to do our best to leverage as much as possible - which means throwing prototype out and re-factoring closure in. Oh, did I mention that is like the shitty-ist job in the world?!?! cause it is! Otherwise everything is great! But I gotta get back to it before Steve notices I was working on my blog…

11 November 2010

I wake to sleep and take my waking slow

“I wake to sleep and take my waking slow. I feel my fate in what I cannot fear. I learn by going where I have to go.”

Ladies and Gentleman…

He was 16 year years old. A tall, blonde, skinny boy, the youngest of six children. He grew up in Teeswater during the depression. His dad was killed when he was a toddler. His Mom took in mending, cleaned peoples’ houses and somehow made ends meet. When the war came his four older brothers enlisted as soon as they got the chance. Five, young, handsome, brothers from rural Ontario. Lightning’s, what they called him, and he wasn’t about to be left behind. So his big brothers did what brothers do, they lied for him. He was enlisted. They were going to have the time of their lives.

The other? He was 16 too. Tall, blonde and skinny, the oldest of six children. He grew up in the 90’s, the product of two working parents and a time in history that thought a lot of its kids. Lightning’s brothers all took on different roles on behalf of their country….one a pilot with the RCAF, flying reconnaissance missions over Africa and India, one a mailman delivering mail from home to war weary soldiers stationed in France, one a member of the automotive training corps, one served in the ordinance corps. Lightning, baptized Clarence, found his place in the 1st Hussars and became a tank driver. 

Somebody by the name of Lightning probably knew his flash of brilliance would be short-lived. During the stormy, dreary, rainy night of June 5th 1944, 822 aircraft carrying paratroopers and gliders began the first of what would be the Normandy assault and eventual collapse of the Nazi regime. This weather posed many problems for the Allies but regardless ships set sail, planes flew and troops went to war, among them a young boy doing all he could for his country. In the early dawn of June 6th 1944, a day that later become known as D Day, the 5000 + allied ships composing the largest navel armada in history approached the shores of occupied France. At 6:31 am the first landing craft opened its gates at Omaha Beach, the most heavily fortified of the five beaches, where the Americans would suffer the tremendous loss of 2,400 lives. The Canadians followed shortly after at 7:55 am, at Juno Beach, the second most heavily fortified. Delayed by a treacherous low tide and many mines, they now faced the Germans with far from ideal landing conditions. The 1st Hussars, the London tank regiment made up of mostly farm boys, landed safely on the beaches of Juno and began to make their way inland. The Hussars, intended to be support for the advancing infantry, had landed late and missed most of the beach fight.

The Canadians fought determinedly and went on to clear many of the small towns along the coast. The 1st Hussars were the only unit in the landing that met its objectives, having to pull back because they out ran their infantry support. This feat credited the Canadians as being the deepest in France and most successful of all the landings at the end of the day. Having lost, only, 1,000 men. One of the Hussars first objectives was the liberation of a small town, known as Fontaine-Henry, located near the coast. It was heavily fortified and the Hussars were ambushed upon entering the town. During the street fight that followed the tank of young Lightning was machine gunned and destroyed, killing Lightning and his fellow troops. Sixteen years old, driving a tank for his country, his “coming of age” adventure, his chance to see the world, was snuffed out.

The other? He left during more peaceful weather, the bright, sunny afternoon of June 20, 2001 at 3:35pm. No armada, rather, a mere one airplane carrying a boy, his father and grandfather, three generations en route to the battle grounds of northern France. They didn’t know their route, where they would go, what they would witness, where they would sleep the next night. All they knew is that they were going to have the time of their lives. They landed in airport chaos many hours later and began the route followed by Canadian soldiers 87 years before. They traveled to the Somme, Passchendale, Vimy Ridge, saw monument upon monument, battle field upon battle field, and cemetery upon cemetery. Realizing there, the immense loss suffered by so many.

They walked the trenches and shell holes of so many years before, now green with grass, where years before they were indistinguishable with mud, tainted with the blood of so many young men. They walked through the Fields of Flanders touching the still wild growing poppies which inspired the famous poem by one John McCrae who too now rests amongst those very same poppies. They visited Ypres Salient and the Menen Arch where the names of 54,896 commonwealth soldiers with unknown graves are inscribed, and the Tyn Cot Cemetery the largest in Europe where more than 12,000 commonwealth soldiers rest at peace. Then they walked the beaches of Normandy and Dieppe and followed the Canadians on their journey through yet another world war, they traveled along the once great Atlantic wall, through the Arc de Triumph and finally down the streets of one Fontaine-Henry. They later visited the Canadian Cemetery at Beny-Sur-Mer the burial site of the Canadian D Day casualties, amongst those the grave of a Clarence Edward Homuth. Lightning’s what they called him. They say that coming of age is not without a sacrifice – a loss.

As for Lightning and his great adventure? 

Well, he gave up everything, didn’t he. As we stood there, four lives entwined, four generations combined: my grandfather, my Dad, my great Uncle and me, I felt it too. I realized my Canadian nationality, my identity, my place and, my loss. You see, the story of the loss of my Great Uncle’s life, is the story of a loss shared by so many, by a whole world really. Sept.11th, 2001 reminded us again of how a world feels stopped still, by such a loss. Compared to Lightning’s generation, we grow up with so much. Yet we still seek adventure. Adventures of the kind that we think will make us grown up. Too often, we seek them in all the wrong places. I see that now. I saw that then, as I stood at the graveside of a boy my age. No, at the graveside of a man my age. 

The poet Roethke must have been thinking of us when he wrote: This shaking keeps me steady. I should know. What falls away is always. And is near. I wake to sleep, and take my waking slow. I learn by going where I have to go. — The above is a speech I wrote and presented 9 years ago. It won every contest in which it was presented and I ended up taking it to New York to say it at the United Nations.

10 November 2010

In Browser, Pure Javascript, XMPP Client

 So I was in research mode yesterday. I spent a bunch of time trying to figure out how to build an in browser chat engine that leveraged peoples already existing Facebook and GMail accounts. And I wanted to write this because it wasn’t as intuitive as I thought it should be. So if you’re in the market for setting up your own web or corporate chat heres what you need to know. Its all about the server When I approached it originally, I figured I could do everything I wanted in the client. Google and Facebook already have servers, why can’t I just connect to those? Why can’t I just have a bit of javascript that I open in a browser and it connects to google and facebooks servers - simple right? Well, it turns out there are 2 really decent reasons why you cant. First your javascript can only talk to stuff within your domain. This protection goes back a long way and was added, I guess, to reduce the likely-hood of cross-site scripting attacks. There a a couple work arounds like hacking it using dns and apache redirection, but its kinda painful. And second, because javascript cant open and hold real tcp connections you need to cheat when doing jabber/xmpp. The hack in this case is called bosh (which is basically just binding over http). this binding lets you fake these long held tcp connections, and do chat stuff without polling (which is the other solution). And because all we know if the google and facebook xmpp connection info, and not the bosh server info (if they even have bosh servers), we cant escape having our own server. OK, so what server do I use? Now this question was very debated and very heated 2 years ago when everyone and their brother was setting up chat on the coat-tails of google releasing googletalk. There are a couple picks, but as far as I can tell the world has united a bit on the choice.

  • jabberd2
    • a clone of the originally jabberd.
    • written in c
    • chose if you absolutely need to run a c-based bit of code
  • openfire
    • a semi-commercial jabber server
    • written in java
    • chose this is you absolutely need to run a java-based bit of code
  • tigase
    • also a jabber clone
    • written in java
    • chose this if you believe their claims about reliability
  • ejabberd
    • another jabber clone
    • written in erlang
    • its used by facebook, it can scale, its the most used, its the most complete, and its pretty easy to get going
    • chose this one

OK, Now I’m confused. I connect to a local jabber server with my google or facebook account? how does that even work? I can’t really explain this one yet, I’m still working on figuring it out myself. But when you’re setting up your local jabber server you need to tell it about all the other places you want to chat with, and you setup transports to allows that to happen. I still need to figure out how the remote login works, but I’m getting close. Basically I think your jabber server doubles as a proxy for these other services - allowing you to do the http binding and same-domain stuff. You setup accounts for everyone that onces to chat locally with an account you provide, and you proxy/transport all the other domains (ie. logging in with @google.com goes to the google servers, instead of yours). I’ll let you know once I get it nailed down, but I’m close - and the important part is I have a good bubbly picture of the architecture. What about the client? So for the client there are a couple of great libraries and starting bits of code out there to get you going. There, as far as I can tell, isn’t a great ready to use open-source client floating around, but check out these:

What else do I need to know? Here are some resources that might help - but you’re basically up-to the point I’m at.

9 November 2010
Sweet Dreams

It was a beautiful ceremony yesterday. Grandma was a little choked up but otherwise pretty good. I’m not much for words today - so I guess that’s it. Rest in peace Opa.

8 November 2010
Mitch’s New House

So after the visitation yesterday we all drove to Bayfield to see Mitch and Ashley’s new house. I have to admit that I thought the whole thing was pretty silly at first. but it was really neat. I was very excited for Mitch. and I could tell that he was pretty excited too. He has really be embracing this whole home-owner thing - cutting down trees and cleaning up the yard - its neat to see. The house is a little old, and definitely qualifies as a fixer-upper. It has a decent sized main floor with the kitchen, living room and bathroom. the bedroom is upstairs in a sort of loft thing, and the basement is a half height utility room. The whole place isnt very big - but its cute. lots of wood on the inside, which I like, and they’ve dressed it up kindof nice. The house is on a big double long lot, more or less in Bayfield proper. its got a big old barn in the back which Mitch is very, very excited about - they maybe, just a little bit, bought the place because it was the cheapest one they could find with a barn! haha. Anyway you can tell I’m not in real estate! but its a nice little place for them to get started. And who knows, if Mitch continues to work away at the place they might be able to make a buck off the whole adventure when they move on.

7 November 2010

Bestest Opa Ever

 My Opa has died. Sorry for the lack of buildup on that one, but its true. at about 3am on Friday morning my Opa passed. He had been diagnosed with bad cancer (lymphoma I think) about a year ago, on top of a few other side effects of old age and it was a pretty steady downhill run for there. He was a pretty proud guy and its probably for the best that it wasn’t more drawn out. I last saw him at my cousin Sara’s wedding in August, and while still very coherent he did struggle quite a bit without his oxygen and he wasn’t in great shape.But he was there. and Mitch and I made sure he was able to see everyone and enjoy the ceremony (We were on wheelchair duty). I don’t know a ton about his life, but what I do know is.

  • He was 84
  • Born in Wijk bij Duurstede, Utrecht, Netherlands
  • Moved to Canada to be a farmer and own land when he was 28
  • Married just a month before he left for Canada
  • Became a citizen 13 years later, in 1967
  • Bought a dairy farm in 1968
  • Built a big farm house, and planted an apple orchard in 1979
  • Had 9 kids with his wife before she died in 1991
  • Married my Mom’s Mom shortly after his first wife died
  • Worked just about every minute of every day
  • Loved his porridge

He was a pretty huge guy, probably 6 foot 7 with like size 17 shoes. But despite his stature he was a very, very gentle and soft spoken guy. Never had much to say, and you had to pay attention when he was talking! I struggled for the first few years after he and Grandma got married to understand him. and then I was pretty good for maybe 10 years. and then in the last few years he became a little hard to understand again.  haha. but what do you do? He’s your Opa - and you gotta do your best! For years and years ever summer we would go up to the farm to stay with Grandma and Opa for a week. to help out on the farm, to run wild in somewhere new and interesting, and to fish in the pond. I always loved those weeks. I looked forward to them all summer long and then to next year once they happened! There was always soo much to do! I loved to fish in the pond, and I would spend days on days out there. I loved it. I would pack up my stuff when it was time to go home and carry it out to the pond with me so that when mom showed up I could just come running at the last minute and not miss out on any fishing. haha. I remember one day we were fishing and opa was there helping us, and it started to rain. and opa told us this was a good thing for the fish. and sure enough the fish started jumping and we started catching them faster than we could handle. Opa would help us take the fish off the hook and put on more corn and as soon as we cast out, we would have another one. I dont really know why I remember that. maybe the rain and the fishing and the catching so many - im not sure. but it was neat. Ill probably remember that afternoon for years and years to come. Anywho, I could probably tell stories for days - but the summary is I will miss him. He was a pretty great Opa to us and I loved him, and I’ll miss him. and all things considered we all gotta go sometime, it was his, and its for the best. We are going to the visitation today to see my Grandma, and fingers crossed she is doing ok. Its been a pretty exhausting many months for her, and it being over isn’t really the kind of end you’re looking for. but shes a pretty tough girl - so I got a feeling she will be 100% in no time. Anyway, rest in peace Opa - we will all miss you.

6 November 2010

WTF Its Cold Out!

 What happened?!?! Its like really cold out now! As much fun as winter is, you know with all the driving on ice, through blizzards, slipping on sidewalks, freezing your ass off and white cold fluffy stuff - I’m still just a little pessimistic… haha. but the biggest thing for me right now - is how damn cold this basement in my parents house is. I need to figure out some covert isolated heating scheme to raise my workspaces temperature by about 5 degrees… thoughts? I also have to talk about yesterday’s meetings. everything went super duper well. The team at UWaterloo was incredibly helpful, Katie is a life saver in disguise - I just need to hack a bit more together to make full use of her, and all of my other meetings went very, very well. There are some really neat and positive relationships being brewed up involving upverter and thats pretty dang cool. Oh yeah! and Steve’s last day was yesterday which means we officially have 2 full-time staff now. woot woot.

5 November 2010

Personal Hygiene and My Terrible Movember


Posted from: ON N0M 1S1, Canada

 Hahaha. So I have been a little bit, kinda sorta, completely giving up on personal hygiene with all the hacking lately. Don’t get me wrong, I still wipe, but I haven’t been shaving or doing laundry that much. End result was I had a pretty nasty pirate beard rocking up until yesterday afternoon. Now I was playing this off as a badly maintained Movember, you know prostate cancer and all that goodness. But in reality I still grow facial hair much like a 15 year old - not well - and if I was gonna grow a mustache it was gonna be a full-time job for a long, long time. So on account of heading to Waterloo and being in hand-shaking mode I figured it would be best if I gave up, and razor met face. And it did. And it hurt. And my very pathetic attempt at the Ron Burgundy is now gone. haha. In other, non facial hair related news. Ummm. Yeah… Best I’ve got, is I’m doing a bunch of meetings today and then heading back home. woot woot. wish me luck!