#microformats 2013-08-11

2013-08-11 UTC
tantek, xtof, aaronpk, tobyink, eschnou, bnvk and barnabywalters joined the channel
bnvk joined the channel
#
qihe5848
edited /User:qihe5848 (+3337) "/* google google The tooth did make it out 4794aOqvjg22822 */ new section"
(view diff)
danielfilho, bnvk, nonge, barnabywalters, adactio, tobyink and bnvk_ joined the channel
#
occurance
edited /citation-formats (+1) "/* APA note permalink */"
(view diff)
#
neuro`
Good evening.
#
bret
good afternoon neuro`
#
bret
hows the publify project going?
#
neuro`
bret: it's going well, thank you. Next version will provide hcard and h-entry out of the box (plus POSSE for Twitter)
#
neuro`
How about you?
#
bret
good, demos went well at osfw3c but i think I need to find a better way to describe why what is happening is interesting
#
bret
when it comes to indieweb comments
#
neuro`
I followed osfw3c from what tantek and kevinmarks twitted, it sounded really interested.
#
neuro`
s/ed/ing/
#
Loqi
neuro` meant to say: I following osfw3c from what tantek and kevinmarks twitting, it sounding really interesting.
#
bret
cool! Then we can use publify content in reply contexts ^_^
#
bret
Yeah, business/enterprise people really thing differently about this stuff
#
neuro`
I didn't tweet much, mostly read :) And I need to implement "in reply to" and retweet there.
shaners joined the channel
#
shaners
bret: let's talk about this over here, not in #indiewebcamp
#
bret
aight
#
bret
I'm here shaners
#
shaners
so, as I understand it, JSON-LD is vocabulary agnostic. which means that if one wanted to use h-card's vocabulary in JSON-LD, they could. in theory.
#
shaners
but you can see from their simple example on their homepage, they haven't
#
shaners
that's a perfect use case for h-card / xfn
#
shaners
at the end of the day, we've got something that A: already works, 2: is being widely used and D: is optimized for published first, not developer (which has lead to greater adoption of mf)
#
bret
i was getting the impression that the vocabulary and its representation in json was what they were trying to standardize
#
bret
uF2 isn't hugely adopted yet though, no? mostly classic
#
bret
uF2 does vocab inside html which maps to json
#
tommorris
shaners: did you see my response?
#
cbvcbvby
edited /User:cbvcbvby (+2512) "/* Obama called the new Greek Prime Minister pledged support to */ new section"
(view diff)
#
shaners
tommorris: no. link?
#
bret
tommorris: do you see much crossover with uF2 and JSON-LD
#
tommorris
Nope, but it'd be fairly easy to do.
#
shaners
tommorris: i understand your point in your post. but i think it's the same logic as "everyone is using xml" from 10 years ago.
#
shaners
my point is that mime types are fashionable. they come and go. but html has stuck around.
#
bret
It seems like JSON-LD recognizes "html + RDF" solved data inside html
#
bret
(their words)
#
bret
but they want this standard to do the same for data represented in JSON
#
tommorris
so, here's a tougher use case than putting-contact-details-online
#
tommorris
you have a chemical database that describes research data into the interactions of genes in the progress of complex diseases and medical conditions - cancer, HIV/AIDS etc.
#
tommorris
it links between specific highly-complicated scientific areas - genetics, diseases, drug interactions etc.
#
tommorris
and it links into existing complex databases, some of which are public and some of which are behind academic firewalls/paywalls
#
shaners
tommorris ok
#
tommorris
it's very important that when two scientists are talking about a particular gene, they are talking about the same thing
#
tommorris
so... unified naming of things.
#
shaners
tommorris: so let's unpack this into small pieces.
#
shaners
on record in the chemical database, for example
#
tommorris
the systems that use this data are diverse. they might be RDBMSes, they might talk XML, they might talk JSON
#
tommorris
they should talk HTML too
#
bret
it seems like given the argument shaners is making about mime formats failing, and uF not, that any kind of data vocab should be tied to the non-mime representation, and map to the mime style representation
#
tommorris
the point is that you have RDF which is a Resource Description *Framework*
#
tommorris
and you can implement that framework in different ways
#
tommorris
whether that's in HTML (with RDFa), in XML (RDF/XML), in JSON (RDF/JSON originally, now the much, much simpler JSON-LD)
#
bret
can you have such a framework, and still have the simplicity of uF2?
#
tommorris
quite possibly
barnabywalters joined the channel
#
bret
i imagine so
#
tommorris
one of the reasons I'm writing my own mf2 parser is that I can sneak on a make-sane-RDF option, so you can merge data contained in microformats2 with RDF data
barnabywalters joined the channel
#
shaners
tommorris: i guess, it's like this. every time i hear these examples, they're either
#
shaners
A: completely made up not real world use cases (not saying you're making this one up) or
#
shaners
2: have yet to see a case where if someone wanted to model a "complex disease" (or whatever, anything more complex than h-cards) in mf2 that they couldn't
#
shaners
i haven't seen any effort from the LD set to work on an mf for one of these straw man examples
#
tommorris
that's because Linked Data people already have an existing data-in-HTML solution, RDFa.
#
shaners
i mean, right? is there some history of someone trying to make a mf for diseases or genes or whatever complex science thing?
#
tommorris
Nope. They already have existing RDF ontologies.
#
shaners
tommorris: when did people start using RDFa in HTML?
#
tommorris
Not sure. Can't remember the history off hand.
#
tommorris
What put a lot of people off in the early days was that it didn't validate.
#
tommorris
Microformats had that as a significant win: because it was just classnames, it was valid HTML 4.x/XHTML 1.0
#
shaners
from my perspective (and this is certainly) outside looking in, was that it wasn't until the past couple years did people start using RDFa.
#
tommorris
it's been around for a while
#
shaners
been around and used?
#
tommorris
not as much
#
tommorris
it's become a lot more usable in the last few years as they've made the effort to spec out how it works with HTML5
#
tommorris
and also people stopped giving a shit about validation so much. ;)
#
shaners
#truefacts
#
barnabywalters
I don't think it’s very helpful to look at when something was published as opposed to consumed
#
shaners
meanwhile, were people just waiting until RDFa validated before doing anything in HTML. why weren't they getting into mfs?
#
tommorris
the social model is different
#
shaners
tommorris: either way, debating history doesn't change what's what today.
#
tommorris
the social model of microformats is: come to microformats.org, show evidence, work on a spec collaboratively
#
shaners
as opposed to, just make up a new vocab for an already existing thing?
#
tommorris
social model of RDF is: do whatever the fuck you want. publish it yourself, get together with your friends, build a gigantic committee. whatever you want.
#
shaners
tommorris: kill me :P
#
tommorris
but you can pick and choose from wherever you want
#
shaners
i think you're actually making my case for me.
#
tommorris
so if you think schema.org is right, use that. if you think facebook graph is right, use that.
#
tommorris
if you think I'm right, use mine.
#
tommorris
and you can declare equivalencies, you can extend existing specs
#
shaners
in your example about _making sure that two scientists are looking at the exact same gene_, this "use whichever thing you think is right" does't jibe
#
shaners
s/does't/doesn't
#
Loqi
shaners meant to say: in your example about _making sure that two scientists are looking at the exact same gene_, this "use whichever thing you think is right" doesn't jibe
#
tommorris
so if you are aforementioned scientists you can use complex gene ontology put together by beardy experts
#
tommorris
and you can also use microformats to publish your contact details
#
shaners
just make up your own ontology!
#
tommorris
there's a weird perception issue there.
#
tommorris
on the one hand, everyone bitches about how the RDF world is filled with committees spending years on specifications.
#
shaners
i'm still waiting for a genuine real world use case, where an mf couldn't be used or created
#
tommorris
on the other, most RDF specs are put together by a programmer in a text editor. often while drunk.
#
tommorris
somehow both seem to be considered true.
#
shaners
esp with the mf2 changes to syntax and parsing
#
tommorris
Yes, microformats2 has brought microformats a lot closer towards an RDF-like model.
#
shaners
i don't believe that an mf couldn't be specced out for chemicals, for example
#
shaners
and that there isn't already some (a lot of) prior art on vocabulary
#
tommorris
sure, but why bother? the community of people who do that already have semweb technologies which they are using
#
shaners
i also don't believe that it's Hard™ to consume html+mf2
#
tommorris
well, I'm having to run a node.js daemon on my server to read microformats2
#
shaners
and i don't believe that there is any technology that has more available tools and potential consumers for it than HTML
#
shaners
(bringing this back around to JSON LD)
#
shaners
publish HTML + (MF2 or RDFa) on the web and literally everyone with a browser can use it
#
shaners
publish JSON (in any "format") and only programmers or snowflake apps can use it
#
tommorris
sure. I prefer data-in-HTML than data-in-(XML/JSON/etc.)
#
tommorris
the problem I have with data-in-HTML approaches is that actually solving the problem of consistent rules for working out the relationship between the page and the objects contained therein is difficult
#
shaners
i would love to see the day where we're only debating HTML + ?, rather than HTML vs JSON vs XML, etc
#
tommorris
well, for me it's not a matter of debating. it's a matter of people actually using JSON, so what's the best way to do that in a non-sucky way
#
shaners
that's a red herring
#
tommorris
same as people used to use XML, there's ways to do that in a sucky way and a non-sucky way
#
shaners
they'll have to put coding time into working with this new flavor of json. that time could be used instead to code against parsing mf2 (or mf2 to json)
#
tommorris
like, a "debate" on the merits of data-in-HTML vs. JSON is pointless because people aren't convinced of technology choices on the basis of reason and argument. they are convinced by fashion and engage in a lot of cargo cult science
#
shaners
yeah. total bummer, that.
#
tommorris
XML became popular because it was pushed by industry, was intimately connected with lots of other sexy things they liked
#
tommorris
it had a certain sheen from the W3C, it had the approval of the Java enterprise crew
#
tommorris
my misspent youth of writing XSLT stylesheets...
#
shaners
sorry, buddy
#
tommorris
someone thought a programming language in XML was a good idea.
#
shaners
i lived through the xml wars too
#
shaners
we're all a little scarred and broken for it
#
bret
The thing that appeals to me about data in HTML is that HTML never goes away, where your API backend will eventually die
#
tommorris
indeed, one of the worst things that happened to RDF was the fact that the first implementation was RDF/XML
#
bret
maybe I am an being to simple about this
#
shaners
and to me, all of this JSON stuff just feels like that all over again
#
tommorris
most people in the RDF community would be very happy if RDF/XML would go away and we'd never see it again.
#
bret
the other problem is nobody is flat out wrong about any of this stuff :p
#
shaners
except you, bret!
#
tommorris
the problem with JSON is that it's the building block of the webapp.js world which is slowly eating away at the HTML world
#
bret
what am I wrong about ?
#
shaners
EVERYTHING! :P
#
tommorris
instead of HTML on the web, we're getting websites that are just JavaScript that load more JavaScript
#
shaners
jokes. i think you're great, bret.
#
tommorris
if you open them up with JS turned off, you get nothing at all
#
bret
I'm not making claims, just trying to undertstand
#
bret
ok shaners :)
#
shaners
tommorris: agreed. it's a shit show. and i think it's a passing fad.
#
bret
javascript doesnt seem like an issue to me either… it never disappears, like html, its the API backend that goes silent
#
bret
right?
#
bret
if your API backend is data from some other HTML source called in with JS, its should be fairly resilient
#
shaners
bret: it IS the scripting language of the web. it's not going anywhere anytime soon. anymore than HTML or CSS are going away.
#
bret
tommorris: I saw that post, and it was definitely an appropriate response to the troll who provoked it
#
tommorris
oh, no, no troll provoked that
#
tommorris
what provoked it was the redesign of Google Groups and the utter frustration I felt using it
#
barnabywalters
I didn’t live through the xml wars, not do I know much about RDF in any of it’s various forms. Not do I suspect that trying to actively persuade anyone that one technology is better than the other is going to get us anywhere. What will is what we're doing at the moment, solving real problems with mf and proving the community model works by iterating on them, and most of all building things which actually consume the data and make it
#
barnabywalters
tangible for end users
#
tommorris
+1 barnabywalters
#
tommorris
has his theological preferences but is a big fan of anything that works
#
shaners
barnabywalters agreed
#
bret
I guess I'm still worked up over this weekend listening to all of this JSON-LD propaganda, but not seeing anything tangible from it. http://www.fatberg.org
#
tommorris
pragmatism: the realisation that the pain caused by shit not working is larger than the pain caused by the solution matching up exactly with your dogmatic preferences.
#
shaners
tommorris i have ideological prefs too. they just happen to align with what works. …mf2
#
tommorris
"Fax + IMAP + .NET + SSO + Exchange"
#
tommorris
Pass me the vodka!
#
bret
hit refresh
#
tommorris
(Although the last time I did .NET programming, it wasn't awful.)
#
tommorris
"RDFa + .NET + Shibboleth + RDF + FOAF"
#
tommorris
Googles: "Shibboleth is among the world's most widely deployed federated identity solutions"
#
tommorris
And yet I've never heard of it.
#
barnabywalters
That’s news to me
#
shaners
bret: so back to your original message about mf2 + JSON LD compatibility, i have very low expectations of any interop.
#
tommorris
oh, it's something made by academia with the support of Internet2 people.
#
bret
shaners: :( you are prob right
#
tommorris
shaners: I've looked into it, and microformats2-to-rdf is fairly straightforward.
#
bret
wtf is internet2?
#
shaners
bret: back away
#
barnabywalters
They have membership fees. RUN!
#
barnabywalters
Good grief, big fees too
#
bret
what do people think of the analogy that uF2 is like the tardigrade of webAPIs?
#
barnabywalters
Anyone want to pay €120,000 for membership?
#
barnabywalters
bret: WATERBEAR!
#
barnabywalters
But seriously, how so?
#
bret
it provides an api that just sits there, in the html, dead. In the right environment though, it comes alive as a data API
#
shaners
back when it was kicking off, i lived in Bloomington, Indiana (where IU is) and was all excited about this New Shiny Fast Internet™. I was 19.
#
tommorris
Internet2 in simple terms: the UK has an very fast inter-university network called JANET. Now make it bigger, brasher and American. that's Internet2.
#
shaners
tommorris that's about right
#
shaners
alright friends, i'll be AFK for a while. doing an airport pickup. laters!
#
bret
barnabywalters: unlike json-ld, it isn't assumed that it relies upon some complex backend (which seems implied)
#
tommorris
JSON-LD doesn't require a complex backend. trust me, I've seen some crazy RDF specs. JSON-LD is pretty tame.
#
tommorris
it's just JSON with a very thin layer of "here's how it maps to RDF", almost like a stylesheet
#
tommorris
in fact, it wouldn't necessarily be that hard to layer JSON-LD on top of microformats2-JSON
#
bret
ok gotta run, thanks for increasing my understanding on all of this barnabywalters shaners tommorris
#
tommorris
just wishes he had a few extra days each week to work on this stuff
#
cbvcbvby
edited /User:cbvcbvby (+2506) "/* Panama cargo ships suffered pirate attacks the ship carrying */ new section"
(view diff)
#
bret
uF2 still seems the most minimal spec of them all
#
tommorris
looks at the wiki-spam and gasps
#
tommorris
edited /Special:Log/protect () "protected "[[Muscle Building]]": spam [create=sysop]"
(view diff)
#
barnabywalters
There was some really hilarious spam last month — so funny I kept a copy
#
barnabywalters
Entitled “garage doors should do no harm”
#
tommorris
my favourite spam was entitled something like "For the gay boys out there" and then the body was promoting books on how to pick up women.
#
tommorris
Sort of like trying to sell a car wash to a pedestrian.
tantek joined the channel
#
tantek
bret - I see shaners already discussed a bunch of the microformats2 JSON representation stuff
krijnh joined the channel
#
tantek
retry: bret - I see shaners already discussed a bunch of the microformats2 JSON representation stuff
#
bret
tantek: yeah, we had a bit of a discussion
#
tantek
bret - the short answer, which I didn't see in the discussion, is that the microformats2 canonical JSON is based on microdata canonical JSON
#
bret
I was curious if json-LD could share common ground with MD canonical json
#
bret
but then it came down to the fact it probably wanst important
#
bret
value/effort wise
#
bret
at least thats the impression i was left with
#
bret
i need to stop distracting myself with things that don't involve what I am focused on
#
tantek
it happens
#
tantek
at the time when I was figuring out canonical JSON for microformats2, I chose the simplest other such generic use of JSON
#
tantek
so I deliberately chose for microformats2 JSON to share common ground with microdata canonical JSON
#
tantek
when something more complex comes along (like JSON-LD), it's up to the more complex thing to share common ground with the simpler thing, not the other way around
#
tantek
so basically, someone in whatever channel/forum JSON-LD is discussed should be asking if they can share common ground with microformats2 JSON, not vice versa
#
tantek
that's where I'd leave that.
#
bret
hrmm
#
tantek
always pursue the simplest solutions, and ignore the complex ones, despite their pleas for common ground or compromise
#
tantek
leave the responsibility to those who pursue more complex solutions to educate themselves and simplify (or use the simpler solutions as building blocks for their own complex use cases)
#
tantek
edited /irc (+233) "restarted krijnh logs and noted last time a day of logs was seen from it"
(view diff)