Skip to content

Instantly share code, notes, and snippets.

View joelkuiper's full-sized avatar

Joël Kuiper joelkuiper

View GitHub Profile

How do you write a religion for the 23rd century in a 21st-century context?

You start with the basics. You are a very simple person: "how does the world look?" What happens between sleeping and waking? Do you still know your name then? What do we hear in philosophy? And then life falls into repetition. Birds chirping, I'm hungry, I'm tired. The rhythm of warmth in the morning. What do I see there? And just waiting. What am I doing here?

“How does the world look?” you then ask another. What do you eat that I do not? The apple of knowledge and power. And just waiting for redemption, for enlightenment, “why is this so?”

And then you start again with the basics. The words flow, you and I? Where has the other gone? Whispering, you don't know who's listening. Danger? "Am I in danger?" And then rhythms of cold and heat. Day and night. I'm just a bit smarter, "right?" and just waiting. I am a very simple person, someone does something stupid and it's not me. Wait. Now I've got you!

A bit of play. Like captured

“dan denk ik dat, gegeven deze transgressie, het in ons wederzijds belang is om onze middelen te delen om zo tot een betere toekomst te bouwen”

“echter, gegeven deze transgressie, lijkt het mij het gezien onze gedeelde belangen, gezamenlijk beneficial om elkaar te helpen in deze bijzondere humanitaire crisis”

“geef ons wat tijd, om ons voortschrijdend inzicht het werk voor ons te laten doen, zodat we samen kunnen delen in onze gemeenschappelijke toekomst”

“dit is niet leuk, voor niemand niet, laat staan de onschuldigen in een conflict als deze; dat had niet gehoeven. Laten we dan ook niet alleen ons spijt, maar ook onze dankbaarheid, betuigen dat we nog bestaan”

“in het geval van wederzijdse escalatie met als doel wereldwijde vernietiging, dan zal onze strategie een van overgave zijn aan de winnende partij”

@joelkuiper
joelkuiper / secret.md
Last active May 3, 2024 16:49
Book draft notes

In this fantasy proxy fantasized me is being being interrogated for a job interview. But it's an unusual one: dimly lit as if a crime scene investigation. Unease and tension. 3 blank stares and a subject: me.

Why did you apply for program C-51?

I have an idea

Before we proceed could you state your name, data and place of birth, and the current date?

I am Joël Kuiper, born 21st of January 1988 in Leeuwarden, today is 20-07-2023

Proceed.

@joelkuiper
joelkuiper / chatgpt.clj
Last active January 31, 2024 12:37
Book checking with the ChatGPT API
#!/usr/bin/env bb
(require '[babashka.http-client :as client])
(require '[cheshire.core :as json])
(require '[babashka.fs :as fs])
(require '[clojure.string :as str])
(require '[babashka.process :refer [shell] :as p])
(defn read-edn-path
[path]
(ns vortext.esther.jna.llama
(:gen-class)
(:refer-clojure :exclude [remove printf]) ;; [WARNING]
(:require [com.phronemophobic.clong.gen.jna :as gen]
[clojure.edn :as edn]
[babashka.fs :as fs]
[clojure.java.io :as io]))
(def library-options
{com.sun.jna.Library/OPTION_STRING_ENCODING "UTF8"})
Supermicro CSE-813MFTQ-441CB BLACK
1xProcessor: Intel(R) Xeon(R) CPU E5-2620 v3 (6/12) @ 2.40GHz
8x16GB DDR4 (128GB) Max Capable Speed: 2133 MHz
2x2TB Samsung SSD 860
2x240GB Intel SSDSC2BB24
1x10Gtek Intel E10G42BTDA 82599ES Chip 10GbE Ethernet
Supermicro Case 2U 920W CSE-826BE16-R920LPB
2xProcessor: Intel(R) Xeon(R) CPU E5-2680 v3 (12/24) @ 2.50GHz
8x16GB DDR4 (128GB) Max Capable Speed: 2133 MHz
@joelkuiper
joelkuiper / move_util.py
Created January 1, 2022 21:28
Utility for copying files with time stamps to folders by week
import os
import shutil
import glob
import re
import dateutil.parser as dp
import pandas as pd
base_dir = "L_frames"
output_dir = "by_week"
files = glob.glob(os.path.join(base_dir, "*"))
(ns app.keycloak
(:require
[app.config :as config]
[clj-http.client :as client]
[taoensso.timbre :refer [info debugf infof]]
[expiring-map.core :as em]
[buddy.auth.protocols :as proto]
[buddy.auth.http :as http]
[buddy.auth :refer [authenticated?]]
[buddy.core.codecs :as codecs]
java.lang.NullPointerException: Cannot invoke "jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.getOptions()" because "this.configuration" is null
at jdk.javadoc/jdk.javadoc.internal.doclets.formats.html.HtmlDoclet.getSupportedOptions(HtmlDoclet.java:292)
at jdk.javadoc/jdk.javadoc.doclet.StandardDoclet.getSupportedOptions(StandardDoclet.java:93)
at cider.nrepl.inlined_deps.orchard.v0v6v1.orchard.java.parser$parse_java$reify__47032.getSupportedOptions(parser.clj:77)
at jdk.javadoc/jdk.javadoc.internal.tool.Start.getSupportedOptionsOf(Start.java:645)
at jdk.javadoc/jdk.javadoc.internal.tool.Start.consumeDocletOption(Start.java:593)
at jdk.javadoc/jdk.javadoc.internal.tool.Start.parseArgs(Start.java:799)
at jdk.javadoc/jdk.javadoc.internal.tool.Start.parseAndExecute(Start.java:497)
at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:399)
at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:361)
from gensim.models.poincare import PoincareModel, PoincareRelations
import logging
import matplotlib.pyplot as plt
import numpy as np
import csv
import itertools
import networkx as nx
from gensim.models import TfidfModel
from gensim.corpora import Dictionary
import pandas as pd