Sunday, May 12, 2013

Seattle 2013 Day 2: Duthie Hill Mountain Biking

4/20/2013
Seattle 2013 Day 2: Duthie Hill Mountain Biking

Here comes the best biking experience I've ever had. Ready? Go!

I woke up early again and just got up, ready to rock. Had some coffee and prepped to head out and get the Zipcar. I was heading for breakfast and then going to go right out to get the bike rental, so I was all set in my biking clothes before heading out of the hotel. Amazingly, Seattle has Zipcar so it was SUPER easy to get a great car and super close to my hotel. Alex lent me his GoPro HD camera plus a handlebar mount for my bike, so that was super exciting too and awesome to be able to get footage of the bike ride.

Felt like a reasonable time for a ridiculous "selfie" in my biking clothes
First up was The Crumpet Shop at Pike Place Market, a tasty place with some tasty crumpets, good conversation with new friends, and tasty bottomless tea. Boom! Some good energy and carbs and protein to get me rolling for the day. Then off to 826 Seattle, the Seattle version of San Francisco's 826 Valencia!! Similarly to SF, the one in Seattle is also a creative writing workshop with a funny "front" to it which sells silly/hilarious merchandise that benefits the non-profit.

826 Valencia... Seattle edition!!
So cool, 826 Seattle is a Space Travel Supply store :)
So cool
Space!
Can't be exchanged
A funny Canadian bar beside 826 Seattle
I chatted with the girl there at 826 Seattle and that was super cool to see it. It is a very similar vibe to 826 Valencia. It's a "Space Travel Supply Store" and I'm so glad I made the trip out there while I had the car. It was just by chance that my hotel had a book from the students at 826 Seattle that I'd seen the night before... serendipitous! I bought a cool space travel shirt, and also a hilarious red "panic button".

