#dev 2018-09-24

2018-09-24 UTC
puddingpimp8, Gaasmann29, renem, Guest90962, ralu12, iasai, darxun11, sm7, SilverCode, tantek__ and barpthewire joined the channel
#
jeremycherfas
!tell aaronpk That is precisely my plan, at least on paper.
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
!tell kevinmarks There is an xkcd for almost every eventuality. Thanks for that. Makes the pain more bearable.
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
!tell strugee I’m just dabbling so paying is not an option unless it really improves things. Currently using SourceTree. Is there anything else you think I should try?
#
Loqi
Ok, I'll tell them that when I see them next
OrangeShark14, cweiske, bogz14, ceemel, swaqs10, mbologna8, swentel, jeremych_, netmonger26, [jgmac1106], BrainDamage7, eli_oat, KartikPrabhu, [schmarty] and [kevinmarks] joined the channel
#
jacky
from #-chat
#
jacky
wondering if more h-x-app services should expose things like a `byline` or `description`
#
jacky
the thing is
#
jacky
if you're _signing_ in to them, you'd already have an idea off the bat as to what they do
#
jacky
another case was having a indie app list
#
jacky
and making it easy to let the app themselves define their 'store' info
#
sknebel
I saw on the wiki something used h-product too
#
sknebel
what is h-product?
#
Loqi
h-product is a microformats2 vocabulary for marking up product information on the web https://indieweb.org/h-product
#
sknebel
not sure what the thoughts on the relationship of the two is
#
sknebel
(aaronpk?)
#
sknebel
but at least the properties from there could be relevant for app too
#
jacky
yeah this works well
#
jacky
will make a note to expose this
eli_oat1 joined the channel
#
jeremycherfas
!tell cweiske Are you still doing things with Grav and Twig?
#
Loqi
Ok, I'll tell them that when I see them next
sahilsinha9 joined the channel
#
cweiske
my grav project ended without me implementing anything indieweb-related
#
Loqi
cweiske: jeremycherfas left you a message 5 minutes ago: Are you still doing things with Grav and Twig?
#
cweiske
but if you have twig question, ask
#
jeremycherfas
Thanks. I have a php fuunction that takes an array and returns some parts of the array, because I just could not see how to address the parts in Twig. I can create the raw array in Twig: `{% set data = page.header.imports %}`
#
jeremycherfas
But I cannot work out how to send `data` to the function.
#
jeremycherfas
`{{ mymap(data) }}` gives an error: ("Undefined variable: data")
#
jeremycherfas
I'm way out of my depth here, because all the Twig documentation seems extremely terse and I cannot seem to uncover any lower-level explanations or tutorials. The example of a function in Grav does not do anything. It just returns a hard-coded string.
#
cweiske
sounds correct
#
cweiske
your set and then the func call
#
jeremycherfas
If I ignore the set, and use `{{ mymap(page.header.imports) }}` I almost the same error, An exception has been thrown during the rendering of a template ("Undefined variable: data")
#
cweiske
isn't that a different variable name?
#
jeremycherfas
That's the variable in the set command.
#
cweiske
can you share the template in a pastebin?
#
jeremycherfas
At the moment, I am processing twig on the page, I can put the page and the function into gists.
[schmarty] joined the channel
#
jeremycherfas
I have tested the page with examples, and it works.
#
jeremycherfas
And I know that the function works, at least when it it just a standalone PHP program.
#
cweiske
did you enable the twig debugger in grav?
#
jeremycherfas
Yes. What I see in the debug bar is generally what I expect. And the error display page is useful as far as it goes. But it doesn't help me to understand the problem in more detail.
#
jeremycherfas
It tells me that there is an undefined variable data, which is clearly somewhere in my function, but I cannot for the life of me see how that might be.
#
jeremycherfas
I had hoped to have this ready for IWC Nurnberg, but honestly it looks as if I should save it to be my project there. :(
[kevinmarks], barpthewire, [jgmac1106] and snarfed joined the channel
#
swentel
snarfed, you won't believe the amount of variations I've tried for replying :)
#
snarfed
swentel: oh god i'll believe it. i did the same thing while i was building bridgy fed initially
#
Loqi
snarfed: Zegnat left you a message 1 day, 4 hours ago: Yeah I knew about the Telegraph-webhook-feature. I was just specifically looking at Mastodon now :) Thought different weekend plans came up so the webmention bridge is getting slightly delayed.
#
swentel
I should start writing them down, because I'm sure I've done a couple of variations at least twice :)
#
snarfed
thank you so much, you're doing god's work
#
swentel
well it's interesting learn about AP
#
snarfed
yes! please do! put them in one of the issues or the readme, or the indieweb mastodon page. really valuable to capture!
#
swentel
but there isn't much documentation to find :/
#
Loqi
yea!
#
snarfed
yeah both AP and mastodon's specific req'ts, since eg auth is badly underspecified/not specified in AP
#
snarfed
yeah i had to go by what they wrote in issues like https://github.com/tootsuite/mastodon/issues/4906 , and lots of experiments
#
Loqi
[annando] #4906 How does Mastodon work concerning ActivityPub?
#
swentel
even people trying to implement it following the blog post on mastodon can't get it work :)
#
Loqi
[generaltso] #8328 My toot doesn't show up :(
#
aaronpk
I should really write up my notes finally
#
Loqi
aaronpk: jeremycherfas left you a message 9 hours, 24 minutes ago: That is precisely my plan, at least on paper.
#
aaronpk
I had to do all sorts of unrelated things to make my notes and replies finally show up on mastodon and pleroma
#
Loqi
yea!
#
jacky
that'd be great
#
jacky
I've been working on my own (new) site
#
jacky
and it has indieauth and micropub support
#
jacky
that'd be excellent timing
lord_of_chaos29, KartikPrabhu and snarfed joined the channel
#
boffosocko.com
edited /algorithmic_feed (+812) "Twitter timeline hacks and forthcoming changes to the algorithmic timeline"
(view diff)
jackjamieson, snarfed, swentel, leg, tantek__ and KartikPrabhu joined the channel
#
gRegorLove
Saw this over the weekend, from the makers of Sublime Text: https://www.sublimemerge.com/
#
gRegorLove
I think I'll try it out. I like SourceTree ok, but it feels clunky sometimes.
#
gRegorLove
oops, maybe more for -chat
#
tantek__
aaronpk, your experience with what it takes to deliver to AP inboxes of your followers would be useful in -dev IMO
snarfed joined the channel
#
tantek.com
edited /MySpace (+174) "new articles section, add 2007 Guardian article about MySpace monopoly"
(view diff)
#
tantek.com
edited /MySpace (-1) "indent per context"
(view diff)
snarfed joined the channel
#
gregorlove.com
edited /Salesforce (+0) "link dfn, redlink CRM"
(view diff)
unsound18 joined the channel
#
tantek.com
edited /Salesforce (+78) "note annual Dreamforce conference"
(view diff)
#
tantek.com
created /Dreamforce (+24) "r"
(view diff)
#
gregorlove.com
created /CRM (+46) "r"
(view diff)
#
loqi.me
created /addressbook (+21) "prompted by tantek__ and redirect added by tantek__"
(view diff)
#
tantek__
I need to explore some form of at least displaying reactions on my posts, at least as a count + list of @-names (since showing icons is more work, showing someone else's content etc.)
#
tantek.com
edited /contacts (+4) "linky"
(view diff)
[jgmac1106], snarfed, [Rose] and dkabot6 joined the channel
#
snarfed
tantek__++ yes!!!!!
#
Loqi
tantek__ has 28 karma in this channel over the last year (89 in all channels)
#
tantek__
uh oh what did I (not) do? 😂
#
loqi.me
created /chat_topics (+34) "prompted by tantek__ and redirect added by tantek__"
(view diff)
dougbeal|imac joined the channel
#
snarfed
tantek__: oh, heh. just that you want to work on showing responses on your site
#
tantek.com
edited /CardDAV (+20) "cat jargon"
(view diff)
#
tantek__
snarfed, yes, I'm trying to keep thinking of ways of reducing the feature/task to a smaller thing to reduce the # of unknowns / issues
#
tantek__
I suppose I should document those in case the "simpler" version of a feature is helpful to other implementers
#
tantek__
re: implementing CardDAV API as a server (aaronpk, AngeloGladding, snarfed), any test suite(s) for it? (I'm guessing no)
#
tantek__
similarly WebDAV?
#
AngeloGladding
hmm what do you mean tantek__?
#
tantek__
AngeloGladding: where is a/the test suite for CardDAV? both for CardDAV clients and servers?
#
tantek__
similarly for WebDAV
snarfed joined the channel
#
tantek__
also, can we replace CardDAV with Micropub of h-card objects instead?
#
AngeloGladding
interesting..
#
tantek__
perhaps a feature for silo.pub: Micropub of h-card -> silo.pub -> CardDAV server
#
Zegnat
The problem with replacing CardDAV with Micropub is that the built-in apps for contacts on current phones do not do Micropub ;)
#
snarfed
hmm, sounds like a...bridge? 😎
#
tantek__
perhaps another feature for silo.pub: CardDAV client -> silo.pub -> Micropub of h-card
#
AngeloGladding
yeah
#
tantek__
Zegnat, the problem with not having a test suite is you're endlessly frustrated by weird bugs and interop problems
#
AngeloGladding
there was very poor documentation on carddav when i was poking around
#
AngeloGladding
i have no doubt that my implementation is iphone-specific
#
tantek__
yeah in general a bridge is the right answer for wrapping both proprietary APIs, and poorly documented / tested standards
#
AngeloGladding
as we were just discussing -- this data is very private
#
snarfed
bridges can do private data just as well as public
lewo joined the channel
#
AngeloGladding
yeah.. it's just upping the game i think
#
AngeloGladding
whenever you *touch* your address book the server gets pinged
#
AngeloGladding
on iphone at least
#
tantek__
or run the bridge yourself
#
AngeloGladding
which is obviously my opinion
#
tantek__
OSS bridges are the way to go
#
Zegnat
I agree there
#
tantek__
so you choose
#
tantek__
your time / privacy / security trade-offs
#
Zegnat
I’d love to hear petermolnar on CardDAV interoperability / testing. He has blogged about using at least 3 different server implementations
#
tantek__
(sometimes using service that spends more time on privacy & security is *better* than trying to host/admin it yourself)
#
tantek__
(I believe snarfed has convinced me of that)
#
snarfed
heh. god yes. most people don't want to, don't know how to, and/or shouldn't have to be sysadmins. even most technical people and engineers.
#
Zegnat
The problem I always have with any not-self-hosted thing for address books is that it isn’t just my privacy, but the privacy of every single person I write down in my address book too. (But lets not rehash the entire philosophical discussion about how you don’t know how well any individual you give details to is going to protect them.)
#
snarfed
Zegnat: the fallacy there is the idea that self hosted is more secure or private than outsourcing to a trusted, competent third party.
#
snarfed
the vast majority of people are not good sysadmins. if they self host, they'll therefore get bad security and privacy
#
snarfed
anyway, sorry, i'll stop rehashing :P
#
AngeloGladding
man..
#
AngeloGladding
we should be the sysadmins for their self-hosted software
#
AngeloGladding
i won't even begin to rehash..
#
AngeloGladding
:)
[schmarty] joined the channel
#
AngeloGladding
anyway, i've got some working carddav python code
#
Zegnat
(Just leaving this here too, for people interested: https://petermolnar.net/search.php?q=carddav )
#
Loqi
Peter Molnar
#
tantek__
AngeloGladding: what do you mean by "working" (passes a test suite? interops with Apple/Google phone/cloud?)
#
AngeloGladding
tantek__ a contact goes in one side, winds up on the other, and vice versa -- on iOS 11.x
#
AngeloGladding
the "person db" is the part im reintegrating now
#
AngeloGladding
i can abstract it away
#
AngeloGladding
it supported photo
#
tantek__
so you're able to configure your iOS device to use your own personal server?
#
AngeloGladding
yes
#
tantek__
AngeloGladding++
#
Loqi
AngeloGladding has 1 karma over the last year
#
AngeloGladding
~300 lines of Python+XML
#
AngeloGladding
i'll abstract it a bit, give it some polish and present it to you guys for further bridging
#
tantek.com
edited /CardDAV (+298) "IndieWeb Examples, start Angelo Gladding support"
(view diff)
[jgmac1106] joined the channel
#
Zegnat
Hmm. Apparently webdav.org used to have a WebDAV (and possible CardDAV?) testing suit called litmus. But because that entire website is down now, you’d have to find the tests somewhere else :/
#
tantek__
AngeloGladding: can you add some details to your personal use / support of CardDAV? https://indieweb.org/CardDAV#Angelo_Gladding
#
tantek__
zegnat oh? which site is down?
#
Zegnat
webdav.org
#
Zegnat
At least for me it is
#
Zegnat
Both ownCloud and Sabre refer to http://www.webdav.org/neon/litmus/ for testing their implementation
#
tantek__
could you add it to https://indieweb.org/site-deaths#Unknown_Year ? sounds like another protocol/format specific site that was neglected and died (see others there like poco)
#
AngeloGladding
i didn't resort to reverse engineering via MITM proxy for no reason
#
AngeloGladding
there is not one single piece of documentation that will get you to where you're going
#
Zegnat
What is WebDAV?
#
Loqi
WebDAV is an HTTP-based protocol used to create and edit files on a server that has some IndieWeb adoption https://indieweb.org/WebDAV
#
AngeloGladding
but the whole experience was blissfully restful
#
Zegnat
WebDAV << [https://web.archive.org/web/20171006064353/http://www.webdav.org:80/neon/litmus/ Litmus] was a test suite for the first WebDAV standard (RFC 2518)
#
Loqi
ok, I added "[https://web.archive.org/web/20171006064353/http://www.webdav.org:80/neon/litmus/ Litmus] was a test suite for the first WebDAV standard (RFC 2518)" to the "See Also" section of /WebDAV https://indieweb.org/wiki/index.php?diff=51971&oldid=19859
#
AngeloGladding
so i'm torn :)
#
AngeloGladding
ahem *RESTful*
#
vanderven.se martijn
edited /site-deaths (+347) "/* Unknown Year */ Add webdav.org"
(view diff)
#
Zegnat
There you go, tantek__ :)
#
tantek__
ok now we wait a day before stirring the pot
#
Zegnat
Oh, looks like Apple has a CalDAV and CardDAV tester too: https://www.calendarserver.org/CalDAVTester.html
#
Zegnat
So the format isn’t entirely without test suites.
#
AngeloGladding
those pages are giving me flashbacks
#
tantek__
what is CalDAV
#
Loqi
CalDAV is a protocol for syncing calendars https://indieweb.org/CalDAV
#
Zegnat
Have you ever tried running that tester, AngeloGladding? I would expect that it would confirm your code to work with iOS if it passes their own tests?
#
tantek__
CalDAV << CardDAV
#
tantek__
CardDAV << CalDAV
#
Loqi
ok, I added "[[CalDAV]]" to a new "See Also" section of /CardDAV https://indieweb.org/wiki/index.php?diff=51975&oldid=51970
#
loqi.me
edited /CardDAV (+30) "tantek__ added "[[CalDAV]]" to "See Also""
(view diff)
#
tantek__
that's a start at least
[eddie] joined the channel
#
tantek__
AngeloGladding: maybe see how many h-entry publishing sites you can crawl and build an index of h-entry blog posts across all those WordPress sites: https://twitter.com/tmcw/status/1044330302548529152
#
@tmcw
heck, with http://wordpress.org support h-entry, there are gazillions of sites on the internet with its microformats markup. is anyone doing anything with it? as far as i can tell, not really.
(twitter.com/_/status/1044330302548529152)
#
tantek__
and then reply to that tweet accordingly :)
#
[eddie]
A CardDAV bridge to an h-card nicknames cache would be amazing! I think my contacts are currently synced via iCloud but it would be amazing to have my contacts become my nicknames cache
#
tantek.com
edited /site-deaths (+356) "/* atomenabled.org */ link last archive of home page before minecraft spam"
(view diff)
#
tantek__
eddie, could be useful for indie /venues too
#
[eddie]
Interesting. I’ve never really added venues to my contacts but it would be an easy interface for my website
#
AngeloGladding
tantek__ is there an index?
#
loqi.me
created /single_standard_site (+364) "prompted by tantek__ and dfn added by tantek__"
(view diff)
#
AngeloGladding
Zegnat i've downloaded and installed -- i'll try to configure and run
#
AngeloGladding
but i must say my implementation was rough and to the point
#
tantek.com
edited /site-deaths (+99) "/* Unknown Year */ poco zombie, unlink, unknown year of death, year of zombification"
(view diff)
[jgmac1106] joined the channel
#
tantek.com
edited /site-deaths (+540) "research dates with archive.org and move Portable Contacts info to a new section in 2016 with dates and links"
(view diff)
#
aaronparecki.com
edited /single_standard_site (+2) "hyphenate the adjectives describing the term"
(view diff)
[kevinmarks] joined the channel
#
[kevinmarks]
We had a Facebook to poco thing that Bradfitz built a while back
#
Loqi
[kevinmarks]: jeremycherfas left you a message 16 hours, 2 minutes ago: There is an xkcd for almost every eventuality. Thanks for that. Makes the pain more bearable.
#
Loqi
[kevinmarks] addressbooker: Address Book tool
snarfed joined the channel
#
tantek.com
edited /Portable_Contacts (+709) "find approximate dates of death, zombiefication"
(view diff)
#
@developerhcnews
Webmentions: Enabling Better Communication on the Internet http://bit.ly/2zqBCAH
(twitter.com/_/status/1044344508601839616)
#
kevinmarks.com
edited /Portable_Contacts (+157) "OpenSocial connection"
(view diff)
#
tantek__
that's another site-death, since AFAIK all site content was dropped on the floor and the domain just redirects to a W3C blog post
#
aaronpk
if i could use my phone as my website's address book i would actually care about what's stored in my phone again lol
#
aaronpk
right now it's a giant mess of stuff stored on my iphone vs stored in google contacts, and i can't even tell how to add stuff in google contacts most of the time
#
tantek.com
edited /single-standard_site (+32) "link poco to its death"
(view diff)
#
[kevinmarks]
You can export google contacts as vcard
#
[kevinmarks]
There are still some apis, though gof knows what now
#
aaronpk
most of the stuff in google i don't even care about because it was all automatically added and is a giant mess anyway
#
tantek.com
edited /site-deaths (+16) "/* OpenSocial */ site"
(view diff)
#
tantek.com
edited /OpenSocial (+269) "note explicit site-death"
(view diff)
#
[kevinmarks]
Yeah. We had some selectors to deal with that, but it's been a decade.
#
tantek.com
edited /Portable_Contacts (+146) "note opensocial itself died as well, two years before PoCo site died"
(view diff)
#
loqi.me
edited /atomenabled (+44) "tantek__ added "[[single-standard site]]" to "See Also""
(view diff)
#
tantek.com
edited /single-standard_site (+167) "similar: opensocial, ostatus"
(view diff)
snarfed joined the channel
#
tantek.com
edited /site-deaths (+261) "OStatus.org site death in 2012"
(view diff)
#
Loqi
[snarfed] portablecontacts-unofficial: UNMAINTAINED: A library and REST API that serves Facebook and Twitter user data in PortableContacts format
#
aaronpk
wow you really have been doing this bridging thing for a while!
#
snarfed
😂😭
#
tantek.com
edited /OStatus (+974) "link current wiki, document original ostatus.org Site Death, W3C CG wiki link"
(view diff)
#
tantek__
well that's been a morbid Monday so far
#
tantek__
hopefully documenting these dead-ends so others won't be as frustrated looking for them
#
[kevinmarks]
Between that and salesforce it's a history of my old jobs too
snarfed joined the channel
#
tantek__
kevinmarks, perhaps a bit meta and a bit dev - any patterns among/across those sites / technologies that may have been causes of their deaths?
#
[kevinmarks]
So Google contacts api is up to version 3 https://developers.google.com/contacts/v3/ but that page suggests a People api instead
#
tantek__
Contacts APIs in general have a horribly history
#
[kevinmarks]
And were weaponised by Facebook
#
tantek__
[kevinmarks]: nothing to do with FB. contacts APIs got screwed up all on their own w/o any FB interference AFAIK
#
tantek__
I suppose Apple and Google's support of CardDAV is keeping it on life support
#
tantek__
but that's the exception AFAIK
#
[kevinmarks]
Because that was the last thing they interoperated with before fighting
#
tantek__
why are they still fighting? didn't Steve Jobs pick that fight?
#
tantek__
makes no sense. they both have incentive to collaborate, or at least massively interoperate using open standards against FB
#
snarfed
aaronpk: you inspired me to dig around in history a bit...my first bridge may have been my openid provider for google accounts, way back in 2008: https://snarfed.org/2008-04-07_google_app_engine_launched#OpenID
#
tantek__
what does it matter which phone people buy (iPhone vs Android) if they end up using it as a mobile Facebook App runner?
#
aaronpk
snarfed: wooowww
#
snarfed
still up and running, with the design to prove it: https://openid-provider.appspot.com/
#
tantek__
snarfed++ for /longevity
#
Loqi
snarfed has 67 karma in this channel over the last year (123 in all channels)
#
snarfed
lol for better or worse
snarfed1 joined the channel
#
snarfed1
the corresponding consumer app has a fun "most recent" list of openid providers on random domains: https://openid-consumer.appspot.com/
#
[kevinmarks]
Do you remember j.mp/longpipe ?
[jgmac1106] joined the channel
#
[kevinmarks]
I think all the segments are dead now
#
snarfed1
aww
tantek, ludovicchabant_, renem_, tantek___ and [schmarty] joined the channel
#
tantek.com
edited /Android (+1729) "Criticism / Forced Location Tracking"
(view diff)