#microformats 2014-07-21

2014-07-21 UTC
barnabywalters joined the channel
#
mko
tantek: Designing for something in JSON as the source of truth is no different than designing for something in HTML except that it allows for more useful repurposing without requiring as much of a translation layer or removal of presentational elements. Separation of concerns and all that. Designing for the Portable Contacts schema is silly. We agree on that. I'm not sure why you think I like Portable Contacts. I just mentioned that
#
mko
Passport uses the Portable Contacts schema as a standard for its unified profile system.
#
tantek
mko - those same excuses were made for XML, and will be made for whatever replaces JSON in 5-10 years. Meanwhile, HTML+microformats will endure, on the web, in archive.org etc. All programmer formats are ephemeral, and thus a poor source of truth.
#
tantek
also, before XML, the same excuses were made for databases/SQL
trendynick_, KartikPrabhu, ChiefRA, tantek and philipashlock joined the channel
#
tantek
!spammer infoMGWV
#
Loqi
Got it! There are now 214 spammers blacklisted
chiui, netweb, pfefferle, RCheesley, KartikPrabhu, adactio, krendil, charl and barnabywalters joined the channel
#
@ntxsol
@_BrandonTurpin fo you have any suggestions about working through hcard error? I've worked through authorship and publisher errors.
(twitter.com/_/status/491188651577974784)
RCheesley, pfefferle, felipedefarias, elux, TallTed, tantek, philipashlock, Soopaman, gRegor`, KartikPrabhu, pfefferle_, robmorrissey, chiui, jschweinsberg, vontho, KevinMarks, encolpe and krendil joined the channel
#
aaronpk
what's the current recommendation in microformats2 for publishing numbers with units?
#
aaronpk
like 2.4 miles
#
tantek
there is no "current" recommendation
#
tantek
there was work on an hMeasure microformat that in some ways went too far
#
tantek
check that out and h-recipe too
#
aaronpk
looking at h-recipe
#
aaronpk
durationt makes sense as 1H for one hour
#
aaronpk
you're saying this is what went too far? http://microformats.org/wiki/measure
#
aaronpk
i'll just stick to my current NNuu for now. (150 lbs, 2.1 miles, 13 mph, etc)
robmorrissey joined the channel
#
tantek
yes /measure went too far
#
tantek
this would be a cool thing to solve for science
#
aaronpk
for science!
philipashlock and tantek joined the channel
#
tommorris
measure could reuse something like the data element
#
tommorris
not sure how
#
tantek
the problem is the units portion
#
tommorris
so, a simple JS implementation on an individual's site could sort of build a barrier reef to make measures more useful
#
tommorris
like, if there were a simple way to mark them up *and* a simple bit of JS that let you click on them to convert them.
#
tantek
right, emphasis on the *simple way*, which hmeasure was not
#
tommorris
interestingly, Microsoft's F# has a type system that enables these kinds of measures quite nicely. You can declare a value to be in a particular measure type which is orthogonal to its numeric data type (int, float etc.)
#
tantek
and no one else cared enough to work on it to simplify it
#
tantek
probably need some practical publishing examples along with some use-cases to start with
#
tommorris
Use case 1: my American friends use these funny Fahrenheit things to talk about the weather. I want my computer to tell me what they are talking about in Celsius without me having to manually work out the conversion in my head. ;-)
#
tommorris
My computer is rather faster at arithmetic than I am.
#
tantek
that sounds similar to <time> use-cases
#
tantek
tommorris: do you publish notes mentioning Celsius temperatures?
#
tantek
perhaps start an update to /measure-examples with that
#
tommorris
will have a look at some point. :)
tantek joined the channel