snix/users/Profpatsch
Profpatsch b865618291 feat(users/Profpatsch/lyric): read lyric sqlite from squashfs
The unpacked lrclib dump is 40GB at this point, but compresses very
well (to about 10GB give or take). So I thought about how to store it
in a compressed on disk, but still allow sqlite to query
efficiently (i.e. use a compression format that has arbitrary seek
indices).

Squashfs! with zstd compression!

```
mksquashfs ~/.cache/lyric-bak/ \
  ~/tmp/squashtest \
  -comp zstd \
  -Xcompression-level 5
```

Still need to write a helper that does the download & compression for
me to update the database once in a blue moon.

Unfortunately, sqlite-utils does not allow URL connection strings yet,
so I had to do a horrible SQL interpolation bit.
Issue tracker: https://mastodon.xyz/@Profpatsch/114083481108799334

This also changes the query to filter out every track that has neither
plain nor synched lyrics (yeah those exist for some reason?).

Change-Id: Ief0519ae8d9e5f14b66f6df6e3bcecae911ea142
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13208
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
2025-03-06 13:16:46 +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 simple settings 2025-01-16 19:44:32 +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 feat(users/Profpatsch/whatcd-resolver): add simple settings 2025-01-16 19:44:32 +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 chore(users/Profpatsch/shell.nix): comment out broken haskell pkg 2024-06-03 14:55:13 +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.