Then, off to the bike shop. I decided to rent from the very excellent Recycled Cycles bike shop right by the University of Washington (known colloquially as "U-Dub"... hilariously similar to Waterloo's "U-Dubs"). The bike shop was incredibly well-organized, the price was right at only $30 for the whole day... and the bike was already sized and fit to my height before I even arrived. Amazing. The bike was really awesome hardtail called a "Kona Blast". The pedals had sharp grips on which would make sure my feet would stay in place, and the brakes were hydraulic disc brakes - you can stop on a dime with these things. The guy in the store instructed me on how to stick a "break stopper" into the brake pad section when you take the wheel off to get it into the car - he said that's necessary since these are special brakes. I stuffed the bike into the Zipcar Mazda 3 and off to Duthie Hill in Issaquah, Washington!

My bike rental, a Kona Blast, and Zipcar
The drive out to Duthie was beautiful, lots of amazing mountain views, some cool bridges to drive over and I drove past the Bellevue area... so fancy. That's the area where the early Microsoft employees live, I heard :) As I got closer to the outdoorsy area near Issaquah, there was a really funny and awesome house which was a friggin' castle with a gate and a drawbridge. Epic. There was so much rain yesterday that I was worried about the weather today, but it was perfect. Totally dry, no rain.

Parked near Duthie Hill, putting the wheel back on
I parked near a school (as instructed by the excellent Evergreen Mountain Bike Alliance - a great group that maintains the Duthie Hill Moutain Bike Park), re-attached my brakes and wheel, attached the GoPro HD camera to the handlebars, and off I went!

Duthie Hill has a pretty epic setup, it starts with a bike down an amazing platform into the clearing area. This area has practice jumps at different heights so you can try out harder features without being in the middle of a trail and at your own pace. It also had a "berm" practice area where you could easily practice these kinds of banked turns. Amazing. All the trails started and then ended back at the clearing. It was so amazing.

The boardwalk was a great start and then it was so exciting to get to the main clearing. There were flowy parts, "berms", jumps, "skinnies", "log rides" and other cool stuff to practice. I tried a few and then hit the first trail "Boot Camp"! It was EPIC!!!!!!!!!! WOW. Best mountain biking EVER. This was on-par or even more exciting than the biking I did in Queenstown in New Zealand. I just LOVED it. I'm glad I did a few trail jumps first to build my confidence as there was a little bit of that stuff on the trails.

Trail Map
Starting out at Duthie
Boardwalk on the way into the park
Skinny feature
"Berm" turn
Another sweet berm
Glorious
A cool jump that I didn't do :)
Some friends I made that were doing crazy jumps
Berm turn practice area
My favourite feature
A little break at Duthie Hill at my favourite "roller coaster" feature
Glorious
This was so fun
The bike "Kona Blast" was friggin' amazing. The brakes really are excellent, and I notice an insane amount of precision that you can get from these. Really makes me know I need to take my poor bike in for a service! The retail price on this bike is about double what my Gary Fisher was, so certainly there are some better things about it. The Avid breaks with hydraulic discs were definitely the most impressive. The Rock Shox shock absorber was also amazing, and is definitely better than what I have at home.

The trails had a bunch of "optional features" which you could choose to do or not do at the time of biking. I tried a short "log ride" which was fun. The "berm" turns were my favourite part - so fun! I actually watched a couple of YouTube videos a couple nights before leaving for Seattle to get an idea of how to do them. That really helped. Riding those berms was actually quite a bit like being at a ski park, you were just on a bike instead. Very fun. It reminded me of New Zealand biking in Queenstown, but better.

After "Boot Camp", I did the "Movin' On" trail, which was much more "technical" - it had tighter turns and turns while on an incline. It was a bit tougher, but still fun. There was a roller coaster feature that was SO cool and I was so excited for, that was great. I biked past a few skinnies that looked crazy and had jumps and stuff attached, it was nuts. Back to the clearing, and I made some new friends from Bellingham. They said they knew I was Canadian, I asked why and they said it was because I said, "Cheers!" Hilarious.

After just these 2 trails, I had sweated clear through my hoodie and took it off, I was steaming. So the plan for the rest of the afternoon was going to be my Arc'Teryx only with the pit zips open - a better plan. That was much better. After some snacks, I turned the GoPro back on and headed back out. Next was the "Step it Up" trail, which was also incredible. A little harder than Boot Camp but I liked it more than Movin' On. Then some jumps in the clearing area, I did the easy one first and then did the second one. Then I mastered the berm track!

At this point my battery on the camera was getting low, but at least I'd gotten some great footage already. I did Boot Camp again, the Movin' On, then Boot Camp again twice more. I had so much fun out there. I was going to also bike at Soaring Eagle and Pioneer Park, but this was so amazing that I just stayed at Duthie longer.

I had my iPhone GPS going the whole time to track my exercise, elevation and speed and so on, using the Strava app. Check out the results here:

https://www.strava.com/activities/49786558



After all of this epicness, I biked back to the Zipcar and packed up the bike, and then headed to Stumptown coffee. Literally as I pulled out of the main street driving away from Duthie, the rain started. What amazing luck! On the highway, the rain got a bit stronger, but it was ok. It was a nice change from the hours and hours of exercise.

Stumptown Coffee
I had a great time at Stumptown Coffee and then dropped the bike back at Recycled Cycles. There was LOTS of traffic back into Seattle, so I was glad I had rented the car for the whole day and not painted myself into a corner with a specific return time. After dropping off the car, it was definitely time for a bath. I rested my sore muscles and basked in the epic enjoyment of a brilliant day out. I had a pretty bad ankle bruise which was not great - next time I need to ask for shin guards or just buy some. Those pedals were excellent, but the one time I slammed my shin into them when I wiped out was not great. I got a couple other scratches too, but nothing too crazy. :)

A huge ice cream
Some guys playing road-bike polo
For dinner, I went to Quinn's Pub and got a burger, fish and potato croquettes, and some arugula salad. Very tasty and good food after a long day of exercise. Then to Molly Moon's Ice Cream for dessert (kindof like a Humphrey Slocombe of Seattle), and to a nice bookshop. The amazing day ended with an amazing evening, including viewing of a very strange and hilarious game of polo played by guys on road bikes.

What an awesome day. :)

Friday, May 03, 2013

Seattle 2013 Day 1: Arrival and Pike Place Arcade Lights

4/19/2013
Seattle 2013 Day 1: Arrival and Pike Place Arcade Lights

And so begins my somewhat impromptu 4-day trip to glorious Seattle, Washington!

