2022-02-07 UTC
dtw, Seirdy, ur5us, Seirdy0, [schmarty], [fluffy]1, KartikPrabhu and balupton[d] joined the channel
tj1 joined the channel
# 11:01 [tantek] hCard and hAtom yes, as part of backcompat for IndieWeb use-cases of course. hResume I'm not sure anything parses it since the libraries that Glenn wrote years ago.
# 12:27 [tantek] I believe it, problem is lack of h-resume consuming applications/services
# 12:37 [tantek] KartikPrabhu, perhaps we need to start with more h-resume examples in the wild to point to, to make it worth the time to talk to LinkedIn (to support importing, updating from h-resume)
[manton], jacky and Ramon[d] joined the channel
# 14:53 jacky the need to preserve 'T' is maddening (lol)
# 14:55 jacky it's the way I'm parsing things, I lose it in the process
# 14:56 jacky lol I feel like I'm building an AST of date-time values for value-class parsing
# 14:56 aaronpk I thought the whole point of the way datetime parsing works is the parser doesn't have to do any date parsing at all, just treating things as strings
# 15:00 jacky so initially, my assumption was that some sense of parsing was needed
# 15:00 jacky I think that came from me taking the headings literally
# 15:01 jacky namely "the following rules apply in addition to (and in some cases replacing)"; making me think that some sense of massaging values to match the expected formats at the bottom of that section
# 15:02 jacky now I'm seeing it's more of the "find strings and massage them to expected formats"
# 15:03 jacky i.e: you can provide something like 2022-010 4 AM but that doc hints that it should be returned as "YYYY-MM-DD HH:MM"
# 15:03 jacky (so ordinal formatting would be lost and the use of meridan values push it to be in 24-hour style)
# 15:12 aaronpk Oh darn, expecting 4 AM to turn into 4:00 is not trivial
# 15:15 [KevinMarks] If you're parsing into a strongly typed language there may be a case for creating native timestamps, but then you do hit all the date vs datetime issues we were talking about before
# 15:22 jacky I've been using named groups in the regex to help with that meridan math
# 15:22 jacky (if `pm` is detected, add 12 to hour value) for example
# 15:24 sknebel if it tripped up a parser writer, it probably deserves a test case
# 15:30 sknebel (or throw in a ticket desciribing the problem, thats at least it written down somewhere :))
# 15:47 jacky re: time parsing, this is what I'm using right now to pull out meridan info, if it's using a prefix (like 'T') and grab the offset
sarahd[d], daiyi[d], Asaf_Agranat[d], Jeremiah[d], rattroupe[d], aspenmayer[d], sayanarijit[d], Seb[d], Murray[d], shaunix[d], Zegnat[d], corenominal[d], aaronpk[d], hans63us[d], capjamesg[d], Osvik[d], hoenir, mossymaker[d], Myst[d], Ramon[d], balupton[d], P1000[d], wackycity[d], marksuth[d], dovedozen[d], Christian_Olivie, MarkJR84[d], barnaby, ben_thatmustbeme, cygnoir[d], jacky, edburns[d], [Aaron_Klemm], [jgmac1106] and ur5us joined the channel
KartikPrabhu joined the channel
# 21:02 jacky had to check more of the regex logic for it
# 21:02 jacky the one thing tripping me up right now and I don't know how to handle is this assumed date
# 21:05 jacky and it's a useful convention to have - esp for short hand
# 21:16 [tantek] btw jacky, I'm absolutely open to adding more id="" linkable fragments to the mf2 spec
# 21:16 [tantek] I'd rather do that manually than use <ol> FWIW, because the numbers will change when the algorithm does
# 21:20 jacky is that's what it's called? if so, then yeah
# 21:21 jacky yeah tbh anything with a heading that doesn't show up in the ToC works
# 21:21 jacky but now I wonder if they _do_ have IDs and aren't just linked directly
zack[m], mambang[m], diegov and juanchipro[m] joined the channel
# 22:24 jacky there's this "P2YM11" value in `v2/h-resume/work` and there's no mention of how to parse that on the Wiki
# 22:25 jacky lol this is going to be fun P3Y6M4DT12H30M5S
# 22:29 jacky tbh I'm learning more about mf2 from doing this than I expected
# 22:30 jacky now I know how my calendar figures things out
jacky joined the channel
angelo joined the channel
# 23:40 barnaby jacky: maybe if enough people write mf2 parsers, someone will finally end up actually using the value class pattern for datetime parts, to justify having written all that code for handling them
# 23:45 [KevinMarks] The usecase that is still hard to mark up is the calendar grid for events where you have time down and different tracks across.