#tantekfor folks that want to read back to how we came up with them
#aaronpkyeah but those are the first places I found trying to look up how to do vendor prefixes
#tantekaaronpk, since microformats2 started as a brainstorm, and then got incrementally formalized, there's a dividing section between the top of the page (more formal) and the original brainstorming: http://microformats.org/wiki/microformats2#About_This_Brainstorm (note that VENDOR_EXTENSIONS is below that on that page)
#aaronpkI just did a search for "vendor" on the page
#tantekcreated /microformats2-origins (+23268) "move origins brainstorming and background from the main microformats2 page to reduce confusion" (view diff)
[jjdelc], [kevinmarks], echarlie and [aaronpk] joined the channel
#@rahelab↩️ I want a site that uses microformats and easy RSS or API so that I can import my speaking (history and future) into a single place. So far, no joy. (twitter.com/_/status/981245280887758850)
#tantekbecause they're more easily recognizable that way
#tantekshould we have (still time?) used -- ? e.g. h--p3k-whatever?
#tantekor p--p3k-special to distinguish from things like p-country-name ?
#tantekwith kevinmarks's generic sounding -scheme- vendor prefix, and I thought I saw somewhere a -swarm- prefix, it may be worth making it more obvious when things are vendor-specific
#tantekwe could grandfather in existing-in-wild vendor prefixes to avoid breaking any existing content
#tantekI think that might only be -p3k- but not sure
#ZegnatI was just asking about the page because we never refer to things with a leading dash. E.g. we do not say -author. Either *-author or just author is what we usually use. So the -p3k- stood out to me.
#aaronpknow that you mention it, I don't understand what "-swarm-coins" means
#Zegnatx-swarm-coins where x is a parsing prefix. Surely?
#aaronpkit's "swarm-coins" in the parsed JSON, and "p-swarm-coins" on the page, so omitting the letter but leaving the dash doesn't really make sense
#ZegnatYeah. That's what I meant. We never use that notation, AFAIK
#tantekaaronpk the JSON output is part of the reason for the - before
#tantekso it would be p--swarm-coins in the page, and -swarm-coins in the JSON
#tantekthis way it is more obvious in the JSON which things are/were vendor specific
#aaronpkI will say, I didn't actually intend to use "swarm" as a vendor prefix for that example, I was just writing a property that was descriptive of what it was, and it happens to follow the vendor prefix conventions too
#ZegnatI'd say don't change things and let property names (with or without prefixes) grow naturally. If a need arises for starting dashes, we'll tackle it then.
#tantekaaronpk, your use of "swarm" kinda proved the point though - as now it looks like just another multi-word property
#tantekZegnat, no something like this you want to do "early" before you have a ton of rando vendor prefixes out there making it more confusing
#tantekthis isn't a demand thing, this is a reduce potential harm thing
#tantekand the prior art is that CSS did this deliberately
#tantekeven though in that case the prefixes were more "obvious" like ms-
#tantekthat's another good reason actually, web developers are used to seeing and recognizing leading -* names as vendor prefixes like -webkit-appearance
#tantekso it makes to keep that kind of distinction in the parsed JSON output of microformats
#tantekfrom [manton]'s questions it sounds like we are going to see more vendor-prefix usage soon
#aaronpkis swarm really a vendor prefix in that example though? I thought vendor prefixes were for producers and consumers to add data that no other systems are expected to consume
#ZegnatSo the idea is that x--swarm-something is clearly vendor prefixed as opposed to x-swarm-coins which is just a generic descriptive property name?
#aaronpkand in that example swarm has nothing to do with the production or consumption of the data
#KartikPrabhuwait vendor-prefixes should show up a "-prefix-property" in the JSON!?
#ZegnatThey already show their prefix, KartikPrabhu. It is whether they should be set apart from non-redirecting properties by having them start with a dash.
#tantekKartikPrabhu: just like in CSS you see -webkit-appearance or whatever
#tantekZegnat what does non-redirecting properties even mean?
#KartikPrabhu<sigh> this is going to be a pain to implement
#ZegnatThat is the autocorrect for non-prefixed, apparently, tantek
#ZegnatI am going to sleep on this as I'm already in bed. My first thought is that with mf2 being very generic and people being encouraged to experiment with new properties I wouldn't expect extra punctuation marks to be something people will start to use.
#ZegnatLooking forward to the logs in the morning ;-)
#tantekZegnat, that's a good thing, we should discourage proprietary properties
#Loqi[[manton]] [aaronpk] I'm surprised I've never run into this, but is there a prefix convention in Micropub for custom fields in JSON that are likely server/client-specific and not really proposals for broader support? In q=config for example, I was considering a...
#KartikPrabhuyeah that is fine. but still don't see why the extra "-"
#KartikPrabhuif someone wants to consume "p-microblog-name" that seems ok
#tantekKartikPrabhu: so it's obvious in the JSON results as a vendor prefixed property
#KartikPrabhu<shrug> if someone gives me the regex I'll use it in mf2py
#tantekgRegorLove: when companies pick generic terms as names and then potentially vendor names
#gRegorLoveI could see it being a problem if Swarm themselves started using p-swarm-coins for something official and thus it conflicts with aaronpk's non-vendor-prefix use of it.
#tantekor a (artificial example) company named "country"
#KartikPrabhuso using experience of CSS we should not add extra "-"
webchat254 joined the channel
#tantekKartikPrabhu: huh? CSS exactly added the extra "-" after it was clear that no "-" extensions like "ms-" were easily mixed up with other properties
#tantekas in you saw very little -ms- usage after that
#tantekthe problem of using them like normal properties happened not because of syntax, but because Apple came out with so much new functionality with -webkit- that people felt compelled to (and CSSWG took too long to standardize them)
#tantekyes we are pre-empting the potential take-off of vendor-prefixes that are confusingly named like real standardized properties, especially in JSON output / interop
#KartikPrabhuas I said I no longer know what the rules for this argument are. so I'll just go back to work
#tantekin this case the evidence is past harms that occured, were repaired, then went wrong for other reasons
#tantekwhile CSS is not microformats, it is similar enough to be worth conservatively erring on the side of re-use of the CSS -vendor- syntax rather than assuming our own "vendor-" is good enough (since they also experimented with that)
#tantekif you have reasons why you think it would turn out differently for mf2 than for CSS, I'd be interested in hearing them
[kevinmarks] joined the channel
#[kevinmarks]If we use -- won't that get false positives from the more rococo css conventions?