- The Log-Structured Merge-Tree (LSM-Tree)
- B-Tree vs Log-Structured Merge-Tree
- Modern B-tree techniques
- LSM-based Storage Techniques: A Survey
- B-tree Indexes and CPU Caches by Goetz Graefe and Per-Åke Larson
.forge-page { | |
background: red; | |
} |
CREATE TABLE audit_log ( | |
id serial PRIMARY KEY, | |
object_id uuid NOT NULL, | |
object_type VARCHAR(50), | |
event VARCHAR(50), | |
delta JSONB, | |
timestamp TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP | |
); |
[ | |
{ | |
"w": "あっち", | |
"k": "", | |
"k_en": "", | |
"m": "over there", | |
"wt": "Pronoun", | |
"j": 5, | |
"i": 1, | |
"c": "w" |
{ | |
"あっち": { | |
"index": 3, | |
"word": "あっち", | |
"kana": "", | |
"romaji": "", | |
"type": "Pronoun", | |
"jlpt": 5, | |
"meaning": "over there", | |
"card": "word", |
defmodule Cron do | |
use GenServer | |
@name __MODULE__ | |
def start_link(initial_map) do | |
GenServer.start_link(__MODULE__, initial_map, name: @name) | |
end | |
def add_job(key, job, interval) do | |
GenServer.cast(@name, {:add_job, {key, job, interval}}) |
# run with $ elixir --no-halt hello.exs | |
Mix.install([{:plug_cowboy, "~> 2.0"}]) | |
defmodule HWPlug.Plug do | |
import Plug.Conn | |
def init(options), do: options | |
def call(conn, _opts) do | |
conn |
cmake_minimum_required(VERSION 3.17) | |
project(Pong) | |
set(CMAKE_CXX_STANDARD 14) | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") | |
add_executable(Pong main.cpp pong.cpp pong.h) | |
import urllib.request | |
import urllib.parse | |
import json | |
import random | |
import tweepy | |
que = ['why', 'how', 'why', 'how', 'why', 'how', 'why', 'how', | |
'what', 'who', 'can', 'is', 'will', 'could', 'would'] | |
def auto_query(que, word): |