agreed—it is less attractive now than when I first was excited about switching beets to it
watsonalgas joined the channel
watsonalgas has quit
chrisb joined the channel
watsonalgas joined the channel
jrobeson
sampsyo, so what does it do that we don't already do with the hacky subcommand parser you have?
sampsyo
Let's see:
- I find the declarative/decorator interface more straightforward than the optparse API
- built-in bash completion is nice
- I like the type conversions click has—they're nice for validating and converting input
that's about it
jrobeson
oh yeah, forgot about the bash completion.
how small would click be on py3 were utf-8 assumed everywhere in python ..
that is.. how small would click be in a py3 only world where utf-8 was assumed
sampsyo
how much if it is just the encoding conversion, you mean? well, there's a fair bit of complexity in the composable subcommands and such
jrobeson
well it's not just the encoding conversion, but all the raw windows api code, and backwards compat stuff like shutil.where and shutil.get_terminal_size
obviously it wouldn't come down to a couple lines, but it all that code is pretty substantial
sampsyo
that's very true
jrobeson
and honestly.. i have trouble following it.
there's like 3 levels of invoke.. how do you even get a good feeling for it
i was trying to continue on with the click port but i got totally stuck :(
MicroPython v1.8.4-10-gbc28ac8 on 2016-09-09; ESP module with ESP8266
import machine
pin = machine.Pin(2, machine.Pin.OUT);
for range(1, 3): pin.high(); time.sleep_ms(500); pin.low()
blink blink blink!
sampsyo, btw.. i did get a ticket removing "switch to python 2" from that locale warning in click!
sampsyo, we'd need an alternative db for sure. sqlite is too big
but seriously, there is an mp3 decoder for this particular chip
watsonalgas has quit
jpabq has quit
thunderrd_ joined the channel
thunderrd has quit
jpabq joined the channel
eharris
Does anyone know if there is a way to make a function that takes a parameter using the inline plugin (rather than always using a specific field), or is that only possible by writing a plugin?
NOTICE: [beets] billyjanitsch opened issue #2217: Less aggressive `match.require` https://github.com/beetbox/beets/issues/2217