This file contains 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
The Eight Fallacies of Distributed Computing | |
Essentially everyone, when they first build a distributed application, makes the following eight assumptions. All prove to be false in the long run and all cause big trouble and painful learning experiences. | |
1. The network is reliable | |
2. Latency is zero | |
3. Bandwidth is infinite | |
4. The network is secure | |
5. Topology doesn’t change | |
6. There is one administrator |
This file contains 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
package main | |
import "fmt" | |
type Human interface { | |
myStereotype() string | |
sex() string | |
} | |
type Man struct { |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> | |
</head> | |
<body ng-app="myApp" > | |
<header ng-controller="JeanCtrl as jean"> | |
<h1>Hello {{jean.name}}</h1> |
This file contains 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
#!/bin/sh -e | |
clean() | |
{ | |
rm -rfv $1/.*~ | |
rm -rfv $1/*~ | |
rm -rfv $1/*.default | |
rm -rfv $1/*.sample | |
} |