DJI Mavic Pro Now Available for Pre-order $999

DJI just announced their answer to the GoPro Karma and it’s smaller with more features but also costs more. I really like how the Mavic has a vision system that can track people (and animals apparently). Based on the teaser video, I like the compactness of the Mavic and its controller. It’s not pocketable, but it looks like it could fit into an existing bag and not requires a special carrying case like the Karma. I think another big selling point will be DJI’s experience with drones compared to GoPro’s late entry into the crowded market. Take a look at the review from TechCrunch:

I think overall I would pick the Mavic over the Karma. The features, extra compactness and DJI backing make the price increase worth it. I guess this means that my bank account will be $1k lighter in the near future.

React v15.3.2 Released


Another day and another release from the React team. React v15.3.2 looks mostly to be performance improvements and bug fixes. This is pretty similar to the v15.3.1 release. Nothing game-changing but I do appreciate somewhat frequent updates (about a month apart). Full list of updates/fixes are:


  • Remove plain object warning from React.createElement & React.cloneElement. (@spudly in#7724)

React DOM

  • Add playsInline to supported HTML attributes. (@reaperhulk in #7519)
  • Add as to supported HTML attributes. (@kevinslin in #7582)
  • Improve DOM nesting validation warning about whitespace. (@spicyj in #7515)
  • Avoid “Member not found” exception in IE10 when calling preventDefault() in Synthetic Events. (@g-palmer in #7411)
  • Fix memory leak in onSelect implementation. (@AgtLucas in #7533)
  • Improve robustness of document.documentMode checks to handle Google Tag Manager. (@SchleyB in #7594)
  • Add more cases to controlled inputs warning. (@marcin-mazurek in #7544)
  • Handle case of popup blockers overriding document.createEvent. (@Andarist in #7621)
  • Fix issue with dangerouslySetInnerHTML and SVG in Internet Explorer. (@zpao in #7618)
  • Improve handling of Japanese IME on Internet Explorer. (@msmania in #7107)

React Test Renderer

React Perf Add-on

  • Ensure lifecycle timers are stopped on errors. (@gaearon in #7548)

GoPro Karma Drone Unveiled and only $799

I think everyone has been wondering when GoPro would release a drone so this is definitely not a huge surprise. I will say the collapsible design looks nice and makes it far easier to carry around than other drones. I’m not sure how the front-mounted camera will do compared to the gimbal mounted cameras on the bottom of most drones but I’m sure there will be plenty of footage to compare. I’m also curious about the durability of the drone since GoPro is known for making pretty durable cameras so I’m hoping their drone is also top-notch. The price tag is definitely on the high side – especially considering the $799 doesn’t include a camera (GoPro Hero 3 and Hero 4 models are compatible). But a high price tag might mean this drone is actually a step above the others and it might be worth of my hard-earned money.

Definitely check out the video to see for yourself. And then answer the most important question: buy or wait?

React Router v4.0 Coming Soon

React Router

So there’s another major breaking version of React Router coming. I thought I was really behind because I was still running v2.0 – what happened to v3.0? Then I read this on the v4.0 RC release notes:

Yes, there will still be a 3.0 release (soon!). It is simply v2.0 without any deprecation warnings. We intend to keep supporting the 3.x branch indefinitely (published separately on npm to aid in migration), although there will likely not be any future major versions based on that code. 4.0 is the future, but we won’t leave you hanging if you want to stick with 2.x/3.x.

So technically I could stick with v2.0 and eventually upgrade to v3.0 without having to change too much. But of course, that line about v4.0 being the future gets my FOMO to rise and I figure I should look into v4.0. And what do I learn about v4.0? The following is a good start to understand the why behind the change:

Why the huge change? (AGAIN?!)

tl;dr Declarative Composability.

We’ve never been this excited about React Router. Like you, we’ve learned a lot about React since we first picked it up. We built a Router the best we knew how along the way. What we’ve learned most is that we love React because of its declarative composability.

So what should we do? Not sure yet, but I sure am conflicted. Luckily, everything in progress is going to remain on v2.0 and I will wait to see where things land. Got to love how fast things move and break and get rebuilt and get broken again. I wouldn’t want to be part of any other community – this reflects my inability to focus perfectly and I feel right at home.

Node v6.6.0 Released


Node just released v6.6.0 and you can upgrade from v6.5.0. Updates are becoming pretty frequent since v6.5.0 was just released Aug 29th so less than a month ago. No major breaking changes and no major bug fixes – looks like mostly enhancements and additional functionality. Notable changes are:

  • crypto: Added crypto.timingSafeEqual(). (not-an-aardvark) #8304
  • events: Made the “max event listeners” memory leak warning more accessible. (Anna Henningsen) #8298
  • promises: Unhandled rejections now emit a process warning after the first tick. (Benjamin Gruenbaum) #8223
  • repl: Added auto alignment for .editor mode. (Prince J Wesley) #8241
  • util: Some functionality has been added to util.inspect():
    • Returning this from a custom inspect function now works. (Anna Henningsen) #8174
    • Added support for Symbol-based custom inspection methods. (Anna Henningsen) #8174

I’m happy to see the updates coming out and hopefully everyone has already upgraded from v4 to v6 so we can start focusing on v6 going forward. Go start upgrading.

Angular 2.0 Final Release

Angular 2.0

Angular 2.0 is out of beta and is officially “final” – and yes, I didn’t know what “final” meant either. So from official post, here is what final means:

What does “final” mean? Stability that’s been validated across a wide range of use cases, and a framework that’s been optimized for developer productivity, small payload size, and performance. With ahead-of-time compilation and built-in lazy-loading, we’ve made sure that you can deploy the fastest, smallest applications across the browser, desktop, and mobile environments. This release also represents huge improvements to developer productivity with the Angular CLI and styleguide.

I haven’t looked at Angular in a while. The last time I built anything with Angular, 2.0 wasn’t even announced. The performance improvements look good (can’t wait until someone does some benchmarking). And the components look interesting, similar to React actually. Guess I have something else to add to my to-do list.

Drone Surfing? Yes, I Want

I keep finding more reasons why I want a drone (like this one) but still can’t get myself to pull the trigger. Looking through the comments, I don’t know if this is real or not, but I imagine this would be possible (or eventually possible). I also feel like this continues my interest in board activities – snowboarding, wakeboarding and hopefully one day boosted boarding. Hope you enjoy the video and if you happen to get one of these, let me have a ride.

Getting Dokku, WordPress and Let’s Encrypt SSL Working


If you’re reading this, you’re probably trying to get WordPress running on Dokku. Hopefully you have already figured out how to setup/connect MySQL. Once you have that, your WordPress site should be accessible (over http). But then you’ll probably want to have your site accessible over https because Google is now ranking secure sites higher and even Google Chrome is warning if sites aren’t transmitting over SSL. So, you probably found the Let’s Encrypt plugin for Dokku and installed an SSL certificate. And this is probably where you hit and problem that led to a Google search and led you here. Your site will automatically redirect from to but you’ll get mixed content warning because the site is trying to load external assets over http instead of https. You probably also get stuck in a infinite redirect loop (ERR_TOO_MANY_REDIRECTS) when trying to login to the admin panel. I did a lot of researching and couldn’t find a solution but eventually found someone who had figured out what was causing this problem. The easy explanation is that WordPress didn’t realize it was being requested over SSL and therefore didn’t load its assets over SSL. To fix this, you just need to add the following to your wp-config.php file:

    $_SERVER['HTTPS'] = 'on';

This basically detects if the request is going over SSL and sets the HTTPS server variable to on so that WordPress will treat the request as a secure request. This is due to the fact that we’re using nginx which was causing WordPress to think the request was a non-secure request. I hope this helps someone. Happy hacking.

Google Spreadsheet API – Invalid query parameter value for grid_id

Google Sheets

I’m working on a Node/React project and I’m using the Google Spreadsheet API and hit the following error:

Error: HTTP error 400 (Bad Request) - Invalid query parameter value for grid_id.

There was nothing obvious wrong with my call:

doc.addRow(0, newObject, function(err) {});

After a little investigation, I found out that the grid_id actually represents the id of the worksheet/tab. And I also found documentation that says the index begins at “1” instead of “0”. Not a huge problem (although, unintuitive in my opinion) and relatively quick to investigate and fix. Hope this helps someone else in the future.

Lyft Android SDK and Lyft Button

Lyft Android SDK

Just came across this announcement from the Lyft development team and was pretty impressed (although I wish it was for iOS instead of Android). I really like the idea of companies providing SDKs like this where as an app developer, I can actually leverage this SDK to provide useful functionality to my users, monetize my users and help a startup I actually respect grow their users and drive business. And the company gets to benefit by extending their reach through app developers which is a win/win. This is actually a really genius idea in my opinion. I could imagine other blank-as-a-service startups provide similar SDKs so that more app developers can help grow their user base. It’s probably just ridiculous enough to work but I was thinking of a Pokemon Go app that would identify rare pokemon and determine if you could get there via Lyft in time before it vanished. If you build it, make sure to give me some credit. Okay, not sure if I’ll actually end up using this (at least I’ll wait until there’s an iOS SDK) but if I do, I would probably build a React Native wrapper around it (or if the Lyft platform team is reading this, go ahead and just build a React Native plugin for everyone). Happy hacking.