Cours langage GO - annotation - Anthony Le Goff
#INTRO ALGORITHME SOUS GO De l'écriture du premier programme à la logique informatique golang
Premier programme et présentation de "hello world"
# This tip shows how to retreive a Spark Room Id with the Cisco Spark API | |
# It leverages curl, jq and base64 commands | |
# Let’s retreive Room Details for "spark4devs" | |
> SPARK_TOKEN="pick your spark token from https://developer.ciscospark.com" | |
> curl -X GET -H "Authorization: Bearer $SPARK_TOKEN" "https://api.ciscospark.com/v1/rooms?max=1000" | jq '.items[] | select(.title | contains("spark4dev"))' | |
{ | |
"id": "Y2lzY29zcGFyazovL3VzL1JPT00vZDJmZGUwOTAtOWQwYy0xMWU1LWFlZWQtMjE3NmZkY2Q4YTU4", | |
"title": "#spark4dev - Public Support for Cisco Spark API", | |
"type": "group", |
Cours langage GO - annotation - Anthony Le Goff
#INTRO ALGORITHME SOUS GO De l'écriture du premier programme à la logique informatique golang
Premier programme et présentation de "hello world"
Brief notes on Meteor for CS 294-101. Many of the key architectural ideas in Meteor are described at https://www.meteor.com/projects.
BSD as example of great system design. Application primitives: processes run by a scheduler, sockets, sys calls, virtual memory, mbufs. What makes something a platform. Unix vs Multics.
History of application architectures. Mainframes (e.g. IBM 360 / 3270), client-server (e.g. Win32), web (e.g. LAMP), cloud-client. Oscillation of where the software runs. Thin vs thick clients, data vs presentation on the wire. Changes driven by massive forces (cheap CPUs, ubiquitous internet, mobile). New architecture for each era.
What it takes to make modern UI/UX. Mobile. Live updating. Collaboration. No refresh button. All drive the need for “realtime” or “reactive” system. Very different from HTTP era.
Four questions: 1 — how do we move data around; 2 — where does it come from; 3 — where do we put it; 4 — how do we use it?
'use strict'; | |
module.exports = function CustomError(message, extra) { | |
Error.captureStackTrace(this, this.constructor); | |
this.name = this.constructor.name; | |
this.message = message; | |
this.extra = extra; | |
}; | |
require('util').inherits(module.exports, Error); |