I have been meaning to go to Seattle for quite a long while now. I think I first wanted to go after seeing a photo of the Pike Place Market - it seemed like such an interesting place, mired in history, and basically the Seattle version of the Ferry Building, which we all know is my most favourite place ever. Anyway, it seemed "my kind of vibe". As my recent post implied, I was keen to "reconnect" this weekend... try to turn off the cell phone, ignore the slew of crazy news feeds on Facebook, and get some time doing some good exercise, enjoying nature, and exploring an exciting new city.

I usually budget for this kind of stuff in advance, but this kind of trip is really easy to pull off - the costs aren't very high if you make good choices. As I said to my bro Matt in Toronto in an email thread we were having, fortuitously, as I was on the way to the airport... the largest value for money is gained by spending your money on "experiences". As Dave Matthews would say, "Make some memories with us now".

My aim as I mentioned is not to answer phone/messages/Facebook this weekend. I will ignore/put it on airplane mode, or just leave it at the hotel. This device is so darn useful it's hard to leave behind... maybe privacy mode will do the trick. There must be a workflow for this. "Need usefulness of phone, but want no interruptions." The point of my weekend was a work break and didn't want to have any work talk or that sort of thing, but I was wearing a Monsters, Inc. shirt I got at Uni Qlo. It was funny... EVERYONE seemed to be commenting on it, saying how much they love the movie, etc. That was fun.

The airport trip was great, super smooth and no worries. Virgin America friggin' rocks. Each booth had a different cute/funny quote at their booth. It's quite clear that their corporate policy must encourage the people at each gate to take it upon themselves to write something funny and topical. One said, "T.G.I.F.". The other gate which was going to Los Cabos said "No hole punch, no Mexico for you"!! haha. Hilarious.

Tasty Greek Yoghurt in the airport
Got some tasty greek yoghurt and a Blue Bottle drip coffee at the airport. The yoghurt and fruit was a great idea - 2nd only to have enough wherewithal to prepare and eat the same thing at home before leaving for a trip :) Took care of the last emails for the weekend to my parents and my buddy Matt. Then a lady asked me for advice on Wreck-it-Ralph (was it good for kids, how scary was the villain compared to the bear in Brave). People LOVE this shirt I am wearing :)

So after the emails, I went back to using the phone for usefulness only. I found out that Bill and Melinda Gates Foundation (where I was about to head to upon arrival to go tour their visitors centre), is right beside something called "Seattle Center". I checked how to get there from the airport... and bingo!!! There is a cool Monorail that goes from downtown to Seattle Center, cool. But even betterm there's a Light Rail, right from the airport to downtown!! I was gonna cab or something, and I'm super lucky, this light rail drops right near my hotel. Amazing. I am totally gonna do that, dropoff luggage, check in at the hotel and then head off to the Monorail!! So sick!! So much more fun than a boring cab ride. Daaamn I am excited about the monorail :) So fun. And frugal! It's much more worth spending my money on things that make sense (a Zipcar rental for the day on Saturday to go biking, a Bike Rental), but a cab is nothing special. So that was smart. Can't wait for this trip!

Got onto the plane and edited my speech for the Waterloo Alumni Event I'm speaking at on the Facebook HQ Campus in Palo Alto next week. I spent just a bit of time editing it and I am very happy with it. It has a great flow and I'm proud of it. I guess I've been thinking about it for a while, but the themes really just kindof fit together. I only wrote it a week or two ago in a couple of sittings, but it's feeling pretty polished which I am happy about. This stuff is getting easier to do now... TEDx was a big learning experience!!

It's fun to journal for the weekend as well. I am going to make a point not to "check in" or post places as I go on Facebook. It's fun to do that usually, but I am gonna treat this the same as a longer trip like in Peru last year. So that it's a proper break, I'm going to record notes in a paper journal and take photos and just post a journal when I get back to SF. Good times. In that spirit, oh look, there is TV and WiFi on the plane?! Cool, but noooooooppppe. :) I also found out how to (mostly) silence my phone. Privacy mode should do it. I will have to control myself in terms of not checking email and Facebook, but I can use Maps and Yelp and phone calls come from the Favourites List only. Seems pretty good.

