#indiewebcamp 2013-12-22

2013-12-22 UTC
snarfed, squeakytoy, skinny, paulcp, CheckDavid, tantek, melvster, krendil, squeakytoy2, KevinMarks, bnvk, tpinto, Phae_, pfenwick, netweb, eschnou, andreypopp, KartikPrabhu, dvirsky, Acidnerd, LauraJ and jschweinsberg joined the channel
#
@DomitilleR
Twelcome @fdevillamil #blogger, #devops, #indieweb, #photography, #RTFM, #ruby, #sarcasm, #startup, #tennis, #ux @botify / @getpublify
(twitter.com/_/status/414764216755556352)
CheckDavid, LauraJ and julian` joined the channel
#
julian`
i hate rails
CheckDavid and jschwein` joined the channel
#
pdurbin
julian`: why?
paulcp, snarfed, friedcell, Jeena and jonnybarnes joined the channel
#
julian`
following this lynda.com tutorial on installing it and its just such a pain
#
julian`
keep coming to problems just setting it up
#
jonnybarnes
Colloquy on iPhone seems pretty decent so far. Does anyone recommend any other iOS irc clients?
#
ryana
jonnybarnes: limechat is my favorite
#
ryana
though not free
LauraJ joined the channel
#
jonnybarnes
ryana: I'll give that a try thanks
paulcp and jonnybarnes joined the channel
#
snarfed
so twitter's api returns a tweet id in two fields: id is an integer, id_str is a string
#
snarfed
except occasionally, they're *different*
#
snarfed
one will be right, one will be wrong, and it's a surprise which one
#
snarfed
wtf twitter?!?
tantek and jonnybarnes joined the channel
#
tantek
snarfed always trust the strings.
#
tantek
integer is an old field before their tweet id's exceeded 32bit or 64bit whatever it was.
#
snarfed
yeah, evidently. surprised me because i wasn't working in an environment that would overflow integers
#
snarfed
it handles >64 bit fine
#
snarfed
but no matter. id_str it is!
barnabywalters, JonathanNeal, snarfed and LauraJ joined the channel
#
snarfed
love it. bridgy saw a retweet of http://aaronparecki.com/notes/2013/11/20/2/cat-dot-photography and is trying to discover whether cat.photography supports webmentions
#
snarfed
computers are endlessly entertaining
#
snarfed
aaronpk: thanks for the QA :P
#
@smc90
@fchimero I thought this was really interesting. But on the 'consumer' side, it's oft frustrating/off-UI to get some isolated indieweb links
(twitter.com/_/status/414832406978252800)
astrolin joined the channel
#
Loqi
aaronpk: snarfed left you a message 4 days, 12 hours ago: webmention.io feature request: allow some safe html in comment content, e.g. links. right now it strips all tags. :/ …i guess i should file it in github. off to do that now!
tantek, paulcp, astrolin and Jeena joined the channel
#
aaronpk
snarfed: yeah good call
#
aaronpk
removing all tags was the easy way out
hadleybeeman, JonathanNeal, tpinto, lmjabreu, Phae_, rknLA and paulcp joined the channel
#
aaronpk
!tell snarfed omg I just started getting "retweeted this" mentions of my tweets
#
aaronpk
!tell snarfed I think there's too many URLs marked as "repost-of". I think the retweet is only a repost of the original URL. see: http://pin13.net/mf2/?url=https%3A%2F%2Fwww.brid.gy%2Frepost%2Ftwitter%2Faaronpk%2F403244403134717952%2F403256819667054592
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
also, I just fixed the confirmations on !tell
eschnou and snarfed joined the channel
#
Loqi
snarfed: aaronpk left you a message 34 minutes ago: omg I just started getting "retweeted this" mentions of my tweets
#
Loqi
snarfed: aaronpk left you a message 31 minutes ago: I think there's too many URLs marked as "repost-of". I think the retweet is only a repost of the original URL. see: http://pin13.net/mf2/?url=https%3A%2F%2Fwww.brid.gy%2Frepost%2Ftwitter%2Faaronpk%2F403244403134717952%2F403256819667054592
#
snarfed
aaronpk: yup! hope you don't mind
#
aaronpk
I don't mind at all! forces me to present those better
snarfed joined the channel
#
snarfed
aaronpk: yeah, it's debatable. it seems like an RT of a POSSEd tweet is a repost of both the original tweet and the original post, right?
#
aaronpk
oh I see what you mean
#
snarfed
but still, you're right, i probably went overboard :P
#
snarfed
meh. ideally i'd drop the t.co links, but otherwise i think all of those repost urls may be fair game
paulcp and tpinto joined the channel
#
aaronpk
snarfed: your in-reply-to seems to have disappeared itself http://snarfed.org/2013-10-02_comment-time-vs-money
#
snarfed
looking
#
snarfed
maybe they're not in the right place?
#
aaronpk
oh! they are in the rel section?
#
snarfed
i see one there and one in a child h-entry
#
snarfed
yeah, neither place is ideal
#
aaronpk
oh I see... why is your post a child h-entry?
#
aaronpk
your post is the h-entry, no need for it to be a child
#
snarfed
agreed!
#
snarfed
may be more mf1 (e.g. 'hentry') causing problems for the mf2 parser
#
snarfed
(i didn't write the code that generates my site's markup, so i'm not always the fastest to debug it)
paulcp joined the channel
#
snarfed
just found a bug in my little unit test helper lib. one fn is supposed to compare lists, but if one list is a prefix of the other, it silently reports that they're equal.
#
snarfed
the bugs been there for years. suddenly i'm scared for the correctness of all open source code i've ever written that uses that lib for tests. :(
#
aaronpk
snarfed: thanks! Now i'm showing proper "repost" counts! http://aaronparecki.com/notes/2013/11/28/1/github-repo-collections
#
snarfed
awesome! i'm jealous, your display is already better than mine. i only show individual RTs and likes, but i should eventually show counts like that too
#
aaronpk
well now I need to update the list view cause the reposts really shouldn't look like full comments
#
aaronpk
I want to do it twitter-style where it's just the profile icon of everyone who has re-posted
#
snarfed
agreed!
#
snarfed
looking fwd to seeing your results
#
aaronpk
well cool, that was an unexpected improvement
#
snarfed
:P glad to hear it
#
snarfed
i could get twitter favorites from the REST API and send those too - i'm already sending FB likes - but twitter only exposes individual favorites in their streaming API
#
snarfed
disappointing
#
snarfed
s/i could/i wish i could/
#
aaronpk
oh yeah I saw that
#
snarfed
ah well
#
snarfed
maybe eventually
#
aaronpk
so you can't find out who has favorited without using the streaming API?
#
aaronpk
I suppose you could parse the HTML of a tweet's page too
#
snarfed
yeah, that's what tantek suggested too
#
snarfed
i'm not quite that desperate yet, but maybe
#
aaronpk
although using the streaming API would be cool cause things would come in in realtime that way
#
snarfed
we'll see whether that or the streaming API wins out
#
aaronpk
lol "Sending to: aaron.pk/n4T92 cat.photography"
#
snarfed
even better, i don't yet handle DNS failures well, so it's still retring cat.photography, once an hr :P
#
aaronpk
hahaha oh no
#
Loqi
rofl
#
snarfed
eventually someone will buy it, put up a site, start accepting webmentions, and it'll go through
#
aaronpk
i think it's amusing when I send webmentions to myself
#
snarfed
hah yes
#
snarfed
easiest way to test though!
#
snarfed
i post comments on my own old old posts more than i care to admit
#
aaronpk
snarfed: looks like your webmention endpoint rejected this: http://aaronparecki.com/notes/2013/12/22/1/webmention-p3k
#
snarfed
thanks, i'll take a look
#
snarfed
looks like because the link isn't marked as u-in-reply-to? (or u-like or u-repost)
#
snarfed
i think i only accept if there's one of those
#
aaronpk
that is true, it is none of those
#
aaronpk
however it is a link
#
aaronpk
i mean you don't have to accept it if you don't want to, but I would if I were you :P
#
snarfed
true! should i assume u-in-reply-to when there's no class?
#
aaronpk
no, it's not a reply at all
#
aaronpk
it's just an @-mention like on twitter
#
snarfed
right. ah, ok. yeah, i probably only correctly handle the reply, like, and repost cases
#
snarfed
not generic mentions
#
snarfed
adding to my todo list!
#
@Malarkey
If I could post updates to a @grabaperch blog and syndicate to Twitter in a POSSE style (http://indiewebcamp.com/POSSE), that would be brilliant.
(twitter.com/_/status/414879791729618946)
snarfed joined the channel
#
@paulrobertlloyd
@beep @armstrong @fchimero I suspect next year’s @indiewebcamp may be a little over subscribed. And that’s great news.
(twitter.com/_/status/414882107383877632)
andreypopp, tpinto, friedcell and paulcp joined the channel
#
aaronpk
tantek: been making good progress on this oauth+indieauth things
#
aaronpk
turns out almost everything we need is already in place in oauth2
tantek_ joined the channel
#
aaronpk
oh that and openid connect
#
@dmnplb
POSSE¹'s approach is quite interesting → http://indiewebcamp.com/POSSE · via @shashashasha – ¹ Publish Own Site, Syndicate Elsewhere #web #15m
(twitter.com/_/status/414893294984757248)
#
aaronpk
although I think a lot of openid connect is overdesigned as well
#
@hansup
Confusing: how 'indie' can you be if Google is your event sponsor? http://indiewebcamp.com
(twitter.com/_/status/414895374575230976)
snarfed, lukebrooker and paulcp joined the channel
#
bear
oops - I need to setup a test area for my code and stop abusing tantek's posts
#
bear
hmm, I bet I can create a test domain and then return pass/fail based on the target
#
aaronpk
if you want you can use webmention.io to receive webmentions for a domain (assuming you're testing sending webmentions)
#
bear
yes, testing the send part
#
snarfed
bear: also, re that post, i assume you've already found a solution, but just in case, check out https://github.com/bcomnes/webmention.js and http://voxpelli.com/2013/12/webmentions-for-static-pages/
#
aaronpk
bear: use "bear.im" as the username, and check out the setup instructions on webmention.io and the API here: https://github.com/aaronpk/webmention.io#api
#
bear
thanks aaronpk
#
aaronpk
you can create a test domain to send webmentions to, and use webmention.io to handle receiving them for you. even a local domain like test.dev that delegates to webmention.io should work
#
bear
snarfed - I decided to solve it by creating a small set of python helpers since I'm also working to merge my personal data tool with my now-static post for POSSE work
#
snarfed
sounds good!
#
bear
aaronpk - I may still create my own domain because one of the things I'm working on is a flask-based webhook tool for dealing with indieweb items
#
bear
something I can wire up small scripts to discrete events and trigger them via webhooks
#
bear
but I will for sure look at that and see what is currently best practices to start from