- ✔ Platform [pass: 1, fail: 0, duration: 1ms]
- ✔ add and remove [pass: 20, fail: 0, duration: 1ms]
- ✔ emit one array [pass: 48, fail: 0, duration: 4ms]
- ✔ emit many values - two listeners [pass: 30, fail: 0, duration: 3ms]
- ✔ emit one object - one listener [pass: 40, fail: 0, duration: 2ms]
- ✔ emit one object - two listeners [pass: 54, fail: 0, duration: 1ms]
- ✔ emit one value - bound function [pass: 51, fail: 0, duration: 1ms]
- ✔ emit one value - many listeners [pass: 36, fail: 0, duration: 3ms]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TAP version 13 | |
# Platform | |
ok 1 (unnamed assert) | |
Node.js 6.2.1 on Linux 64-bit | |
1..1 | |
# tests 1 | |
# pass 1 | |
# ok |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules | |
npm-debug.log* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"animal": "chinchilla" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Ws = require('websocket-stream') | |
var ws = Ws('ws://localhost:8000') | |
var stream = require('readable-stream') | |
var h = require('virtual-dom/virtual-hyperscript/svg') | |
var vraf = require('virtual-raf') | |
var vdom = require('virtual-dom') | |
var keycode = require('keycode') | |
var state = { x: 0, y: 0 } | |
var step = 0.01 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express') | |
var bodyParser = require('body-parser') | |
/* | |
RESTful HTTP API routing | |
example: `/things` resource | |
GET /things -> [{ id: 0, name: "computer" }, { id: 1, name: "javascript" }] | |
POST /things { name: "desk" } -> { id: 2, name: "desk" } |
continuing from the Local Food Northland Software Project document
Similar to what physical tools you have available on your work site, computer systems are tools we rely on to facilitate the work we do. This project requires us to build new computer systems, yet we want these systems to be re-usable for ourselves in other projects as well as others. To achieve this, for this project we are not building one tool, we are building an ecosystem of tools (re-usable micro-services) that each focus on a single concern of the overall problem space. To limit our scope, we will only commit to building the features of these tools that we need for this project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var runSerial = require('run-serial') | |
var runParallel = require('run-parallel') | |
var createKitchen = require('@eda/kitchen') | |
var lifeskills = require('lifeskills') | |
var kitchen = createKitchen(process.env.KITCHEN) | |
var { dishes, dishwasher, dryingRack } = kitchen | |
function startDishwasher (callback) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15:54] | |
Gina Rembe dear universe, I’m keen to learn more about Blockchain… what are your favourite articles or videos? Wikipedia is failing me with too much tech language. | |
[16:19] | |
Mikey Williams @gina: what in particular are you interested in learning about, or why? "Blockchain" is a buzzword similar to "Cloud", it's become a catch-all term for fuzzily related ideas, initially based on deeply technical concepts. in my opinion a blockchain is a particular type of database based on "public-key cryptography" (https://en.wikipedia.org/wiki/Public-key_cryptography), "content-addressable storage" (https://en.wikipedia.org/wiki/Content-addressable_storage) (often as a "merkle tree" (https://en.wikipedia.org/wiki/Merkle_tree)) , and "kappa architecture" (http://www.confluent.io/blog/turning-the-database-inside-out-with-apache-samza/). it's usually often in reference to computable contracts, distributed consensus, and continuous economic growth. maybe @mix can be more helpful, i'm too technical by nature.(edited) | |
[16 |