Anyhoo. I got in an hit up the light rail... $2.75 all the way into downtown!! Amazing. I helped a couple of people out who couldn't figure out the ticket machine. One lady said, "I'm sorry, it's my first day here!" I laughed and said "Me too, but I've been googling all morning figuring out how to get to downtown from the airport!" The train was smooth and an easy way to get downtown. Awesome. After about 45 min I got off downtown and walked up a few steep hills (this IS kinda like San Francisco!) and checked in. The staff was super nice. My room rocks!! Super nice, and a huge bed. I got the "highway view" that people seemed to be dissing on the reviews, but... whatevs. It was not a biggie, and you got to see some awesome city lights. Can't argue with the epic Priceline price I got though! I was rainy looking, so I put on my trusty Arc'Teryx jacket and ended up taking a short cab ride to Bill and Melinda Gates up near the Seattle Center. It was an awesome exhibit. It explained a lot about the aim of the organization, and was incredibly inspiring. What a great place for schoolkids to feel welcome and encouraged to make a difference. There were some Bill Gates, Sr. quotes on the walls too. What a great family and it is so cool to see what they are doing for the world. Fantastic.

Bill and Melinda Gates Foundation!
Bill and Melinda Gates Foundation!
Reminds me of how AMAZING Bill Gates Sr.'s book "Showing up for Life" is
Contribute your own "what would I do?" to the digital wall
Contribute your own "what would I do?" to the digital wall
Unity
This little exhibit packed a huge emotional weight
Share Your Cause "Trees". Amazing place for kids to learn and be inspired to take part
I stayed for about an hour. They do less in international education/teaching/technology access than I thought. It seems their education focus is more in the USA, and their focus in developing nations is on health care. Pretty friggin' amazing to see the specifics of how they accomplish tasks that seem insurmountable. It was particularly interesting to see how they apply Microsoft-style computer science logical rigor to solving world problems. There were a lot of cool portions of the exhibit talking about data usage, tracking their progress quantitatively, best bang for the buck, etc. Pretty darn outstanding.

From there I headed to the Seattle Center and wandered past the EMP (Experience Music Project) museum. It looks kick ass, I will have to go there later in the trip... Frank Gehry-designed building, Nirvana exhibit, Art of Video Games exhibit... YEP. I headed to a place called the Armory, which seemed mostly like a huge building containing like 20 separate bouncy castles for kids, and food. I was hungry and I got a tasty poutine which was MASSIVE. It was at a restaurant on the "Misc." menu so that was fun. They had something else on there called a "Caramelized Grapefruit" which is a grapefruit with sugar on it that is then put on a grill. Sounds pretty awesome.

The Space Needle
Poutine inside on a rainy day, plus an entire room of nothing but bouncy castles
A little bit of Donkey Kong
I remember this guy well
After a very short history of video game consoles area (and a couple min playing super old-school Donkey Kong), it was time for a walk. I saw the outside of the Chihuly glass blowing museum, looks pretty cool and I might go later in the weekend.

So this is pretty funny... the Seattle Space Needle is TINY!!!!!!!! I was expecting something like the CN Tower, and I actually saw it from across the street and thought it was a scaled-down model of it or something!! haha. Sorry, Seattle!! It's not even really part of the skyline is some places, and it's not a lot bigger than most of the big hotels downtown I don't think. Very strange!! I believe it is from the World's Fair though, so we should give the poor Space Needle a break. I walked for a bit and the poutine was a good call to warm me up as the weather was getting damper.

A wet skatepark
Good advice
Trees
Seattle Olympic Sculpture Park
I walked towards the water, and the area started reminding me more and more of Toronto. Condos facing the water, a Waterfront that looked so much like Front St. as I was walking along it, Parks, and even an Old Spaghetti Factory right near the water!! So Toronto-y right there!

And then off to Pike Place. It was really starting to rain now and so I took a couple photos and kept rockin' my trusty jacket, but then made a break for the original first-ever Starbucks store. It was super fun in there.

