This is outis's Typepad Profile.
Join Typepad and start following outis's activity
Join Now!
Already a member? Sign In
outis
Recent Activity
Old post, and this will probably be lost among the spam, but... While joins themselves can't be accurately defined by Venn diagrams, the relationships between joins can be. With the left and right circles representing the left and right joins, their union is the outer join and their intersection is the inner join.
Toggle Commented Apr 19, 2011 on A Visual Explanation of SQL Joins at Coding Horror
@Mattias: other options include: 1. concurrency: for a slice, spawns threads to check each case for the slice. The successful thread will go on to spawn more threads. This will create O(lg(len(array))) threads) 2. continuations, which turn your brain inside-out. Here's a partial solution in Scheme, so as not to spoil it: (define (chop x items) (define (return x) x) (let* ((lohi (call/cc (lambda (k) (set! return k) (cons 0 (- (vector-length items) 1))))) (lo (car lohi)) (hi (cdr lohi))) ... ) )
Toggle Commented Mar 5, 2010 on Kata Two -- Karate Chop at CodeKata