View popcount.go
package main
import (
"fmt"
"testing"
"time"
)
const N = 8
View OS.md
  • Solve the easiest possible problem in the dumbest possible way.
  • Write a test for it.
  • Is there a better name for this thing?
  • Can we move work between query time (when we need the answer) and ingest time (when we see the data that eventually informs the answer)?
  • Is it easier in a relational data store? A KV Store? A column store? A document store? A graph store?
  • Can performance be improved by batching many small updates?
  • Can clarity be improved by transforming a single update to more smaller updates?
  • Can we more profitably apply a functional or declarative or imperative paradigm to the existing design?
  • Can we profitably apply a change from synchronous to asynchronous, or vice versa?
  • Can we profitably apply an inversion of control, moving logic between many individual call sites, a static central definition, and a reflectively defined description of the work to be done?
View Makefile
cat: lex.yy.c
cc -o cat lex.yy.c -ll
lex.yy.c: cat.l
lex cat.l
clean:
rm -f lex.yy.c
rm -f cat
View client.go
package main
import (
"io"
"log"
"mime/multipart"
"net/http"
"os"
"path/filepath"
"runtime"
View pipeTee.go
package main
import (
"bufio"
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"sync"
View example.go
// Pipe creates a synchronous in-memory pipe.
// It can be used to connect code expecting an io.Reader
// with code expecting an io.Writer.
// Reads on one end are matched with writes on the other,
// copying data directly between the two; there is no internal buffering.
// It is safe to call Read and Write in parallel with each other or with
// Close. Close will complete once pending I/O is done. Parallel calls to
// Read, and parallel calls to Write, are also safe:
// the individual calls will be gated sequentially.
View jq-insert-var.sh
# Add field
echo '{"hello": "world"}' | jq --arg foo bar '. + {foo: $foo}'
# {
# "hello": "world",
# "foo": "bar"
# }
# Override field value
echo '{"hello": "world"}' | jq --arg foo bar '. + {hello: $foo}'
{
View README.md
View journals.mrc
01571cas a22003611a 45 001001200000005001700012008004100029010003600070022001400106032001700120035001600137037006600153040012800219049001700347050001800364210002700382222004000409245010200449246004000551260004500591300002700636310001900663362005700682500002200739500006900761515003100830650004900861650003600910650003200946710006000978780006301038785010801101testsample120091117105557.0840328d19831987nyufx1p o 0 a0eng d a 84643014 //r88zsn 84011556 0 a0748-1985 a002051bUSPS aocm10569413 bHuman Sciences Press, Inc., 72 5th Ave., New York, N.Y. 10011 aKSWcKSWdCLUdAIPdNSTdDLCdNSDdNSTdDLCdHULdNSTdNSDdNLMdNSTdNSDdNSTdNSDdDLCdNSTdNSDdNSTdCLUdNSTdOCLdPVU aPVUP[SERIAL]00aAC489.R3bJ680 aJ. ration. emot. ther. 0aJournal of rational emotive therapy00aJournal of rational emotive therapy :bthe journal of the Institute for Rational-Emotive Therapy.13aJournal of rational-emotive therapy a[New York] :bThe Institute,c1983-1987. a5 v. :bill. ;c26 cm.