#indiewebcamp 2014-07-27

2014-07-27 UTC
#
tantek
having used a fragmention URL to one of my own blog posts in my most recent note, I've now deployed fragmention.min.js to tantek.com and joined the fragementions work on my site crew.
mdik joined the channel
#
tantek.com
edited /fragmention (+241) "tantek.com supports fragmentions on post permalinks"
(view diff)
#
tantek.com
edited /fragmention (+1) "separate open source implementations from IndieWeb Examples"
(view diff)
#
snarfed
hey aaronpk, is it a known bug that webmention.io doesn't support urls w/fragments? or fragmentions?
#
snarfed
searching the gh issues didn't turn up anything
#
snarfed
(tantek, you'll be glad/sad to know this was triggered by your note you just mentioned :P https://www.brid.gy/twitter/t )
#
tantek
and tantek.dev stopped working for me :(
#
tantek
so much for local dev
#
tantek
goes back to iterating live on tantek.com
#
tantek
snarfed - cool! and just deployed a stylesheet update to animate / show fragmentions also
#
KartikPrabhu
woohooo fragmentions!
#
KartikPrabhu
come people do marginalia too :P
#
tantek.com
edited /fragmention (+184) "/* IndieWeb Examples */ CSS!"
(view diff)
#
aaronpk
snarfed: thanks
#
tantek
KartikPrabhu: some of us still have to get comments and other post reactions working first ;)
#
aaronpk
tantek: what happened to tantek.dev?
#
aaronpk
did you update the OS recently?
#
tantek
in FF Aurora, recently upgraded.
#
tantek
seems to still work in Safari. hmmm
#
aaronpk
well that doesn't make any sense...
#
aaronpk
I wonder if FF is doing its own DNS resolving so it's ignoring the hosts file or something
#
aaronpk
snarfed: ah I think I know what's going on with webmention.io
#
snarfed
aaronpk: great!
#
aaronpk
a URL with a fragmention isn't valid unless the second # is encoded
#
aaronpk
so the URL parser says it's an invalid URL
#
snarfed
oh boo
#
KartikPrabhu
fwiw: fragmention.js handles the second encoded # correctly
#
KartikPrabhu
and python's url parser just works with ## :P
#
KartikPrabhu
though that might be considered a bug
glennjones joined the channel
#
bret
does adding a file upload field to a form make it a multipart?
#
aaronpk
no, you have to add the attribute on the form tag
#
aaronpk
<form enctype="multipart/form-data"...
#
bret
whoa
#
aaronpk
old skool
#
bret
its just form encoded otherwise?
#
aaronpk
yeah. i don't know what it does with files otherwise.
ShaneHudson joined the channel
#
bret
grrrr
#
bret
req.is('multipart') not identifying it
#
aaronpk
argh what happened to barnaby's mf2 parser!
glennjones joined the channel
#
aaronpk
oh I see... it's all fancy now
#
aaronpk
when you paste into the HTML box it autoparses and shows the resutling JSON on the side
#
aaronpk
I think I had some old cached JS the first time I loaded the page just now
snarfed joined the channel
#
tantek
the minified fragmention JS is so small I'm tempted to just include it inline in my HTML rather than adding another *blocking* HTTP request
#
tantek
what do others think? anyone here support fragmentions on their site inline like that (instead of <script src=..>)
#
gRegor`
I don't support it, but have always found inline JS messy. Why not put the <script> at the end, right before </body>?
#
tantek
gRegor`: of course such <script> should be at end before </body> (already doing it :P)
#
tantek
I've always found higher latency far uglier than any inline JS messiness.
#
gRegor`
It shouldn't block the page load then?
#
tantek
it still shows the "loading..."
#
tantek
or whatever progress bar/cursor your mobile device has
#
gRegor`
Ah
#
tantek
user perspective: site is still loading
#
tantek
but yes, it doesn't block *reading* the page at least
#
tantek
!tell kevinmarks what's the official "spec" for Fragmentions that I can point people to? Say, in case a browser wanted to implement it.
#
Loqi
Ok, I'll tell them that when I see them next
#
gRegor`
In that case, maybe inlinse. Or append to cassis.js
#
gRegor`
s/inlinse/inline/
#
Loqi
gRegor` meant to say: In that case, maybe inline. Or append to cassis.js
#
ShaneHudson
As long as the script doesn't block rendering (for any longer than it really needs to) then go for the one with the best performance.
#
tantek
ShaneHudson: we're talking about best performance, which includes blocking or not rendering
#
tantek
gRegor`: hmm - I wonder what it would mean to support fragmentions in PHP on the serverside
bnvk, mlncn, scor, krendil, snarfed, yakker and herbsmn joined the channel
#
herbsmn
hi. I've never been here before. I'm curious, does #indiewebcamp have a way to share videos in a federated way already?
#
herbsmn
if not, check in with #mediagoblin on Freenode here. they were looking to do federated html5 video stuff.
#
bret
hey herbsmn welcome!
#
herbsmn
thanks! exciting to jump on freenode for the first time in my life
#
herbsmn
and to get to chat with you fine ppl.
#
bret
herbsmn, there has been some experimentation. but not a huge deal of focus on that
#
bret
i think http://werd.io/ was doing some mobile video uploading to his own site
#
herbsmn
right on. was just a sort of random thought.
#
bret
video hosting is hard :p
#
herbsmn
yeah. that's why i was figuring it might be best to partner with some people already doing some of that
#
bret
we have cross site note sharing pretty nailed down though!
#
bret
which can take video embeds
#
herbsmn
very rad. i can't wait to get my own indieweb site up and rocking.
#
bret
yeah herbsmn++
#
herbsmn
i'm not very experienced with web development though
#
bret
i wasnt either when I got started
#
bret
its a good projects to learn on!
#
herbsmn
i would agree. i see so many applications for it
#
bret
start simple and iterate
#
bret
thats key
#
herbsmn
i don't know what iterate means
#
bret
herbsmn do you have your own domain name?
#
herbsmn
bret: yes
#
bret
nice! will you add yourself to http://indiewebcamp.com/irc-people ?
#
herbsmn
well, i only have the domain itself. ben was suggesting that he was going to host me with Known once the hosted service starts rocking in the coming weeks.
#
herbsmn
can you tell me about the relationship between Known and #indiewebcamp?
#
JonathanNeal
tantek: what did you decide about inlining fragmention vs externally loading it?
#
bret
herbsmn sorry had to get up for a moment
#
bret
herbsmn i would take bens word more than mine :) http://werd.io/2014/known-taking-a-big-bet-on-the-indieweb
scor joined the channel
#
bret
herbsmn a common theme is trying to do everthing with html and http
#
herbsmn
what do you mean?
#
@MGraybosch
Not What I Had In Mind Im using the pro version of NextSc http://www.matthewgraybosch.com/?p=866 #indieweb #mistake #oops #posse #sharing #syndication
(twitter.com/_/status/493237558319390721)
#
herbsmn
what?
#
bret
herbsmn Loqi auto posts tweets that have the #indieweb hashtag (among others)
#
herbsmn
oh, sweet
#
bret
what I meant above is that the goal is to build things that interoperate with each other using only html and http. They are the most widely agreed upon standards and it still allows for great freedom in terms of the software running in the background
#
bret
err... mostly html/http
#
bret
thats my personal reading at least!
wolftune joined the channel
#
herbsmn
cool.
#
herbsmn
can most indieweb stuff work without javascript enabled?
#
herbsmn
that raises security issues for me
#
tantek
herbsmn - pretty much all indieweb stuff works without javascript enabled in the browser. We've had some new innovations that are being prototyped in JS, but they're all being designed to not require JS.
#
herbsmn
tantek: thanks for the heads up.
#
herbsmn
has anyone heard of an indieweb site on an onion address?
#
herbsmn
if this were possible, it could open up the ability to have a social network on tor hidden services, which would be totally rad!
#
tantek
herbsmn - as soon as that becomes an itch for someone, they're likely to build it
#
tantek
herbsmn - have you checked out indiewebcamp.com/Getting_Started ?
#
bret
yay for fighting web framework bugz
#
Loqi
woot
#
herbsmn
i have an itch and i'm just getting started
#
tantek
that's the spirit!
#
herbsmn
i'm on the list to get a hosted version of Known and I'm really excited about it
#
bret
herbsmn do the onion addresses change often?
#
herbsmn
bret: you can keep the same address forever
#
herbsmn
although many people changed their addresses after HeartBleed
#
bret
if they are reliable, everything were doing should work just as well as long as it does not break standard http reqs
#
bret
the tor hidden services are kind of like an alt DNS right? (plus all the anonomizing services)
#
herbsmn
yes, i believe so.
#
herbsmn
the concept sounds really cool though. being about to host your own social media network on hidden servers and then connect to other ppl that are doing the same thing.
#
herbsmn
even without doing this though, you can choose who can see certain posts with indieweb sites, correct?
#
bret
im to much of a wuss to contribute to the tor network :p
#
herbsmn
what do you mean?
#
bret
like run a node out of my home connection freaks me out
#
bret
s/run/running
#
Loqi
bret meant to say: like running a node out of my home connection freaks me out
#
herbsmn
oh. well you don't have to be an exit node
#
herbsmn
you could just be a relay and everything will be encrypted.
#
tantek.com
edited /Posts_about_the_IndieWeb (+224) "dfn, see also videos"
(view diff)
wolftune joined the channel
#
bret
tantek do you have a list/arcive page of all articles?
#
bret
s/arcive/archive
#
Loqi
bret meant to say: tantek do you have a list/archive page of all articles?
#
bret
(on your personal domain)
#
tantek
bret not on a single page no, but you can iterate through the bims from 2010/1 onward
#
bret
hey that works :)
#
herbsmn
is Loqi a bot that helps translate?
#
Loqi
woot!
#
herbsmn
are there videos of the talks given at the recent indiewebcamps?
#
bret
why yes!
#
bret
well, videos about the indieweb
#
herbsmn
oh man, i can't view vimeo videos
#
bret
herbsmn when you get yourself onto the wiki, feel free to document issues with vimeo here: http://indiewebcamp.com/vimeo
#
herbsmn
oh cool!
#
bret
first steps... get a basic html page served from your domain! https://neocities.org/ and https://pages.github.com/ are both free options
#
herbsmn
yeah, i use Tor for all my browsing
#
herbsmn
Vimeo discriminates against Tor users
#
bret
you can also use tumblr as an easy starting host
#
herbsmn
ok
#
bret
herbsmn that sucks >:(
#
bret
I find it funny all the netflix users are going through the same shit with their ISPs as the torrent users did a few years back
#
bret
even though arguably they are more 'legitamate'!
#
bret
(in reference to all the excessive and absurd throttling)
#
bret
if you use tumblr, just make sure you put your own domain onto it
#
herbsmn
oh, ok.
#
herbsmn
so i could use that until i get my Known site running?
#
bret
yeah! :)
#
bret
i think tallpaul was working on a starter template for an indieweb tumblr
#
herbsmn
oh really?
#
bret
herbsmn even just having an html page with links to your profiles you wish to consolodate is a valuble thing to have
#
herbsmn
i think i might want to go the tumblr route
#
bret
herbsmn yeah not sure how far along it got
#
herbsmn
where could i find it?
#
bret
it was worked on this year at IWC portland
#
bret
herbsmn im not sure.. let me ask him
KevinMarks joined the channel
#
Loqi
KevinMarks: tantek left you a message 3 hours, 46 minutes ago: what's the official "spec" for Fragmentions that I can point people to? Say, in case a browser wanted to implement it.
#
KevinMarks
We should probably converge on one, yes.
#
Loqi
yea!
#
KevinMarks
I do wonder if ## is too much trouble and overloading # is better
#
bret
i kinda like that :)
#
KevinMarks
I was unlink
#
bret
herbsmn i cant find his contact info right now
#
bret
ill ask him next time I see him
#
KevinMarks
I was in lining fragmentions.js on my blog, but I switched to including from the repository
#
bret
weeee <input type="url">
#
tantek
KevinMarks: why did you switch from inlining to external? and are you src= direct from github? I'm using a "local" copy of the minified version on tantek.com
#
bret
wow look at all those types I never knew about: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input
#
KevinMarks
I did src direct from github to save editing the blogger template which is a pain. For something in src control itself I should be less lazy
#
KevinMarks
I wish input type url was less of a dick about http:// prefixing though
#
KevinMarks
Browsers tend not to care about content type of JS
#
herbsmn
thanks bret
snarfed joined the channel
#
tantek
KevinMarks, re: wish input type url was less of a dick about http:// prefixing though - I've actually solved this - view source and feel free to copy paste from http://tantek.com/relmeauth/
#
tantek
note how you can just type kevinmarks.com and it gets fixed up for you without any "red" indicator or anything
#
KevinMarks
Can you send a diff to the browsers?
#
KevinMarks
Maybe a defaultprotocol param that defaults to the local protocol?
chrissaad joined the channel
#
tantek
KevinMarks - it's a bit of JS on the page that fixes it up before the browser(s) have a chance to complain
#
tantek
I've been thinking of writing a blog post about it - how to fix input type=url, but alas have been too busy/behind on blog posts
#
tantek
too much building, not enough writing/talking ;)
#
tantek
and with that, good night.
#
Loqi
gute nacht!
chrissaad, fourtonfish and indie-visitor joined the channel
#
Loqi
Welcome, indie-visitor! Set your nickname by typing /nick yourname
glennjones joined the channel
#
Jeena
!tell KartikPrabhu I should send and get webmentions, did you send one to me which doesn't show up?
#
Loqi
Ok, I'll tell them that when I see them next
#
Jeena
!tell KartikPrabhu Just reread what you wrote, yes I send webmentions and I see my webmention on your website too, did you have to add it manually?
#
Loqi
Ok, I'll tell them that when I see them next
#
KartikPrabhu
Jeena: yes I did add it manually...
#
Loqi
KartikPrabhu: Jeena left you a message 6 minutes ago: I should send and get webmentions, did you send one to me which doesn't show up?
#
Loqi
KartikPrabhu: Jeena left you a message 2 minutes ago: Just reread what you wrote, yes I send webmentions and I see my webmention on your website too, did you have to add it manually?
#
Jeena
ah I wrote it 2 months ago, back then I didn't realize that for testing reasons I commented out the "send webmention" method and it snack into the production code
#
Jeena
a couple of weeks ago I changed it.
#
KartikPrabhu
Jeena: ok good. I was wondering if my webmention receiver rejected it for some reason but that is cool!
mlncn, salanto, squeakytoy, fofr, KevinMarks, scor, ShaneHudson, wolftune, bnvk and chrissaad joined the channel
#
@kid_OYO
@t @benwerd question: in introducing young people to #indieweb concepts... Where would you begin? #DistillingIdeas
(twitter.com/_/status/493409487097987072)
cuibonobo_, ShaneHudson, dariusdunlap, glennjones, wolftune, eschnou, chrissaad and scor joined the channel
#
bret
hey aaronpk. just noticed there are encoding types for things like markdown? en.wikipedia.org/wiki/Mime_type##text/x-markdown
snarfed joined the channel
#
bret
would that be the right thing to use for micropub editing of source documents
chrissaad joined the channel
#
aaronpk
bret: yeah that's kind of what I was thinking!
#
bret
so I guess you can accept file uploads in a x-www-form-urlencoded form
#
bret
but its bad
#
bret
can we just say for micropub, files only come over multipart?
#
aaronpk
I feel like this kind of thing should be handled by the web server environment relatively seamlessly. Like in PHP you just get files in the $_FILES variable, it already parsed out the request by the time you get it
#
bret
i had to write my own multipart middleware >:[
#
aaronpk
that's insane. how come nobody has done that in node yet?
#
bret
thats baically what I used
#
bret
you still have to have the lib process the request
#
bret
which that middleware basically does
#
aaronpk
what does a file upload look like if it's not multipart?
#
bret
not sure! my urlencoded parser isnt parsing it ;P
#
aaronpk
hm let me find out
#
bret
i just get a filename out of it
#
bret
I think its a matter of turning on a library option
#
bret
aaronpk http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4 w3 says multipart *should* be the way to send files in a form
chrissaad joined the channel
#
aaronpk
oh right, file upload controls can also accept multiple files
#
bret
:D i coded my multipart to create an array of files
#
bret
my post staging then has to handle an array of files
chrissaad joined the channel
#
aaronpk
I think today I'm going to make my micropub endpoint accept a geojson file so I can post my bike rides via micropub
#
bret
I refactored all of my micropub libraries last week, now Im just getting them turned on and working together
arlen and friedcell joined the channel
#
donpdonp
aaronpk: that++
#
aaronpk
I already imported my Strava history! http://aaron.pk/m4WgzLv
#
aaronpk
just need to get it set up to autoimport from runkeeper like how ownyourgram works
chrissaad joined the channel
#
aaronpk
looks like it just sends the filename unless the enctype is set
#
bret
aaronpk ahhh!
#
bret
i se
#
bret
or is the parser just throwing out that data?
#
aaronpk
no parser there
#
bret
oh yeah huh
#
aaronpk
updated with the node server I used
ShaneHudson joined the channel
#
bret
aaronpk++
#
Loqi
aaronpk has 521 karma
chrissaad and jschweinsberg joined the channel
#
@OscarSanFuentes
NUEVO POST: web.mention, la aplicación para monitorizar la reputación online. http://oscarsanfuentes.blogspot.nl/2014/07/webmention-la-aplicacion-para.html?m=1 #socialmedia
(twitter.com/_/status/493461983858286592)
ShaneHudson joined the channel
#
aaronpk
!tell barnabywalters when I sign in to your site, it sets a client_id of waterpigs.co.uk/login which doesn't exist!
#
Loqi
Ok, I'll tell him that when I see him next
jclark_, gRegor` and scor joined the channel
#
gRegor`
Afternoon, indiewebcamp
#
aaronpk
Hello gRegor`!
#
gRegor`
A designer friend wants to get some experience designing for iOS and suggested teaming up if I ever want to code an app. Our initial idea is some sort of concert history tracking, since we both go to a lot of concerts. I said it should definitely have a component to read/write to our own sites so the data isn't locked into the app.
#
gRegor`
Of course I've never made an iOS app, so it could be a long time coming, but could be fun.
chrissaad joined the channel
#
bret
gRegor`: that would be cool! :)
#
bret
I kinda wanted something like that for movie
#
gRegor`
it's been in the back of my mind to track more quantified self stuff like that on my site, just haven't gotten around to it.
#
bret
gRegor`: micropub client!
#
gRegor`
Totally!
#
gregorlove.com
edited /User:Gregorlove.com (+22) "/* Interests */"
(view diff)
chrissaad and KartikPrabhu joined the channel
#
@kevinmarks
#indieweb @t: OK, go to [secret URL on my domain] and click the link @lonnierae: types something [text arrives]
(twitter.com/_/status/493480207874285568)
#
aaronpk
oh nice!
#
aaronpk
gRegor`: check out this iOS app which supports micropub https://github.com/aaronpk/PushupCounter-iOS
#
gRegor`
Will do. I actually mentioned you had an app that did that, heh
#
aaronpk
KevinMarks: why do you keep tweeting that? I keep seeing it pop up here
#
gRegor`
Only problem is I'm on a PC.. Will need to look into alternative ways to develop for iOS. Hackintosh? Heh
#
@OhhSocialMedia
RT @kevinmarks: #indieweb @t: OK, go to [secret URL on my domain] and click the link @lonnierae: types something [text arrives]
(twitter.com/_/status/493481162736926722)
#
aaronpk
oh hmm
chrissaad, snarfed, eschnou, emmak_, Garbee_, jtzl_, scor_ and Kopfstein joined the channel
#
dariusdunlap
gRegor`: Used Mac Mini is a viable option. They can be had fairly cheap.
chrissaad and realzies joined the channel
#
gRegor`
Ah yeah, good idea
#
aaronpk
macmini++
#
Loqi
macmini has 1 karma
h1ro joined the channel
#
gRegor`
Woo, I've got the basics of my posting interface fetching in-reply-to URLS and populating the reply-context via AJAX.
#
snarfed
triton.pin13.net eh?
#
snarfed
i like the hostname
#
aaronpk
huh what?
#
aaronpk
I haven't used that name in a while
#
aaronpk
gRegor`: woo congrats!
#
KartikPrabhu
log in on the wiki isn't working
#
aaronpk
I thought I *just* tested that
#
aaronpk
huh yup... one sec
krendil joined the channel
#
snarfed
aaronpk: looks like reverse DNS still resolves your server's IP to triton. (i only noticed because a cron job on it is HEADing brid.gy/log every 15m. not a problem, i just evidently have too much free time :P)
#
aaronpk
trying to think what would be making that request
#
aaronpk
every 15m exactly?
#
aaronpk
snarfed: can you send me more details about the request?
#
snarfed
aaronpk: sure! 66.220.1.232 - - [27/Jul/2014:13:15:27 -0700] "HEAD /log HTTP/1.1" 405 73 - "Ruby" "www.brid.gy"
#
aaronpk
that's odd
#
aaronpk
and it's always pretty much exactly 15m?
#
snarfed
yup. at around :00:30, :15:30, :30:30, and :45:30
danbri joined the channel
#
aaronpk
I can't imagine I would have hard-coded /log into any script, so it must be discovering it from something
#
kylewm
snarfed: is activitystreams verb="invite" an event?
#
snarfed
aaronpk: agreed. what's odd is that all /log links i serve in html have query params, but these requests don't
#
snarfed
kylewm: let's see
#
snarfed
kylewm: good point. we'll get 'invite' activities *from* silos, but we don't support publishing them *to* silos (ie fb)
#
snarfed
so you can probably ignore that comment of mine
#
kylewm
ok thanks, maybe that's worthy of its own elif case
#
kylewm
continuing discussion in the PR :)
#
aaronpk
fixed wiki login
#
aaronpk
KartikPrabhu: ^
#
KartikPrabhu
yup works
#
aaronpk
thumbsup
snarfed joined the channel
danbri joined the channel
herbsmn joined the channel
#
bret
is it possible to set the http Authorization header from a form in the browser?
#
aaronpk
I don't believe so
#
bret
so if I wanted a minimal multipart form based micropub client, I would have to parse the multipart before authorizing?
#
bret
to get the token out of it
#
aaronpk
you'd have to accept the token as a form parameter
#
bret
right, doing that now with url encoded... i guess i just have to do the same thing and toss out the file if I dont want it
#
bret
thats pretty cool at least, I can rearrange my order of operations by just reording my middleware :D
#
bret
oh wowow! feedbin does inline footnote expansion
#
KartikPrabhu
bret: URL for that? or a screenshot of what that looks like?
#
bret
ya one sec
#
KartikPrabhu
I use footnotes in my articles and would like a good UI for displaying them inline or something
#
KartikPrabhu
bret: what happens on cliking the ... ?
#
bret
check image 2
#
KartikPrabhu
oh I see it is an image gallery! thanks :)
#
KartikPrabhu
pretty neat... defaults to usual footnotes if no JS I am guessing
#
bret
i dont think feedbin would work without js
#
bret
just a guess
jclark_ joined the channel
#
KartikPrabhu
aah unfortunate... this could easily work as a progressive enhancement type UI
#
bret
its more of an application than a web page
#
bret
yeah it could probrably be adapted!
#
KartikPrabhu
if app = doesn't work without JS then yeah ;)
#
bret
thats fine with me though in this context... a feed reader page reloads sounds horrible
#
bret
with page reloads*
#
KartikPrabhu
bret: fair enough... but I like that footnote UI
#
bret
i like yours :P
#
bret
this has a nice animation to it
#
bret.io
created /feedbin (+258) "Created Feedbin"
(view diff)
#
KartikPrabhu
bret: thank! those are reserved for marginalia so far... I have been thinking of doing footnotes that way too
#
bret
how are they different?
#
bret
(other than that you wrote them)
#
bret
oh rad, you can run your own feedbin?
#
Loqi
rofl
#
aaronpk
heh, how do I stream json without needing to build up the entire object in memory
fmarier joined the channel
#
aaronpk
this is gonna be ugly
chrissaad joined the channel
#
bret
ermm
#
bret
streamz
#
snarfed
aaronpk: sounds like jsonxmpp
#
snarfed
jay-snax-map
#
aaronpk
that didn't end up being so bad
#
aaronpk
i just have to build the JSON manually
#
aaronpk
this is rad. now I can query my full GPS logs for any date range and it'll stream the result back as geojson. very low resource usage on the server since it's going from sharded files on disk straight to the http client without loading more than one line into memory at a time
#
bret
woopwoop!
#
KartikPrabhu
bret: about marginalia/footnotes: I don't think they are different. RIght now the marginalia are being picked up from comments so footnotes are not really picked up
wolftune joined the channel