Skip to content

Instantly share code, notes, and snippets.

View codekansas's full-sized avatar
🤖
Robots

Ben Bolte codekansas

🤖
Robots
View GitHub Profile
@codekansas
codekansas / lloyds_feeds.txt
Last active March 2, 2026 01:55
Lloyd's Coffee House curated RSS feeds
https://antirez.com/rss
https://aphyr.com/posts.atom
https://arstechnica.com/science/feed/
https://avc.com/feed/
https://backreaction.blogspot.com/feeds/posts/default?alt=rss
https://ben.bolte.cc/feed.xml
https://blog.cloudflare.com/rss/
https://blog.miguelgrinberg.com/feed
https://blog.pragmaticengineer.com/feed
https://blog.ycombinator.com/feed/

Lloyd's List Constitution

Version 2026-02-26

This constitution defines how article quality is judged in Lloyd's List. Lloyd's List is a discovery engine for scientific, programming, engineering, and startup ideas. It rewards technical depth, novelty, practical insight, and cross-domain accessibility while discouraging hype, tribal framing, and low-signal discourse.

Editorial Scope

Prioritize work that materially improves understanding in one or more of these areas:

anysphere.cursorpyright
charliermarsh.ruff
esbenp.prettier-vscode
ms-python.debugpy
ms-python.python
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode.remote-explorer
redhat.vscode-xml
rust-lang.rust-analyzer
{"controls":{"style":"guideline","custom":{"moveLeft":[],"moveRight":[],"softDrop":[],"hardDrop":[],"rotateCCW":[],"rotateCW":[],"rotate180":[],"hold":[],"exit":[],"retry":[],"chat":[],"target1":[],"target2":[],"target3":[],"target4":[],"menuUp":[],"menuDown":[],"menuLeft":[],"menuRight":[],"menuBack":[],"menuConfirm":[],"openSocial":[]},"sensitivity":0.5,"vibration":1},"handling":{"arr":0,"das":6.6,"dcd":0,"sdf":10,"safelock":false,"cancel":false,"may20g":false,"irs":"tap","ihs":"tap"},"volume":{"disable":true,"music":1,"sfx":1,"stereo":0,"others":true,"attacks":true,"zenithrank":true,"next":false,"noreset":true,"oof":true,"scrollable":true,"bgmtweak":{}},"video":{"graphics":"minimal","caching":"low","actiontext":"all","particles":0.6,"background":0.7,"bounciness":1,"shakiness":1,"gridopacity":0.1,"boardopacity":0.85,"shadowopacity":"0.85","zoom":1,"alwaystiny":true,"nosuperlobbyanim":true,"nozenithanim":true,"colorshadow":false,"holdlocked":false,"sidebyside":false,"spin":false,"chatfilter":true,"background
@codekansas
codekansas / CLA.md
Last active April 11, 2025 02:45
K-Scale's Contributor License Agreement

K-Scale Individual Contributor License Agreement

Thank you for your interest in contributing to open source software projects (“Projects”) made available by dpsh Syndicate or its affiliates (“K-Scale”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to K-Scale in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact opensource@kscale.dev.

You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.

Copyright License. You hereby grant, and agree to grant, to K-Scale a non-exclusive, perpet

@codekansas
codekansas / lru_cache.py
Created July 19, 2024 18:53
LRU cache implementation in Python, with modern typing support
"""Defines some shared data structures."""
from collections import OrderedDict
from typing import Generic, Hashable, TypeVar, overload
Tk = TypeVar("Tk", bound=Hashable)
Tv = TypeVar("Tv")
class LRUCache(Generic[Tk, Tv]):
@codekansas
codekansas / benchmark_self_attention.py
Created April 6, 2023 19:36
Script for benchmarking self attention functions
import argparse
import contextlib
import logging
import math
import random
import time
from dataclasses import dataclass
from pathlib import Path
from typing import Callable
@codekansas
codekansas / benchmark_self_attention.py
Last active March 11, 2023 18:34
Benchmarking script for attention
import argparse
import contextlib
import logging
import math
import random
import time
from dataclasses import dataclass
from pathlib import Path
from typing import Callable
@codekansas
codekansas / camera_mount.scad
Last active February 9, 2023 00:06
Random camera mount part
// Mount for my ESP 32 above my workbench.
cam_diam = 7.7 + 1.0;
cam_offset = 2.1;
other_offset = 1.9;
rect_height = 39.6 + 1.0;
rect_width = 27.0 + 4.0;
cam_from_top = 10.4;
leng = 55;
@codekansas
codekansas / parse_webtime.py
Created December 3, 2020 20:50
Script to parse the Webtime Tracker CSV file and plot it
#!/usr/bin/env python
import argparse
from datetime import datetime
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt