I hereby claim:
- I am timbogit on github.
- I am timbo (https://keybase.io/timbo) on keybase.
- I have a public key whose fingerprint is 0CD5 7CF6 3F1B 0738 9C42 88CE 5C03 85B5 D217 24BF
To claim this, I am signing this object:
{"hello": "world"} |
I hereby claim:
To claim this, I am signing this object:
We are building a set of applications that have will show deals (aka. 'inventory items') available in or near a given city. These items can also be organized by a 'category' (aka. tags), to cater to the various customers' areas of interest.
To bootstrap things, and to get us focussed on some key areas of developing in a SOA, we have gone ahead and built these apps out at varying stages. The workshops will focus on showing some of this code, and intersperse exercises to add features, or to refactor.
#(first (reduce-kv | |
(fn [res k v] | |
(if (or | |
(clojure.set/subset? #{0 1 2} v) | |
(clojure.set/subset? #{3 4 5} v) | |
(clojure.set/subset? #{6 7 8} v) | |
(clojure.set/subset? #{0 3 6} v) | |
(clojure.set/subset? #{1 4 7} v) | |
(clojure.set/subset? #{2 5 8} v) | |
(clojure.set/subset? #{0 4 8} v) |
obj = Object.new | |
puts "obj is #{obj}" | |
eigobj = class << obj | |
self | |
end | |
puts "Eigenclass of obj is #{eigobj}" | |
puts "Superclass of the eigenclass of obj is #{eigobj.superclass}" | |
eigclassobj = class << obj.class |
package main | |
import "code.google.com/p/go-tour/pic" | |
func Pic(dx, dy int) [][]uint8 { | |
// allocate 'dy' row slices of []unit8 | |
rows := make([][]uint8, dy) | |
for i, row := range rows { | |
// allocate 'dx' uint8 points in each row | |
row = make([]uint8, dx) |
package main | |
import ( | |
"code.google.com/p/go-tour/wc" | |
"strings" | |
) | |
func WordCount(s string) map[string]int { | |
res := make(map[string]int) |
package main | |
import ( | |
"fmt" | |
"math/cmplx" | |
) | |
func Cbrt(x complex128) complex128 { | |
z := complex128(1) | |
for i := 0; i < 100; i++ { |
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
type String string |
package main | |
import ( | |
"code.google.com/p/go-tour/tree" | |
"fmt" | |
) | |
// Walk walks the tree t sending all values | |
// from the tree to the channel ch. | |
func Walk(t *tree.Tree, ch chan int) { |