Skip to content

Instantly share code, notes, and snippets.

View plpxsk's full-sized avatar
💭
👋

Paul Paczuski plpxsk

💭
👋
View GitHub Profile
@plpxsk
plpxsk / decisions.md
Created November 12, 2026 20:21
Decision APIs implementation guide: TypeSafe Jev, OpenAI Decisions, and Gemini Decisions

Decision APIs implementation guide: TypeSafe Jev, OpenAI Decisions, and Gemini Decisions

By ChatGPT Deep Research

As of November 12, 2026, all three providers now expose APIs specifically designed for machine-consumable judgments rather than free-form generation. The common shape is: provide shared evidence, define one or more bounded questions, receive typed values plus probabilities and, for some question types, confidence. The important implementation differences are in their schemas, supported modalities, model/versioning strategy, question limits, failure modes, and SDK ergonomics. The sections below use only official TypeSafe, OpenAI, and Google documentation, beginning with the pages specified in the request. 1, 2, 3

Architecture and provider selection

A useful mental model is that a Decisions API is not a general-purpose chat endpoint with a JSON output constraint. It is an inference primitive where **your application owns the d

@plpxsk
plpxsk / car-doctor-ai-stack.md
Last active May 20, 2026 16:45
Car Doctor AI Stack

Car Doctor AI Stack

CarDoctorAI.com | Car Problem? Get Answers.

AI Chat

  • Vercel AI SDK for streaming chat, tool calls, artifacts, and usage data
  • OpenAI models for chat, reasoning, artifacts, and mechanic web search
  • TokenLens for model usage enrichment
@plpxsk
plpxsk / boat-gen-stack.md
Last active May 19, 2026 19:14
Boat Gen Stack

Boat Gen

BoatGen.app | Add style to a photo of your boat

Stack

AI Image Editing and Generation

absl-py==0.10.0
cachetools==4.1.1
certifi==2020.6.20
chardet==3.0.4
fsspec==0.8.3
future==0.18.2
google-auth==1.22.1
google-auth-oauthlib==0.4.1
grpcio==1.32.0
idna==2.10
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@plpxsk
plpxsk / staticgen-archive.json
Created September 7, 2018 14:34
STATICGEN.COM DATA ARCHIVE
{"timestamp":1536330773791,"data":{"ace":[{"timestamp":1536330773791,"stars":37,"forks":6,"issues":0}],"acrylamid":[{"timestamp":1536330773791,"stars":294,"forks":40,"issues":44}],"adm-dev-kit":[{"timestamp":1536330773791,"stars":29,"forks":4,"issues":11}],"amsf":[{"timestamp":1536330773791,"stars":162,"forks":83,"issues":2}],"anodize":[{"timestamp":1536330773791,"stars":3,"forks":0,"issues":0}],"antwar":[{"timestamp":1536330773791,"stars":393,"forks":27,"issues":7}],"asimov-static":[{"timestamp":1536330773791,"stars":4,"forks":4,"issues":0}],"assemble":[{"timestamp":1536330773791,"stars":3579,"forks":249,"issues":28}],"awestruct":[{"timestamp":1536330773791,"stars":261,"forks":73,"issues":57}],"bake":[{"timestamp":1536330773791,"stars":20,"forks":3,"issues":0}],"baker":[{"timestamp":1536330773791,"stars":41,"forks":7,"issues":1}],"bang":[{"timestamp":1536330773791,"stars":8,"forks":1,"issues":0}],"bashblog":[{"timestamp":1536330773791,"stars":711,"forks":117,"issues":21}],"blackhole":[{"timestamp":1536330773
@plpxsk
plpxsk / my-flasks.md
Last active March 21, 2017 21:56
Flask examples and tutorial

Quick Start

Quickly deploy a Python-Flask app to Heroku from scratch with this tutorial:

Bonus: nice styling with Bootstrap.

The above is one of the best tutorials I've seen - gives you exactly what you want and nothing you don't need. However, it may be just a tad outdated, so you may have to look at updated docs on heroku.

Examples

Here is one small Flask app that I built:

@plpxsk
plpxsk / functional_programming_examples.R
Last active March 9, 2017 00:18
Examples of new `dplyr` and `purrr` functionality
library(tibble)
library(dplyr)
## sample data
df <- frame_data(
~x, ~y, ~z, ~x1, ~x2, ~x3, ~y1, ~y2, ~y99, ~z99, ~zz,
99, 2, 3.6, 99, 2, 3.6, 99, 2, 3.6, 99, 2,
99, 2, 3.6, 99, 2, 3.6, 99, 2, 3.6, 99, 2,
99, 2, 3.6, 99, 2, 3.6, 99, 2, 3.6, 99, 2
)
@plpxsk
plpxsk / tmux-reference.md
Last active March 8, 2017 18:33
tmux-reference.md

TMUX basic commands

Scroll down for more

tmux ls

tmux new -s mysession       # create new

tmux attach -t mysession    # or attach recent:  tmux a
@plpxsk
plpxsk / indicators.sas
Created May 2, 2014 04:08
SAS: quickly generate indicator variables
/* macro to convert variables to indicators*/
/* outputs dataset "df" with patid and the indicator only for easy later merge*/
/* v = var for indicator // n = name of new var(use same prefix with consecutive #s!!) */
%MACRO INDX(v=, n=);
data df;
set bmd;
if &V > . then tt = 1; else tt =0;
rename tt=&N;
label
&N = "&V 0/1"