#indiewebcamp 2015-11-03

2015-11-03 UTC
#
tantek.com
edited /2015/MIT/Guest_List (+0) "update counts :)"
(view diff)
#
tantek
starts cloning/clearing from /2015/MIT to /2015/SF :)
#
tantek
hopes to benefit from ben_thatmustbeme's work in updating /2015/MIT to modern IWC practices :)
#
tantek.com
created /2015/SF/Guest_List (+4293) "clone from /2015/MIT/Guest_List and clear/replace appropriate details"
(view diff)
#
tantek
IndieWebCamp SF guest list page now setup! Go add yourselves participants! (aaronpk rhiaro kevinmarks kylewm snarfed) https://indiewebcamp.com/2015/SF/Guest_List
nitot joined the channel
#
tantek.com
edited /2015/SF (+61) "RSVP vs other URLs - similar to MIT"
(view diff)
lukebroo_ and cmhobbs joined the channel
#
snarfed.org
edited /2015/SF/Guest_List (+585) "/* Participants */ rsvp"
(view diff)
e-lima joined the channel
#
kylewm.com
edited /2015/SF/Guest_List (+350) "/* Participants */ woo!"
(view diff)
Erkan_Yilmaz, snarfed and nitot joined the channel
#
tantek.com
edited /2015/SF/Guest_List (+0) "/* Participants */ counts"
(view diff)
#
aaronpk
tantek: do you want to do ti.to or eventbrite tickets for IWC SF?
#
tantek
let's do Eventbrite because I think (based on purely guessing) that it will notify more people "in our networks" that it is going on and that we've signed up to go to it
#
tantek
I don't think tito does that
#
tantek
tito is likely good to lower the barrier for sign-up for people who don't have a domain, yet one of our challenges is getting better about getting the word out
#
tantek
so hence leaning towards Eventbrite - make sense?
j12t joined the channel
#
tantek
ok - I used to do eventbrite events for my workshops - pretty sure I can still create them :)
#
aaronpk
maybe we can do indieweb workshops soon :)
nitot joined the channel
#
tantek
I think that's a great idea for /business-models for folks in the community - especially those who have setup their own site to run with as little hassle as possible.
#
tantek
In particular, given that there are whole businesses and independents who make money from setting up WordPress for businesses, I bet there is similar opportunity for someone to do so with setting up Known for businesses.
lukebrooker, j12t, nitot, shiflett, snarfed, cuibonobo, martinBrown and andicascadesf joined the channel
#
andicascadesf
Hello
#
andicascadesf
Hello @tantek.
lukebrooker, nitot, loic_m, cweiske, opyate, tantek, Jihaisse, friedcell, fkooman, tvn, e-lima, petermolnar, Yilmaz_Erkan, friedcell1, j12t, Erkan_Yilmaz, nitot_, elf-pavlik, mlncn, hs0ucy, rhiaro_, ShaneHudson, Zegnat, squeakytoy and singpolyma joined the channel
#
GWG
Morning
[shaners] joined the channel
#
[shaners]
Morning y’all! (from Georgia, US in EST)
#
Loqi
[shaners]: tantek left you a message 1 day, 6 hours ago: the reason I asked (and brought it up) is because in reading the CoC presuming good intentions, I have difficulty seeing anything explicitly against the letter of what it's stating. Hence looking for more intuitive/gut guidance what is the "right" thing to do, and how we can encourage that in CoC. http://indiewebcamp.com/irc/2015-11-02/line/1446451547265
ttepasse, snarfed, wolftune, sammachin, bret, shiflett, j12t and yakker joined the channel
#
aaronpk
gooooood morning
friedcell joined the channel
#
aaronpk
hmm there is $0.14 less on my google app engine free trial balance but i don't know why
#
kevinmarks
and twitter just went form star to heart
#
aaronpk
whoaaaaa
#
@chachasikes
.@twitter I cannot click on the new heart icon. A star was appropriately less emotional, which is great because twitter is so public.
(twitter.com/_/status/661572949690880000)
#
KartikPrabhu
they also switched from "favourites" to "likes"
#
KartikPrabhu
retroactively
#
KartikPrabhu
so all your favs are now likes
#
singpolyma
I always interpreted favs as likes on twitter
j12t joined the channel
#
KartikPrabhu
people use them for bookmarks, to-read-later
#
KartikPrabhu
also "liking" a not happy tweet is weird as it is on FB
#
aaronpk
i wonder why they changed it
#
@kevinmarks
todo: rewrite http://indiewebcamp.com/favorite and http://indiewebcamp.com/like ; #socialWG call on representing activities; react with nuance in @SlackHQ
(twitter.com/_/status/661575899645480960)
#
@Vahid
دیگه #توییتر #فیوریت نداره Ùˆ نمیشه #فیو کرد ستاره قلب شده باید #لایک زد شما کدوم رو ترجیح Ù…ÛŒ”ŒØ¯ÛŒÙ†ØŸ: #نظرسنجی @twitter
(twitter.com/_/status/661576855527403520)
#
@SirGoldenrod
Twitter: "We need to make this less trash" Everyone: "Take harassment seriously. Take harassment seriously." Twitter: "Let's add hearts"
(twitter.com/_/status/661570320394903552)
#
KartikPrabhu
much of such criticism is pretty unfair
#
KartikPrabhu
we don't know that Twitter is not working on harrassment
#
KartikPrabhu
releasing hearts != not working on other things
#
singpolyma
KartikPrabhu++
#
Loqi
KartikPrabhu has 122 karma
snarfed joined the channel
#
@anildash
Twitter biggest recent progress? Going from being one of the worst at dealing with harassment, to one of the best. Still *a lot* more to do.
(twitter.com/_/status/651021476062171136)
cleverdevil joined the channel
#
KartikPrabhu
but how can that be!? they just put hearts
#
KartikPrabhu
stops with the snark
#
kylewm
I do think the criticism of a heart as "a symbol of romantic love" is well made though... more creep-factor than stars
#
@saladinahmed
twitter you have a problem with harassment WHAT IF WE FORCED WOMEN TO MARK TWEETS USING AN ICON REPRESENTING ROMANTIC LOVE WOULD THAT HELP
(twitter.com/_/status/661573150883344385)
#
singpolyma
They claim the heart transcends culture, but of course that's a terribly eurocentric thing to think
snarfed1 joined the channel
#
KartikPrabhu
hates needless captitalisations
scoates and tvn_ joined the channel
#
KartikPrabhu
I have more of a problem with the "like" terminology than the heart icon
#
aaronpk
wasn't it called "favorite" before?
#
aaronpk
oh you mean the new "like = heart" issue
#
singpolyma
"like", "favourite", "friend" -- "social media" -- companies are just not good at English. people seem to get used to it
#
KartikPrabhu
at any rate, this is not a problem/issue I am deeply invested in so...
sandro joined the channel
#
KartikPrabhu
wonders if tantek and cassis disagree
j12t, snarfed, tantek, funwhilelost, raretrack and Garbee joined the channel
#
harryreeder.co.uk
created /events/2015-11-17-homebrew-website-club (+2168) "Created page with "<div class="h-event vevent"> = <span class="p-name summary">Homebrew Website Club Meetup</span> = == Details == === When === <span class="dt-start dtstart"><time class="value">...""
(view diff)
#
tbrb
I'm being organised for once
opyate and martinBrown joined the channel
mlncn joined the channel
#
harryreeder.co.uk
created /events/2015-12-08-homebrew-website-club (+2256) "HWC Edi 2015-12-08 (Last Edi of 2015)"
(view diff)
j12t and squeakytoy2 joined the channel
#
harryreeder.co.uk
edited /Template:Homebrew_Website_Club (+270) "Add HWC Edis til end of 2015"
(view diff)
snarfed joined the channel
#
harryreeder.co.uk
edited /Events (+4094) "/* Upcoming */ HWC Edi until end of 2015"
(view diff)
shiflett joined the channel
#
kylewm
having a little bit of a moral dilemma, I want to change my CMS kind of radically but don't want to worry about breaking it for my 2-3 users (at least until I figure out if my changes are good or bad)
#
kylewm
should i make an experimental fork/branch, a new project, go closed source??
fkooman joined the channel
#
aaronpk
i'm about to do the same with Monocle
#
aaronpk
"about" heh. after I launch my new site anyway.
#
kylewm
what do you think of me moving Red Wind to a different section of /projects?
davidpeach joined the channel
#
tantek
kylewm: a radical change sounds like a new project :)
mlncn joined the channel
#
tantek
you could declare success on Red Wind, and put it in maintenance mode
#
davidpeach
I got my hand-coded flickr syndication to work! yayy. Will write up and share
#
aaronpk
congrats!
#
kylewm
davidpeach: oauth1 implemented?
#
davidpeach
I very nearly used that library, but as I was already 2 steps into auth process I thought, what the heck
#
davidpeach
yer kylewm
#
kylewm
wow, I tried really hard to do that when I first started workign with twitter and eventually gave up
#
@rabble
@kevinmarks It makes me question my own ideological commitment to the indieweb that i can't keep my own personal sites in order.
(twitter.com/_/status/661613265236066304)
#
kylewm
davidpeach: got a 500 error for that page
#
davidpeach
yer twitter I used guzzle. but with flickr i needed to do the whole create token request the have to be redirected to manually accept permissions page. So I thought Id give it a shot.
j12t joined the channel
#
davidpeach
my bad - was setting them to private for testing.
#
davidpeach
all sorted
#
davidpeach
mind you it only posts an image. It doesnt interact with flickr in any fancy way.
#
kylewm
tantek: re new project, thanks that's v helpful
Tino joined the channel
#
kylewm
iirc oauth1 for a multi-part post was specifically the part i had trouble implementing by hand, so it's still impressive :)
#
davidpeach
thank you.
petermolnar joined the channel
#
tantek
kylewm: yeah! just means you need a new project name :)
[snarfed] joined the channel
#
[snarfed]
what is jf2?
#
[snarfed]
aaronpk?
#
Loqi
It looks like we don't have a page for "jf2" yet. Would you like to create it? https://indiewebcamp.com/s/105t
#
aaronpk
jf2 is a working prototype of an alternate JSON serialization of Microformats. http://microformats.org/wiki/jf2
#
loqi.me
created /jf2 (+138) "prompted by [snarfed] https://indiewebcamp.com/irc/2015-11-03/line/1446576864503 and dfn added by aaronpk"
(view diff)
#
tantek
aaronpk: ok to indicate stronger that its an even simpler alternate, not just an alternate
#
aaronparecki.com
edited /jf2 (+392) ""simpler". add example."
(view diff)
#
kylewm
what's jf2's disposition toward AS2.0? indelicately, why not spend that time improving AS2
#
tantek
kylewm: it's like solving a maze from both sides
#
@kevinmarks
Suggestion: if you still want to star tweets, reply to them with just a 🌟 emoji.
(twitter.com/_/status/661603205533470720)
#
tantek
kylewm: sometimes a change is so radical it's quicker to show what the end result would/should look like rather than attempt to argue every change there iteratively
#
tantek
that being said, AS2 is also shrinking which is good
#
kevinmarks
or would an explicit like post be a star and a link, which twitter would render as a star above the tweet being starred?
#
tantek
kylewm: in addition, it looks like jf2 will satisfy the 80/20, and then I'd expect that *someone* might develop a jf2->as2 proxy for folks that really want to go to the extra work of consuming as2
#
tantek
while publishing jf2 will be easier fo publishers
#
tantek
(easier for consuming code too - but that seems to be what's being debated?)
#
singpolyma
even easier to skip the JSON and publish microformats (or mf2, I guess, in this community) ;)
#
davidpeach
anybody know why bridgy wouldnt be able to see webmention endpoints for flickr?
#
davidpeach
works okay for twitter
#
Loqi
[bridgy] rabble replied '@kevinmarks Yeah well Pio.io will be built with flat files and folders instead of a database.' to a tweet that linked to http://indiewebcamp.com/database-antipattern (https://twitter.com/rabble/status/661613521025658880)
#
kylewm
davidpeach: not sure what you mean?
#
davidpeach
so i added a comment to my test post on flickr. And bridgy has found it fine and has it in my bridggy dashboard, but it cant find a webmention endpoint it says.
#
tantek
singpolyma: correct. easiest for publishers is to publish mf2 which has a defined parsing model to jf2, which then API consuming code can trivially use
#
singpolyma
tantek: why not have "API consuming code" use mf2 directly?
#
tantek
singpolyma: good question - I think the wide demographic of webdevs writing JSON-consuming code are doing so because it is the current fashion.
#
aaronpk
the current thinking is to link to the jf2 URL with a rel value. that lets you offload that conversion to a separate thing, like how pin13.net/mf2 works
#
aaronpk
singpolyma: yeah from what I can tell, some people are terrified of consuming mf2 because they think it's "scraping html"
#
singpolyma
Yeah, ok. So, JSON is fashionable basically is the reason. Ok
#
kylewm
tantek: I do see where you're coming from. To be honest, it feels a little NIH-y to me :/
#
aaronpk
kylewm: it really is an attempt to solve it from both sides
#
@rabble
@kevinmarks Yeah well Pio.io will be built with flat files and folders instead of a database.
(twitter.com/_/status/661613521025658880)
#
voxpelli
Consuming JSON is much easier than parsing HTML, even if HTML parsing has become lots easier over the years
#
tantek
kevinmarks: really do hope you capture that on /database-antipattern - Rabble is quite well known to be quite the clever guy
#
aaronpk
also right now it's sufficient as a simpler representation than the current mf2 json, since it doesn't require every value is an array
#
davidpeach
ahh may be my url
#
kylewm
davidpeach: I'll have a look at the Flickr/Bridgy issue, seems similar to KevinMarks issue yesterday, maybe I misdiagnosed
#
tantek
voxpelli: does it matter if you're using an off the shelf mf2->json parsing library?
#
davidpeach
kylewm: I just noticed that my syndication link on my site points to the flickr url with my username in it
#
voxpelli
tantek: I'm imaging me trying to convince an iOS developer to do that, I would be surprised if I succeeded
#
davidpeach
gonna try with id in place of name
#
tantek
kylewm: depends on perspective. jf2 is much closer to the JSON return values from various silo APIs - if anything, jf2 is *less* revinvention, but rather based on existing JSON API patterns.
#
tantek
and existing JSON API patterns deployed in the wild have far more webdev implementation/community "weight" than W3C working drafts
snarfed joined the channel
#
kylewm
that is very handwavey!
#
singpolyma
kylewm++
#
Loqi
kylewm has 255 karma
#
kevinmarks
do iOS devs like JSON?
#
davidpeach
kylewm hmm still no work with id in place of name in url
#
voxpelli
kevinmarks: nowadays I think so
#
kylewm
anyway, solving it from both sides; that does make sense. if the goal is to experiment to inform the development of a unified standard then i'm all for it
#
aaronpk
kevinmarks: yes from what i've seen JSON is the preferred transport for iOS apps to APIs
#
singpolyma
kevinmarks: the ones I work with do. because it's what they're "used to" (read: it's popular)
#
kevinmarks
just wondering if they would prefer plists
#
[snarfed]
davidpeach: we want to support both (all!) syndication URL formats
#
singpolyma
most ios people I know hate plists
#
voxpelli
It's good to have a standardized parsed output, but raw mf2 will probably always be preferable when it's possible
#
kevinmarks
I hate plists, but I'm not really an ios person
hs0ucy and funwhilelost joined the channel
#
snarfed
davidpeach: feel free to switch the synd url, but we'd like to also debug the synd url with username, since that one should work too
#
singpolyma
kevinmarks: I don't see any reason to hate plists (other than "they're not JSON"), but also certainly no reason to favour them
#
kylewm
snarfed++ being able to type brid.gy/flickr/[person's name] is the best new bridgy feature in a while!
#
singpolyma
generic formats (JSON, YAML, plist, etc) all see weird to me
#
Loqi
snarfed has 159 karma
#
GWG
Favorites became likes? Stars are hearts?
#
snarfed
heh good!
#
davidpeach
snarfed: username is back on my site syndication url, pointing to flickr
#
snarfed
singpolyma: including html/xml? :P
#
GWG
Wrapping mind around it.
#
davidpeach
apologies if it's something ive done.
#
singpolyma
snarfed: xml, understood properly, is more than just a generic format. it's a way to combine different specialised formats togther in a way that will let consumers that understand both benefit from the features of both
#
snarfed
not at all. it's always on us to make it work, however you use it, if at all possible
#
snarfed
demurs
#
singpolyma
so, I at least, find xml a bit more "solves a problem" than, say, JSON
#
kevinmarks
I see that the other way round
#
aaronpk
JSON is a perfectly fine serialization format
#
kevinmarks
JSON has a very clear mapping into coding friendly data strutures
#
kevinmarks
XML doesn't
#
kevinmarks
if your language has native lists and dictionaries, it's a no-brainer
#
aaronpk
trying to consume XML in code has always been a challenge. the fact that JSON just turns into simple native objects is great
#
kevinmarks
if it doesn't it's less obvious
#
kevinmarks
does JSON turn into simple native objects in ObjC or Swift?
#
tantek
kevinmarks: do 2D arrays in JSON have a very clear mapping into coding friendly data strutures?
#
davidpeach
snarfed: if you'd like me to do anything to help debug just let me know
#
aaronpk
tantek: yes, just an array of arrays
#
aaronpk
[[1,2],[3,4]] in PHP is <?php array(array(1,2,),array(3,4)) ?> or in new PHP syntax, exactly like JSON!
#
kevinmarks
they do in python, js, ruby and PHP up to a point
#
aaronpk
(oops ignore extra comma there)
#
tantek
aaronpk, kevinmarks then in that case, it seems like JSONLD *breaks* that aspect/feature of JSON
#
kevinmarks
PHP having the fun 'is it a dictionary or list game where you can change it by assignment
#
aaronpk
yes it's absolutely silly that json-ld can't do arrays of arrays
#
aaronpk
kevinmarks: weird, i thought i've seen better code than that
#
kevinmarks
well, it is a library thta makes it easier
#
aaronpk
no, like foo["bar"]!["bar"]!
#
aaronpk
the ! makes it stop if it's not there
#
kevinmarks
and so some extent you have the problme in python where you get exceptions if some keys in the path aren't there
#
aaronpk
let me check. i'm still learning swift.
#
tantek.com
edited /2015/MIT/Guest_List (-2) "put TOC at bottom for easy linking to headings"
(view diff)
#
kevinmarks
if let johnsStreet = john.residence?.address?.street { print("John's street name is \(johnsStreet).") } else { print("Unable to retrieve the address.") }
#
kevinmarks
it's called 'optional chaining' which is a neat language feature
#
kevinmarks
hm, re geo as SVG, looks likw someone did it for KML http://kml2svg.free.fr/ except that added projections
#
kylewm
davidpeach: it looks like you're doing everything correctly on your end, I'll have to dig into the flickr stuff more later
#
kylewm
I'll file an issue!
#
tantek
suggests Orange Wind for kylewm's new project, thus providing a natural path of new project names through the rainbow.
#
aaronpk
or going the alternate direction, Purple Wind
#
snarfed
no, no, stick with the raymond chandler theme!!!
#
aaronpk
aw I kind of liked the nod to Prince tho!
tvn joined the channel
#
kylewm
haha, when i was thinking about making it a static generator, i wanted to call it Chill Wind :)
#
kevinmarks
what happened to the google feature that suggest new elements for groups?
#
tantek
Google Sets
#
tantek
I think it was sunSetted
#
aaronpk
it's inside Sheets now
#
tantek
(#sorrynotsorry)
#
kevinmarks
I was trying in sheets and it doesn't work any more
#
aaronpk
oh it's gone from there too :(
#
tantek
what is Google Sets?
nitot joined the channel
#
singpolyma
more wood behind fewer arrows ;)
#
Loqi
It looks like we don't have a page for "Google Sets" yet. Would you like to create it? https://indiewebcamp.com/s/105u
#
kevinmarks
I bet someone used it by accident and filled their spreadsheet with randomness
#
kevinmarks
how to express a classic fav in twitter now: https://twitter.com/kevinmarks/status/661630515720552448
#
tantek
so many star emoji to pick from
#
tantek
isn't that more like adapting the Slack emoji-vote feature to Twitter?
#
tantek
gets pedantic
#
tantek
what is a classic fave?
#
snarfed
or FB's proposed new emoji reactions
#
Loqi
It looks like we don't have a page for "classic fave" yet. Would you like to create it? https://indiewebcamp.com/s/105v
#
kevinmarks
but it is also a text-first way of writing a like
#
kevinmarks
for a modern definition of text
hs0ucy joined the channel
#
kevinmarks
hm, the &mdash; there is a shame
#
kevinmarks
also oddly retro
gRegorLove and petermolnar joined the channel
squeakytoy2 joined the channel
#
davidpeach
kylewm: brill thanks
#
singpolyma
looks like digg again, hehe
#
voxpelli
very Product Hunt-like design
snarfed1 joined the channel
#
singpolyma
the intro post reeks of NIH
#
singpolyma
"we hated some subreddits, so we wrote new code"
#
singpolyma
kevinmarks: for there to be microformats on the HTML there would have to be some HTML ;)
#
kylewm
doesn't seem like that to me singpolyma, seems like reddit with moderator tools and a code of conduct
#
singpolyma
kylewm: reddit has moderator tools. If the company itself really was the issue, just take the code and run it on your own server or whatever
#
singpolyma
writing new code seems like overkiil for a social problem
#
kevinmarks
this isn't open sourced afaik
#
singpolyma
ah. so writing new code for to own the IP maybe
#
kylewm
I don't use reddit, but I thought "lack of moderator tools" was part of the big kerfuffle over it recently
#
singpolyma
kylewm: I mean. some mods wanted more tools (and are getting them), but users can report posts to mods, and mods and remove posts or users
#
singpolyma
s/and mods and/and mods can
#
Loqi
singpolyma meant to say: kylewm: I mean. some mods wanted more tools (and are getting them), but users can report posts to mods, and mods can remove posts or users
nitot, snarfed and [kevinmarks] joined the channel
#
[kevinmarks]
Hm, will web action toolbelt turn twitter hearts back into stars as a side effect?
mlncn and snarfed joined the channel
#
voxpelli
Web action toolbelt?
tantek joined the channel
#
ben_thatmustbeme
any time i hear "new silo" i check for source code .... *sigh* js based :/
#
tantek
that should be a relief - since it means it's one less thing to worry about
#
@davebancroft
Keepin it real - POSSE The future of the web, maybe. Publish (on your) Own Site, Syndicate Elsewhere - http://indiewebcamp.com/POSSE @arstechnica
(twitter.com/_/status/661651725053501440)
[shaners] joined the channel
#
[shaners]
aaronpk tantek: Have yall looked at JSON API as part of your jf2 exploration?
#
aaronpk
not yet. right now jf2 is just a simplified version of mf2
#
[shaners]
I wonder if there’s a way to move jf2 into jsonapi compliant and still staying real simple.
#
ben_thatmustbeme
oh there you are [shaners]. JFDI is not a recursive acronym :P
#
aaronpk
jsonapi seems to be very database oriented since it requires each record has an "id"
#
aaronpk
all the examples have id as a number, although i think there's nothing in the spec preventing IDs from being URLs
#
[shaners]
ben_thatmustbeme: Oh derp. You’re right!
#
[shaners]
But it’s not a backronym either
#
ben_thatmustbeme
it is, it was made to look like JEDI
#
ben_thatmustbeme
but doesn't to avoid legal entanglements
#
snarfed
(which granary's REST API implements)
#
ben_thatmustbeme
any time you force an acronym to fit some format, pronouncable or not, its a bacronym
#
ben_thatmustbeme
heh, force ... jedi... unintentional
#
[shaners]
But JFDI isn’t an existing word. It’s a new one.
#
ben_thatmustbeme
doesn't matter
#
aaronpk
"a backronym is constructed by creating a new phrase to fit an already existing word, name, or acronym"
#
[shaners]
I think it does. But I don’t care enough to debate it with you.
#
aaronpk
you can even backronym to an existing acronym
#
ben_thatmustbeme
well yes, any time you start with what you want it to be
#
ben_thatmustbeme
like "i want the acronym to end up as JFDI so it looks like JEDI"
#
Loqi
gives ben_thatmustbeme the acronym to end up as JFDI so it looks like JEDI"
#
[shaners]
aaronpk: one of the knock on effects of getting jf2 to be jsonapi compliant is we’d get a grip of new parsers for free.
#
ben_thatmustbeme
.... thanks loqi
#
Loqi
you're welcome
#
aaronpk
that is not the "JFDI" I thought it was trying to look like but okay :)
#
aaronpk
[shaners]: interesting...
#
ben_thatmustbeme
aaronpk: what were you going for?
#
ben_thatmustbeme
also, yes, that is very interesting
#
ben_thatmustbeme
we should look at the ID thing
#
aaronpk
ben_thatmustbeme: i didn't suggest that!
#
ben_thatmustbeme
goes back to logs
#
[shaners]
Let’s do an exercise of morphing the example on the jf2 wiki page into JSON API and see what it looks like.
#
[shaners]
I’ll start with a gist that we can sketch on
#
ben_thatmustbeme
ahh, it was [kevinmarks]
#
[kevinmarks]
JFDI is an existing acronym, that was the joke.
#
aaronpk
i knew it!
#
[kevinmarks]
Is that a homoacronym?
#
[kevinmarks]
Just F-ing Do It
#
[shaners]
jf2-as-jsonapi.json
#
ben_thatmustbeme
"The values of the id and type members MUST be strings."
#
[shaners]
aaronpk: I know. We can work through all of them. But let’s start at the start. :wink:
#
ben_thatmustbeme
so it can be URLs just fine
#
aaronpk
just want to make sure you saw some of the more complicated ones
#
aaronpk
also there is more background on the design decisions in that doc
#
ben_thatmustbeme
also note, i have my service to turn any existing mf2 page in to jf2
#
ben_thatmustbeme
can use that for some very complex examples
loic_m joined the channel
#
voxpelli
the design goals of JSON API are really focused on what makes an API good, not necessarily what makes a data format good – I like many parts of it though, just something to be aware of
#
[shaners]
I’m just suggesting we check it out and do a little what-if exercise. Maybe there’s something that shakes out.
#
aaronpk
i would happily explore that
#
[shaners]
I’m dinking around on it now in that gist
#
aaronpk
cool i will let you finish :)
#
voxpelli
[shaners]: "A document MUST contain at least one of the following top-level members: data, errors, meta" – so your gist is for a JSON API resource object rather than a top level object, right?
#
[shaners]
btw, that example doesn’t have a uid or url in it. Seems important.
#
aaronpk
that is an oversight in that example ;)
#
aaronpk
that's why i gave you the link to the github page
#
[shaners]
voxpelli: yep
#
voxpelli
[shaners]: the only permitted top level attributes of a resource object apart from "id" and "typ" in JSON API is "attributes", "relationships", "links" and "meta" as I understand it
#
aaronpk
i think he's workkng on it
petermolnar joined the channel
#
[shaners]
yeah. working on it.
#
[shaners]
Ok. I *think* this is it. Not sure though.
#
[shaners]
It’s definitely not as simple as the jf2 example on the mf site.
#
aaronpk
probably needs a "url" attribute too
#
voxpelli
[shaners]: In the spirit of JSON API I would probably add a self-link or similar to the relationship, pointing to the URL of the h-card, but that would perhaps not be a 100% representative of the data
#
voxpelli
depends of whether the URL of a h-card can be seen as the canonical / source / self link of an h-card or not
lukebrooker and ttepasse joined the channel
#
[shaners]
either you wanna fork my gist and add your changes?
#
voxpelli
[shaners]: the photo would probably be a relationship as well and not an attribute, no?
#
voxpelli
not sure, just brainstorming
#
[shaners]
prolly. i got worn out already.
#
aaronpk
lol well that's not a good sign
#
[shaners]
exactly
#
ben_thatmustbeme
huh, i feel like this actually spirals directly out of mf2's representative json slightly easier
__number5__ joined the channel
#
ben_thatmustbeme
rels => links for the top level item
#
aaronpk
ben_thatmustbeme: feel free to take a stab at mf2json -> jsonapi!
#
ben_thatmustbeme
i may do that
#
[shaners]
is jf2 meant to be hand written?
#
ben_thatmustbeme
it could be, but certainly needn't be
#
aaronpk
[shaners]: i'm expecting anyone who's publishing mf2 html will use a service to convert it to jf2. I also suspect some people will output jf2 directly.
#
voxpelli
aaronpk: use a service how?
#
aaronpk
like pin13.net/mf2
#
ben_thatmustbeme
voxpelli: i'm already publishing it on all of my pages right now
#
ben_thatmustbeme
using my own service
#
voxpelli
isn't it the consumer that uses a service, not the publisher? unless we're talking eg micropub?
#
aaronpk
voxpelli: my site already links to a JSON alternate in the html
#
aaronpk
view source on any of my pages and look for rel="alternate"
#
aaronpk
that's what I mean
#
voxpelli
oh, I thought jf2 was purely meant for services – not for published content
#
aaronpk
i don't understand the difference
#
voxpelli
published content -> HTML, services talking to each other over API:s -> JSON
#
aaronpk
that seems like a strange distinction
#
aaronpk
are you saying a JSON document at a URL is not published content?
#
voxpelli
JSON makes sense when computers consumes ut, HTML makes sense when the consumer is unknown
#
voxpelli
not at all, I'm saying I don't see why one would want to use JSON to publish content
nitot joined the channel
#
aaronpk
i still don't really get the original question. I link to the pin13.net mf2 service because that's easier for me than also publishing JSON. I will do the same for jf2
#
voxpelli
why should it be up to the publisher to pick a service to convert from mf2 to jf2? isn't it better for a consumer to decide whether it wants to parse the data itself or have someone else do it for them?
#
aaronpk
voxpelli: it's more a question of whether the publisher a) wants to publish jf2 directly or b) offloads that
#
aaronpk
also it doesn't have to be a conversion from microformats to jf2, you can publish jf2 without microformats behind it, which i'm expecting some people will do
#
voxpelli
why would the publisher ever want to publish jf2 if jf2 is an implementation detail of a consumer?
#
aaronpk
who said jf2 is an implementation detail of a consumer?
ttepasse joined the channel
#
davidpeach
anybody know the best oauth2 client to use for php (laravel specifically). I use guzzle for twitter oauth1, but need oauth2 for new project
#
voxpelli
I'm, very surpised to hear this when publishing data as RSS has generally been something that people have been fairly critical about due to eg. DRY-concerns. What differs jf2 from eg. RSS?
#
aaronpk
davidpeach: in contrast to oauth1, oauth 2 is actually simple enough you don't really need a library. also oauth 2 APIs tend to be different enough that a library won't help much
#
davidpeach
oki dokes
#
davidpeach
i was thinking of hand-coding but thought id take a look first.
#
aaronpk
voxpelli: for one, jf2 *is* a derivation of microformats html so you don't need to actually generate two versions of your content
#
davidpeach
you've convinced me. :)
#
aaronpk
voxpelli: but it's also for people who don't believe publishing HTML is useful
#
voxpelli
aaronpk: one can do the very same with RSS/Atom feeds, no?
#
davidpeach
what do you guys think of the whole https-only stuff? I heard mozilla will be deprecating http access or something?
#
aaronpk
yes. and the same people who aren't a huge fan of publishing HTML are also not a huge fan of XML ;)
#
voxpelli
ok, I really shouldn't argue about this right now, too tired, but I'm really not convinced why people should suddenly start publishing jf2-data – as a format for API:s I'm pro it, as a format for publishing data on the web I'm against
#
snarfed
https++
#
Loqi
https has 0 karma
#
aaronpk
voxpelli: it's still early for this for sure. but for starters, it can serve as a simplified json representation of microformats if nothing else.
shiflett joined the channel
#
[shaners]
Ok. I went a little deeper on the jf2/jsonapi conversion.
#
voxpelli
aaronpk: I'd say that it's especially too early to start publishing such links – if consumers start to widely adopt the jf2 format then it could make sense to have clients be able to publish it directly
#
voxpelli
but until then it feels premature
#
aaronpk
yeah i'm not publishing jf2 links any time soon
#
[shaners]
Actually, i think i’m doing it wrong. I think all the nested stuff is meant to go down at the bottom in an included section. Instead of nested inline.
#
[shaners]
I think.
#
voxpelli
[shaners]: I wonder if one could consider the url-attributes redundant as the id:s of those types will always(?) be url:s? and if they are not URL:s then a self-link would probably be more representative anyhow?
#
voxpelli
[shaners]: I think you can do both
#
[shaners]
prolly/maybe? not sure.
#
voxpelli
[shaners]: depends on whether you reference the same object multiple times in the same response – then you want a reference to a top-included object instead
#
voxpelli
so in an h-feed for example you wouldn't want to inline the h-card in every line but rather reference a top level object
#
voxpelli
it's a rather neat pattern – like a GraphQL Lite
#
voxpelli
(funny, going back to the Micropub discussion about prefixes, seems like JSON Graph actually uses "$" as their prefix for metadata)
#
voxpelli
aaronpk: btw, nothing about the rel-alternate for jf2 or anything at any of the wikis – neither indieweb or mf
#
voxpelli
they give the impression that it's just an alternate output of http://microformats.org/wiki/microformats2-parsing
#
aaronpk
right. for now that's what it is
#
voxpelli
ok, maybe lets keep it that way and have the discussion about exposing it go by another name as that's pretty separate from the actual format used? One could eg. expose the current mf2 JSON as well
cmhobbs_ and snarfed1 joined the channel
#
voxpelli
(if we should take notice from the OStatus / Activity Streams communities also – any mandatory switching of data formats is a pretty dangerous move – I have rewritten too much code because of such things)
#
sandro
Hmmm. Is anyone ( aaronpk? rhiaro? ) running something on their server that would let me be notified of new content without polling? I feel like I'm missing something obvious.
#
Loqi
sandro: tantek left you a message 1 week, 4 days ago: thanks for the feedback! Have added a brief "Upcoming IndieWebCamps" subsection near the top of https://indiewebcamp.com/IndieWebCamps - hopefully that is skim-obvious now! http://indiewebcamp.com/irc/2015-10-23/line/1445618981202
#
kylewm
sandro: PuSH?
[aaronpk] joined the channel
#
[aaronpk]
sandro: yep! PubSubHubbub
#
[aaronpk]
voxpelli: definitely. Take this with a grain of salt for now.
#
[aaronpk]
What is how to push?
#
Loqi
This page is a description of a minimum viable subset of PuSH 0.4 that is sufficient for supporting the IndieWeb use cases of realtime publishing feeds of h-entry posts, and subscribing to & receiving notifications of updates from those feeds https://indiewebcamp.com/how-to-push
#
voxpelli
(Just used Requestb.in to debug a PuSH flow, worked great as a webhook for a subscription)
#
[aaronpk]
Oh really? Do they echo the challenge for you?
#
voxpelli
Very handy
#
[aaronpk]
That's nice of them
#
[aaronpk]
And undocumented lol
#
voxpelli
Tried to use Feedbin first, but the latency there was too big to know if content was received by poll or push
#
sandro
Thanks, aaronpk, now I remembering you saying you thought it was redeemed and usable. BTW I got stuck on https://indiewebcamp.com/push_notification which is about a different part of the puzzle. Hmmm... I don't see a list of implementations on https://indiewebcamp.com/how-to-push Are you using it?
#
sandro
Looks like it...? <link rel="hub" href="https://switchboard.p3k.io/" />
snarfed joined the channel
#
voxpelli
sandro: list of users are on https://indiewebcamp.com/PuSH
#
sandro
voxpelli, thanks!
cleverdevil- joined the channel
#
davidpeach
anyboy here use google play all access for streaming music?
lukebrooker joined the channel
#
gRegorLove
I do, davidpeach
#
davidpeach
cool. can you view this playlist?
#
kevinmarks
ah looks like twitterchanged their markup so that web action hero toolbelt can't replace hearts
#
davidpeach
gonna start putting playlists together - on own site first ofc. But then making a google and spotify one as 'possed' copies
nitot joined the channel
#
gRegorLove
davidpeach: Yep, loads for me.
ttepasse joined the channel
#
davidpeach
just added post type of playlist
#
gRegorLove
What is playlist?
[shaners] joined the channel
#
[shaners]
aaronpk: why are slashes escaped in a quoted string in JSON Land?
#
[shaners]
"url": "http:\/\/tantek.com\/",
#
Loqi
It looks like we don't have a page for "playlist" yet. Would you like to create it? https://indiewebcamp.com/s/105w
#
[shaners]
What is list?
#
Loqi
It looks like we don't have a page for "list" yet. Would you like to create it? https://indiewebcamp.com/s/105x
#
kylewm
because php
#
davidpeach
yer I can put together a playlist page for wiki
#
[shaners]
:disappointed:
#
[aaronpk]
Is that a pho thing?
#
gRegorLove
What is jam?
#
Loqi
jam is an active type of post used to share a song that you are recently enjoying https://indiewebcamp.com/jam
#
[aaronpk]
I dunno that's just what I get when I json encode
#
[aaronpk]
Man iOS autocorrect is not friendly to programming terminology
#
kylewm
good for vietnamese food tho :P
#
davidpeach
I like the JAM one
#
[shaners]
will php decode json to php object without escaped slashes and Do The Right Thing™?
#
davidpeach
its hard to do that passively with google play though cuz they have zero api.
#
davidpeach
i mnaually save albums I listen to http://davidpea.ch/listens
#
davidpeach
but each song would be hard
#
gRegorLove
[shaners]: Yes
#
kylewm
apparently the \/'s are to make it safer to embed in html http://stackoverflow.com/a/1580682/682648
#
[shaners]
bummer town
#
[shaners]
afk a bit
#
gRegorLove
davidpeach: I've only posted a few jams, always manually. It's different than a playlist or a passive listen, though.
#
gRegorLove
I thought we had /playlist already but I guess not.
KartikPrabhu joined the channel
#
gregorlove.com
edited /jam (-24) "/* Gregor Morrill */ Fixed POSSE link on original"
(view diff)
#
@fredericmarx
That awkward moment when the German expression for “Likes” is 21 characters long. #i18n [photo]
(twitter.com/_/status/661583120240664576)
#
aaronpk
gefällt?
#
kylewm
Gefällt Mir-Angaben
#
aaronpk
clicks the link
#
kylewm
word for word that's "like-me information"?
#
aaronpk
"das gefällt mir" is "i like it" or more literaly "it is liked by me"
snarfed joined the channel
#
aaronpk
i think it's trying to say "things i have liked"
#
aaronpk
or "likes given"
mlncn joined the channel
#
aaronpk
any actual german speakers want to chime in? :D
#
kevinmarks
I can see the playlist david
#
@deBaer
@fredericmarx @offbyoni The correct German word would be "Gefallensbekundungsbezeugungen" though.
(twitter.com/_/status/661672579078471681)
#
kevinmarks
can you noun verbs in german?
#
aaronpk
sure just put "ge-" before it an "-en" after
cleverdevil joined the channel
#
davidpea.ch
created /playlist (+509) "Created playlist page."
(view diff)
#
davidpea.ch
edited /playlist (+42) "add dearcoquette link."
(view diff)
KartikPrabhu, cleverdevil-, cleverdevil, nitot and friedcell joined the channel
#
@kevinmarks
@girlziplocked BTW, if you're setting up your website, you might like Indiewebcamp at the weekend: http://indiewebcamp.com/2015/MIT
(twitter.com/_/status/661694308270129152)