Skip to content

Instantly share code, notes, and snippets.

Install on WSL2

  1. Installed Ubuntu-24.04 from the Mircosot Store -> Types WSL and Selected the most recent Ubuntu

  2. Windows Terminal -> wsl -d Ubuntu-24.04 (using -d to specify distro name, I have multiple distros)

  3. Installing SGLang

Copying and pasting from docs (https://docs.sglang.ai/start/install.html) didn't quite work.

@maxim-saplin
maxim-saplin / DLC-02.md
Last active June 29, 2025 07:10
Mean Well DLC-02 DALI 2 controller integration with Home Assistant via Modbus
  1. Connect to DLC-02 via Mean Well windows app (either using USB ot Ethernet)
  2. Scan DALI lamps, assign lamps to virtual lamps
  • 2.1. If you have lamps that change color you need to 1st define the type of virtual lamp and only than assign/drag the actual DALI lamp
  • 2.2. Each virtual lamp gets an address, e.g. A0 means bus A lamp 0 - use this for addressing
  1. You can test is lamp works via commands line (assuming A0 address, also use correct IP and port which by default is 502)
  • On mbpoll -0 -m tcp -p 502 -a 255 -t 4:hex -r 41001 192.168.31.27 0x0100 0x0101 0x0000 0x0000
  • Off mbpoll -0 -m tcp -p 502 -a 255 -t 4:hex -r 41001 192.168.31.27 0x0100 0x0100 0x0000 0x0000
  1. In HA you might want to install 'File Editor' to change configs
@maxim-saplin
maxim-saplin / LLM Chess Elo All Models.md
Last active July 27, 2025 19:27
LLM Chess Elo All Models

Engine Elo ratings: Player Games Elo ±95%CI

random 4000 -122.3 23.0 stockfish-lvl-1 1000 824.9 64.2

Stage 2: LLM Elo Ratings Player Games Elo ±95%CI

3x-o4-mini-2025-04-16-low_41mini-t03 33 114.6 133.1