Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Eval Comparison: baseline vs haiku-4.5</title>
<style>
* {
margin: 0;
padding: 0;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Eval Comparison: baseline vs haiku-4.5</title>
<style>
* {
margin: 0;
padding: 0;
FROM prefecthq/prefect:3-latest
RUN apt-get update && apt-get install -y wget
RUN wget -qO- https://astral.sh/uv/install.sh | sh
COPY . /opt/prefect
WORKDIR /opt/prefect
RUN pip install -r requirements.txt
RUN pip install uv
FROM prefecthq/prefect:3-latest
RUN apt-get update && apt-get install -y wget
RUN wget -qO- https://astral.sh/uv/install.sh | sh
#RUN sh $HOME/.local/bin/env
COPY . /opt/prefect
WORKDIR /opt/prefect
RUN pip install -r requirements.txt
{
"recordings": {
"total_count": 3,
"data": [
{
"id": "cadf8094-62d8-4405-a56e-7640a1ec22cb",
"room_name": "moishe-test",
"start_ts": 1658411764,
"status": "finished",
"max_participants": 1,
import itertools
import json
base_config = {
"blurUniforms": {
"blurMultiplier": 10000,
"fadeDecrement": 0.00021
},
"colonies": {
"dense": {
150 152 increased
152 155 increased
155 156 increased
156 157 increased
157 141 decreased
141 124 decreased
124 138 increased
138 143 increased
143 145 increased
145 144 decreased
159 170 increased
170 171 increased
171 170 decreased
170 168 decreased
168 167 decreased
167 166 decreased
166 164 decreased
164 163 decreased
163 154 decreased
154 155 increased
f = open('input.txt')
steps = []
for l in f:
steps.append(int(l.rstrip()))
mx = max(steps) + 3
c = len(steps) + 1
print ("a + 3b = %d" % mx)
@Moishe
Moishe / oauth.diff
Last active November 11, 2020 19:25
OAuth diff
5a6
> import json
9a11,13
> BASE_URL = "http://127.0.0.1:5000"
> OAUTH_CALLBACK = "{}/oauth/mailchimp/callback".format(BASE_URL)
>
28c32
< "redirect_uri": "OAUTH_CALLBACK"
---
> "redirect_uri": OAUTH_CALLBACK