Skip to content

Instantly share code, notes, and snippets.

View escherize's full-sized avatar

bryan escherize

View GitHub Profile
@escherize
escherize / emma-sleep-report-v2.md
Created April 1, 2026 18:54
Emma Sleep Report v2 — Comprehensive Guide (kit's greenhouse)

Emma Sleep Report — Comprehensive Guide

Compiled from kit's greenhouse consultations, March–April 2026 Baby: Emma, ~6 months, breastfed


Table of Contents

  1. The Problem
@escherize
escherize / emma-sleep-report.md
Created April 1, 2026 18:52
Emma Sleep Consultation Report — kit's greenhouse

Emma Sleep Consultation — Summary Report

Compiled from kit's greenhouse chat — March/April 2026


Background

Emma is approximately 6 months old, breastfed, and experiencing bedtime settling difficulties with frequent night wakes until 9–10pm, followed by a longer sleep stretch after a late feed.

@escherize
escherize / accountability-process-goals.md
Last active April 1, 2026 16:45
Accountability as giving an account - process goals vs outcome goals

Accountability as "Giving an Account"

The Core Idea

The word "accountable" contains its own definition: the ability to give an account - a story - of what you did.

Accountability isn't about outcomes. It's about process goals - routines you control that give you a good likelihood of success.

Process Goals vs Outcome Goals

@escherize
escherize / claude-allow
Created March 31, 2026 16:04
claude-allow - Add a permission to Claude Code's allow list
#!/bin/bash
if [[ "$1" == "-h" || "$1" == "--help" || -z "$1" ]]; then
cat <<'EOF'
claude-allow - Add a permission to Claude Code's allow list
Usage: claude-allow <permission>
Appends <permission> to the permissions.allow array in ~/.claude/settings.json.
@escherize
escherize / enhance-usage-analytics-for-embedding.md
Created March 30, 2026 19:36
Enhance Usage Analytics for Embedding - AI Report

Enhance Usage Analytics for Embedding

Branch: enhance-usage-analytics-for-embedding Date: 2026-03-24 Stakeholders: Roman (spec owner), Vamsi (PM), John Swanson (tech design), Ben Grabow (implementation), Alessio Laiso (hackathon demo/mockup), Eliot (optional) Tech doc: Linear doc

What and Why

Metabase's embedding customers lack visibility into how their embedded content is being used. The view_log and query_execution tables already capture some embedding context (embedding_client, embedding_version since v51), but don't track auth method, tenant, GDPR-sensitive request metadata, or security enforcement flags.

Upgrade Audit Analysis — 7795a09d5f1

Date: 2026-03-04 Branch: source-replacement Commit: 7795a09d5f1 — "Skip non-field refs in upgrade-field-ref-to-name"


1. Executive Summary

@escherize
escherize / mandarin-curriculum-youtube-links.md
Created March 1, 2026 00:48
Mandarin Kids Curriculum — YouTube Links (Peppa Pig + Little Fox by unit)
2025-11-19 16:35:14,685 WARN api.macros :: Warning: no regex explicitly specified or inferred for metabase-enterprise.content-translation.routes :get "/dictionary/:token" route param :token, add an :api/regex key to its schema or explicitly specify route regexes.
{:clojure.main/message
"Syntax error compiling at (martian/hato.clj:45:3).\nNo such var: interceptors/default-encode-body\n",
:clojure.main/triage
{:clojure.error/phase :compile-syntax-check,
:clojure.error/line 45,
:clojure.error/column 3,
:clojure.error/source "hato.clj",
:clojure.error/path "martian/hato.clj",
:clojure.error/class java.lang.RuntimeException,
Unstaged
modified src/metabase/lib/metadata/calculation.cljc
@@ -22,7 +22,8 @@
[metabase.util.i18n :as i18n]
[metabase.util.log :as log]
[metabase.util.malli :as mu]
- [metabase.util.malli.registry :as mr]))
+ [metabase.util.malli.registry :as mr]
+ [malli.error :as me]))
{
"database_id": 13371337,
"parameterized": false,
"started_at": "2025-08-19T22:24:07.03818Z",
"via": [
{
"status": "failed",
"class": "class org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException",
"error": "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(order by `source`.`running_time_seconds`) AS `Percentile 90 of query running ti' at line 2",
"stacktrace": [