No source that I'm aware of provides a public API
Well that said there are a few; I quite like https://lyrics.ovh/215 karma · joined May 15, 2015
No source that I'm aware of provides a public API
Well that said there are a few; I quite like https://lyrics.ovh/ It's really unfortunate that there isn't a single, high-quality reference source (with an API) for song lyrics, the way there is for artist/album metadata (MusicBrainz) or cover art (Cover Art Archive).
My gut tells me this is because labels (or even streaming giants) realised it's monetisable and thus will pursue any API that gets big enough :(And related cause: A&R people listening to xyz's new album and judging it sounds "huge" / "phat" / "modern"... when actually it's just a bit louder than the other guys, but nobody's adjusting volumes between demos...
Here's an old but related site / campaign with lots of links too: https://www.turnmeup.org/
Alt-enter over the would-be imported term to add an import, ctrl-alt-O to autoformat / autoremove (aka optimise) redundant ones.
You can then turn on folding to not see those imports much via Prefs -> Editor -> General -> Code Folding
...which is why I wish Black allowed more configuration. A team can often agree on a set of styles. Every team on the Python planet agreeing... now that's much harder
assert outputs.get("foo.bar.baz", "default") == pytest.approx(
time_recorder.time_taken, abs=0.0001
)
I get why it's done that, but I just don't think it helps humans read.
Part of the twisted beauty of PEP-008's narrow lines is that you're forced to extract (named) variables, or avoid overly indented code by extracting methods or applying higher level abstractions.In the last few years I find devs are happier to format and push to "sort that problem out", leaving the readability benefit of that thought process lost.
TL;DR writing readable code isn't just about getting the spaces and brackets right...
Python was always meant to look concise / beautiful... (MyPy has also made this trickier too)
Living without those few "extensions" feels... empty
Predictably, it's not easy to get started, but once you're into it the power of building your own arbitrary content "compilers" (and template extensions etc etc) is pretty impressive.
This statement makes me sad.
It's also a RPMs, Arch AURs, Gentoo err things (let alone *BSD systems), and various flavours of repos / interfaces with packagers / downstream systems and release cycles...
I'm in no doubt that HN readership is mostly US-based, but it's definitely global...
No, it's not perfect but c'est la vie as they say
Thank you FF team!
Can they improve? Yes, sure. But when cooked in good sauces / dishes they constantly impress for day-to-day meals.
Aside: It's something I worry about sometimes too on phones...