Skip to content

Instantly share code, notes, and snippets.

Tournament Guide

When tournament sign-ups are opened, you will see a interface drop down from the top of the chat area. There will be a button to join if you're not in the tournament and a button to leave if you are. Alternatively, the commands /tour join and /tour leave can be used instead. Please resist any urge to spam joins and leaves since it is a bannable offence.
Once you join the tournament, the bracket will already by displayed. However, do not challenge anyone yet. Please wait until someone starts the tournament.
When the tournament starts, you should see the leave button replaced with information about any match-ups you have. Challenge drop downs and buttons will appear if you are matched up to challenge another user. Please use the interface to challenge the user rather challenging the "normal" way because otherwise it won't count as a tournament match.

Tips:

  • Run /tour by itself for a list of currently running tournaments
  • The tournament bracket becomes dragg
@kotarou3
kotarou3 / pelican-cases.csv
Created March 29, 2024 21:28
Internal dimensions of Pelican cases in a convenient table and diagram
Model L (mm) W (mm) H (mm)
1010 111 73 43
1015 131 67 35
1020 135 90 43
1050 160 93 70
1030 162 67 52
1040 165 98 44
1120 185 121 85
1060 210 108 57
1150 211 147 95
@kotarou3
kotarou3 / README.md
Last active March 24, 2024 12:50
Multi-extruder FDM 3D printer comparison

Multi-extruder FDM 3D printer comparison

Includes:

  • Non-IDEX, IDEX (independent extruders), and toolchanger printers
  • Some single extruder printers for reference
  • Prices generally under US$10k (though some more expensive ones are included for "fun")

Notes:

  • Values taken from marketing material - no guarantees if they actually reach
@kotarou3
kotarou3 / find-top-level-packages.py
Last active December 19, 2023 16:41
Find top-level packages of the dependency graph for debian packages
#!/usr/bin/python3
import argparse, sys
import apt
import networkx as nx
parser = argparse.ArgumentParser(
description = "Find top-level packages of the dependency graph"
)
parser.add_argument(

Mount Rokkon: How to not get hit by wind sprites

YouTube link: https://www.youtube.com/watch?v=3HItOmXk0AA

The rest of this document is simply a note to myself on how I made the video

Analysis and image generation

analysis.nb is a Mathematica notebook for analysing the wind sprite patterns and exporting SVGs of them (stills-*.svg for the slideshow images, frames/%04d.svg for the timeline animation)

Stream audio from Windows to Linux

Tested on Ubuntu 16.04 and Windows 10 Redstone 1

Both boxes need to be on the same network (such that multicast packets can be passed between them)

Installing

Linux

  1. Setup JACK (easy to do with Cadence)

Windows

# Scores Mudfish "advanced mode" nodes since the built-in tool isn't very useful.
# Run with: scrapy runspider mudfish.py
import json
import re
import scrapy
srcIp = "110.175.213.58"
destIp = "124.150.157.158"
srcCountry = "AU"
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
#,Item,Theme[0],Theme[1],,Material[0],Amount[0],Material[1],Amount[1],Material[2],Amount[2],Material[3],Amount[3],LevelReq,CraftingTime,Value
0,"","","",0,"Island Palm Leaf",0,"Island Palm Leaf",0,"Island Palm Leaf",0,"Island Palm Leaf",0,0,0,0
1,"Isleworks Potion","Concoctions","",0,"Island Palm Leaf",2,"Islewort",2,"Island Palm Leaf",0,"Island Palm Leaf",0,1,4,28
2,"Isleworks Firesand","Concoctions","Unburied Treasures",0,"Island Sand",2,"Island Limestone",1,"Islewort",1,"Island Palm Leaf",0,1,4,28
3,"Isleworks Wooden Chair","Furnishings","Woodworks",0,"Island Log",4,"Island Vine",2,"Island Palm Leaf",0,"Island Palm Leaf",0,1,6,42
4,"Isleworks Grilled Clam","Foodstuffs","Marine Merchandise",0,"Island Clam",2,"Island Laver",2,"Island Palm Leaf",0,"Island Palm Leaf",0,1,4,28
5,"Isleworks Necklace","Accessories","Woodworks",0,"Island Branch",3,"Island Vine",1,"Island Palm Leaf",0,"Island Palm Leaf",0,1,4,28
6,"Isleworks Coral Ring","Accessories","Marine Merchandise",0,"Island Coral",3,"Island Vine",3,"I

RTMP to Discord stream (GoLive) conversion

Overview

This guide sets up nginx to convert a RTMP stream to HLS, which then can be opened in browsers. Discord can then take advantage of Chromium's tab sharing feature to stream the HLS stream. Only a few seconds of latency are added, which is acceptable for most applications.

Note: If your goal is to just get audio streaming working on Linux, this guide might be helpful (It results in lower FPS for me, however):

Liquid Cooling Quick-Disconnect Comparison

The accompanying CSV compares various liquid cooling quick-disconnect couplers that satisfy the following criteria:

  • No-spill (<100µL loss on disconnect)
  • Hand mate (requires releasing an interlock to disconnect)
  • Material compatible with a copper loop (e.g., brass, plastic, stainless steel)
  • 0~60°C operating temperature
  • Nominal inner diametre of 6~10mm