Skip to content

Instantly share code, notes, and snippets.

View jbouwman's full-sized avatar

Jesse Bouwman jbouwman

  • Pasadena
  • 06:14 (UTC -12:00)
View GitHub Profile
@jbouwman
jbouwman / sb-fiber.md
Created May 8, 2026 09:42
Architectural notes on sb-fiber proposal
@jbouwman
jbouwman / fiber-bench.lisp
Created May 6, 2026 15:15
sb-fiber benchmark script and result on 2x Xeon(R) CPU E5-2699 v3 @ 2.30GHz
;;;; -*- mode: lisp -*-
;;;;
;;;; some scaling benchmarks for sb-fiber.
;;;;
;;;; Three sweeps:
;;;;
;;;; A. Multi-thread switch throughput
;;;; B. GC pause vs suspended-fiber population (single thread)
;;;; C. Cross-thread population stress (memory + parallel GC)
;;;;
@jbouwman
jbouwman / github-runner.nix
Created February 25, 2026 16:58
nixos github runner packaging
# Shared GitHub Actions runner configuration for NixOS hosts
# Usage: Import this module and set services.github-runner-config.enable = true
{ config, lib, pkgs, ... }:
let
cfg = config.services.github-runner-config;
hostname = config.networking.hostName;
runnerUser = "github-runner-${hostname}";
runnerUid = 993;
in
@jbouwman
jbouwman / il_candiero.md
Last active April 17, 2025 15:52
Lorenzo Magalotti's Gelato Recipe
J:
Design the world's most expensive and annoying alarm clock.
GPT:
Introducing the "Aurum Irritatus" – the world's most expensive and
annoying alarm clock!
Materials & Design:
@jbouwman
jbouwman / user.clj
Created September 20, 2022 17:33
Clojure Solr 9.0 Query POC
(ns user
(:import [org.apache.solr.client.solrj.impl Http2SolrClient$Builder]
[org.apache.solr.client.solrj SolrQuery]
[org.apache.solr.common SolrInputDocument]))
(defn make-client [url]
(.build (Http2SolrClient$Builder. url)))
(defn input-document [{:keys [id doc]}]
(let [document (SolrInputDocument.)]
@jbouwman
jbouwman / scrape.clj
Last active September 20, 2022 17:34
List all Wikidata Properties
(ns user
(:require [clojure.java.io :as io]
[hickory.core :as hickory])
(:import [java.net URL]))
(defn walk [value & [path]]
(letfn [(mapcat-indexed [f value]
(apply concat (map-indexed f value)))
(walk-map [i [k value]]
(walk value (conj (or path []) k)))