Skip to content

Instantly share code, notes, and snippets.

View jgrund's full-sized avatar

Joe Grund jgrund

View GitHub Profile
Aug 14 17:20:36 node1 kuma-cp[17624]: fatal error: concurrent map writes
Aug 14 17:20:36 node1 kuma-cp[17624]: goroutine 87718 [running]:
Aug 14 17:20:36 node1 kuma-cp[17624]: runtime.throw(0x27813f1, 0x15)
Aug 14 17:20:36 node1 kuma-cp[17624]: /usr/lib/golang/src/runtime/panic.go:1117 +0x72 fp=0xc003f09420 sp=0xc003f093f0 pc=0x4384f2
Aug 14 17:20:36 node1 kuma-cp[17624]: runtime.mapassign(0x2296de0, 0xc000cb02a0, 0xc003f09508, 0x0)
Aug 14 17:20:36 node1 kuma-cp[17624]: /usr/lib/golang/src/runtime/map.go:585 +0x5aa fp=0xc003f094a0 sp=0xc003f09420 pc=0x41006a
Aug 14 17:20:36 node1 kuma-cp[17624]: github.com/kumahq/kuma/pkg/xds/server/callbacks.(*DataplaneLifecycle).register(0xc0009fe1c0, 0x2a, 0xc001f0f200, 0x7, 0xc001f0f208, 0x32, 0x0, 0x0, 0xc001c74460, 0x91, ...)
Aug 14 17:20:36 node1 kuma-cp[17624]: /__w/pkg-kuma/pkg-kuma/rpm/BUILD/kuma-1.2.3/pkg/xds/server/callbacks/dataplane_lifecycle.go:53 +0x2f0 fp=0xc003f09538 sp=0xc003f094a0 pc=0x1fe10d0
Aug 14 17:20:36 node1 kuma-cp[17624]: github.com/kumahq/kuma/pk

Prototypes

####Objectives

  1. Students will understand what a prototype is.
  2. Students will understand what the prototype chain is.
  3. Students will learn how to get an objects prototype via Object.getPrototypeOf
  4. Students will learn how to perform prototype linking via Object.setPrototypeOf
  5. Students will learn the class keyword in ES6 and how it simplifies simulated OOP.
authMessage : function(data) {
var self = this;
$rootScope.$apply(function () {
if (_.has(data, 'access_token')) {
self.session = data;
self.accessToken = data.access_token;
self.expires = data.expires;
self.authenticated = true;
console.log('resolving sesion');
console.log('late resolve');
@jgrund
jgrund / gist:3379434
Created August 17, 2012 14:52
Comprehension With destructuring assignment
response = [
[
"folder",
{
"collection": "",
"name": "Data Object Folder Entry",
"schema": ""
}
],
[