snix/users/Profpatsch
Profpatsch cb5a745233 fix(users/Profpatsch/whatcd-resolver): speed up artist_ids lookups
We need `artist_ids` in most of the queries, so let’s make them a
generated column and put an index on them.

This reduces times for getArtistNameById from ~300ms to ~20ms and for
the main “latest” table from ~250ms to ~60ms.

The `artist_has_been_snatched` logic moves into the torrent filter, so
we don’t have to work on such large records further down.

Change-Id: I5a1929bd9c81ea0031e512d01897c0e460ded077
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13240
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
2025-03-10 16:55:15 +00:00
..
.vscode feat(users/Profpatsch): move eslint & prettier to toplevel 2024-10-05 13:49:38 +00:00
alacritty-change-color-scheme fix(users/Profpatsch/alacritty): work around missing /etc/bus/ddcci 2024-12-25 17:34:09 +00:00
arglib chore(users/Profpatsch/*): more cabal maintenance 2023-07-13 23:03:09 +00:00
blog feat(users/Profpatsch/blog): Private Trackers Are Markets 2024-02-11 16:38:16 +00:00
cas-serve chore(3p/sources): bump channels & overlays – xz edition 2024-03-31 22:27:04 +00:00
declib feat(declib): initial mastodon bot experiment 2024-02-11 16:38:16 +00:00
dhall refactor(users/Profpatsch/aerc): move ini stuff out 2022-06-19 13:29:02 +00:00
emacs-tree-sitter-move docs(users/Profpatsch): Add small README to most subdirs 2023-04-08 12:25:07 +00:00
execline feat(users/Profpatsch/execline): add setsid 2024-03-16 22:36:55 +00:00
haskell-module-deps docs(users/Profpatsch): Add small README to most subdirs 2023-04-08 12:25:07 +00:00
htmx-experiment feat(users/Profpatsch/whatcd-resolver): add simple settings 2025-01-16 19:44:32 +00:00
httzip fix(users/Profpatsch/httzip): fix PATH 2024-03-16 12:42:16 +00:00
jbovlaste-sqlite refactor(users/Profpatsch/jbovlaste): factor Parse into own module 2023-10-15 22:57:25 +00:00
lorri-wait-for-eval docs(users/Profpatsch): Add small README to most subdirs 2023-04-08 12:25:07 +00:00
lyric feat(users/Profpatsch/lyric): read lyric sqlite from squashfs 2025-03-06 13:16:46 +00:00
my-prelude feat(users/Profpatsch/whatcd-resolver): add html streaming & maps 2025-03-08 12:48:37 +00:00
my-webstuff feat(users/Profpatsch/whatcd-resolver): add simple settings 2025-01-16 19:44:32 +00:00
my-xmonad feat(users/Profpatsch): add my xmonad config 2023-08-13 14:41:41 +00:00
netencode chore(users/Profpatsch): misc small improvements 2024-03-03 13:25:10 +00:00
netstring refactor(users/Profpatsch/netstring): use toplevel aliases as impls 2022-12-29 15:30:38 +00:00
nix-home feat(pkgs/Profpatsch/alacritty): init dark mode dbus daemon 2024-12-10 15:34:03 +00:00
openlab-tools chore(users/Profpatsch/my-prelude): vendor pa-json 2024-10-05 13:49:38 +00:00
parked chore(users/Profpatsch/sync-abfall): park 2024-10-05 13:49:38 +00:00
shortcuttable feat(users/Profpatsch): add shortcuttable 2024-03-16 22:36:55 +00:00
tagtime docs(users/Profpatsch): notes for a tagtime reimplementation 2023-01-07 15:21:52 +00:00
whatcd-resolver fix(users/Profpatsch/whatcd-resolver): speed up artist_ids lookups 2025-03-10 16:55:15 +00:00
writers feat(users/Profpatsch): add writeHaskellInteractive 2023-01-06 18:12:41 +00:00
ytextr feat(users/Profpatsch/ytextr): allow extra arguments 2024-03-03 13:30:51 +00:00
.envrc feat(users/Profpatsch/whatcd-resolver): add services & readme 2024-03-17 01:21:14 +00:00
.gitignore chore(users/Profpatsch/.gitignore): ignore all js lockfiles 2024-10-05 13:49:38 +00:00
.hlint.yaml chore(users/Profpatsch/.hlint.yaml): ignore Use maybe 2024-06-03 14:55:13 +00:00
.prettierrc feat(users/Profpatsch): move eslint & prettier to toplevel 2024-10-05 13:49:38 +00:00
alacritty.nix feat(users/Profpatsch/alacritty): add modus & ef themes 2024-12-16 17:27:02 +00:00
aliases.nix feat(users/Profpatsch/aliases): bell. 2023-12-06 19:15:15 +00:00
atomically-write.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
cabal.project chore(users/Profpatsch): park mailbox-org 2024-10-05 13:49:38 +00:00
cdb.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
eslint.config.mjs feat(users/Profpatsch): move eslint & prettier to toplevel 2024-10-05 13:49:38 +00:00
exactSource.nix feat(users/Profpatsch): add exactSource 2022-02-28 14:32:27 +00:00
fafo.jpg docs(users/Profpatsch): Add toplevel README 2023-04-08 13:16:00 +00:00
hie.yaml chore(users/Profpatsch): park mailbox-org 2024-10-05 13:49:38 +00:00
imap-idle.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
imap-idle.rs style(rust): Format all Rust code with rustfmt 2022-02-08 12:06:39 +00:00
importDhall.nix feat(users/Profpatsch/importDhall): print dhall command 2022-05-05 22:43:08 +00:00
jaeger.nix feat(users/Profpatsch/jaeger): allow calling with arguments 2024-12-13 19:45:58 +00:00
lens.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
lib.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
napalm.nix feat(pkgs/Profpatsch/alacritty): init dark mode dbus daemon 2024-12-10 15:34:03 +00:00
nix-tools.nix feat(users/Profpatsch): add nix-run, nix-run-bin, nix-eval 2024-03-17 01:21:14 +00:00
omega.nix feat(users/Profpatsch): add a example for omega search 2024-12-10 15:34:03 +00:00
OWNERS chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
package.json feat(users/Profpatsch): move eslint & prettier to toplevel 2024-10-05 13:49:38 +00:00
read-http.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
read-http.rs feat(users/Profpatsch/netencode.rs): parse multiple stdin values 2022-09-25 14:17:39 +00:00
README.md fix(users/Profpatsch/README): typo 2024-09-13 11:13:59 +00:00
shell.nix feat(users/Profpatsch/whatcd-resolver): add a simple torrent parser 2025-03-06 23:41:43 +00:00
toINI.nix feat(users/Profpatsch): add toINI 2022-05-05 22:43:08 +00:00
tree-sitter.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
xdg-cache-home.nix feat(users/Profpatsch): add xdg-cache-home 2024-09-13 13:44:03 +00:00
xdg-config-home.nix feat(pkgs/Profpatsch/alacritty): init dark mode dbus daemon 2024-12-10 15:34:03 +00:00

Profpatschs assemblage of peculiarities and curiosities

Welcome, Welcome.

Welcome to my user dir, where we optimize f***ing around, in order to optimize finding out.

fafo graph

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.