This area reminded me SO MUCH of Toronto
And... sortof Toronto Waterfront, but in Seattle
O.G. Starbucks
Original Starbucks logo, with, um... well...
I saw the Beecher's Cheese Curds store which a friend had recommended to me, so I'll have to try them out tomorrow or Sunday. Man this Arc'Teryx jacket was worth every penny!!!! It stopped pouring so intensely and then got misty, then heavier rain again. It was actually quite nice, and my jacket was keeping me nice and dry, so it was kind fun and cozy to be walking around and checking out different warm places amidst the spring rainfall. There was a tasty looking breadshop and French bakery which looked great too.

My new favourite place

I then went to wait in line for Arcade Lights. This event turned out to be this same weekend that I was already planning to be in Seattle. It's a bi-yearly event where local vendors take over the Public Market and you get 10 tokens upon arrival with your $25 entry fee. Then you go check out all the different food and drink and dessert places and pick what you like and give (usually) 1 token per food or drink item. Fun stuff. I got my "Arcade Lights tasting glass" and the tokens wrapped in a green bandana as I entered. So cool.

There were 4 different main sections: Savory, Sweet, Wine, Beer. So amazing! I started with Lamb Sausage Chili from Uli's Famous Sausage which was amazing. Then got some of this Wood Fired vegetarian pizza from Roving Pizzaioli which was so insanely awesome that I went back again. Then some mini donuts from Mighty-O Donuts, then a cheese plate from Mt. Townsend Creamery. Some ginger cider and then some tasty Blood Orange IPA beer from Elysian Brewing.

Lamb Sausage Chili
This Pizza was EPIC
Vendors
Awesome view!
Cheese plate, beer tasting glass
Mmm... more tasty local food
PB&J Ice Cream, and Peanut Butter Crunch Cupcake
After tasting so much epicness, it was time to grab some dessert and roll out. I got this crazy PB&J Ice Cream from Six Strawberries which was really excellent. The people working there rocked too. And finally, a Chocolate Peanut Butter cupcake for later from Yellow Leaf Cupcakes. Amazing!! What a great event and what a cool start to my first Seattle experience.


Oh Arcade Lights, you are epic
Rainy and beautiful evening
From there I walked back to my hotel. I took the long way, checking out downtown a bit and I'll have to spend more time down there later. I went to City Target and got a few essentials (Beef Jerky and Clif Bar for mountain biking tomorrow). Back to the hotel and unpacked a bit, and some chillin'.


Rainy and beautiful evening

There was a hilariously fitting book in my hotel room called "What to read in the rain"... from 826 SEATTLE?!!!?!?!?! I had no idea 826 Valencia had a Seattle store/creative writing center, and that quickly became another obvious thing that I had to do. I had hardly seen the hotel since arriving, so I wandered a little, checked out the hotel bar just to see the view (nice view) and the workout room. Back to my room for 2 cups of tasty tea (which I had brought from home) and that epic cupcake. I connected my iPhone to the TV to get some awesome tunes playing and wrote my journal notes. Maybe I'll even have a bath!!

Comfort & Joy... and a Cupcake!
Rainy night and view of the lights from my hotel
Whew!!!! What a GREAT start to the trip. Amazing. I am really enjoying everything, soaking it all in (haha, I *really* would have been soaking it all in without my jacket!) Tomorrow is going to be unbelievable: Zipcar, crumpets. then BIKING!!! Yes.

Already my mind and thoughts are focused on so many different things than they have been for the past while. The perspective and good vibes are already hitting me. It's funny, the thoughts that pop in your head. When I was walking along Pike Place and looking at strangers I'd never see again, I was thinking about how people go about their lives in their own cities, for the most part completely unaware of how you live yours. They have problems, you have your own problems, but people just carry on with what they know, and with no knowledge of your situation. Strange thought. But this is exactly the kind of perspective I came here to get!

There was an office building across from my hotel window. It was an incredibly generic looking office, with lots of random people's desks. Who do they do all day? This was a pretty big office building. Do they love it? Do they hate it? Why did they choose that career? Is their company doing well? Do they wish they lived somewhere else or do they love living in Seattle? (I assume they do, it rocks here already). Not sure why so many thoughts like this were running through my head... probably the moodiness of the rain mixed with this great tea and thoughtful quiet time. But anyway, this is the exact kind of perspective that came just by showing up here and soaking it all in, rain and all.

Thursday, May 02, 2013

Surprise weekend trip: Seattle!

