Skip to content

Instantly share code, notes, and snippets.

View archo5's full-sized avatar
🖥️

Arvīds Kokins archo5

🖥️
View GitHub Profile
@archo5
archo5 / post.adoc
Created October 9, 2025 09:35
The dumbest way to do sin(x) that works (2025-10-09)

The dumbest way to do sin(x) that works (2025-10-09)

@archo5
archo5 / gfxpipes.adoc
Created May 18, 2025 18:05
Graphics pipeline objects are a mistake (2025-05-18)

Graphics pipeline objects are a mistake (2025-05-18)

@archo5
archo5 / bigaddition.tsv
Created April 18, 2025 05:22
analyzing/plotting data from an o3 number addition test
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 11 columns, instead of 8 in line 4.
a_digits b_digits attempt a b id model prompt c response completion_tokens
40 40 1 3992063990220990516220542432948030691483 6071654969971375806412045489381836269801 1 o3 3992063990220990516220542432948030691483 + 6071654969971375806412045489381836269801 = 10063718960192366322632587922329866961284 10063718960192366322632587922329866961284 6881
40 40 2 7362749616622109583510448949429525217040 9503926316613556322637036242823264577940 2 o3 7362749616622109583510448949429525217040 + 9503926316613556322637036242823264577940 = 16866675933235665906147485192252789794980 16866675933235665906147485192252789794980 13474
40 40 3 6635652321195487798661742631960957631686 1024696489851649393943532212953781355568 3 o3 6635652321195487798661742631960957631686 + 1024696489851649393943532212953781355568 = 7660348811047137192605274844914738987254 7660348811047137192605274844914738987254 9185
40 40 4 6467711227800014782703855563575530302909 8043807275588772216581947882638500747694 4 o3 6467711227800014782703855563575530302909 +
using System.Collections.Generic;
using UnityEngine;
static class WInput
{
static Dictionary<string, int> specialKeys = new Dictionary<string, int>(20);
static readonly KeyCode[] joystickBaseKeys = new KeyCode[]
{
KeyCode.Joystick1Button0, KeyCode.Joystick2Button0, KeyCode.Joystick3Button0, KeyCode.Joystick4Button0,
@archo5
archo5 / GUIDRemapTool.cs
Last active July 18, 2019 05:21
textmesh pro guid remap tool - fixed to massively reduce processing time
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using TMPro.EditorUtilities;
using UnityEditor;
using UnityEditor.Animations;
using UnityEditorInternal;
using UnityEngine;
using UnityEngine.Tilemaps;