Skip to content

Instantly share code, notes, and snippets.

View YellowOnion's full-sized avatar

Daniel Hill YellowOnion

  • Christchurch, New Zealand
  • 18:00 (UTC +12:00)
View GitHub Profile
LSP :: Error from the Language Server: No plugins are available to handle this SMethod_TextDocumentDocumentSymbol request.
Plugins installed for this method, but not available to handle this request are:
cabal does not support .hsc filetypes).
ghcide-hover-and-symbols does not support .hsc filetypes). (Method not Found)
LSP :: Error from the Language Server: No plugins are available to handle this SMethod_TextDocumentDocumentHighlight request.
Plugins installed for this method, but not available to handle this request are:
ghcide-hover-and-symbols does not support .hsc filetypes). (Method not Found)
LSP :: Error from the Language Server: No plugins are available to handle this SMethod_TextDocumentCodeAction request.
Plugins installed for this method, but not available to handle this request are:
pragmas-suggest does not support .hsc filetypes).
Aug 10 14:44:55 Purple-Sunrise kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000
Aug 10 14:44:55 Purple-Sunrise kernel: #PF: supervisor read access in kernel mode
Aug 10 14:44:55 Purple-Sunrise kernel: #PF: error_code(0x0000) - not-present page
Aug 10 14:44:55 Purple-Sunrise kernel: PGD 0 P4D 0
Aug 10 14:44:55 Purple-Sunrise kernel: Oops: Oops: 0000 [#1] SMP NOPTI
Aug 10 14:44:55 Purple-Sunrise kernel: CPU: 0 UID: 0 PID: 174 Comm: kcompactd0 Tainted: P S O 6.18.38 #1-NixOS PREEMPT(lazy)
Aug 10 14:44:55 Purple-Sunrise kernel: Tainted: [P]=PROPRIETARY_MODULE, [S]=CPU_OUT_OF_SPEC, [O]=OOT_MODULE
Aug 10 14:44:55 Purple-Sunrise kernel: Hardware name: ASUS System Product Name/TUF GAMING B550-PLUS, BIOS 3636 01/04/2026
Aug 10 14:44:55 Purple-Sunrise kernel: RIP: 0010:amdgpu_hmm_invalidate_gfx+0x38/0xd0 [amdgpu]
Aug 10 14:44:55 Purple-Sunrise kernel: Code: 8b 4e 18 89 cb 83 e3 01 75 0c 48 83 c4 20 89 d8 5b e9 57 33 c6 d3 48 8b 4f f0 48 8b b7 58 ff ff ff 48 89 3c 24 48 89 54 24 1
"context.modules" = [
{ name = libpipewire-module-filter-chain
args = {
node.name = "effect_input.rnnoise"
node.description = "Filtered Q2U"
media.name = "Filtered Q2U"
filter.graph = {
nodes = [
{ type = lv2
name = rnnoise
Jul 09 02:50:52 Purple-Sunrise systemd[2541]: Stopping PipeWire Multimedia Service...
Jul 09 02:50:52 Purple-Sunrise systemd[2541]: Stopped PipeWire Multimedia Service.
Jul 09 02:50:52 Purple-Sunrise systemd[2541]: pipewire.service: Consumed 3h 34min 6.121s CPU time over 3d 4h 42min 43.269s wall clock time, 169.2M memory peak, 63.8M memory swap peak.
Jul 09 02:50:52 Purple-Sunrise systemd[2541]: Started PipeWire Multimedia Service.
Jul 09 02:50:52 Purple-Sunrise pipewire[1734983]: pw.conf: 0x561566b7e980: error loading config '/home/daniel/.config/pipewire/pipewire.conf.d/60-virtual.conf': Invalid argument
Jul 09 02:50:52 Purple-Sunrise pipewire[1734983]: spa.filter-graph: unknown output port rnnoise:audio_out_2
Jul 09 02:50:52 Purple-Sunrise pipewire[1734983]: spa.filter-graph: can't load graph: No such file or directory
Jul 09 02:50:52 Purple-Sunrise pipewire[1734983]: pw.conf: 0x561566b797c0: could not load mandatory module "libpipewire-module-filter-chain": No such file or directory
Jul 09 02:51:17 Purple
[1780984022.495170] no answer yet for icmp_seq=10122
[1780984025.503169] no answer yet for icmp_seq=10125
[1780984029.536170] no answer yet for icmp_seq=10129
[1780984032.543169] no answer yet for icmp_seq=10132
[1780984035.551170] no answer yet for icmp_seq=10135
[1780984039.583169] no answer yet for icmp_seq=10139
[1780984049.631181] no answer yet for icmp_seq=10149
[1780984050.655180] no answer yet for icmp_seq=10150
[1780984067.679180] no answer yet for icmp_seq=10167
[1780984071.711169] no answer yet for icmp_seq=10171
error_log logs/error.log;
pid nginx.pid;
daemon off;
events {}
http {
access_log logs/access.log;
server {
listen 0.0.0.0:9998;
listen [::0]:9998;
#/usr/bin/env bash
FILE="$1"
BFILE=$(basename "$FILE")
INFO=$( nix store prefetch-file --hash-type sha256 file://$(realpath "$FILE") --json )
echo -n "$INFO" | jq '{ "name": $name, "url" : $name, "hash" : .hash }' --arg name "$BFILE"
#!/usr/bin/env -S nix shell --impure --expr "(import (builtins.getFlake \"nixpkgs\") {}).ghc.withPackages (ps: [ ps.containers ps.libmpd ps.typed-process ])" --command runghc
import Control.Monad.IO.Class
import Control.Concurrent
import qualified Network.MPD as MPD
import System.Process.Typed
import Data.Maybe
import Control.Monad
import Text.Printf
[ 0.000000] Linux version 6.19.10 (nixbld@localhost) (gcc (GCC) 15.2.0, GNU ld (GNU Binutils) 2.44) #1-NixOS SMP PREEMPT_DYNAMIC Wed Mar 25 10:13:32 UTC 2026
[ 0.000000] Command line: initrd=\EFI\nixos\056y0z2xs2w7fbmf5snsnrrngqs4m1ax-initrd-linux-6.19.10-initrd.efi init=/nix/store/7kyky6hgcq7x5n6cqxldm39awf5a53d1-nixos-system-Purple-Sunrise-26.05.20260330.15c6719/init hid_apple.fnmode=0 amdgpu.ppfeaturemask=0xfffffffb default_hugepagesz=1G hugepagesz=1G amd_pstate=active loglevel=4 lsm=landlock,yama,bpf
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000009d1efff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000009d1f000-0x0000000009ffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000000a000000-0x000000000a1fffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000a200000-0x000000000a20dfff] AC
External UUID: 927137d3-8864-4756-9c7e-3b9d1efff07b
Internal UUID: fd7fc5be-7a90-44e2-8756-3d66ff90d8e8
Magic number: c68573f6-4e1a-45ca-8265-f57f48ba6d81
Device index: 0
Label: root
Version: erasure_coding (1.37)
Incompatible features allowed: erasure_coding (1.37)
Incompatible features in use: no_sb_user_data_replicas (1.36)
Version upgrade complete: erasure_coding (1.37)
Oldest version on disk: deleted_inodes (1.2)