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…
3y ago·view thread
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…
3y ago·view thread
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…
3y ago·view thread
comment
It also works with ffmpeg but only if you specify it progress -wc ffmpeg
3y ago·view thread
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://…
3y ago·view thread
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 …
3y ago·view thread
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…
3y ago·view thread
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" …
3y ago·view thread
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'…
3y ago·view thread
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 …
3y ago·view thread