back
user profile
xk3
2,798karma·554submissions·March 29, 2019
recent activity (554 total)
comment
If you like launching mpv from the terminal to play music but you also use a desktop environment like KDE or Gnome be sure to install mpv-mpris. It's installed with mpv on some distros like openS…
comment
Yes, there are a few different sorting options which can be used on their own or together. Cluster-sort will bubble up unique groups first. It is sorted such that KMeans groups with fewer entries will…
comment
Because it's less than 4KiB to expose some functionality that I am using internally to sort media. I don't want to spend >1 hour to create a new repo and then pay the nightmare maintenanc…
comment
It also works with ffmpeg but only if you specify it progress -wc ffmpeg
comment
I would also[0] be interested in an argparse equivalent of this for my tool Library[1] [0] https://github.com/Textualize/textual/discussions/228 [1] https://…
comment
I've used joblib before and it does some nice things like make it easy to switch between different backends (loky, multiprocessing, threading) but recently I've started to use python's …
comment
I've started using git for my whole home folder. It is surprisingly performant even with hundreds of thousands of small config files and various assets. Tools like this are really valuable if you…
2 pts
comment
hmm unfortunately, the above does not work. I was able to get basic clicking working like this: cat .xbindkeysrc
"xdotool click 1"
Alt_R
"xdotool click 3"
…
comment
ThreadPoolExecutor if IO-bound ProcessPoolExecutor if CPU-bound for example with ThreadPoolExecutor(max_workers=4) as e:
e.submit(shutil.copy, 'src1.txt', 'dest1.txt'…
comment
zstd decompression should almost always be very fast. It's faster to decompress than DEFLATE or LZ4 in all the benchmarks that I've seen. you might be interested in converting the pushshift …