#microformats 2015-06-20

2015-06-20 UTC
#
tommorris
suggesting that mf2py signs the Contributor Covenant, which is basically a code-of-conduct but for OSS. thoughts welcome. https://github.com/tommorris/mf2py/issues/47
KevinMarks__ and DanC_ joined the channel
#
DanC_
Ugh! all these music metadata formats are such a pain! where is hAudio support?!?!?!
#
tantek
DanC - hAudio was overdone and too complex itself - it itself was too much of a pain for publishers like last.fm
KevinMarks_ joined the channel
#
DanC_
yeah; the complexity tar pit is pretty tough to avoid
#
DanC_
but you'd think some tools would grok CSV anyway
#
DanC_
I suppose m3u is a degenerate CSV
#
tantek
the complexity tar pit is so hard to avoid that rare are the simple solutions
#
DanC_
wishes for a time machine to go back to when CDs were invented and get UUIDs on every disc and every track
#
DanC_
disc release, that is
dariusdunlap and tantek joined the channel
#
DanC_
I'm working on an app to make old iTunes playlists handy on mobile etc. current strategy is via google music
#
DanC_
I've got a web interface to my iTunes data
#
DanC_
I started it in python; parts of it are migrating to javascript. I should probably just build the whole thing in javascript
#
DanC_
javascript with flow and flycheck mode rocks
#
tantek
DanC, you might find that KevinMarks is also interested in making old iTunes playlists portable
#
tantek
and he likes python too :)
#
DanC_
README needs work
#
aaronpk
why can an h-card have street-address, locality, region, etc on it when it might also have an embedded h-adr that could have the same properties?
ivc\zz joined the channel
#
tantek
aaronpk - other way around
#
tantek
because the common case is that an h-card has *one* (at most) address information, it was flattened
#
tantek
the more common case was made easier
#
tantek
flatter is better
#
DanC_
it's better for the author, who gets priority. it's harder for the parser, who now has 2 places to look
#
tantek
it's choosing to allow a more limited but simpler model for the *common* case, rather than making the common case complex for the sake of "consistency" with the complex case.
#
aaronpk
luckily in my case I am both the publisher and consumer since i'm using this as an internal storage mechanism :)
#
tantek
usually devs/programmers make the opposite decision, that is, they argue all about all the complex/edge cases, and expand/distort/generalize their solution until it covers both common cases and all those edge cases, typically resulting in something incredibly unnecessarily complex for the common case
#
DanC_
yup
#
tantek
and when asked why, the answer is always, because you might want to x (edge case / complex case)
#
aaronpk
interestingly, this means that if I know the "location" property is either an h-card or an h-adr, I know I can always find a property called "locality" there
#
tantek
correct
#
tantek
the interesting side effect is that for common consuming code cases, things get simplified too
#
aaronpk
which actually then results in simpler consuming code
#
DanC_
if I had a nickel for every piece of open source software that said "you can configure it to do anything you want!" before explaining how to do the 3 most typical things...
#
aaronpk
DanC_: lol yeah. at this point when i hear "it can do everything" I interpret that as "it doesn't actually do anything without a lot of extra work"
#
DanC_
look at this pile of silicon! you can fabricate it into chips that can compute anything you want!
#
DanC_
;-)
#
aaronpk
i wish that was not such a sarcastic reply because i would use that all the time
#
tantek
I kind of want to carry a small packet of sand to hand to people
#
aaronpk
oh jeez
#
KevinMarks_
Hashing CD into unique id is gracenote's model
#
Loqi
KevinMarks_: kylewm left you a message on 6/16 at 9:20pm: is there a reason the spec only makes urls absolute in the top half of this list? http://microformats.org/wiki/microformats2-parsing#parsing_a_u-_property
#
Loqi
KevinMarks_: kylewm left you a message 2 days, 12 hours ago: nm I found the FAQ answer http://microformats.org/wiki/microformats2-parsing-faq#normalizing_u-.2A_property_values
#
DanC_
woot! after chasing metadata rabbits down irrelevant holes for several days, I got my first practical use case working.
#
Loqi
giggles
#
DanC_
I guess cddb and freedb didn't hash the whole contents of the CD cuz they wanted to show metadata right when you insert the CD
#
DanC_
playlist BBF10DBC3BA3520D from a road trip in Aug 2005 is now available via google music. Except for the 1st two songs which are trapped by DRM
#
tantek
neat DanC! nice hearing about your progress.
#
DanC_
hmm... google music matched one of these songs with a remix. :-/
#
DanC_
maybe not...
#
DanC_
yup. definitely.
#
DanC_
hmm... recognition that songs are already uploaded isn't working as well as I'd like.
#
DanC_
I didn't parallelize this for instant gratification... it's uploading all the songs in a playlist, then creating the playlist, then adding them.
gRegorLove, KevinMarks__, KevinMarks___ and KevinMarks_ joined the channel
#
DanC_
I think I miss-tagged some of my tracks and it's throwing google music off. I'm wiping all the tags. Whee!
#
DanC_
quodlibet is quite nice
#
DanC_
now to reload from old iTunes metadata...
KevinMarks__, KevinMarks_, tantek, Erkan_Yilmaz, eschnou, chiui, DanC_, Zegnat, KevinMarks, ben_thatmustbeme, csarven, Atamido_, dym_cx and fuzzyhorns joined the channel
#
DanC_
ok... my quodlibet plugin to restore tags from iTunes works. fun fun!
#
DanC_
77bc33f27bf9 tip
#
DanC_
make ituneslib.fixit into a working quodlibet plugin
benborges, uf-wiki-visitor, KevinMarks and gRegorLove joined the channel
#
DanC_
finds an inventory of 83 CDs with barcodes in mail from 2008
#
DanC_
"Unable to connect to database server"
#
DanC_
verifies that he has an export of his work there...
KevinMarks_ and KevinMarks__ joined the channel
#
DanC_
interesting... my backup is evidently python pickles of XMLRPC responses from the API of that CMS (drupal?)
#
DanC_
>>> x['dateCreated']
#
DanC_
<DateTime '20080306T17:00:05' at 7f20e8aef5f0>
#
DanC_
>>> x['dateCreated'].__class__
#
DanC_
<class xmlrpclib.DateTime at 0x7f20e444eef0>
KevinMarks_ joined the channel
#
DanC_
this is good motivation to migrate those to madmode.com ... but my closet librarian budget is already exhausted
eschnou, fuzzyhorns, chiui, rknLA_, Garbee_, Phae_, KartikPrabhu, ben_thatmust, Hixie_, kylewm_, reidab_, ben_thatmustbeme, Hixie, edsu_, voxpelli, kylewm, Phae, rknLA, benward, knitt1, rhiaro, Garbee, benward_, DanC__, csarven, Atamido_, aaronpk_, KevinMarks_, ChiefRA, KevinMarks__, KevinMarks___, tantek, JonathanNeal, bret, netweb, ivc\zz and iwaim joined the channel