Week of 17 July 2017

Jason Boxman
Jul 28, 2017 · 2 min read

Summary

Since my last job ended on 7 July, I have been busy searching for work. That has left little enough time for any actual programming.

On 22 July the Chingu Voyager cohort began. I’ve been chosen as the project manager for my team, a position I will try to execute with distinction. To start, I’ve created various planning artifacts in Google Docs and a new Github repo.

Concurrently, I have been experimenting with Oauth v2 authentication using passport. I forked the Koa passport example and updated it to use the github module. Rather than the classic redirect, I am sending back a HTML page with the user profile embedded. I plan on combining this with window.opener.sendMessage() to send the authentication response back to a Single Page Application (SPA).

One cool snip

This code takes advantage an async function to return a Promise. It creates an IIFE that closes over the user variable and returns an async function, with the enclosed user variable as its return value. That return value will be the fulfillment value of the Promise. The reason an IIFE is used is that it is not currently permissible to define an async function in the global scope.

Reading

So many things.

Metrics

Github commits (based on): 11

Jobs applied: 0

Informational interviews (scheduled): 0

Informational interviews (completed): 0

Written by

Technical writer and software developer.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade