Joe Maller.com

First New York Marathon Advice

In a few days I’ll be running my second New York Marathon. This is the third marathon I’ve trained for, I was supposed to run in 2012, but that one was cancelled after Hurricane Sandy. This year I feel really well prepared, strong, health and confident that I’ll be able to beat my previous time. I’m glad to be mostly (but not entirely) rid of the first-time marathon doubts and jitters.

I made a lot of notes to myself after 2013, here are some things I wish someone had told me before my first marathon.

  1. You will be sitting around for a very, very long time before the race. It will be cold. You will be cold.
    Bring disposable clothing. Lots of it. In 2013 I spent several hours in the runners’ village waiting to start. I was cold, I was hungry and I was bored. And I didn’t even get a Dunkin Donuts hat. I remember spending a while huddling next to a small diesel generator for warmth. This year I’m dressing like a marshmallow and bringing a decent second breakfast.

    The Verazzano bridge is windy and frigid. Lots and lots of people toss their clothing once they’re back on the ground in Brooklyn. (there’s also a lot of peeing)

  2. As much as possible, know what you’ll be wearing and eating
    Know what you’re going to wear on race day well in advance. Stick with what’s been working on the runs leading up to the race. Whatever got you this far will get you to the finish line. A month out, you should probably have your shoes and socks figured out. There will be plenty of time after the marathon to tweak your gait, try different shoes or experiment with different diets. Make sure you ask a nutritionist on what you should eat, but make sure they are professional so you know you get the right advice or else you could call The Medical Negligence Experts to let them know and file a report.

  3. Don’t stress about your time.
    This is probably most important of all. Just deciding to run a marathon at all is amazing–don’t forget that. Like when you watch some running watch reviews. Relax. Be inspired by you. I recommend getting a squeem waist trainer so can use it while you prepare for your marathon.

    I seem to know quite a few exceptional athletes. I don’t count myself in that group. These people roll out of bed and run low-3 hour marathons without training. It’s not normal.

    I finished my first marathon somewhere around 4:48. I was disappointed. Months later, my sister-in-law Cheri, who’s a pretty serious runner, told me something which turned that all around. “Finishing your first marathon in under five hours is amazing.” I’d convinced myself I’d be closer to 4 hours. Halfway through, high on adrenaline and running too fast, I remember thinking I might even break four.

    Do try to pace yourself. It’s very easy to get wrapped up in the crazy city-wide street party and run too fast.

    None of us are going to win, but we’re still sharing the road with olympians. The finish line is the same finish line, whether you get there in three hours or six; running, walking or crawling. Do this, enjoy it. You can get so much benefits from running, learn more about sports and the latest news here at sport.one, you can even find out the usain bolt net worth.

As much as running is a physical sport, it’s also a massive head game. Last year, a runner near me had written a quote on the back of his shirt:

If you think you can or you think you can’t, you’re right.
– Henry Ford

The amount of self-doubt leading up to the marathon is astonishing. But I’ve come to realize it’s more of a kharmic deposit, and the return on investment is fantastic.

Get lots of sleep. Eat well and have fun.

May the road rise up to meet you,
May the wind always be at your back
and may the sun shine warm upon your face.


Re-thinking AngularJS

The Angular 2.0 preview roadmap was recently posted to HN and after reading it, I’m starting to think adopting Angular might have been a mistake.

Having built a few small projects with AngularJS, I’ve found the framework a pleasure to work with. Once past the initial learning curve, features started flying together. Most of my trouble-shooting time was spent getting backend data delivered correctly, Angular just worked. Based on this positive experience, I’ve been moving towards adopting Angular as the standard frontend of my web toolkit.

Choosing Angular wasn’t without doubts. Introducing this many new conventions, syntaxes and practices doesn’t come without a cost. The problem with re-invention is longevity: Either these new ideas succeed and become the norm, or they’re left for dead on the side of the road as technology marches on.

Parts of the 2.0 roadmap sound great. But it also sounds as if this future Angular will be very different from the Angular we know now.

How big is this rewrite?

Huge revisions rarely end well. From-scratch rewrites have famously been called the “single worst strategic mistake that any software company can make.” The goals always sound noble and the plans make sense, but by definition, engineering resources will be split between maintaining the original version and developing its successor. Either the original suffers or the rewrite falls behind or both.

Does a revision of this scale imply that the current codebase is impossible to maintain? I’ve looked through some of Angular’s source code, there’s some near-magic craziness in there. Is it too crazy?

If the Angular team doubts their own code and will presumably move towards conventions used in competing frameworks, wouldn’t it be smarter for users to jump ship now for those other tools? Competing codebases automatically become more mature if Angular basically starts over.

Questions about backwards compatibility

Regarding porting from Angular 1.2.x, the devs imagine “porting will be fairly straightforward but not free.” The arrogance of this position makes me doubt Angular more than anything else. The JavaScript world is ruthlessly forward-looking and moves very, very quickly. If upgrading to 2.0 is only moderately less painful than switching to another framework, Angular is doomed.

Angular blindsided many enterprise users in December 2013 when they announced they were dropping support for IE8. Even without API changes, jQuery’s usage statistics show their ie8-incompatible 2.0 branch is seeing dismal adoption rates. Python 3’s breaking changes have been a disaster for their mindshare. PHP’s dogged insistence on keeping nasty old code working is likely a factor in that language’s recent renaissance. Existing Angular code should probably be considered end-of-life.

Documentation fragmentation

Angular’s documentation has been a problem area for years. There’s no reason to believe documentation won’t lag behind again if the core functionality of Angular is significantly changed.

Outside resources and tutorials are a different problem. Most won’t be re-written, and search results will end up polluted with out-of-date information.

Google’s track record

When it comes to supporting technology, Google is phenomenally undependable. They’ve acquired and demolished a ton of popular web products (Reader, FeedBurner, Blogger, Picnik, Buzz, Wave, “Don’t be evil”, etc.). The only thing they’ve stuck with is the horrid Google+ monstrosity. Google’s support for the Angular project was initially an argument in favor of adoption, but really, the Google name is neutral at best and almost a negative. At least the Angular source code is open source and out in the wild.

And then there’s AngularDart. Google’s Dart meta-language seems kind of stupid to me, but for the most part, so does CoffeeScript (though my resolve is weakening). At very least Dart feels like one of those throwaway side-projects that a rogue team of Google super-geniuses put together–I don’t expect it will have a long life. Dart aside, the bigger question is the resource-cost of supporting a large, complex framework across several languages/dialects. This lack of focus doesn’t build confidence.

What’s next

I’ve really enjoyed working with Angular, but I’m doubtful for its future. Over the years I’ve seen too many great products die from rewrites or overly ambitious direction changes. The first Great JavaScript Awakening saw dozens of libraries before jQuery eventually won out. I hope I’m wrong, but I’m going to be looking at Backbone again, as well as React, Mithril and anything else to fall back upon if Angular proves to be a dead end.

Joe Maller
March, 2014

cross-posted here: https://gist.github.com/joemaller/9643049