Time clock and the ordering of events in a distributed system
Consensus on Transaction Commit
An empirical study on the correctness of formally verified distributed systems
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "github.com/golang/glog" | |
| "github.com/spf13/cobra" | |
| "github.com/spf13/pflag" | |
| "github.com/spf13/viper" |
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
Say you want to test something like maybe run something in minikube locally but connect to something running in the kube cluster.
Do your kube port foward
kubectl --context k8s-uw1-gcp port-forward prometheus-prometheus-server-7b6f9d99f8-m4vt6 9090
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| type Animal interface { | |
| MakeSound() string | |
| } |
This reference guide shows how to configure a TypeScript Node.js project to work and compile to to native ESM.
CommonJS module system was introduced by the Node.js developers due to the lack of the notion of "modules" in the original JavaScript (ECMAScript) language specification at that time. However, nowadays, ECMAScript has a standard module system called ESM — ECMAScript Modules, which is a part of the accepted standard. This way CommonJS could be considered vendor-specific and obsolete/legacy. Hopefully, TypeScript ecosystem now supports the "new" standard.
So the key benefits are: