#indiewebcamp 2015-07-26

2015-07-26 UTC
#
snarfed
…on to the next ruby breakage. :/ bundle exec … says "Could not find rake-10.4.0 in any of the sources; Run `bundle install` to install missing gems."
#
snarfed
bundle install and bundle check both ran happily. all of the libs are installed in vendor/bundle/ruby/2.0.0/ , which seems odd, since i'm using ruby 2.1.6 (checked with ruby -v)
#
snarfed
i'm starting to feel like god is trying to tell me something
j12t and mlncn joined the channel
#
aaronpk
eh if it runs i wouldn't worry about it
Phyks joined the channel
#
snarfed
it doesn't
#
snarfed
i definitely wouldn't worry if it ran :P
#
snarfed
working on it, let me know if you have any instincts
#
aaronpk
that is bizarre...
#
aaronpk
no idea. normally my gems get installed in ~/.gem/ruby/2.1.6
#
aaronpk
i don't actually know how that is decided. my ruby skillz are like not that great
#
snarfed
heh. at least yours exist :P
#
snarfed
ok. i'll keep poking
#
aaronpk
k, sorry!
#
snarfed
np! not your fault
bret joined the channel
#
GWG
snarfed: You use the WordPress Post UI to write things, right?
mattl, scoates, jden, scoates_, j12t, tantek and KartikPrabhu joined the channel
#
snarfed
GWG: nah, emacs and markdown
#
GWG
snarfed: Interesting.
#
GWG
How do you get it into WordPress then?
#
snarfed
oh btw GWG np on delaying unit tests, but you should still finish up https://github.com/snarfed/wordpress-micropub/pull/15 regardless! it'd be good to get in
Kongaloosh, KevinMarks_, KartikPrabhu, tantek and j12t joined the channel
#
GWG
snarfed: I fixed it and sent it back to you a few days ago
#
Loqi
slack/snarfed: GWG: oh! thanks, I'll look. i don't automatically follow your fork and get notified of your commits, so you'll want to comment in the PR when you do that
#
GWG
Oops
#
GWG
Sorry for the delay. My cousin was on TV and I went to go try to spot him
cmhobbs joined the channel
#
ben.thatmustbe.me
edited /User:Ben.thatmustbe.me (-27) "/* TODO */ update and reoganize a little bit"
(view diff)
#
ben.thatmustbe.me
edited /User:Ben.thatmustbe.me (+92) "/* TODO */ ideas for how to proceed."
(view diff)
#
GWG
ben_thatmustbeme: I had a question for you, but can't remember what it was. This is my declaration.
#
ben_thatmustbeme
damn, now i went and opened this room, i'll lose my place tomorrow
#
Loqi
ben_thatmustbeme: aaronpk left you a message 11 hours, 30 minutes ago: I filled in a bunch of the brainstorming page, would be great to get your thoughts on how alice would get a bearer token for the syndication target: http://indiewebcamp.com/syndication-brainstorming http://indiewebcamp.com/irc/2015-07-25/line/1437836286441
#
KevinMarks
there's always the webpage
#
ben_thatmustbeme
yeah, i'll read it tomorrow
#
ben_thatmustbeme
bleary eyed right now
#
KevinMarks
discovers that Apple Time Machine doesn't GC backups
#
ben_thatmustbeme
also have idea on how to make that work for syndication. pretty simple
#
GWG
!tell acegiak I have some more crazy ideas and need a WordPress user to run them by when you have a moment
#
Loqi
Ok, I'll tell them that when I see them next
#
acegiak
GWG: I'm listening
#
Loqi
acegiak: GWG left you a message 1 minute ago: I have some more crazy ideas and need a WordPress user to run them by when you have a moment http://indiewebcamp.com/irc/2015-07-25/line/1437877929538
#
GWG
acegiak: I'm reworking the meta data by moving the functions to process it from the save_post code to the Meta class I created.
#
GWG
acegiak: While I was doing that, it occurred to me that I could pass a query parameter into post-new.php and preset the kind in the selector.
#
GWG
acegiak: Which made me think...if I tell it what kind I want, why can't I customize the input section based on that?
#
GWG
I had been avoiding it because I don't do much JS, which would be required to do it.
#
GWG
But this way, it could be done in PHP
#
acegiak
as in prepopulating the fields?
#
acegiak
or hiding the irrelevant ones?
#
GWG
acegiak: Hiding the irrelevant ones.
KartikPrabhu joined the channel
#
GWG
And altering the title to help newer people understand what goes in them
#
GWG
Then I could add a menu to the menu bar on the dashboard to quickly head to the presets
#
acegiak
GWG: I'm hella skeptical of hiding fields
#
acegiak
that's super prescriptive
#
acegiak
"nono, when you like/repost/bookmark a thing it should look like this, if you want to use these fields you can't because they're not the right fields for that post kind"
#
GWG
I was thinking of the specialized fields for things like audio, where I'd want to possibly add fields.
#
GWG
For example, on a piece of music, I might want things like Genre and Release Date
#
ben.thatmustbe.me
edited /syndication-brainstorming (+730) "/* Syndicate by Content Brainstorming section added */ aaronpk, please review, too tired to work through everything right now"
(view diff)
#
GWG
Of course, Release Date maps to Publication Date on a URL/article.
#
GWG
Not sure what Genre is the equivalent of.
#
GWG
Site Name, Publication Name, and Album Name are effectively the same thnig
#
GWG
I don't want to hide anything anyone would be using, which is the problem in doing it.
mdik_ joined the channel
#
GWG
But in getting into more complex types...the list is going to grow pretty long.
#
ben_thatmustbeme
GWG, be careful of that trap
#
GWG
ben_thatmustbeme: Which one?
#
ben_thatmustbeme
don't start going too deep in to "someone might want this"
#
ben_thatmustbeme
unless there is a demonstrated need
#
ben_thatmustbeme
otherwise you end up at schema.org
#
GWG
Someone might want to do what?
#
ben_thatmustbeme
releast date, genre
#
ben_thatmustbeme
s/east/ease/
#
GWG
ben_thatmustbeme: I actually like audio metadata. Of course, I don't post that very often. I was trying to get to RSVPs, which have a field only relevant for RSVPs.
#
acegiak
GWG: Just do what you need for now but make your structure easily expandable
#
GWG
Trying to dictate too many restrictions is a problem because people want to use things they way they want to use them.
#
GWG
Trying to have no restrictions is harder for newcomers.
#
GWG
acegiak: I've been rewriting the meta storage stuff because I was working on the Micropub plugin. I want to be set up to store more microformats2 properties in the meta, even if they aren't used right now.
#
GWG
It came out of the Micropub design discussions. Micropub can store any arbitrary data, even if the receiving end doesn't know how to use it.
#
GWG
So, aaronpk, for example, has Teacup, which does food and drink. He uses the non-standard tags p3k-food and p3k-drink. Even if I don't know what to do with those, I want to keep them.
#
GWG
That was on the Micropub side. On the Post Kind side, I want to have the functions work with all mf2_ prefixed values, and understands the established ones.
snarfed and KartikPrabhu joined the channel
#
GWG
Oh, well.
tantek, KartikPrabhu, wolftune and snarfed joined the channel
j12t joined the channel
KevinMarks_ joined the channel
j12t joined the channel
#
Kongaloosh
and I broke it :<
KartikPrabhu and j12t joined the channel
KartikPrabhu joined the channel
#
@AlexKKearney
Okay, so after fixing an unfortunate unicode error, here's the actual post: http://kongaloosh.com/e/2015/7/26/9-weeks-of-indieweb
(twitter.com/_/status/625166561989533696)
j12t, benwerd, tantek, KevinMarks__ and cweiske joined the channel
#
KartikPrabhu
!tell snarfed: for app engine do I really have to include all dependencies as submodules?
#
Loqi
Ok, I'll tell them that when I see them next
KevinMarks_, eschnou and KevinMarks__ joined the channel
#
kylewm
!tell KartikPrabhu no you don't (Bridgy doesn't use submodules anymore!) basically you can install deps into a virtualenv and include the virtualenv folder when you deploy to app engine. there are some tricks to setting up the path though http://stackoverflow.com/a/25564125/682648
#
Loqi
Ok, I'll tell them that when I see them next
KartikPrabhu and eschnou joined the channel
JarOfGreen joined the channel
#
JarOfGreen
Edinburgh ...... breakfast has arrived!
endi joined the channel
#
@jarofgreen
Edinburgh #indiewebcamp day 2, the hack day ... breakfast is here, people are arriving ...
(twitter.com/_/status/625229790199607297)
#
JarOfGreen
So, my hackday plan is adding the ability to import events on a webpage that are marked up with h-event or schema.org markup to OpenACalendar .... first step, a good HTML parsing lib for PHP, and taking the data to some solid models ....
#
rhiaro
Good morning everyone! Anyone remote-hacking today, and want a stream / to be streamed?
#
JarOfGreen
Ahha, https://github.com/indieweb/php-mf2 looks useful
#
@rhiaro
Got vegan breakfast and ... an aeroplane seat ... everything I need for day 2 of IndieWebCamp Edinburgh! http://rhiaro.co.uk/2015/07/got-vegan
(twitter.com/_/status/625232825139265536)
_fran joined the channel
#
JarOfGreen
Just read https://waterpigs.co.uk/notes/4cDM5D/ ..... hate to be the negative one ... but if someone includes your package in their app and then puts their app through a continuous integration testing server like Travis your downloads count will artificially rocket .... sorry ... I'll prob break 1000 on https://packagist.org/packages/jmbtechnologylimited/parsedatetimerangestring today :-)
loic_m and Pierre-O joined the channel
#
rhiaro
Hey JarOfGreen, you could better pass that message across by sending a webmention to barnabywalters :)
catsup joined the channel
#
JarOfGreen
I feel mean enought saying it in IRC, don't want to blog it to :-p
catsup joined the channel
#
@macleodan
Something about mountains with fax machines. #indieweb
(twitter.com/_/status/625241939416383492)
catsup and lewisnyman joined the channel
#
rhiaro
What are people working on today:
#
Loqi
It looks like we don't have a page for "people working on today:" yet. Would you like to create it? http://indiewebcamp.com/s/100P
#
rhiaro
Jarofgreen: Scraping events data microformats and schema.org
#
rhiaro
KitB: Working on irc library, part of de-siloing grand plan
#
rhiaro
moredhel: webmention and micropub for static sites
#
rhiaro
anm: Static sites stuff
#
rhiaro
rhiaro: Displaying webmentions on my site
endi_ and catsup joined the channel
#
rhiaro
tbrb: Starting from scratch with new site. Micropub is on the cards.
#
rhiaro
kegan: allow any matrix client to be micropub enabled
#
rhiaro
fran: parse metadata from images and get a page of html with microformats
catsup joined the channel
#
rhiaro.co.uk
edited /2015/Edinburgh (-9) "nachos."
(view diff)
catsup and frzn joined the channel
#
@axiomer
Publish (on your) Own Site, Syndicate Elsewhere -- What, why and how https://indiewebcamp.com/posse #blogs #internet
(twitter.com/_/status/625252182468730880)
j12t and catsup joined the channel
#
aaronpk
good morning!
#
rhiaro
good morning aaronpk!
#
rhiaro
Would you like a hangouts link?
#
rhiaro
There's a room of people doing micropub stuff (ping tbrb)
#
mm0hai.net
edited /Jekyll (+51) "/* IndieWeb Examples */"
(view diff)
#
tbrb
Can do if wanted :)
catsup joined the channel
#
aaronpk
sure! happy to help!
#
moredhel
morning all, I'm looking at getting ghost to support microformat2 markup. does anyone know of any themes that do this already? I have looked at this already: https://indiewebcamp.com/Ghost
#
tbrb
rhiaro: can you come sign in?
#
aaronpk
moredhel: not that I know of, it would be linked on the wiki. I assume you already found the last attempt at adding mf2 markup?
#
moredhel
I haven't found the pr actually, but it should probably be linked on the page?
#
moredhel
oh :p, just saw it
#
moredhel
I'll have a play with things
catsup joined the channel
#
aaronpk
great! do you use ghost on your site?
mlncn joined the channel
#
rhiaro
tbrb++
#
Loqi
tbrb has 3 karma
#
tbrb
aaronpk: do you have a way to sign into quill with a dev copy of a site? ie, I'm running a dev server at localhost:8080 rather than harryreeder.co.uk?
catsup joined the channel
#
aaronpk
tbrb: i haven't tried that before, but you should be able to use a ssh tunnel to give your localhost a public address
ramsey_ joined the channel
#
tbrb
aaronpk: That's do-able except I still fall over at the indieauth step like so: http://img.harryreeder.co.uk/2015-07-26_11-58-19.png
hugoroyd_ joined the channel
#
tbrb
I assume because the rel=me links aren't actually pointing at the server where my tunnel exits
CaptainCalliope_ joined the channel
#
aaronpk
yeah they'd have to point to main.f-t.so:8081
#
aaronpk
the easiest one to do that with is google+ because you can link to multiple rel=me profiles
#
tbrb
Oooh, ok
catsup joined the channel
#
tbrb
or maybe persona?
#
aaronpk
oh yeah that also works
bigbluehat_, _6a68_, michel_v_, chreekat_ and ShaneHudson joined the channel
#
aaronpk
if that ends up working well for you, probably worth adding a writeup to the wiiki
loic_m, catsup and seekr joined the channel
#
moredhel
alright, I ended up just writing the markup myself, and submitting a pr for my theme
#
aaronpk
cool i was able to sign in to quill using ngrok and persona
#
rhiaro
moredhel++
#
Loqi
moredhel has 1 karma
#
moredhel
yay :)
catsup joined the channel
#
anm
Is someone doing notes with jekyll?
#
tbrb
Got it working with Google+
#
anm
with twitter posse?
#
tbrb
I've not been able to get it working with Persona though, but I'd not set up persona previously either
#
aaronpk
anm: bret has done a bunch with that. see http://indiewebcamp.com/Jekyll
#
aaronpk
tbrb: ah yeah persona is kind of confusing to set up the first time IIRC
#
aaronpk
has anyone noticed that quil's note interface doesn't work in firefox?
#
aaronpk
oh nvm... i had noscript turned on in firefox :)
#
aaronpk
cool, ngrok works great for testing a local site using the real quill
catsup joined the channel
#
atomicules
anm: I'm syndicating notes to Twitter with Jekyll.
catsup joined the channel
#
atomicules
anm: The code in that post is already out of date, but the approach is still the same
j12t joined the channel
#
aaronparecki.com
created /ngrok (+318) "Created page with "{{stub}} '''<dfn>Ngrok</dfn>''' is a utility for making local servers available on a public address https://ngrok.com/. Ngrok is useful for testing development websites with pu...""
(view diff)
#
JarOfGreen
"Ohhhhh, that's how it works" just heard from next door ....
#
aaronpk
haha i heard that too
#
aaronparecki.com
created /localtunnel.me (+148) "Created page with "{{stub}} '''<dfn>localtunnel.me</dfn>''' allows you to share a local server on a public address. http://localtunnel.me/ == See Also == * [[ngrok]]""
(view diff)
catsup joined the channel
#
rhiaro
Does anyone at indiewebcamp edinburgh want to get me a cup of coffee? I don't want to get up or take my headphones off :)
catsup joined the channel
#
rhiaro
I guess not.
#
aaronparecki.com
edited /ngrok (+1479) "add section on how to test micropub clients"
(view diff)
#
aaronpk
tbrb: i'm hearing some conversation about http 401 vs 403 codes... is that not documented somewhere already?
catsup joined the channel
#
aaronpk
okay next project time... i think i'm going to tackle clustered notifications for webmention.io
#
tbrb
aaronpk: Any idea why indieauth will just sit attempting to find rel=me links and hang: http://img.harryreeder.co.uk/2015-07-26_12-57-11.png ?
#
rhiaro
aaronpk: did you fix the favorite bookmarklet? :)
#
aaronpk
hrm no... check the browser console to see if there's a js error?
#
aaronpk
rhiaro: I did! I made it pop up a new window instead
#
rhiaro
aaronpk++
#
Loqi
aaronpk has 905 karma
catsup joined the channel
#
tbrb
Ah, Failed to load resource: the server responded with a status of 502 (Bad Gateway)
#
rhiaro
clustered notifications for webmention.io will be awesome
#
aaronpk
tbrb: oh you're getting that from indieauth.com?
#
rhiaro
I'm just about to start pulling wms from webmention.io into my store
interactivist joined the channel
#
aaronpk
rhiaro: cool! you wouldn't expect to get the clustered notification text in the api would you?
#
rhiaro
I haven't thought that far yet
#
tbrb
yeah aaronpk, just when attempting to sign in to quill. Let me try another service
#
rhiaro
feels like it will be useful for something, but one step at a time
#
aaronpk
tbrb: it's only hanging on one of the indieauth.com servers, so in a minute you'll probably get bounced to a new one
#
tbrb
Fair enough
#
tbrb
goes for a drink break then
IWC-Edi-Session2, moredhel and catsup joined the channel
#
aaronpk
strange, that server can't reach your ssh tunnel. I will have to ask bear if there's a firewall that's blocking it
frzn and catsup joined the channel
#
tbrb
Maybe something to do with the non-standard port?
#
aaronpk
probably
#
aaronpk
if it still isn't working, then change "indieauth.com" to "primary.indieauth.com" and that'll make it do the request against a specific server
#
aaronpk
you can just change it in the browser address bar
#
rhiaro
anm++ for making me mate
#
Loqi
anm has 1 karma
#
tbrb
it worked in the sense of it getting my providers fine, but then google throws a wobbly because primary.indieauth.com isn't a registered callback handler
#
aaronpk
oh yeah hah
#
tbrb
@The redirect URI in the request: https://primary.indieauth.com/auth/google_oauth2/callback did not match a registered redirect URI@
#
aaronpk
only works for things like persona
#
tbrb
yeah
#
tbrb
Ach well
#
aaronpk
i can remove the problem server for now
#
aaronpk
also indieauth.com might be resolving to a different one for you by now
#
aaronpk
k it's out of the pool
catsup and j12t joined the channel
#
tbrb
Perfect, all good now
catsup and csarven joined the channel
#
tbrb
Is there any sort of prescription for permalink structure?
#
aaronpk
for your own site? not a presecription, no
#
aaronpk
but there are some best practices
#
rhiaro
don't put post types in urls :)
#
tbrb
reads
#
Loqi
[mention] Aaron Parecki posted 'Wrote up a tutorial on testing local micropub clients with ngrok http://indiewebcamp.com/ngrok #indieweb' linking to http://indiewebcamp.com/ngrok (https://aaronparecki.com/notes/2015/07/26/1/micropub-indieweb)
catsup joined the channel
#
aaronpk
the sun is coming up :)
#
tbrb
We're starting to cloud over here
#
csarven
tbrb I suggest reading http://www.w3.org/Provider/Style/URI a few times.
#
rhiaro
aaronpk: webmention.io has a 'verified' field - how long does it take to verify them? (I've never seen it set to false, that's all)
#
csarven
tbrb Everything else pretty much stems from that.
#
aaronpk
rhiaro: pretty sure you'll only see verified ones. it's unverified before it checks the source URL
catsup joined the channel
#
anm
rhiaro: why are you against post types? (I read http://indiewebcamp.com/url-design)
#
rhiaro
I'm not against post types per-say, but putting them in the urls leads to problems if you decide to tweak your model
#
rhiaro
I'm against some post types
#
tbrb
csarven: Cheers. I'm thinking just /entries/<year>/<month>/<day>/<slug>, with a hackable URL to just show a list page for say, /entries/<year>/<month>
#
rhiaro
explicit post types
#
rhiaro
tbrb: I do that, but without day
#
csarven
shrugs at the dates.
#
rhiaro
csarven: depends how much you post, and maybe how likely your slugs are to collide
#
rhiaro
when you post a lot, filtering by month and year is pretty helpful
#
tbrb
Dropping day could be an idea too actually
#
tbrb
yeah, I like the sound of that
#
tbrb
slugs colliding in the same month is unlikely
#
rhiaro
On the other hand, I often want to find a post and forget the month but remember thes lug
#
rhiaro
fortunately I have two versions of all my URIs
#
rhiaro
one without the year and month..
#
csarven
I agree, but you should filter by however the resource describes itself, not based on the IRI
#
aaronpk
i actually prefer my slugs to be informative rather than canonical
#
aaronpk
tbrb: basically you're gonna find a lot of personal preference when it comes to url design :)
#
rhiaro
URIs should be opaque etc
#
rhiaro
tbrb: you're going to see differences of opinion from linked data world compared to indieweb world I think, too :)
#
tbrb
Yeahhhhh
#
csarven
tbrb Consider whether the term "entries" is most appropriate e.g., should it be singular or plural? should it be there to begin with?
#
rhiaro
oh yeah, tbrb I wouldn't necessarily bother with /entries/
#
rhiaro
also shorter is better
catsup joined the channel
#
anm
rhiaro: I think I read something on your site, hm, you have a URI for the concept / content, and a URL or more for some representation of it?
#
rhiaro
uhh yeah I'd rather not talk about it :p
#
rhiaro
it has solved and created a number of problems
#
tbrb
I guess if the first "folder" is specifically an int or similar then I won't hit any routing troubles
#
anm
hmkay
#
anm
maybe you can write about it sometime then
#
rhiaro
Okay I'll talk about it really. I have blog.rhiaro.co.uk/slug which does content negotation and can return turtle, rdf/xml or json
#
rhiaro
or markdown
#
rhiaro
if you ask for text/html it redirects to rhiaro.co.uk/year/month/slug which is html version with comments etc
#
aaronpk
tbrb: if your first segment is year then that's a pretty strict pattern to match, [0-9]{4}
#
csarven
I'd ditch the dates altogether. Come up with a proper mechanism to generate unique paths, which includes handling scenarios where you come up with the same slug for some reason. e.g., if 'foo' exists, go with 'foo-n' or whatever. There is a trade off: how complicated do you want the URL to be and how likely are you going ot run into collisions. Work around the collision possibilities (which is far less likely than introducing date
#
csarven
s and other things upfront and all the time)
#
@macleodan
I'm going next door to look at a cat on the internet. #indiewebcamp
(twitter.com/_/status/625286238015234049)
#
rhiaro
I do have a collision avoiding mechanism in my slugs anyway, since I started with the dateless version
#
aaronpk
there are many benefits to having the date in the URL, especially for date-based content like posting notes
#
csarven
Most importantly: come up with an URL Template for your site: https://tools.ietf.org/html/rfc6570 and then go on from there.
#
csarven
aaronpk There are about zillion (meta)data that's "important" for a resource. There is no need to arbitrarily shove them into the URL.
#
aaronpk
csarven: like i said... personal preference
catsup joined the channel
#
aaronpk
csarven: if you have any personal experience with URL design for your personal website, feel free to add to http://indiewebcamp.com/url-design
#
anm
does anyone in Edinburgh want lunch yet? I will goto Mosque Kitchen if so.
#
rhiaro
is still not hungry
#
tbrb
Yeah I'm not too fussed tbh
#
csarven.ca
edited /URL_design (+33) "Added W3C Note on Cool URIs for the Semantic Web"
(view diff)
#
anm
rhiaro: and what are the problems created solved by your scheme? Do you recommend it?
#
@papapelz
@AphiliaInfo Und volle Integration von microformats2? Aktuell nur bei SemPress. Sollte halt #indieweb-kompatibel sein.
(twitter.com/_/status/625288522505822210)
catsup joined the channel
#
rhiaro
Having two urls for everything is a problem. People are going to reply/like/etc (ie send webmentions to) the /date/ version, because that's the most obvious html version, even though I'd technically want stuff at the non-date version. But I have to accept that.
#
rhiaro
the ids for posts in my store are the non-date version
#
anm
I think date makes sense in URLs for content where date is actually relevent, but I am now thinking that for many blog articles, it is not, and really I should have a post type which does not have dates.
#
rhiaro
So when I get webmentions to the date version, I have to map that to store the replies
#
anm
I mean, at all, not just in URL.
#
rhiaro
but havint the non-date version at a subdomain means when I get an ssl cert at my top level I won't have to change all the IDs in my store
#
rhiaro
(to https)
#
voxpelli
I believe I will get a problem with URL:s when I move to implement update/delete in my Micropub endpoint as Jekyll requires full date in file names I believe but I only have month+year in URL
#
voxpelli
but that's kind of an edge case – doing Jekyll + full dynamic IndieWeb makes for some edge cases
catsup joined the channel
#
anm
also there is a yerba mate going around if anyone is interested
j12t joined the channel
#
csarven
Interesting that /url-design talks about yyyy/mm/dd pattern, instead of yyyy-mm-dd pattern which is actually the ISO 8601 pattern.
#
aaronpk
it's not a far stretch to use slashes in URLs to separate date segments. it's still in yyyy-mm-dd order which is the important part
#
_fran
I was just cursing against EXIF dates, which are in yyyy:mm:dd format :)
#
csarven.ca
edited /URL_design (+83) "Mentioned ISO 8601 date pattern"
(view diff)
#
rhiaro
using slashes makes yyyy and yyyy/mm collection pages obviously human-discoverable
#
JarOfGreen
advantage of using slashes in URLs is then you have a natural page that lists all content from one year, or one month I guess
catsup joined the channel
#
csarven
- and / are merely strings. One of which in the date pattern is an ISO date pattern, the other is not. So, sure, we can chalk that also up as a personal preference.
#
csarven
(when in doubt)
#
JarOfGreen
Ok, so my PHP lib to parse events from HTML with both schema.org and h-events syntax is going well. With unit tests! Title, Start and End date done. https://github.com/JMB-Technology-Limited/HTMLIsAnEvent Anyone have some example web pages with marked up events I could test it against? (And they don't mind me saving the HTML in my repo so I have stable tests)
#
voxpelli
JarOfGreen: if you've written the parser yourself then you can run it against https://github.com/microformats/tests/tree/master/tests/microformats-v2/h-event which is a parser test suite for microformats
catsup joined the channel
#
@papapelz
.@AphiliaInfo wunderbarer Ansatz: der breiten Masse sollten auch ihre Daten gehören. ;) #indieweb
(twitter.com/_/status/625293002915905536)
#
@AphiliaInfo
@papapelz jo, deswegen ist #WordPress besser als #Facebook! Aber wichtig ist die Usability... auch fürs #indieweb
(twitter.com/_/status/625293395066527744)
schmarty joined the channel
#
aaronpk
JarOfGreen: nice! I sent you two links in a github issue
catsup joined the channel
#
ben_thatmustbeme
good morning / afternoon IWC
#
ben_thatmustbeme
aaronpk: did you see my notes on syndication
#
ben_thatmustbeme
was the most i could get through so sleepy last night
#
aaronpk
i did, but i didn't quite follow
wolftune joined the channel
#
tbrb
I have working micropub =3
#
rhiaro
just let kegan auth with her micropub endpoint for testing, so her site will be full of test messages imminently..
7YUAACSOS joined the channel
#
7YUAACSOS
thanks rhiaro :)
#
rhiaro
woah, what's your nick?
#
csarven.ca
edited /URL_design (+100) "Mentioned RDF 6570 URI Template"
(view diff)
catsup joined the channel
#
7YUAACSOS
clearly wrong >:(
#
csarven
Oops.. should be RFC
#
rhiaro
oh, are you in irc via matrix?
#
JarOfGreen
aaronpk: thanks
#
rhiaro
7YUAACSOS
#
7YUAACSOS
yeah, got netsplit and then assigned this :/
#
rhiaro
oh right
#
JarOfGreen
voxpelli: thanks, may pick those up, might try and grab lots of real world examples tho. So I've used someone else's PHP HTML parser, then I'm just selecting tags out of the result. But there is still a big variance in possible options, even in what I've already seen
terminalpixel_ joined the channel
#
JarOfGreen
just added description field
#
ben.thatmustbe.me
edited /syndication (+32) "add see also to brainstorming"
(view diff)
#
ben.thatmustbe.me
edited /rel-syndication (+32) "/* See Also */ syndication-brainstorming"
(view diff)
#
ben_thatmustbeme
there, couldn't find the page too easily
#
aaronpk
haha nice
#
aaronpk
i shoulda done that when i made the page, thanks
#
Loqi
definitely
#
ben_thatmustbeme
no to reread what i wrote
#
ben_thatmustbeme
haha, Loqi is against you
#
terminalpixel_
@aaronpk just implemented micropub on test.grant.codes and all clients seem to work except teacup. Is there something I'm missing?
#
aaronpk
terminalpixel_: teacup is kind of weird
#
aaronpk
is it not creating posts or are you getting some actual error?
catsup joined the channel
#
aaronpk
teacup doesnt send "content" so if you're requiring that then you'll get empty posts
#
terminalpixel_
I don't seem to be getting any request through at all
#
JarOfGreen
just added description field
#
JarOfGreen
wrong window
#
aaronpk
oh man people are trying to sign in to teacup with their email address
#
rhiaro
terminalpixel_ just told me he's dumping the POST request and not getting anything at all
#
csarven.ca
edited /URL_design (+50) "Study on Persistent URIs with identification of best practices and recommendations on the topic for the Member States and the European Commission"
(view diff)
#
rhiaro
and recently teacup mysteriously stopped working for me when I didn't think I'd made any changes to my endpoint
#
7YUAACSOS
rhiaro: Does your server accept access_token in the form body?
#
aaronpk
weird. i use it literally every day
#
rhiaro
it's probably me
#
rhiaro
it's usually me
#
rhiaro
7YUAACSOS / kegan: my server does whatever the Quill docs say
#
rhiaro
also hang on I've got a link to my code somewhere
#
rhiaro
it's basically this rhiaro.co.uk/2015/04/minimum-viable-micropub
#
aaronpk
terminalpixel_: if you don't mind, i will try sending a post to your micropub endpoint from the teacup server manually
loic_m joined the channel
#
terminalpixel_
go for it
tantek joined the channel
#
7YUAACSOS
looks like it is indeed just checking the headers. Will set both then
#
aaronpk
terminalpixel_: I got a reply that says it's missing the "content" parameter
#
aaronpk
"Missing "content" value."
catsup joined the channel
#
ben.thatmustbe.me
edited /syndication-brainstorming (+488) "/* Getting Token / Initial set-up */ trying to clean up explanation"
(view diff)
#
ben_thatmustbeme
aaronpk: ^^ hopefully clearer
catsup joined the channel
#
terminalpixel_
cheers aaronpk, library I'm using we requiring content param, receiving data now
#
aaronpk
terminalpixel_: great! maybe file an issue on the library to make it not require "content"?
#
terminalpixel_
yep will do
#
rhiaro
yay, glad that got resolved
#
aaronpk
wow clustering notifications is hard
#
aaronpk
s/notifications/webmentions
#
Loqi
aaronpk meant to say: wow clustering webmentions is hard
#
rhiaro
wow, concentrating on what I'm doing for more than 5 minutes is hard
#
rhiaro
anm, is this a consequence of all that mate??
#
aaronpk
that too :)
catsup and j12t joined the channel
#
anm
rhiaro: maybe, it depends on the person probably.
#
anm
atomicules: Is all your blog code available or just the syndication bit? I'm also working out how to do notes using jekyll collections, wondered if you did that.
#
tantek
tbrb: check out the details on http://indiewebcamp.com/URL_design in particular note that it's important to keep the slug *optional*
#
tbrb
Will do, cheers
#
anm
atomicules: thanks anyway, I'm adapting that for my site. What is the licence?
catsup joined the channel
#
7YUAACSOS
hmm, I have some indieauth woes. I'm getting back a token which I'm then passing to the oauth url to verify (as per https://indiewebcamp.com/IndieAuthProtocol#Auth_code_verification )
#
7YUAACSOS
but when I try to use this token with tokens.indieauth.com it says that error=unauthorized&error_description=The+token+provided+was+malformed
#
tantek
good luck with all the creating today!
#
7YUAACSOS
I don't see any obvious url encoding problems (since it's passed as a header, the ='s are not url encoded)
#
rhiaro
oh man, 1.5h to demos
#
rhiaro
tunes out of IRC for a while
#
aaronpk
7YUAACSOS: that's the authorization code you are passing to tokens.indieauth.com?
#
tbrb
oh wow, didnt see the time
#
tantek
csarven - I saw you added https://tools.ietf.org/html/rfc6570 to /URL_design - do you post your URI Template anywhere on your site?
#
7YUAACSOS
aaronpk : correct, I don't seem to get another token to use on that last verify leg, just the me= stuff
#
aaronpk
oh wait no that's the access token
#
tantek
csarven, do you use /YYYY-MM-DD/ anywhere in URLs on your site?
#
7YUAACSOS
the code I'm using is the one I got as a query param "code" - this felt wrong to me since usually you exchange that for an access token
#
7YUAACSOS
but I didn't see anything in the docs to suggest this would happen
#
aaronpk
7YUAACSOS: yeah i think you're mixing up two steps
#
7YUAACSOS
I'm guessing this is going to be a header or something in the reply after verifying
#
aaronpk
what part are you trying to build right now?
#
7YUAACSOS
checks
catsup joined the channel
#
aaronpk
i mean are you trying to build a micropub endpoint or a token endpoint?
#
aaronpk
i assume micropub endpoint, using tokens.indieauth.com and indieauth.com
#
7YUAACSOS
nope, just debugging why it wasn't accepting my token
#
7YUAACSOS
I'm doing a micropub client
#
7YUAACSOS
got everything else working, just the micropub server was rejecting me
#
tantek.com
edited /URL_design (+189) "move URL template to brainstorming (not a common practice), and add warning of why to avoid "literal" ISO8601 date format without path separators in a URL"
(view diff)
#
csarven
tantek I can show you million URLs using ISO8601 date pattern if that qualifies for IWC? Or is the max set to 100?
#
csarven
tantek YOu have got to be kidding me. PROVE "not a common practice"
#
csarven
Whatever
#
tantek
csarven - if you find folks doing it on their personal site, you may documen tit
#
csarven
Go nuts
#
tantek
s/documen tit/document it
#
Loqi
tantek meant to say: csarven - if you find folks doing it on their personal site, you may document it
#
aaronpk
7YUAACSOS: there's a difference between the authorization code returned ffrom indieauth.com and an access token
#
aaronpk
i think you're getting the two confused, which is why tokens.indieauth.com is rejecting it
#
7YUAACSOS
how do I exchange the code for a token?
#
aaronpk
the other page you linked was about just logging in, not micropub stuff
#
aaronpk
here's the part where you exchange the auth code for an access token https://indiewebcamp.com/obtaining-an-access-token#Token_Endpoint
DanC_ joined the channel
#
csarven
tantek "Avoid the "literal" ISO 8601 date patterns of use /YYYY-MM-DD/ or /YYYYMMDD/ because by omitting path separators they are are less URL friendly (less hackable). " -- that's complete BS
#
tantek
csarven - there are tons of URLs with long strings of numbers, database ids also - and they're also wrong
#
csarven
We are not even talking about that.
#
tantek
this is about good design, which needs very deliberate decisions
#
tantek
not academic RFCs
#
csarven
So what does that have to do with this discussion
#
csarven
PLUS you've made several changes mixing up all the issues.
#
tantek
more URL friendly, more hackable is better design
#
csarven
make atomic changes
#
csarven
+What's URL friendly?
#
csarven
You are arguing somehow that /YYYY/MM/DD is more friendly than /YYYY-MM-DD/ ? Based on what? Personal preference?
#
tantek
more URL friendly yes, because you just drop paths to handle various archive pages etc.
loic_m joined the channel
#
csarven
Academic RFCs? Seriously? That's your argument?
catsup joined the channel
#
tantek
it's been a common blogger argument for ages
#
7YUAACSOS
right, thanks. That wasn't super clear; isn't that code basically useless without the token?
#
csarven
URL path is not 1:1 with filesystem paths.
#
tantek
yes, RFCs without cited common real world practices are academic
#
csarven
You should know that!
#
tantek
it's about making them easier, friendlier
#
Loqi
I agree
#
tantek
which as nothing to do with such 1:1 arguments
#
csarven
Your "friendlier" argument is entirel ybased on preference.
#
aaronpk
7YUAACSOS: the code is a one-time use thing, only used to get the token
#
aaronpk
wonders how best to document this path of making a micropub client
ttepasse joined the channel
#
7YUAACSOS
why bother with the verify step on the code given that it will be checked when exchanging for a token?
#
aaronpk
now that I think about it, all the wiki pages are written from the perspective of writing micropub servers, would you agree 7YUAACSOS?
#
aaronpk
the verify step on the code is between the token endpoint and the authorization endpoint, in case they are separate systems like indieauth.com and tokens.indieauth.com
#
ben_thatmustbeme
csarven: /YYYY/MM/DD is friendlier, mainly because you could hopefully do /YYYY/MM/ to look up an entire month or /YYYY/ to look up an entire year
#
ben_thatmustbeme
intuitive searching
#
csarven
HOW?
#
csarven
Based on what exactly?
#
ben_thatmustbeme
you can't do that with YYYY-MM-DD/
#
7YUAACSOS
right so I can skip that given I'm designing this specifically for indieweb
#
csarven
Directories? Like I said, what you see in the URL is not necessarily mapped to a filesystem.
#
ben_thatmustbeme
there is no intuitive browse
#
csarven
Irrelevant. This is URL design.
#
tantek
csarven: btw, no need for "Whatever" or "Go nuts" type responses. Please focus on productively contributing.
#
csarven
Explain the browsing exactly
#
csarven
heh
#
aaronpk
7YUAACSOS: are you making a token endpoint or authorization endpoitn?
#
aaronpk
csarven: would it be correct to say that you are speaking from the POV of URLs must be opaque?
#
ben_thatmustbeme
visitnig /YYYY/ isn't viewing a folder, maybe it shows top for the year, who knows
#
csarven
I am contributing by clear references and justification for them. You are making changes based on your feelings.
#
ben_thatmustbeme
but its intuitive
#
csarven
of course I'm going to tell you to "go nuts"
#
tantek.com
edited /URL_design (+86) "separate semweb-specific article, explicitly call out importance of permalinks and Cool URIs don't change article"
(view diff)
#
7YUAACSOS
I am making a thing which acts as a "web app" on the diagram at https://indiewebcamp.com/IndieAuthProtocol#Authorization_process
#
csarven
aaronpk It is not necessarily my POV but the POV what URLs are. If you don't acknowledge "what" URLs are there is no need to discuss further
#
csarven
haha
#
csarven
Oh T, you are so allergic to SW it is sad.
#
tantek
csarven: feel free to document your own personal permalink structure here https://indiewebcamp.com/permalinks#IndieWeb_Examples
#
aaronpk
7YUAACSOS: that page is just about login/identification, so there is no access token in that step
#
csarven
Those are arguably more approriate reading than some blog post
#
csarven
The W3C notes/recs go through a lot of people befor epublishign.. whereas a blog post is someones POV
#
tantek
csarven: just because I crticize something does not imply allergy. I organize things to help others be quickly productive instead of getting lost of W3C/academic esoterica (have plenty of experience with that)
#
voxpelli
csarven: as I see it – URL:s are hierarchical and so are dates. URL:s use "/" to separate them. Check the RFC: https://tools.ietf.org/html/rfc3986#section-1.2.3
#
csarven
which you happen to "prefer" over what the W3C/RFC/IETF... prefers..
#
aaronpk
csarven: the point is that in the real world, people have come to associate the "/" character with separate components of a URL, expecting to find content by removing components
#
ben_thatmustbeme
thats not a rec, its a note from an IG which usually doesn't go through the same level of work
#
ben_thatmustbeme
unless there is another link i missed
#
tantek
csarven: lol no. "W3C notes/recs go through a lot of people" the majority who don't actually publish their own websites or practice what they talk - so thus aren't really qualified.
#
csarven
T, I see that your gang is all ready to go at me :) No worries, I will go through the responses one at a time.
#
tantek
csarven - focus on being productive instead of pushing academic theoreticals / edge cases.
#
csarven
tantek THAT is only your measure of qualification. Not the rest of the world.
catsup joined the channel
#
tantek
csarven: rest of the world, shipping counts.
#
tantek
here, shipping counts.
#
csarven
heh
#
tantek
like I said, feel free to document your own personal permalink structure here https://indiewebcamp.com/permalinks#IndieWeb_Examples
#
aaronpk
7YUAACSOS: is that diagram here useful? https://indiewebcamp.com/indieauth-for-login
#
csarven
Would like me to show you URLs in the millions that I'm publishing which use ISO8601 or is that above the IWC bar (100 URLs?)?
#
ben_thatmustbeme
csarven: my main complaint is that you linked to a spec in a list of readable, real-world experience, and blatently moved it to the top to try to give it more authority
#
tantek
csarven, and then keep being productive on your own site how you feel like it to set an example: http://indiewebcamp.com/user:csarven.ca (perhaps /wikify that some more with more Itches)
#
csarven
is reading up to reply to everyone. pardon the delay.
#
ben_thatmustbeme
csarven: no problem
#
ben_thatmustbeme
obviously a lot to reply to
#
7YUAACSOS
that diagram is very useful
#
rhiaro
If the URL design page on the wiki is specifically about blog post/article URLs, rather than all URLs (which I think it is, as there are plenty of other domains where the stuff on that page doesn't apply, eg. long identifiers are useful) then that should be made clearer on the wiki page
#
voxpelli
csarven: if one has the URL of "YYYY/MM/DD" and something is relative to the month, then one just does "../" – because its hierarchical – as pointed out by the URI RFC if you want an RFC :)
#
csarven
ben_thatmustbeme Don't even bother to wave TimBL's Cool URIs doc with that justification. Like I said earlier, everything stems from that. Read his doc several times, embrace it.. then we can talk about the rest of those blog posts
#
csarven
is reading aaronpk 's message above. will get to the rest.
#
ben_thatmustbeme
timbl != god
#
aaronpk
7YUAACSOS: okay cool, we're missing one for the flow to get an access token which i think is where the confusion is coming from
#
ben_thatmustbeme
timbl liked xml :P
#
ben_thatmustbeme
anyone can get things wrong
#
aaronpk
cweiske++ for including the source code for the diagram here https://indiewebcamp.com/File:indieauth-authorization-process.png
#
Loqi
cweiske has 33 karma
#
rhiaro
and then csarven arguing that certain types of url are fine based on RFCs, and tantek arguing that they're not based on they're not 'friendly' becomes moot
#
7YUAACSOS
aaronpk : yup, I think so
#
rhiaro
because non-friendly URLs are out of scope for articles
#
poka
didnt LEe Feigenbaum writ e CoolURIs. too lazy to loook
#
7YUAACSOS
also, I'm now managing to 500 tokens.indieauth.com
#
tantek
csarven, please consider focusing more on creating on your own site, and documenting your own results rather than taking offense at criticisms of RFCs / W3C specs etc.
#
rhiaro
checks back out
#
voxpelli
My Micropub endpoint now does automatic language detection on content – meaning I have multilingual support with all Micropub clients!
#
csarven
ben_thatmustbeme I would say that a Note or whatever still has higher importance than a blog post. Of course the content matters, so this is only a generalization/default POV.
#
aaronpk
i find these diagrams hard to read personally, but i will try to extend the existing one to the other flow
#
aaronpk
learns sdedit uml syntax
#
csarven
tantek Like I said, I have shipped URLs in the millions. Does that not count? how many have you shipped?
catsup joined the channel
#
voxpelli
aaronpk: if you want a CLI-tool that generates SVG:s for sequence diagrams instead: https://github.com/knsv/mermaid Never gotten along with ordinary UML-tools myself :/
#
aaronpk
thanks
#
csarven
ben_thatmustbeme Seriously? != God argument? If we are going to talk about "anyone can get things wrong", please allow me to put my default bet on TimBL over IWC. After all, one has a remarkable track record which not many even comes close to.
#
poka
w3c spec-writers seem to heavily overlap with .edu paper-writers + corporate-countrycllub phd-welfare dudes who mainly seem to come up with vague r&d guidance , if there's "Trenches" involved there, theyre definitely different , IBMORACLEGOOGLE trenches than the typical wordpress admin's trenches
#
csarven
rhiaro++
#
Loqi
rhiaro has 132 karma
#
aaronpk
rhiaro: definitely agreed about the sope of the url design page
#
aaronpk
s/sope/scope
#
Loqi
aaronpk meant to say: rhiaro: definitely agreed about the scope of the url design page
#
aaronpk
after all, the entire wiki is about peoples' personal websites, not about general web technology
#
aaronpk
attempts to run a .jar file
#
csarven
aaronpk Like I said, would you like me to drop million URLs?
#
csarven
s/million/millions of
#
Loqi
csarven meant to say: aaronpk Like I said, would you like me to drop millions of URLs?
#
csarven
If you are not allergic to LD, have a look here http://270a.info/
#
aaronpk
csarven: if you have a million urls on your own website of URLs that use "yyyy-mm-dd" then that's one data point worth documenting
#
rhiaro.co.uk
edited /URL_design (+93) "Scope"
(view diff)
#
poka
W3C conference entries appear to be a much sadder lineup than the specs. so much ad-spyware-user-analyzer shit
#
rhiaro
Can you stop now?
#
ben_thatmustbeme
looks to see if any of those listed companies using LD is actually SOCIAL
#
csarven
Companies? hehe /me chuckles
#
aaronpk
yeah i'm gonna say the 270a.info link is out of scope
#
aaronpk
rhiaro++
#
Loqi
rhiaro has 133 karma
#
csarven
aaronpk How so?
catsup and scoates joined the channel
#
aaronpk
1) it's not your personal website 2) it's not blog-like content
#
ben_thatmustbeme
compasorry, rhiaro, with IWC on right now, IRC should be for that
#
csarven
Well, if rhiaro's change is what it should be, stop bugging me. You should have fixed your own wiki before the discussion.
#
ben_thatmustbeme
we can table all of this for now
#
csarven
aaronpk 1) url-design said nothing about "personal website"
#
csarven
NOTHING
#
csarven
2) not about blog-like content either.
#
aaronpk
csarven: see: indiewebcamp.com
#
csarven
why?
#
csarven
That's a different URL
#
aaronpk
it's the parent URL
#
voxpelli
it's not the amount of URL:s that's interesting – it's the personal experiences of people building sites that matter
#
csarven
aaronpk Please make me a list of URLs that I must read before doing anything with url-design
#
voxpelli
it's about _people_ and the experiences of _people_ – not about specs or whatever
#
aaronpk
csarven: you have to understand the scope of indiewebcamp.com by now, so stop throwing out ridiculous arguments
#
csarven
voxpelli Which is fine. I am suggesting tha tI have experience with X, yet, that is not even welcomed. Why? Perhaps you should question that!
#
aaronpk
if you have experience with X on *your own personal website* then that is certainly welcome
#
ben_thatmustbeme
csarven: aaronpk, rhiaro made a good point, IWC is on right now, lets save the IRC for them
#
voxpelli
csarven: because you haven't been able to point towards an example of your experience
#
voxpelli
"I did X and learned Y from that"
#
aaronpk
goes back to UML diagrams
#
voxpelli
ben_thatmustbeme++
#
Loqi
ben_thatmustbeme has 105 karma
#
aaronpk
cries that none of the osx keyboard shortcuts work in this java app
#
csarven
So let me get this right .. once and for all: is Semantic Web / Linked Data experience welcome in IWC or not?
#
aaronpk
csarven: it's not about what the technology is, it's about what you're doing with it
#
csarven
And if not, would you care to document that in the IWC homepage?
ttepasse, catsup and lewisnyman joined the channel
#
voxpelli
rhiaro: do you know who in Edinburg it was that was interested in Micropub + static sites / Jekyll? I'm working on that for myself right now
j12t joined the channel
#
rhiaro
voxpelli: anm
#
rhiaro
and moredhel
#
moredhel
voxpelli, I'm just messing around with setting up a storage plan at the moment, but will try and actually get something more better, slightly further down the line.
#
voxpelli
anm: moredhel: You may want to check out https://github.com/voxpelli/node-micropub-express – haven't yet released the full endpoint, but I'm testing it myself right now
#
aaronpk
this uml syntax is crazy
#
csarven.ca
edited /User:Csarven.ca (-104) "/* Itches */"
(view diff)
#
kylewm
morning all, sorry if this has been asked, are the edinburgh demos going to be streamed?
#
tbrb
Yeah, they will be
catsup joined the channel
#
aaronpk
sweet! how long til demos?
#
aaronpk
7YUAACSOS: did you end up getting the token stuff sorted out?
#
aaronpk
this diagram is going to take me a bit :)
#
7YUAACSOS
aaronpk : yup, it's all working :)
#
tbrb
aaronpk: ~ 50 minutes
#
kylewm
aaronpk: having a little trouble wrapping my brain around this. writing an indieauth implementatio that delegates to tumblr. where should i stick the incoming request params (me, client_id, redirect_uri, etc.) while I redirect to tumblr's auth endpoint?
#
tbrb
1630 uk time
benborges joined the channel
#
csarven.ca
edited /Webmention (+221) "A Webmention endpoint feature doesn't justify anything."
(view diff)
catsup joined the channel
#
anm
voxpelli: yeah, I was going to add micropub after I had made a note type and twitter syndication.
#
aaronpk
kylewm: either server side session or encoded in state
#
voxpelli
anm: ping me if you want to discuss it – so far I've split up my work to be as reusable as possible and released all the modules
#
kylewm
aaronpk++ ty
#
Loqi
aaronpk has 906 karma
catsup joined the channel
#
atomicules
anm: I'll add a license, it'll be BSD
#
kylewm
aaronpk: is a server side session (i think that means in memcache/redis?) a good way to store the oauth request token too? this is oauth1 so i need to save some info between calls
#
atomicules
anm: I used to have the rest of my jekyll templates available, etc, but no more since I pulled it off Github
#
aaronpk
yeah that's pretty typical. or in php it just uses a file on disk by default
#
harryreeder.co.uk
edited /Micropub (+137) "/* IndieWeb Examples */ tbrb supports micropub"
(view diff)
#
KevinMarks
csarven: can you stop it please
KartikPrabhu joined the channel
#
Jeena
will the demos from Edinburgh be streamed?
catsup joined the channel
#
Jeena
Oh I see they will, forget my question :D
#
KevinMarks
csarven: you see standards as legislation; we see them as documentation.
#
tbrb
we'll be doing them from a different laptop than the current hackroom stream, but yeah, and I'll post hangout / youtube etc in ~ 30 minutes
#
KevinMarks
thanks to wordpress, about a quarter of the web has YYYY/MM/DD urls
loic_m joined the channel
#
JarOfGreen
aaronpk: thanks for examples, both basically working and the later one was an event that had both formats of markups which was something I was going to look out for - obvs we only want one event coming thru, which is now done!
#
aaronpk
great!
#
csarven
KevinMarks Care to explain why you've reverted my wiki edit? You've provided no reason for the revert. Do you need help with wiki use?
catsup joined the channel
#
aaronparecki.com
edited /Webmention (+668) "undo revert, and add background"
(view diff)
#
csarven
Interesting. Thank you aaronpk .. for whatever the reason was for the revert and undo-revert
scoates, KartikPrabhu and catsup joined the channel
#
rhiaro
Calling IWC Edinburgh: does anyone else want another half an hour before demos?
#
rhiaro
ping JarOfGreen tbrb: thoughts?
#
tbrb
I'd not say no
scoates_ joined the channel
#
tbrb
rhiaro: no objections from this room
#
rhiaro
tbrb: that's always the case, we shold make a habit of listing the end of the demos as half an hour earlier than they need to be
#
rhiaro
aaronpk, voxpelli, Jeena, anyone else who wants to remote in to demos, they've been pushed back half an hour, to 1700 BST
#
aaronpk
k! i probably won't have anything to demo, but will definitely watch!
#
Jeena
I took 12 beers with me from Portland but I don't want to open them because once I've dank them I will not be able to get anything like that here :-(
snarfed joined the channel
#
voxpelli
rhiaro: how would one demo remotely? I guess I could show some of my Micropub work
#
rhiaro
voxpelli: you could screen share. tbrb is in charge of that though
catsup joined the channel
#
csarven
aaronpk++
#
Loqi
aaronpk has 907 karma
#
tbrb
voxpelli: the stream will be done on hangouts so I'll fire you over the hangouts link when we do them and you'll be able to use that to screenshare
#
voxpelli
tbrb: cool, screensharing in hangout I've done multiple times :)
catsup joined the channel
catsup joined the channel
#
rhiaro
aaronpk... *why* are you writing uml diagrams?
#
rhiaro
I was under the impression they had no actual utility.
#
rhiaro
oh okay
#
Jeena
for documentation they're very usefull
#
aaronpk
it's actually a sequence diagram but i guess it's uml syntax
#
rhiaro
I may have just become prejudiced against them at uni
#
aaronpk
i can't get my head around the syntax this app uses so i feel like that dog
#
rhiaro
seemed like something we were made to do for lecturer's entertainment only
catsup joined the channel
#
Jeena
I liked them at the university because I was able to do them and then just to generate Java code so I didn't have to write all the boilerplate by hand :p
#
@TerminalPixel
Got my new #indieweb system up and running!
(twitter.com/_/status/625327393809530880)
#
Jeena
and rhiaro we use them very often at work for documentation
#
tbrb
KitB / KitD (I'll probably want to start getting things set up in ~ 20 mins, and will need rhiaro to sign into the googles on your laptop
#
tbrb
~fyi
#
Jeena
but I've only been using Umbrello for UML yet, what are you using aaronpk?
#
Jeena
sdedit, never heard of it
#
aaronpk
yeah i just wanted to make a few changes to this diagram, it'll look the same and i will also include the source like on indieauth-login-flow.png
catsup and KitD joined the channel
#
KevinMarks
OK - I liked that it made SVG instead of bitmaps
#
kylewm
there are lots of different types of UML, i think class diagrams are pretty worthless, sequence diagrams are great
#
kylewm
“LGTM 🐶🔬”
#
rhiaro
has squandered her extra 30 minutes
catsup joined the channel
#
snarfed
LGTM🐶🔬++
#
Loqi
snarfed: KartikPrabhu left you a message 9 hours, 45 minutes ago: for app engine do I really have to include all dependencies as submodules? http://indiewebcamp.com/irc/2015-07-25/line/1437890202692
catsup joined the channel
#
kylewm
snarfed: I attemtped to answer Kartik's question already
#
aaronparecki.com
edited /obtaining-an-access-token (-39) "add sequence diagram"
(view diff)
#
aaronpk
closes sdedit, hopefully never has to open it again
#
7YUAACSOS
aaronpk, that is much clearer, thanks.
catsup joined the channel
#
aaronpk
great!
#
aaronpk
that was an interesting excercise :)
KartikPrabhu and catsup joined the channel
#
aaronpk
snarfed: i'm working on clustering now
#
aaronpk
there are many interesting edge cases
#
rhiaro
is not ready for iwc to be over aaaaarrrggg
#
aaronpk
just switch to portland time, it's only 9am here!
#
rhiaro
is glad tbrb and jarofgreen are organising setting up demos so she can keep coding
tbrb` joined the channel
#
tbrb`
voxpelli, kylewm, aaronpk: http://bit.ly/1Oukvfu Hangouts link for demos, we're just getting set up here now
catsup joined the channel
tvn joined the channel
#
rhiaro
DEMOS
#
rhiaro
tbrb: Started with an empty site that could be logged into via indieauth
#
rhiaro
... Now has posts!
#
rhiaro
... via micropub
#
rhiaro
moredhel: you don't look like you're doing anything, and I need to write code, could you scribe?
#
rhiaro
write down everything everyone says
#
rhiaro
okay, moredhel is going next
#
rhiaro
moredhel: playing around with sinatra, didn't set up a database, use redis on the backend
#
rhiaro
... only did this in the last 20 minutes, but spent all time tinkering with backend
#
tbrb
is the stream working fine guys?
#
aaronpk
tbrb: yep! thanks
#
tbrb
awesome
#
rhiaro
... it pulls json and renders it
#
rhiaro
... intention to generate json, dump in a file, and not have to deal with dynamic stuff
catsup joined the channel
#
moredhel
kitb, demo'ing his irc bot!
#
voxpelli
tbrb: give a ping here when you want me to present :)
#
tbrb
voxpelli: will do, want to go next?
#
moredhel
it's a library written in python with the intention of allowing clients to connect to persistent connections to irc servers
#
voxpelli
tbrb: I can do that
#
moredhel
hi five bot proceeds to hi five anyone who wants to be high fived
#
moredhel
voxpelli brings up screen for demoing
#
moredhel
challenging to use micropub because of using jekyll
#
moredhel
got it working, but broke yesterday when using ownyourgram.
#
moredhel
decided to try and integrate language detection into micropub
#
moredhel
demoing markup of swedish hopefully detected.
#
kylewm
voxpelli is speaking english and writing swedish simultaneously
catsup joined the channel
#
aaronpk
wow also great demo of replying via micropub from an ios app!
mlncn joined the channel
#
KevinMarks
should not hav tried rewriting noterlive just before demos
#
KevinMarks
voxpelli++ for polyglot markup
#
Loqi
voxpelli has 36 karma
#
tbrb
Thank you voxpelli :)
#
moredhel
JarOfGreen demoing his library
#
moredhel
github.com/JMB-Technology-Limited/HTMLIsAnEVent
#
moredhel
grant shows his new website.
#
moredhel
used micropub to post to website.
#
moredhel
syndication is modularised, meaning posting can be pointed at a finer granularity
#
moredhel
demoing posting to website using quill.
#
moredhel
... using mongoose to store data on the website
#
KevinMarks
will have to noterlive this later from the recording
#
KartikPrabhu
Loqi messages?
#
aaronpk
(speaking of which this is being recorded on youtube right?)
#
Loqi
KartikPrabhu: kylewm left you a message 9 hours, 36 minutes ago: no you don't (Bridgy doesn't use submodules anymore!) basically you can install deps into a virtualenv and include the virtualenv folder when you deploy to app engine. there are some tricks to setting up the path though http://stackoverflow.com/a/25564125/682648 http://indiewebcamp.com/irc/2015-07-25/line/1437893080379
#
Loqi
who, me?
catsup joined the channel
#
moredhel
Kegsay working on a plugin for matrix allowing matrix clients to send micropubs
#
KevinMarks
KartikPrabhu: I pinched your css, but the hovercards aren't on top of other hoverabel links
#
KartikPrabhu
KevinMarks: do you have an exmaple I can look at
#
moredhel
gorzilla demoing his project for this weekend
#
Jeena
It would be cool if the people would tell their name and domain before they demo ;)
#
moredhel
... couldn't get sandstorm to work because of kernel issues.
#
moredhel
... used docker instead using _known_.
#
moredhel
... was having issues with quill not reporting any messages.
#
moredhel
... fixed an issue with docker not installing a ca-certificate.
#
loqi.me
created /Matrix (+55) "prompted by kylewm and dfn added by kylewm"
(view diff)
#
moredhel
.. now demoing posting to site using quill
#
aaronpk
so many demos using quill as a client! makes me nervous that i was hacking on it this weekend!
#
moredhel
franceso fran.io/trav.php
#
Jeena
hehe aaronpk same here
#
moredhel
exif non-standard
catsup joined the channel
#
moredhel
random binary, and multiple keys
#
KevinMarks__
Kartik see the link I just posted
#
moredhel
... describing data, (geolocation, tags, dimensions) that can be extracted from images.
j12t joined the channel
#
moredhel
tim, retout.co.uk
#
Jeena
for static map images I use http://staticmap.openstreetmap.de/
#
moredhel
describing his old blog.
#
aaronpk
what are static maps?
#
Loqi
It looks like we don't have a page for "static maps" yet. Would you like to create it? http://indiewebcamp.com/s/100R
#
moredhel
describing his blog data-structure, built using a graph database, google-cayley, (written in go-lang)
#
rhiaro
tim is using AS2 vocab
#
JarOfGreen
Google has an API where you can pass lat/lng/etc .... you just get back a static image so no client side processing
#
KartikPrabhu
KevinMarks_ : use a z-index: 1 on the class .hovercard .hidden-info and it should work
#
moredhel
wrote a perl script to hack together a go program
#
aaronpk
static maps are a way to show a map on a web page without requiring a javascript library
#
loqi.me
created /static_maps (+115) "prompted by aaronpk https://indiewebcamp.com/irc/2015-07-26/line/1437928164263 and dfn added by aaronpk"
(view diff)
#
Jeena
hm pump.io with microformats would be interesting
#
moredhel
wants to try matching the pump.io api with his own, to allow for interop between applications
_fran and catsup joined the channel
#
tbrb
Rhiaro shows her local demo on her chromebook (doesn't think it will support hangouts nicely)
#
aaronpk
the hangouts is still showing retout.uk for me
#
JarOfGreen
Done for presentations we think .... rhiaro take the stage to close
#
tbrb
homebrew website club edinburgh potentially on the cards?
#
Jeena
next week the first one in Göteborg!
#
Jeena
*clap,clap,clap*
#
aaronpk
congrats everyone!
#
rhiaro
gets back to code
#
aaronparecki.com
edited /static_maps (+505) "stub with examples and code"
(view diff)
#
aaronpk
Jeena: add yourself to the examples? https://indiewebcamp.com/static_maps
catsup joined the channel
#
GWG
rhiaro, you don't think a Chromebook can handle Hangouts?
snarfed joined the channel
#
snarfed
aaronpk: hoo boy i can imagine all the clustering edge cases
#
snarfed
maybe start a list on the issue or wiki, i'd be curious
#
aaronpk
i think there are 4 types
#
aaronpk
almost have a gist
catsup joined the channel
#
GWG
snarfed: How do I get user testing in addition to unit testing?
#
snarfed
GWG: sorry, i don't understand the question
#
jeena.net
edited /static_maps (+273) "/* Jeena */ added example"
(view diff)
#
snarfed
also "in addition" requires that the unit tests exist, right? :P
snarfed joined the channel
#
7YUAACSOS
would also be interested in the clustering edge cases
#
rhiaro
GWG: yeah, it's perfect except when I try to run Google products
#
aaronpk
many-one, one-one-, one-many, many-many
#
GWG
rhiaro: Irony?
#
rhiaro
Runs Ubuntu juuust fine
#
GWG
snarfed: I am wondering if anyone is using the Micropub plugin actively.
#
GWG
That we know of.
catsup joined the channel
#
GWG
rhiaro: The one I had in Cambridge ran Fedora
#
snarfed
GWG: aha. the wp directory counts downloads, obviously
#
snarfed
otherwise you just have to ask around or build tracking in
#
snarfed
(but no thanks :P)
#
snarfed
(also that's mostly unrelated to unit tests)
#
snarfed
aaronpk: my instinct was to not try many-many
#
aaronpk
snarfed: 7YUAACSOS: here is my test case for the code i'm about to write https://gist.github.com/aaronpk/5cbe2b53cfe566f356cb
#
snarfed
UX/design there seems too hard
#
aaronpk
snarfed: i don't think i really have a choice, because it's a possible case
loic_m joined the channel
#
snarfed
not really, right? you can just pick one side to de-multiplex
#
aaronpk
that actually seems harder
#
snarfed
in practice you wouldn't actually pick, it'd be determined by the timer(s)
#
snarfed
huh. i guess it depends on the implementation
#
aaronpk
well this is all for the part of your description that says "send a single notification for the cluster" :)
#
GWG
snarfed: The full statistics are only available to you.
#
aaronpk
yeah this is an example of what the in-memory buffer could look like after the timer is reached
#
snarfed
aaronpk: ah, right, the clusters i described would be per target and per source
#
GWG
snarfed: I don't want to go that far. Just wanted to find one person
#
snarfed
"store in two in-memory clusters, one for source and one for target"
#
aaronpk
maybe i misunderstood that
#
snarfed
GWG: right, the stats wouldn't help with that anyway
#
snarfed
just ask around?
#
KartikPrabhu
KevinMarks: nice
#
KartikPrabhu
can't any docs on how to add dependencies on app engine without cloning them into the app folder
catsup joined the channel
#
KartikPrabhu
s/can't/can't find
#
Loqi
KartikPrabhu meant to say: can't find any docs on how to add dependencies on app engine without cloning them into the app folder
#
aaronpk
snarfed: do you mean creating a bucket for each source and each target that comes in?
#
snarfed
KartikPrabhu: right, you have to do that. you can choose whether to do it via submodules, virtualenv, manually, etc
#
snarfed
(in practice, app engine de-dupes identical source files across all apps)
#
snarfed
KartikPrabhu: you have to d/l and set up deps anywhere else too, right?
#
snarfed
snarfed: yes
#
snarfed
ahahahahaha
#
snarfed
aaronpk: yes
#
snarfed
transient; they'd disappear when you send their notif
#
aaronpk
i guess i couldn't get my head around how that would work
#
KartikPrabhu
snarfed: the thing is I can't just make my service install hfeed2atom. I have to install hfeed2atom, and all it dependecies as submodules or whatever
#
snarfed
or via pip/virtualenv, sure. but again, you'd need to do that anywhere else too, or else hfeed2atom wouldn't work, right?
#
aaronpk
it seemed like it would generate duplicate notifications
#
KartikPrabhu
usually setup tools does all that for me. now it seems I have to manually install each dependency or something
#
snarfed
aaronpk: i think step 4 avoids them: "Otherwise, send a single notif for the cluster, and remove the wms from the other clusters they're in (source vs target) so we don't send dupe notifs."
#
aaronpk
for the set ((a -> z),(b -> z)) you would end up with three buckets, the "a" bucket: (a -> z), the "b" bucket, (b -> z), and the "z" bucket, (a -> z),(b -> z)
#
snarfed
KartikPrabhu: you can still use setuptools. that's what i keep referring to with pip/virtualenv, sorry if that's unclear. read https://cloud.google.com/appengine/docs/python/tools/libraries27#vendoring , look at how e.g. bridgy does it
#
aaronpk
how do you know which of the three is the proper one to generate the notification text from?
#
snarfed
honestly it's no different
#
aaronpk
there would be 3 different timers in that case
catsup joined the channel
#
aaronpk
and if the "a" and "b" buckets hit first, you'd generate two notifications, and lose the whole clustering concept
#
KevinMarks__
That's neater than just dumping everything into the project like I do with unmung
#
snarfed
aaronpk: it was definitely a straw man, so there definitely may be problems. let's see…
#
KartikPrabhu
is confused about the virtualenv thing. that link does not seem to say anything about that
#
snarfed
for that example, there are two timers, so when a timer expires, you look at both source and target buckets and send the one with more notifs?
interactivist joined the channel
#
snarfed
KartikPrabhu: true. it's not explicit there. here's a pretty simple example: https://github.com/snarfed/oauth-dropins#development
#
aaronpk
snarfed++ for having two parallel conversations
#
Loqi
snarfed has 121 karma
#
snarfed
(ignore the two symlink cmds)
#
KartikPrabhu
hmm will have to investigate this pip/virtualenv thing
#
snarfed
KartikPrabhu: the other part of that example is https://github.com/snarfed/oauth-dropins/blob/master/appengine_config.py , which tells app engine to use the local/ dir
#
snarfed
KartikPrabhu: huh. i guess i assumed you were already using those. no matter, you can do the same thing with just setuptools, without them. just find the flag to install to a specific dir (e.g. local/ inside your app) instead of systemwide
#
snarfed
(sorry i don't know it offhand)
KevinMarks_ and catsup joined the channel
#
snarfed
GWG: if you're looking for wp micropub users to talk to, someone posted about having trouble on https://wordpress.org/support/view/plugin-reviews/micropub today. maybe ping them?
#
KartikPrabhu
what's the advantage of this virtualenv stuff then?
#
snarfed
basically dependency isolation
#
GWG
snarfed: Sounds like the Readme needs work
#
snarfed
aaronpk: did the 2 vs 3 timers thing make sense?
#
KartikPrabhu
snarfed: gotcha. will look into it this afternoon
catsup joined the channel
#
aaronpk
is the timer per source/target or global?
scoates joined the channel
#
snarfed
per mention
#
GWG
snarfed: The commenter created their account today
#
snarfed
ie (source target) pair
#
snarfed
definitely don't use a thread :P
catsup joined the channel
#
aaronpk
i was going to fake a "timer" by setting timestamps in redis and running something on a 1s schedule
#
snarfed
or at least not one per timer
#
snarfed
oh sure totally fine
catsup and snarfed joined the channel
#
snarfed
aaronpk++ btw thanks so much for working on clustering!
#
Loqi
aaronpk has 908 karma
#
aaronpk
yeah it's about time :)
#
snarfed
it's lightly bugged me for a while that bridgy generated so many ugly notifs and floods here, so i appreciate that you're helping fix those
#
snarfed
(to be clear, all bridgy's fault, i'm just glad they're all fixable)
#
aaronpk
well it's gonna happen with or without bridgy eventually :)
#
snarfed
sure! bridgy was still a big (effectively qualitative) step fn in noise though
#
snarfed
noise--
#
Loqi
noise has -2 karma
#
snarfed
anyway
#
snarfed
congrats all on iwc edi!
#
snarfed
back later
fkooman joined the channel
#
rhiaro
!tell benwerd now we're in the Hoose, 3x giant nachos imminent, shout if you want to see :)
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
rhiaro: nachos is a highlight word for me :)
catsup joined the channel
#
rhiaro
you should have come aaronpk! This pub has the biggest nachos EVER
#
rhiaro
Also a slightly smaller version with vegan cheese
#
GWG
rhiaro: Were there any WordPress users at IWC Edinburgh when you were talking about MicroPub?
#
GWG
I can't think a new user commenting on the WordPress MicroPub plugin today is a coincidence.
#
rhiaro
GWG: I don't think so. I did remind people it was available a few times. Who was it?
#
GWG
No idea, username proflapin.
#
GWG
May just be a coincidence
#
rhiaro
oh yeah, he was here
#
GWG
So, I was right. Not a coincidence.
#
GWG
rhiaro: Just wanted to find out what the trouble was to try to help, as part of the WordPress Outreach Club.
#
GWG
I guess though, the plugin won't work on Wordpress.com
#
rhiaro
GWG: yeah, that sounds like his problem
#
rhiaro
He has a wordpress.com site
#
GWG
I just found him on the guest list
#
rhiaro
He didn't say anything today, or at least, I didn't hear
#
GWG
Okay. Well, if nothing else, there's a comment under it offering to help
#
GWG
aaronpk: That reminds me. At IWC, there were a few people who wanted to do Indieweb WordPress tutorials. I forgot to ask where the results were.
#
KevinMarks_
Silo.pub works for WordPress.com
j12t and eschnou joined the channel
#
kylewm
aaronpk: for the POST to verify a code against an authorization_endpoint, what status code should it return for failure?
#
aaronpk
400. See OAuth docs
#
kylewm
oh cool I didn't realize that was part of OAuth
KartikPrabhu joined the channel
#
aaronpk
Oh nvm you're right, that's part of the IndieAuth extension. But the same codes should apply
#
kylewm.com
edited /token-endpoint (+24) "/* Access Token Request */ clarify this is a POST request"
(view diff)
eschnou joined the channel
#
GWG
kylewm: You wrote silo.pub, right?
#
kylewm
i did
#
kylewm
aaronpk: I have to say it's a little weird that you GET to an authorizaton_endpoint to get the code and POST to verify it, and POST to a token_endpoint to get the token and GET to verify it
#
GWG
kylewm: You are using the WordPress.com JSON API?
#
kylewm
GWG: yes
#
GWG
kylewm: Because there is also the Jetpack JSON API and the WordPress REST API that will hopefully go into WordPress 4.4(long delayed)
#
kylewm
I'm not sure which one that is
KartikPrabhu joined the channel
interactivist joined the channel
#
GWG
kylewm: Just thinking that if you also support the slightly different JSON Rest API, you could support any WordPress site that installed the REST API plugin
#
aaronpk
kylewm: the get/post on the authorization endpoint is part of OAuth 2 (it's actually the browser making the GET), and posting to the token endpoint is also oauth 2.
#
aaronpk
i thought it made sense to use GET requests to verify codes/tokens because it's not changing state of anything
#
kylewm
I agree with that, but to be consistent, wouldn't the "verify auth code" bit need to be a GET?
#
aaronpk
checking...
#
aaronpk
oh hm, well that is derived from the oauth 2 exchanging an auth code for an access token
#
aaronpk
in this case no access token is returned
#
kylewm
oh interesting
#
kylewm
yeah that makes sense, you make the basically same POST request to authorization_endpoint or token_endpoint
j12t joined the channel
#
kylewm
I guess then I would like it better if https://indiewebcamp.com/token-endpoint#Verifying_an_Access_Token was a POST... if you POST with a code, you get a token, if you POST with a token, you get verification of the token
#
kylewm
(but this is quibbling, I don't feel strongly)
#
aaronpk
that would make that step more similar to verifying auth codes
#
aaronpk
many micropub servers end up implmeenting looking for tokens in both the header and post body, so i could see having the token endpoint check both as well
#
kylewm
huh, I apparently didn't implement token verification in my site's token endpiont at all!
#
aaronpk
you don't need to if your micropub endpoint can verify the token on its own
#
kylewm
blargle flagle
#
kylewm
ok, I think I would like to make that clearer, which bits of indieauth and token_endpoint are required for micropub, and which are just required for interoperation with other endpoints
#
kylewm
not even really sure how to phrase that
#
kylewm
(it is similar to the PuSH issue, specifying how the endpoint should notify subscribers)
#
aaronpk
i get it
#
kylewm
ty aaronpk, sorry you always have to straighten this out for me. i will make a point to improve the wiki so hopefully you won't have to next time :p
frzn joined the channel
#
kylewm
looking
#
aaronpk
these two parts are only required for interoperating with other endpoints http://aaronparecki.com/uploads/indieauth-flow-20150726-115528.png
#
aaronpk
if your auth endpoint, token endpoint and micropub endpoint are all part of the same system, you can do those parts however you want
#
kylewm
but I *do* need the first arrow there if i want to support distributed-indieauth
#
kylewm
right?
#
aaronpk
first arrow?
loic_m joined the channel
#
aaronpk
number 7?
#
kylewm
first big red arrow :P
#
aaronpk
i guess the question is are you making a micropub endpoint that only you will use?
#
kylewm
I'm making a micropub endpoint for silo.pub that only silo.pub wll use...
#
aaronpk
(e.g. all three auth/token/micropub endpoints are in the same system)
#
aaronpk
okay so no, the auth endpoint will be dependent on the person signing in
#
aaronpk
this is getting into the multi-user micropub realm right?
#
kylewm
that UML totally makes sense, I think it should explicitly include "discover token endpoint and micropub endpoint" between 5 & 6
#
aaronpk
oh yeah i forgot to add that part
#
kylewm
i don't know that it qualifies as multi-user or not
KartikPrabhu and parzzix joined the channel
#
KartikPrabhu
gives up again on this app engine nonsense
#
aaronpk
here's a question, is this something you'd expect me to use by signing in as aaronparecki.com? or would I be signing in as aaronpk.wordpress.com
#
aaronpk
(i think the answer is the wordpress subdomain)
#
kylewm
the latter
#
kylewm
oh right, definitely not multi-endpoint micropub stuff
#
aaronpk
okay so in that case, you actually do control the auth endpoint too
#
aaronpk
as in, you could build your own auth endpoint for silo.pub
#
kylewm
KartikPrabhu: yeah, it's tough to get right... I was wrestling with getting the right verison of requests to run on GAE for hours last week
#
kylewm
aaronpk: yeah that's what i want to do
#
KartikPrabhu
I am having trouble with the webapp2 response object and setting content type and stuff
#
KartikPrabhu
no very good docs on those either
#
aaronpk
you could even make your auth endpoint use the silo login as both authentication and indieauth authorization so users only see one prompt
#
kylewm
i want to sign in to Quill with kylewm.tumblr.com, it redirects to silo.pub which redirects to tumblr's oauth
#
kylewm
indieauthception
#
KartikPrabhu
<BOOOOOOOOOOOOOONNNNNGGGGG>
#
aaronpk
yeah, the user would basically just skip past silo.pub with a redirect and see the tumblr login screen. you wouldn't need to show them anything on silo.pub for that
#
kylewm
exactly
#
aaronpk
so that means ultimately you do control all three endpoints, so you don't need to implement either red arrow
#
kylewm
KartikPrabhu: there are a bunch of examples of webapp2 stuff in bridgy et al, do you want me to dig up some?
#
KartikPrabhu
sure. i don't know if they'll help since response object is just refusing to set the header
#
Loqi
slack/snarfed: KartikPrabhu: i assume you saw <http://webapp-improved.appspot.com/> ?
#
KartikPrabhu
KevinMarks_: I am setting a header on the response to application/xml and it insists on keeping the /text/html
#
Loqi
slack/snarfed: regardless, i can commiserate, learning new frameworks, libs, etc is always annoying
#
KartikPrabhu
snarfed: yes using that as reference.
#
KartikPrabhu
very bad docs I must say
KartikPrabhu joined the channel
#
KartikPrabhu
kylewm: inside a get method it seems to be working. But i can initialize a response object in some other function and change its headers
#
Loqi
slack/snarfed: webapp2 isn't required. use whatever framework you like!
#
KartikPrabhu
but it was promised as simpler!
#
KartikPrabhu
Django is overkill for something like this
#
KartikPrabhu
decides to work on a photos post instead.
#
aaronpk
photos++
#
Loqi
photos has 1 karma
#
aaronpk
now you can use quill to post photos to your micropub endpoint btw
#
Loqi
slack/snarfed: but you already know django. simple is relative
#
KartikPrabhu
in that case I can just ste up the service on my site with 3 lines
#
Loqi
slack/snarfed: webapp2 definitely is "objectively" simpler. I'm sure we can get the header fixed... but on your site sounds good too!
#
Loqi
slack/snarfed: advocating app engine is low on my list of priorities here
#
Loqi
slack/snarfed: your call!
#
KartikPrabhu
what is a good status code to return if the atom conversion fails?
#
Loqi
It looks like we don't have a page for "good status code to return if the atom conversion fails" yet. Would you like to create it? http://indiewebcamp.com/s/100S
jciv joined the channel
#
aaronpk
do you know why it failed?
#
7YUAACSOS
If it's a known failure mode, I'd personally drift away from 500 which I tend to use for unknown or unexpected failure modes
#
aaronpk
yeah i was about to revise my answer :)
#
7YUAACSOS
Assuming the conversion is completely functional, a 400 would make sense I guess.
#
7YUAACSOS
Since they must've given bad input
#
aaronpk
i'm assuming the failure would happen on an invalid atom feed
#
aaronpk
er, invalid h-feed
#
KevinMarks_
Or lack of a h-feed/h-entry? Or would that just make an empty atom feed?
_fran and snarfed joined the channel
#
7YUAACSOS
An invalid feed as in "does not exist" smells like a 400, but a problem with the feed itself.. There is a code for an upstream error I think.
#
7YUAACSOS
wants to say 502
#
7YUAACSOS
Which clarifies the error more than a generic 500
#
aaronpk
502 = bad gateway?
KartikPrabhu joined the channel
#
kylewm
KartikPrabhu: yeah, i think in general if you try to initialize your own Response object (in any framework) you're going to have a bad time
#
myfreeweb
hi everyone! haven't been there in a while. made some vanilla js web components https://github.com/myfreeweb/indieweb-components right now there's indie-action and fragmention-target, mostly based on existing code
squeakytoy2 joined the channel
#
KartikPrabhu
ok hfeed2atom service up an running on my own site see aaronpk's feed : https://kartikprabhu.com/hfeed2atom?url=https://aaronparecki.com :)
eschnou and KartikPrabhu joined the channel
#
KartikPrabhu
myfreeweb: ooo <fragmention> component looks interesting. though not a big fan of web components. smell like XML, make-your-own-tags
j12t joined the channel
#
kylewm
woohoo, I got Quill to post to Tumblr through silo.pub using Tumblr's own auth
#
kylewm
no involvement from indieauth.com
KevinMarks__ and scoates joined the channel
#
kylewm
now just have to do the same thing for blogger and wordpress before I can ship it :P
#
aaronpk
shouldn't be a stretch
#
kylewm
no, I've definitely figured out the tricky parts now
#
kylewm
thanks again for your help
#
aaronpk
no problem!
#
aaronpk
happy to help people put indieauth.com out of business ;)
#
kylewm
aaronpk++
#
Loqi
aaronpk has 909 karma
#
KevinMarks
kylewm++
#
Loqi
kylewm has 197 karma
#
KevinMarks
this is the magic url trick?
#
Loqi
slack/snarfed: woo nice work shipping everyone!
jciv and squeakytoy3 joined the channel
#
rhiaro.co.uk
uploaded /File:2015-07-25_Edinburgh.JPG "Edinburgh 2015 group photo"
#
rhiaro
Damnit wrong photo
KartikPrabhu joined the channel
#
Jeena
so what beer do you guys drink in scotland? http://rhiaro.co.uk/photos/1507iwcedi/nachos.jpg
#
7YUAACSOS
Random local ales
#
rhiaro
How do I delete it?
#
aaronpk
i think only admins can
#
aaronparecki.com
deleted /File:2015-07-25_Edinburgh.JPG "http://indiewebcamp.com/irc/2015-07-26/line/1437944605508"
#
rhiaro
thanks aaronpk
#
rhiaro.co.uk
uploaded /File:2015-07-25_Edinburgh.jpg "Edinburgh group photo"
#
KevinMarks
myfreeweb: those look great
MatrixBridge joined the channel
#
kevinmarks.com
edited /fragmention (+166) "/* Open Source */ add fragmention-target"
(view diff)
#
KevinMarks
hm, where should I add the indie-action one?
#
voxpelli
KevinMarks: web actions
#
voxpelli
indie-action is the implementation tag for that one
mlncn and M-Kegan joined the channel
#
M-Kegan
right, this should be better
#
KevinMarks
webactions is missing a ToC
squeakytoy2 joined the channel
#
M-Kegan
is 7YUAACSOS
#
@matrixdotorg
Matrix had loads of fun (and nachos) at #indiewebcamp Edinburgh this weekend - thanks everyone who chatted with us! https://twitter.com/rhiaro/status/625368298100781056
(twitter.com/_/status/625416107868954628)
KartikPrabhu and wolftune joined the channel
#
rhiaro.co.uk
edited /IndieWebCamps (+2818) "Add Brighton and Edinburgh"
(view diff)
#
aaronpk
so when is the next indiewebcamp then?
#
rhiaro
Cambridge, November?
#
KevinMarks
wonders why he is getting 400 when he fetches tantek.com now
mlncn joined the channel
#
GWG
aaronpk, rhiaro: I still want to do IWC NYC if a venue ever opens up
#
GWG
And I'm game for another IWC Online
#
rhiaro
GWG: sure I'd help organise NYC... that's close to Boston, right?
#
rhiaro
help to the extent I can as a stranger in a city
#
GWG
rhiaro: The issue isn't organization, it is facilities. I haven't been able to find a venue.
#
GWG
rhiaro: Define close. There is a bus you can get on for $10-20 that takes 4 hours each way
#
GWG
It has wifi
#
rhiaro
I took that last year for a single day in NYC
#
GWG
So, not insurmountable
#
GWG
So far, the best offer I've had is hosting the Homebrew Website Club in the back of a deli on 37th street
#
GWG
Wifi not provided
#
GWG
But my Karma Go may ship soon
#
poka
why not a 2-line shellscript to finger your friends to grab the latest .plan file. so much easier than fiddling with post-SGML dreck
jciv, mlncn and indie-visitor joined the channel
#
Loqi
Welcome, indie-visitor! Set your nickname by typing /nick yourname
#
anomalily
Hey all. I'm here to tell you guys that Aaron has a book to turn into O'Reilly and he's not allowed to come play with you guys until he finishes!
#
GWG
anomalily: I have something to tell you
#
GWG
anomalily: Teacup works with the dev version of Micropub now
#
poka
web book w/ Dodo cover pls
#
GWG
anomalily: And, where is the material you all said you were going to create at IWC earlier this month? Is there anything I can add to the Indieweb plugin?
#
GWG
aaronpk: What book?
#
anomalily
@GWG His oauth book
#
anomalily
I failed miserably to document the stuff at IWC, because I stupidly decided to redesign my website instead
#
anomalily
I'm so excited that Teacup works with the dev version of micropub!
#
rhiaro
GWG: there's a Le Pain Quotidien in central park, they (in other locations I've been to at least) have free wifi, power sockets and awesome food
#
rhiaro
It's my go-to when I'm stuck somewhere in London for a couple of hours with nothing to do
#
GWG
rhiaro: We solved the HWC issue, and were going to try a few mid-Manhattan venues. Then zachdonovan got busy.
#
GWG
I may try to go it alone at some point.
#
GWG
But, can you do a two day event in a cafe?
#
GWG
Wouldn't they kick you out?
#
rhiaro
oh, I meant for a HWC, not IWC
KartikPrabhu joined the channel
#
GWG
rhiaro: For an HWC, my only issue now is having at least one other person
#
rhiaro
Isn't there much tech scene in NYC?
#
GWG
rhiaro: I don't know that many people.
#
GWG
I admit it
#
GWG
But I think an IWC would get people who might sign up for an HWC
j12t joined the channel
#
poka
"AJAX. All browsers support it" , someone talk some sense into Melvin
snarfed joined the channel
#
KevinMarks
wow, about.me is abusive. Try to iframe it, it refreshes the top level
wolftune joined the channel
#
KevinMarks
!tell tantek I am sometimes getting 400 errors when fetching http://tanttk.com (note no /)
#
Loqi
Ok, I'll tell him that when I see him next
jciv joined the channel
#
anomalily
!tell aaronpk to work on his book
#
Loqi
Ok, I'll tell them that when I see them next
j12t joined the channel
#
GWG
snarfed: I think I won't be using the reviewer to try and get feedback
#
snarfed
GWG: sgtm
#
KevinMarks
aaronpk needs some more important task so he can procrastinate that by writing his book http://www.aaronsw.com/weblog/001079
#
GWG
snarfed: He was at IWC Edinburgh. He has a Wordpress.com site. They don't permit third-party plugins.
revere joined the channel
bear joined the channel
#
@ken_bauer
Feel free to as me about #flipclass #ccourses #OpenEducation #IndieWeb @TecdeMty #Tec21 #ProfesoresTec21
(twitter.com/_/status/625449121046925312)
#
@papapelz
Vorher schon auf GitHub, weil deren App ja die Betroffene ist. Und ich komm mir so ein klitzekleines bisschen nerdig vor. #indieweb
(twitter.com/_/status/625450492303437824)