In a recent post I said I was taking off somewhere for a covert long weekend of refreshing goodness and relaxation in a random and awesome city in the pacific northwest USA. Where was that city? Why, Seattle!

Here comes the blog posts of the 4-day trip I took, and a crazy 60fps video of me mountain biking in this crazy mountain biking course/park. It rocked.

Thursday, April 25, 2013

Realtime Facial Animation with On-the-fly Correctives

My crazy colleague Hao Li and slightly-less-crazy-but-still-as-brilliant co-conspirators Jihun Yu, Yuting Ye and Chris Bregler have just finished their paper submission to Siggraph 2013 and are now able to publish the work publicly.

Check out the info and paper on Hao's site here: Realtime Facial Animation with On-the-fly Correctives and check out the video of their amazing groundbreaking work here.

Thanks to the team for allowing me to laugh it up with them and help contribute some facial animation performances. The troll was my favourite part. :)


Friday, April 19, 2013

Peace!!

Yo, stressful times, guess what... PEACE!!!!!!!!!

In the spirit of mindfulness I am taking off somewhere awesome for the weekend and I'm gonna enjoy the crap out of every minute. I'm not posting about it now (other than this) because the aim is to really chill out, enjoy a new place I've never been to before, explore the local nature, try some epic local food and activities, and just have fun.

Most importantly, this is a longer edition of my usual Saturday morning "digital Sabbath" where I (try, sometimes unsuccessfully) to turn my phone off for a few hours and just enjoy the world around me, this silly duck that swims near where I sit at the Ferry Building, and just notice all the great stuff and be grateful for the fact that I live in this awesome city and get to do awesome things all the time.

So this is essentially a longer version of this "disconnection". Rather than "disconnecting", I've heard some hippier folks call this "reconnecting" with nature. Whatever you want to call this, I call it a "great idea" ;) I am not going to meet up with people, I'm not going to call friends I know in this city (sorry, friends, and you'll find out later where I went... I'll be back another time when I don't need a mental break) and I'm just going to be very present in the moment and enjoy everything. This is key. The easiest and more intrusive way for me to be pulled out of the moment is to be constantly checking my phone or spending my usual hours on the internets. I do love that stuff, don't get me wrong, and it definitely has its place. But for this weekend, I need some time with my focus and thoughts and energy directly focused on every moment of direct experience. Here we go!!

As I posted on Facebook:
And off I go to an awesome undisclosed location in the Pacific Northwest. Biking, nature, good food, fresh local produce... And no Internet or phone on purpose. 4 day mental re-energizing recovery weekend, commence! Ill post blog and photos after the trip, its gonna be fun and safe, but I promise to be out of contact for 4 days. It gonna be great :)

So yes, I will be taking the usual photos and writing a (paper) blog like I did in Peru, and I'll post all of that in the week or two after I get back. But while I'm over there, I'm gonna de-internet for a few days and try not to be so distracted.

Sunday, April 14, 2013

The Creative Process

The Creative Process
Baby, I'm back!

The last few nights I've turned a bit of a corner. It's been a very slow few months for the general creative process which has not been the greatest. I've been getting into some good new things like Yoga and so on, but my evenings have been filled with much-too-much Netflix instant watch marathons and not enough creating lately.

