Cross Platform development with VS Code

A quick tip for when using Visual Studio Code in a cross platform team. You may have tasks (in the tasks.json) config file. They may be specific for Bash or Powershell (such as in my case).

VS Code allows specific platform properties. So in my case I have the tasks use Bash for my Mac, whereas the other developers use Powershell on Windows. It’s as simple as defining an override for your platform like so (OSX):

Tasks.json example
Tasks.json example

Clipy a replacement for Clipmenu

Was really happy to find a replacement for the now unsupported clipboard manager Clipmenu today.

It’s called Clipy and acts just the same as Clipmenu but has a new snippet manager. What I found set both Clipmenu and Clipy apart when compared to other clipboard menu managers was the when you activated it via keyboard shortcut it would be right next to the cursor so you don’t have to shift your focus away from what you are doing to select the item you want to paste into your document.

Clipy
Clipy

You Are the Product

John Lanchester:

In the final three months of the US presidential campaign, the top-performing fake election news stories on Facebook generated more engagement than the top stories from major news outlets such as the New York Times, Washington Post, Huffington Post, NBC News and others.’ This doesn’t sound like a problem Facebook will be in any hurry to fix.

Recreate React from the ground up

Matt Greer:

In this five part series, we will “recreate” React from the ground up, learning how it works along the way. Once we’ve finished, you should have a good grasp of how React works, and when and why it calls the various lifecycle methods of a component.

What a great way to get an understanding of how React works.

Angular developers sigh with relief

The AngularJS community have felt a little nervous since the announcement of Angular 2 and the intention for it not to be backwards compatible. But can now breathe easy. A couple of days ago the Angular team posted on their blog the announcement that there will be a path to incremental upgrades so Angular 1 & 2 can co-exist in the same web app.

What is a senior developer?

Matt Briggs gives some broad descriptions of the levels of developers.

A senior developer understands that everything in our field involves tradeoff, and will look for what that is for design patterns, libraries, frameworks, and processes.

Software development is all about compromises, and prioritising the right ones.

The Auckland Fibre situation

Cloudflare have now setup a data center in Auckland which is great news for customers latency.

It was interesting to read about the Auckland fibre situation.

The Auckland fiber situation is an interesting one. Auckland is situated around a harbour. Over this harbour is a bridge which most of the fiber in the city runs across, with a small amount running via a much longer path around the harbour (think 30km longer fiber runs). Purchasing fiber between the areas of the city separated by the harbour costs more than a Kim Dotcom political party (i.e. a lot of money).