- copy
VSCode.idekeybindings
to~/Library/Developer/Xcode/UserData/KeyBindings
- in Xcode preferences -> key bindings, select VSCode
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
var hyperdb = require('hyperdb') | |
var hindex = require('hyperdb-index-level') | |
var level = require('level') | |
var ram = require('random-access-memory') | |
var db = hyperdb(ram, { valueEncoding: 'json' }) | |
var lvl = level('./index') | |
var idx = hindex(db, lvl, processor) | |
var alice = hyperdb(ram, { valueEncoding: 'json' }) |
we've had great success building modular database stuff on top of leveldb with node, but as I have learnt more about databases it's become apparent to me that the idea of a modular database would be better implemented at a slightly lower level.
Level db provides a sorted key:value store, which, because of the sorted property, many things can be implemented on top of. For example, for replication, or for consistent materialized views, we often need a write ahead log. This can easily be implemented via a batch write to level, and writing the log into a section of the leveldb key space which is treated as append only.