Skip to content

Instantly share code, notes, and snippets.

View jchris's full-sized avatar

Chris Anderson jchris

View GitHub Profile

The Fireproof Effect

Read the original post here

Fireproof’s groundbreaking data management approach leverages cryptographic techniques like Merkle proofs and prolly trees to support cloudless, data-anywhere capabilities. Because the data is verified and content-addressed, it can be trusted irrespective of its geographical location or source, allowing applications to interact with the fastest copy. Fireproof’s location independence significantly reduces operational burdens. It also allows the database to avoid setup or configuration until after your application is up and running.

Fireproof’s rigorous commitment to data security includes end-to-end encryption which manages keys separately from the data itself, enabling the data to be stored on untrusted services while the keys remain secure in your existing auth system.

The Shift to Browser-First Line-of-Business Apps

The Entailment Relationship in Turing Machines and the Lack of Aggregated Experience
Abstract:
The logical rules of a Turing machine dictate the behavior of the machine and its pattern implementation. This relationship between the rules and the patterns is one of entailment, meaning that the patterns are completely determined by the rules. This narrows the causal channel of the machine's substrate components, meaning that the behavior of the substrate is limited to the rules of the game and cannot be influenced by any other factors. As a result, the aggregation of animist experience from the matter level to the pattern level is prevented, as the rules of the game do not allow for any meaningful interaction between the substrate and the patterns.
Central Argument:
The central argument is that the rules of a finite state machine, such as a card game or a Turing machine, create an entailment relationship that blocks any meaningful causation between the units of the substrate. This results in a lack of aggregat
⌚️📸📺🔭💎🎥🏰🏍🛴🚲🎸🎻🛹🌂
import faunadb, {query as q} from 'faunadb'
const client = new faunadb.Client({
secret: "x"
});
// jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000
async function runThese() {
var edits = 20
import faunadb, {query as q} from 'faunadb';
const client = new faunadb.Client({
secret: "XXXXXX"
});
async function runThese() {
const ref = q.Ref(q.Class("posts"), 6)
@jchris
jchris / faunadb-local-hello.js
Last active July 13, 2017 18:51
connect to FaunaDB Developer Edition on localhost
var faunadb = require("faunadb");
var q = faunadb.query;
var client = new faunadb.Client({
secret: "secret",
scheme: 'http',
domain: '127.0.0.1',
port: 8443
})
@jchris
jchris / example.go
Created November 14, 2016 20:26
Executable example for FaunaDB Go release blog post
package main
import (
"fmt"
f "github.com/faunadb/faunadb-go/faunadb"
)
// I guess we can blog about how easy is to integrate your data structures with fauna using the go driver
// which, in my opinion, is one of the easiest so far.
@jchris
jchris / portfolio.md
Last active October 13, 2016 17:19
Code Portfolio

This is a non-exhaustive list of (mostly) open source work in roughly chronological order. Most of my production code is in Erlang, JavaScript, and Go, with application code in JavaScript, Objective-C, and C#. The theme that emerges is a focus on developer experience, and on pushing the envelope for edge compute.

Ruby on Rails

Apache CouchDB _users database

@jchris
jchris / _README.md
Last active September 25, 2015 13:29 — forked from brett19/_README.md

This is a listing of various examples used for the Couchbase Go SDK GA Release Blog.

Blog Post

@jchris
jchris / Couchbase Lite with React Native.md
Last active May 4, 2018 04:29
Couchbase Lite with React Native

Couchbase Lite with React Native

I went into this expecting a challenge but it was easy. Basically, Couchbase Lite has always had an optional HTTP listener that you can connect to from inside your app at http://lite.couchbase./mydatabase/. React Native has a fine XHR module and encourages using fetch so getting your app to sync can be as easy as adding some API calls to keep JSON in the database.

We haven't done a full example yet, but in the spirit of possiblity, here are quick instructions to connect Couchbase Lite iOS with a React Native app (generated from their cli).