A combination of a bunch of things has affected my boundless evening energy (see blogs I've ever posted from 2, 3, 4, 5am...) and as such, has affected my creative output :( But onwards and upwards (ever upwards, swirling, swirling!) we go. It's nice to have a project with a quick and immediate deadline. This speech I'm (re)writing is for the Waterloo Alumni Event at Facebook HQ in Menlo Park in a couple weeks. I had something drafted that I didn't like and I am throwing away most of it. There are a few pieces that were good but it's not great, and it needs a lot more oomph. The strange thing is, if I am a little more tired, that really helps get the juices going... so tonight was a pretty solid chunk of work time. I've made some good progress and I can now see the direction this is going and I am happy with it. To appeal to an audience of wildly varying ages and life-stages is a challenge... and to that I say, Barney Stinson-style "Challenge Accepted!" (I've actually got a HIMYM reference in the talk draft right now, but I'm not sure if it's gonna make the final cut. Depends if I think people will get it without destroying the joke by explaining it) ;)

It's funny I find I always need to be in the "right mood" to write a speech. If I'm not, I'll spend hours and hours looping over the same things and getting nowhere. But if I'm into it and everything lines up, I can just roll it out and tear through the bad ideas quickly and get something I'm happy with. It's a fun process. That said, I'm tired so I'm gonna stop for tonight. Hopefully a few more nights of the "right mood" and I'll have some work I can be proud of.

Here's to the creative process, and the joy of many late night staying up doing fun stuff when I should be sleeping. I need to be doing a lot more of that. Last year was filled with it. This year is off to a slow start. But I'm gonna rally, I need to.

Saturday, April 13, 2013

Update: Siggraph 2013, a random trip, and mindfulness

My bro Matt said it's been a bazillion years since I've blogged and he's pretty much correct. Stuff has been busy and crazy lately but I can't elaborate :) But thus the non-blogging.

I got excellent news today though, our talk for Siggraph 2013 has been accepted!! This is my first ever Siggraph talk, and I'm really excited and pleased that we got in. I will post more details when I know about the schedule and when/where it's happening this summer. Awesome times.

I need a break, so I'm taking off soon on an un-announced, will-not-be-Facebooked-or-Blogged-as-I-go trip to somewhere awesome on the Pacific Northwest USA, it's gonna be a short trip but I'm intentionally not telling anyone about it (well, other than all of you, right now) because the main aim is to disappear for a few days, "disconnect" from tech stuff (email, blogs, Facebook, etc) for a few days and "reconnect" with tasty local food, meet some interesting volunteer workers, and go mountain biking through some epic trails on a crazy $5k dual-suspension bike I am gonna rent. Maybe eat some amazing food too, I bet. So that's the plan. I am gonna disappear from this virtual internet world for a few days, and only use my phone for Yelp and that's it. It seems crazy to go to these lengths just to "turn off" for a few days, but it seems like it's going to be a good plan to refresh and re-engage myself.

While on this topic, I've been reading about "mindfulness" a bit lately. My other "bro" Matt (I have an affinity for best friends named Matt) suggested this book.

Mindfulness book
This seems to be very interesting, and fits well with my newfound addiction to Yoga that started back in January. The stretching and exercise part of Yoga has been great and very beneficial at work, but I'm finding that the short discussions of "gratefulness" and "dedicating your practice to your self improvement" is totally up my alley. It seems like meditation is a useful tool for lots of people to deal with stress or just to help focus in this very busy world we live in. So I figure it might be worth a shot, and certainly it will be fun. I'm keen to read a little more about it first as well. This also kindof goes hand-in-hand with my reading about Positive Psychology lately, I guess that's where my interest in this stems from. Given the obvious benefits I've seen from optimism throughout many projects at work and in life, I think this mindfulness idea is similar in nature and thus worth some personal investigation.

Anyhoo, that's all for now. I'll be writing a paper journal on my random trip and I'll take some photos too. I'll post the usual full blog from the trip afterwards, along with photos and comments about the awesome experience. Looking forward to it. And mindfulness-style, I look forward to being fully present in the moment during that trip, and enjoying it to its very fullest. :)

Saturday, April 06, 2013

Eyeborg Prosthetic Eye Camera

Wow, this is incredible.
"Take a one eyed film maker, an unemployed engineer, and a vision for something that’s never been done before and you have yourself the EyeBorg Project. Rob Spence and Kosta Grammatis are trying to make history by embedding a video camera and a transmitter in a prosthetic eye. That eye is going in Robs eye socket, and will record the world from a perspective that’s never been seen before."
http://eyeborgblog.com/

The reach of humanity's ingenuity and imagination will never fail to impress me. Truly amazing.

Thanks Yayha for the heads up about this amazing and inspiring work.

- Posted using BlogPress from my iPhone

Monday, March 18, 2013

OLPC Video Editor: Looks like we can cut a file

(Here's what I'm doing, why I'm doing it, and why One Laptop Per Child friggin' rocks)

It has been a busy few weeks at work and with my family visiting, but I had a couple spare hours tonight to get back to this project which was suuuper sweeeeeeeeet.

