Skip to content

Instantly share code, notes, and snippets.

View AndyMoreland's full-sized avatar

Andrew Moreland AndyMoreland

View GitHub Profile
@AndyMoreland
AndyMoreland / index.html
Last active August 13, 2026 22:32
Simple HTML page served from a Chalk scaling group
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hello from a Chalk scaling group</title>
<style>
:root { color-scheme: light dark; }
body {
font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
@AndyMoreland
AndyMoreland / dag.html
Created February 28, 2026 21:19
Chalk DAG with sparkles flowing through the graph
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>DAG – Sparkles</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: #0d1117;
display: flex;
@AndyMoreland
AndyMoreland / multi_namespace_main.go
Last active January 7, 2026 18:47
Golang examples for querying Chalk with multiple input namespaces (user.id and author.id) - with expected output
package main
import (
"context"
"fmt"
"log"
"github.com/chalk-ai/chalk-go"
)
@AndyMoreland
AndyMoreland / multi_namespace_main.go
Created January 7, 2026 18:35
Golang examples for querying Chalk with multiple input namespaces (user.id and account.id)
package main
import (
"context"
"fmt"
"log"
"github.com/chalk-ai/chalk-go"
)
@AndyMoreland
AndyMoreland / multi_namespace_main.go
Created January 7, 2026 18:32
Golang examples for querying Chalk with multiple input namespaces (user.id and account.id)
package main
import (
"context"
"fmt"
"log"
"github.com/chalk-ai/chalk-go"
)
Thread 73 (Thread 0x7ac1a62bc6c0 (LWP 1808) "telemetry-cpu15"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ac4815f37af in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#2 0x00007ac48164282c in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#3 0x00007ac474294fb1 in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#4 0x00007ac47428c401 in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#5 0x00007ac48165deac in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#6 0x00007ac47419b393 in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#7 0x00007ac48163b1ff in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so

Keybase proof

I hereby claim:

  • I am andymoreland on github.
  • I am andymoreland (https://keybase.io/andymoreland) on keybase.
  • I have a public key ASCa2VlKr2QStLgs-6Yv1RS2eE1HBpM0okzaqzrnSHKa2go

To claim this, I am signing this object:

@AndyMoreland
AndyMoreland / init.el
Created December 21, 2015 23:53
Typescript compiler error regexp for emacs M-x compile
(add-hook 'typescript-mode-hook
(lambda ()
(add-to-list 'compilation-error-regexp-alist
'("^\\([_.[:alnum:]-/]*.ts\\)(\\([[:digit:]]+\\),\\([[:digit:]]+\\)).*$" 1 2 3))))
<html>
<head>
<style>
#container {
overflow-y: scroll;
overflow-x: hidden;
width: 100px;
height: 100px;
}
</style>