it's a pretty consistent thing that if someone markets something as the ______ of the future it won't last that long πŸ€”

@Mojeek

There's an xkcd on this but I'm having trouble finding it…

New Products

xkcd
@amin lolololol there's always one!

@Mojeek

And as @rl_dane will confirm for you somehow I always know which xkcd is the relevant one. ;)

@amin @Mojeek

Its nor for no reason that we call him the xkcd-O-tron!

#xkcdOtron #theXkcdOtronStrikesAgain

@rl_dane @Mojeek

It does help that I coded a script to download and search transcripts of the entire xkcd archive to more easily find the xkcd I'm looking for. ;)

@amin @Mojeek

Yeah, I absolutely believe that you did that. πŸ˜‚

@rl_dane @Mojeek

It uses fzf for fuzzy matching and timg to show a preview of comics within fzf itself. :)

@amin

Daaang, timg is nice. If only neofetch would use it ;)

@amin @Mojeek

How do you get fzf to open timg?

@rl_dane @Mojeek

--preview="timg -g\${FZF_PREVIEW_COLUMNS}x\${FZF_PREVIEW_LINES} $comicDir/{1}.{5}" is what I'm using in the script. (the {1} and {5} are columns from the input to construct the filename.)

@amin
SWEET! I'm going to start using that in my scripts! Just added it to my journaling script.

@rl_dane

Your journaling uses images?

Or are you using cat instead, which is what I do. (I also do that for my sandbox script which has proved super handy. https://codeberg.org/benjaminhollon/.dotfiles/src/branch/main/.local/bin/sandbox)

.dotfiles/.local/bin/sandbox at main

.dotfiles - The dotfiles of my Linux installation.

Codeberg.org
.dotfiles/.local/bin/sandbox at main

.dotfiles - The dotfiles of my Linux installation.

Codeberg.org

@amin

No, just markdown. Right now I have a view mode that just fzfs the journal files, but having a quick preview within fzf is pretty cool.

@rl_dane

Whoa, timg works with videos??? I could use this as a way to play youtube videos when on a slow connection, having my server download the video and play it via timg over ssh.

@rl_dane
Hm it doesn't seem to include audio.

@amin

You could always just use ffmpeg to downsample the videos. You might incur some processing penalties, though. I'd probably just use yewtu.be or piped.kavin.rocks at the lowest setting.

@rl_dane

yt-dlp lets you select a specific resolution to download from youtube, no ffmpeg processing necessary. I already do that.

@rl_dane

OH. It also seems to be significantly less processing power, based on observation.

@amin

Ah, of course. πŸ˜„

@rl_dane

Gotta do what I can to keep my bandwidth usage under my target 1G per day. ;)

Doing pretty good today:

~] used-download 128M