Made some good progress on figuring out which technologies NOT to use for video splicing on Linux... and man are there a lot complicated solutions! I read documentation pages for about 8 different options, none of them ultimately a good choice. D'oh. After trying a few things out and not making any progress, I opted to try "oggCut" and "oggCat", and had success running this from a standalone Python script (running in my virtualized Linux environment, not on the OLPC itself yet... it'll be a while till we can get that sorted).

As I mentioned in my previous post, it may turn out to make most sense to just "cut" the video using command-line programs launched from a subprocess call from the XO activity. We know those calls are blocking, and it's not too too disk intensive so it should run fast enough without freezing the UI too badly.

I first tried trimming and splicing together a random .OGG video file I found online and it worked, which was exciting. The audio seems to be lined up too which is good, cause that can always be an issue when you splice files which contain both an audio and video stream. So that was a good first step.

Then I recorded myself talking in a couple of different quality settings from the existing OLPC Activity called "Camera", on my XO itself. It's important to test this solution with "real" video data that's actually recorded from the XO device itself, because I had roughly no idea what frame rate or encoding it uses and this oggCut/oggCat combination could have failed for the ogg files from the XO. Good news, it seems to work (or at least, in most cases). These are part of the oggvideotools and are working quite well. http://www.streamnik.de/78.html and http://en.flossmanuals.net/ogg-theora/ch052_cat-files/

Edited Ogg Video file, spliced together into a single file from 2 separate original Ogg files recoded on the XO laptop

To get this to work, I needed to install oggvideotools:
yum install oggvideotools

I believe I read that you can bundle whatever libraries you need installed with an Activity installer itself, which is good, cause oggvideotools is not available by default on the XO machines. So hopefully I can work that out when needed.

Then I called a subprocess from Python, calling out to oggCut (to slice the videos) and oggCat (to compile the sliced videos together into a final, single video).

> import subprocess
> subprocess.Popen("oggCut -i 1.ogg -s 1000 -e 5000 -o fromPython.ogg; oggCut -i 2.ogg -s 0 -e 2000 -o fromPython2.ogg; oggCat editFromPython.ogg fromPython.ogg fromPython2.ogg", shell=True)

The "s" and "e" times are in milliseconds, and specify the start and end points for the video. This generally worked, though I got an error a couple of times on one of the videos. Not sure why - perhaps I am trying to edit past the end of the video or something... so it wasn't 100% bulletproof, but it seemed to roughly work for the moment!

I also spent some time reading about GStreamer and am trying to figure out how best to playback these videos from a GTK window. I haven't used GStreamer before and was hoping their GNonLin linear video editing stuff would be straightforward but it seems like a bit of a learning curve... so it might be better just let the kids mark the start and end points in the GStreamer UI, and leave the actual editing work to the command line oggvideotools.

Anyhow! Made some progress which is good. Glad to keep this moving, and although it's been tough to make time lately to work on this, I am excited to see some progress and I think this is gonna be cool as time progresses. More updates when I get another chance to work on it.

In other news, I'm thinking of running an OLPC "Birds of a Feather" meeting at the SIGGRAPH Computer Graphics Conference in Anaheim, California in July this year. I still gotta confirm whether or not I am going to the conference, but if I am it seems like a good idea to help mobilize and excite the community of developers about what's going on and how they can contribute... sounds exciting eh? Ideally I'd like to have some interesting work to show by then on my XO at the conference... so we'll see how it all progresses. I better keep at it :) Anyway, fun times and I'm getting a chance to learn some of this crazy Linux sysadmin/build setup/installer/video editing stuff, so that's a really cool side benefit too. Good times :)

Aside: Hmm, this is interesting: https://blogs.gnome.org/edwardrv/2009/11/30/the-result-of-the-past-few-months-of-hacking/ It looks like the guys who made Pitivi, a non-linear Linux video editor (that I basically want to make a super simple, kid-friendly version of) made a library that might help you in writing applications like this. I am gonna give them a shout and see if they have some advice for me on this. Haha, hilarious quote from Edward Hervey, the writer of the GStreamer Editing Services library about why he wrote it:
"Because writing audio/video-editors is a lot of work, and we should make it as easy as possible for people to write such applications while being able to leverage the power of GStreamer and not requiring a PhD in nuclear engineering."
haha :)