#dev 2017-02-17

2017-02-17 UTC
KevinMarks1, KartikPrabhu, [dgold], KevinMarks, KevinMarks_, tantek, deepbook5broo, gRegorLove, [kevinmarks] and cweiske joined the channel
#
GWG
Morning all
#
sebsel
dates in PHP are sad. strftime() does not seem to do timezones, but date() and DateTime objects don't do language.
#
sebsel
Should I write my own date-translations then?
#
sebsel
ah! found date('Z'), which is the timezone difference in seconds. I can work with that
#
petermolnar
dates in every programming language is sad
#
petermolnar
!tell snarfed I've merged your changes into mine in https://github.com/petermolnar/webmention-tools but I don't think my additional lookups are needed for the main branch; if you have time to check them though, and you think it would worth having only one of these, please tell me
#
Loqi
Ok, I'll tell them that when I see them next
[keithjgrant] joined the channel
#
[keithjgrant]
On indieauth.com, how does the client_id fit in?
KevinMarks joined the channel
#
aaronpk
[keithjgrant]: indieauth.com will use the client_id to look up the app info that it shows on the authorization screen
KevinMarks and [keithjgrant] joined the channel
#
[keithjgrant]
Naming things is hard
chrisaldrich and tantek joined the channel
#
www.svenknebel.de
edited /aerobatic (+30) "not bitbucket only anymore, linkify"
(view diff)
#
www.svenknebel.de
moved /aerobatic to /Aerobatic "canonical caps"
KevinMarks joined the channel
#
tantek
what is Aerobatic?
#
Loqi
Aerobatic is a static hosting service https://indieweb.org/Aerobatic
[kevinmarks], [chrisaldrich], KevinMarks and [cleverdevil] joined the channel
#
loqi.me
created /Delphi (+141) "prompted by tantek and dfn added by bear"
(view diff)
gRegorLove, [kevinmarks], [pfefferle], KevinMarks and pfefferle joined the channel
#
@ChrisAldrich
@wanda_lotus IndieAuth (which uses the rel="me") needs to support the providers, which typically have a version of… http://stream.boffosocko.com/2017/wanda_lotus-indieauth-which-uses-the-relme-needs-to-support-the
(twitter.com/_/status/832669886757400576)
#
tantek
voxpelli: if you find anything that can be improved with mf2 parsing (with backcompat) of "classic" WordPress sites or themes, please make a note of it!
#
tantek
maybe even file an issue if you has a specific suggestion
#
voxpelli
tantek: can't think of anything missing in the parse, feels like one would have to try it in some IndieWeb clients to see for sure
KevinMarks joined the channel
#
www.boffosocko.com
created /WordPress_OpenID_plugin (+239) "prompted by tantek; basic definition, see also"
(view diff)
#
www.boffosocko.com
edited /Template:WordPress (+32) "OpenID plugin"
(view diff)
#
tantek
voxpelli: I mean in particular, is there information visually on the post page, that is missing from the parse, and if so, what information?
KevinMarks joined the channel
#
aaronpk
oh crap it's doing that thing again where i have two separate processes overwriting the file
#
aaronpk
the downsides of file storage
#
aaronpk
gotta do your own locking
#
tantek
you have to do that for database tables too
#
aaronpk
usually the database does it for you
#
tantek
e.g. if you have two different tables to update
#
tantek
you have to your own "locking" (transaction)
#
tantek
so they're not inconsistently updated by two different processes
#
tantek
like a "posts" table and a "media" table :P
#
aaronpk
the only similarity this problem has with a database is if i was storing all my post data in a single column
#
aaronpk
which means a potential file based solution to this is to separate out my syndication URLs into different files so that I can write more than one at a time without clobbering them
#
aaronpk
yeah i don't know how i want to solve this
KevinMarks joined the channel
#
tantek
do you have different syndication processes? why?
#
tantek
seems like one "background" syndication process would be enough
#
aaronpk
well what happened here was: 1) I posted from a micropub client that told my website to syndicate to facebook. That returns immediately so the client thinks it's "done". then 2) the client then syndicates it to a couple other places, and makes a micropub "edit" request to update the post to add the new syndication URLs that it created. 3) the micropub server finishes posting to facebook, and then
#
aaronpk
"updates" the post itself, clobbering the edit
#
aaronpk
i suppose i could make my micropub endpoint refresh the file from disk after it finishes its own syndication before writing the syndication URL
#
tantek
seems like the micropub server needs to use a request queue, and process them fifo
#
tantek
right!
#
tantek
each request needs to be handled atomically, with all file edits completed / closed, and zero state kept between (file has to be re-opened, re-read between requests)
#
tantek
state is for storage, not processes
#
aaronpk
this doesn't solve the underlying problem, i still have to run only one background process
#
aaronpk
but this refreshing thing would be a good idea regardless
#
tantek
right, typical way this is solved is to have one *storage* process that everything else talks to, and only that storage process gets to read/write to the files
#
aaronpk
that's probably how databases work huh
#
tantek
the key is keeping that storage process pretty "dumb", that is, just have it worry about consistency and time-order and that's it
#
aaronpk
and this is the challenge of replacing a database with the filesystem :)
#
tantek
except with databases, the architecture astronauts decided to put in a bunch of extra crap into that process
pfefferle joined the channel
#
tantek
there are other techniques
#
tantek
I don't plan on creating / running a storage process myself
KevinMarks joined the channel
#
tantek
what is 2017-03-08
#
Loqi
It looks like we don't have a page for "2017-03-08" yet. Would you like to create it?
#
tantek
aw I thought search would find that
#
tantek
wonders if we should ditch the event/ hierarchy and go flat with the HWC dates
#
tantek
does a date imply an event?
#
tantek
gRegorLove: what do you think?
#
gRegorLove
Not sure. My first inclination is "no", but I don't have strong feelings about it.
#
gRegorLove
"what is happening 2017-03-08" could be an option for Loqi to search specifically for events
#
gRegorLove
I'm a bit distracted at the moment. Will think about it
#
tantek
cool. reflection is good
#
gRegorLove
tantek: Did you see we're doing IWC Bellingham?
#
tantek
oh! when?
#
tantek
when is IWC Bellingham?
#
tantek
Loqi?
#
Loqi
what
pfefferle joined the channel
#
tantek
what is IWC Bellingham?
#
Loqi
It looks like we don't have a page for "IWC Bellingham" yet. Would you like to create it?
#
Loqi
nice
#
tantek
IWC Bellingham is /2017/Bellingham
#
loqi.me
created /IWC_Bellingham (+28) "prompted by tantek and dfn added by tantek"
(view diff)
#
tantek
when is IWC Bellingham?
#
Loqi
IndieWebCamp Bellingham 2017 is on 2017-05-04 at TBD https://indieweb.org/IWC_Bellingham
#
tantek
gRegorLove++
#
Loqi
gregorlove has 14 karma in this channel (104 overall)
#
tantek
when is next-hwc?
#
Loqi
Homebrew Website Club Meetup is on 2017-02-22 at Venue: Salon Schmück https://indieweb.org/next-hwc
#
gRegorLove
Was going to be Seattle, but since Salt and strugee really wanted to capture the LinuxFest crowd (beforehand), we decided to do it here.
#
tantek
is LinuxFest in Bellingham?
#
gRegorLove
what is LinuxFest
#
Loqi
It looks like we don't have a page for "LinuxFest" yet. Would you like to create it?
#
loqi.me
created /LinuxFest (+32) "prompted by gRegorLove and dfn added by gRegorLove"
(view diff)
#
GWG
Afternoon
#
GWG
Gregorlove, what do people visiting Bellingham do?
#
GWG
My current project makes me feel dirty.
#
GWG
So little consistency
#
gRegorLove
We're nestled between the bay and the start of the mountains, so there's a lot of forests and hiking. It's gorgeous here. Quite a few breweries that I understand are good (not a beer fan myself), we have a nice waterfront park and boardwalk. Quite a few music venues, an improv theater (Ryan Stiles from Whose Line Is It Anyway?)
#
gRegorLove
San Juan Islands are across the bay, so a ferry ride away. I need to explore them more.
#
gRegorLove
Some really good coffeeshops
#
GWG
So.. things to do, good.
#
gRegorLove
Half hour from Canada
#
gRegorLove
~90 to Seattle
#
GWG
Not that an Indiewebcamp doesn't stand on its own.
#
GWG
Easy airport access?
#
@wanda_lotus
@chrisaldrich That makes sense.. I’ll keep IndieAuth and OpenID plugins running on my site. I just need @LiveJournal to fix their OpenID.
(twitter.com/_/status/832692703318011904)
#
gRegorLove
Thinking of coming?
#
tantek
chrisaldrich++
#
Loqi
chrisaldrich has 4 karma in this channel (18 overall)
#
GWG
Gregorlove, my boss is keeping me busy till April. Last year he kept me busy all summer and didn't like that I was off twice in December
#
GWG
So I have to go somewhere
#
gRegorLove
Well, we'd love to have you
#
GWG
Why not Washington? I don't think my trip to Portland was scenic, due the heat. I was avoiding outside.
#
gRegorLove
Aye. It will be really mild here.
#
GWG
Maybe I can do Seattle too
#
GWG
I hear things
#
GWG
I have a friend in Issaquah
pfefferle joined the channel
#
gRegorLove
Depending on your level of interest in LinuxFest, you could skip some of it and make a long weekend in SEA. I probably wouldn't be opposed to driving down there.
#
GWG
Gregorlove, I do like Linux
#
GWG
But I am not sure about it
#
gRegorLove
I've never been to a conference like that, so I'm interested to check it out.
#
GWG
I used to go to Southeast Linux Fest. Depends on the people and panels
[keithjgrant] joined the channel
#
[keithjgrant]
Success! I can authenticate to a Chrome extension via IndieAuth.com
#
[keithjgrant]
And I parked a domain for the extension, omnibear.com ?
#
voxpelli
pfefferle: would it be possible to have an option to keep the hentry in the original place in the plugin and just lose eg. the reply-context?
#
voxpelli
as some kind of compatibility mode
#
voxpelli
[keithjgrant]++
#
Loqi
keithjgrant has 1 karma in this channel (4 overall)
#
pfefferle
voxpelli sure
#
pfefferle
shouldn't be that complicated
#
voxpelli
I like the idea of a plugin, less likely for newcomers to mess up the classes when they hack their blog themes to look one way or another
#
pfefferle
voxpelli hentry on the article as default?
#
voxpelli
pfefferle: default could probably be the aggressive mode, and point people who feels like their theme gets broken to toggle the compatibility mode to scale back
#
GWG
The existing plugin could use a refresh though
#
GWG
I think tantek's suggestion it transfer to the Indieweb repository is a good idea. It is like the Indieweb plugin in that it is a community need
#
gregorlove.com
edited /Now (+83) "dfn"
(view diff)
#
gRegorLove
what is now
#
Loqi
A now page is a page that tells you what a person is focused on at this point in their life https://indieweb.org/Now
#
gregorlove.com
edited /2017/Bellingham (+97) "/* IndieWebCamp Bellingham 2017 */ dfn"
(view diff)
#
gRegorLove
What is IWC Bellingham?
#
gRegorLove
What is IWC Bellingham?
#
gRegorLove
What is 2017/Bellingham
#
gRegorLove
What is IWC Bellingham?
#
gRegorLove
I thought it was that the dfn was inside the h-event, so I moved it out. Still doesn't work
#
gRegorLove
What is IWC Bellingham?
#
gRegorLove
what is next hwc?
#
gRegorLove
Ah, appears Loqi isn't looking at h-event p-summary
KartikPrabhu, pfefferle and tantek joined the channel
#
tantek
GWG, you may want to consider X-Ray's output as an alternative to jf2
#
tantek
I'm not sure how well documented X-Ray's output is, but I think aaronpk has done a decent job
#
GWG
tantek, I used it as a marker. I don't care about strict, just simple.
#
tantek
GWG, it's a good starting point
#
tantek
what is jf2
#
Loqi
jf2 is a working prototype of a simpler JSON serialization of microformats2 https://indieweb.org/jf2
#
tantek
what is xray
#
Loqi
XRay is an open source API that returns structured data for a URL by parsing microformats and following other indieweb algorithms, and is part of the p3k suite of applications https://indieweb.org/XRay
#
loqi.me
edited /jf2 (+50) "tantek added "https://github.com/aaronpk/XRay#response-format" to "See Also""
(view diff)
#
Loqi
ok, I added "https://github.com/aaronpk/XRay#response-format" to the "See Also" section of /jf2
KevinMarks joined the channel
#
tantek
tinbox << add to http://microformats.org/wiki/h-feed new "Backward Compatibility" section with subsections "Publisher Compatibility" and "Parser Compatibility", documenting classic hAtom "hfeed" classes for publisher compat, and the corollary for Parser Compat with additional class names per https://github.com/kevinmarks/mf2py/commit/9c7ba2c051292b5dbce2a6e9378fcec46e20a94d Blogger and WordPress defaults inside hfeed
#
Loqi
ok, I added "add to http://microformats.org/wiki/h-feed new "Backward Compatibility" section with subsections "Publisher Compatibility" and "Parser Compatibility", documenting classic hAtom "hfeed" classes for publisher compat, and the corollary for Parser Compat with additional class names per https://github.com/kevinmarks/mf2py/commit/9c7ba2c051292b5dbce2a6e9378fcec46e20a94d Blogger and WordPress defaults inside hfeed" to the "See Also" section of /tinbox
#
loqi.me
edited /tinbox (+413) "tantek added "add to http://microformats.org/wiki/h-feed new "Backward Compatibility" section with subsections "Publisher Compatibility" and "Parser Compatibility", documenting classic hAtom "hfeed" classes for publisher compat, and the corollary for"
(view diff)
#
Loqi
h-feed is a microformats2 draft for marking up a stream or feed of h-entry posts, like complete posts on a home page or archive pages, or summaries or other brief lists of posts. h-feed is the microformats2 update to hAtom's "hfeed". Per CC0, to th...
#
tantek
hmm did I overflow IRC
#
tantek
no that worked, just the Loqi statuses truncated
KevinMarks_ joined the channel