This is kind of a chonker because I went into so many rabbit holes. Foremost this implements a simple “Refresh Artist” button that fetches current artist torrent groups. BUG: the `artist` endpoint torrent struct is shite, it’s missing most info that we get in the `search` endpoint torrent struct, plus it’s organized differently (e.g. the `artists` thingy is in the torrent_group not the torrent). I should switch everything over to fetching the `torrent_group.id`s first and then going through and slowly fetching every torrent group separately … however that might time out very quickly. ugh. There doesn’t seem to be a way of fetching multiple torrent groups. Random other shit & improvements: * intersperse for builders * fix json errors so that the structs don’t get too big (`restrictJson`) * show error messages as json so jaeger displays it with nested UI * color pretty-printed json outpt on command line * add some important integral functions to MyPrelude * add `sintersperse` and `mintersperse` to MyPrelude Change-Id: If8bfcd68dc5c905e118ad86d50d7416962bf55d4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12960 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| alacritty-change-color-scheme | ||
| arglib | ||
| blog | ||
| cas-serve | ||
| declib | ||
| dhall | ||
| emacs-tree-sitter-move | ||
| execline | ||
| haskell-module-deps | ||
| htmx-experiment | ||
| httzip | ||
| jbovlaste-sqlite | ||
| lorri-wait-for-eval | ||
| lyric | ||
| my-prelude | ||
| my-webstuff | ||
| my-xmonad | ||
| netencode | ||
| netstring | ||
| nix-home | ||
| openlab-tools | ||
| parked | ||
| shortcuttable | ||
| tagtime | ||
| whatcd-resolver | ||
| writers | ||
| ytextr | ||
| .envrc | ||
| .gitignore | ||
| .hlint.yaml | ||
| .prettierrc | ||
| alacritty.nix | ||
| aliases.nix | ||
| atomically-write.nix | ||
| cabal.project | ||
| cdb.nix | ||
| eslint.config.mjs | ||
| exactSource.nix | ||
| fafo.jpg | ||
| hie.yaml | ||
| imap-idle.nix | ||
| imap-idle.rs | ||
| importDhall.nix | ||
| jaeger.nix | ||
| lens.nix | ||
| lib.nix | ||
| napalm.nix | ||
| nix-tools.nix | ||
| omega.nix | ||
| OWNERS | ||
| package.json | ||
| read-http.nix | ||
| read-http.rs | ||
| README.md | ||
| shell.nix | ||
| toINI.nix | ||
| tree-sitter.nix | ||
| xdg-cache-home.nix | ||
| xdg-config-home.nix | ||
Profpatsch’s assemblage of peculiarities and curiosities
Welcome, Welcome.
Welcome to my user dir, where we optimize f***ing around, in order to optimize finding out.
DISCLAIMER: All of this code is of the “do not try at work” sort, unless noted otherwise. You might try at home, however. Get inspired or get grossed out, whichever you like.
