#indiewebcamp 2014-04-25

2014-04-25 UTC
#
tantek
and as noted before, the newest Twitter profile page is basically a bad Facebook profile clone: https://twitter.com/genmon/status/459257786875265025/photo/1 (side by side comparison)
#
tantek
thanks to kylewm for the link
#
tantek
silo UX is racing to a lowest common denonimator generic look & feel
#
tantek
so if you want indie UX, you have to DIY
#
GWG
Does my test site look like a bad clone?
#
GWG
Now I'm worrying
#
tantek
KartikPrabhu: interesting, when I changed my permalink and resent a webmention, it appears to have created a duplicate comment on your post
#
KevinMarks_
has long argument about fragmentions in whatwg
#
tantek
GWG - the difference is, if your site does look like a clone, we know you specifically chose to do that *for yourself*!
#
tantek
KevinMarks: lol. #whatwg is good for that - long arguments :)
#
tantek
takes a peek
#
KartikPrabhu
tantek: I use the url to check if an existing mention exist. so if you change permalink, I am treating it as a separate mention. Any better suggestions?
#
ngoldman
noticed that too -- lots of people migrated away from facebook to twitter, seems odd twitter would want to imitate them
#
KevinMarks_
I love that fragmentons are both ugly and insane and hacks and likely to collide with existing usage
#
tantek
KartikPrabhu - ah, perhaps I have 1) a responsibility to send you a webmention of the *old* URL, then 2) your responsibility to notice the redirect and update it on your end, 3) collapsing any duplicates
#
tantek
KartikPrabhu: hmm - I just tried that and it just moved my comment to the bottom, which seems wrong
#
KartikPrabhu
hmmm not sure how I am handling redirects
#
tantek
though it did use the redirected to URL
#
tantek
but now notice that bottom two comments have the sme URL
#
KartikPrabhu
Yes! I should check the u-url instead of source that sent the mention
#
tantek
IMO you site should keep track of when it *first* got the webmention for that comment, and sort by *create* date, not by *updated* date
#
tantek
e.g. when you edit/update comments on a FB post, it doesn't resort them, it leaves them where they were, and simply indicates that its been edited.
#
KartikPrabhu
I will see what is happening with those...
#
KartikPrabhu
I still have to fix your name :P
#
tantek
KevinMarks - sounds like they're trying to overdesign it? Without solid documented use-cases?
#
KevinMarks_
they're trying to fold it in with other things like putting css queries in fragments
#
tantek
KartikPrabhu: I'm good at breaking things ;)
#
KevinMarks_
and claiming that will collide
#
tantek
s/css queries/Selectors
#
tantek
I still like the whitespace solution
#
KevinMarks_
I said use #$ for that and use jquery syntax
#
tantek
like #phrase+to+search+for
#
KevinMarks_
then they got grumpier
#
tantek
or even #word+
#
tantek
jquery syntax *is* Selectors
#
KevinMarks_
I think many words is actually better
#
tantek
don't call it by the derivative name
#
KevinMarks_
but with a $ prefix
#
tantek
sure that makes sense to me
#
KevinMarks_
rather than #css(stuuff)
#
tantek
so um, you could suggest to JonathanNeal that he implement #$(Selector) in his fragmention scripts ;)
#
tantek
code talks, IRC chatter walks
#
KevinMarks_
I am trying to keep this simple
#
KevinMarks_
I think that they call my url suggestions ugly and insane indicates exactly why they will work
#
tantek
your jquery $ syntax suggestion is a good nod to webdev nerds
#
tantek
it will increase the fragmention fanbase
#
tantek
sticks & stones
#
KevinMarks_
as no-one will have made things like them before
#
tantek
I say ship the #$(selector) variant and see what happens
#
GWG
tantek: But does it? I was trying to be all inclusive.
#
KevinMarks_
the huge cognitive dissonance markers I got are a good sign
#
tantek
like maybe you can then submit the fragmention.js lib as jquery plugin :D
#
tantek
maybe even propose it for jquery core
#
GWG
If I wanted a purple background, I'd have one. But white is in vogue
#
tantek
and get distribution that way
#
Loqi
tantek has 32 karma
#
tantek
your time might be better spent that way than contributing to #whatwg chatter
#
tantek
if anyone who includes jquery on their site magically gets fragmention support - that will be a HUGE draw
#
JonathanNeal
Serious or joking? It wouldn't need to be a jQuery plugin to do that.
#
tantek
JonathanNeal: of course it needn't. the purpose of making it a jQuery plugin is political, not technical.
#
KevinMarks_
you could let the browser do the CSS selection, right?
#
tantek
JonathanNeal: re: serious or joking - that depends on how world dominating you want to be
#
KevinMarks_
I don't know the politics of jquery
#
tantek
KevinMarks_: no jquery-specific politics. just normal community-specific friendly wrapping.
#
tantek
presented as a jquery plugin, the jquery community may be more accepting of it.
#
tantek
lower barrier to their adoption of it
#
tantek
= more adoption, = more fragmention usage
#
KevinMarks_
I don't know jquery well
#
KevinMarks_
but it would be a good vector
#
tantek
I'm guessing JonathanNeal could easily wrap it into a jquery plugin
#
tantek
but my point is - THAT is the reason to add support for your #$(selector) idea
#
tantek
once you add that, you can claim fragmentions is jquery-like in that way, culturally compatible as it were
#
KevinMarks_
has huge faith in JonathanNeal making things work
#
tantek
= more likely for that culture to accept it
#
tantek
and even embrace it
#
KevinMarks_
getting into wordpress core is also good
#
tantek.com
created /scheduled (+1793) "stub with indieweb example, silo examples."
(view diff)
b0bg0d___ joined the channel
#
tantek
darnit.
#
tantek
just found indiewebcamp.com/scheduling after writing that up
hadleybeeman_ and jeremyzilar joined the channel
#
KevinMarks_
hi hadleybeeman
bigbluehat_ joined the channel
#
JonathanNeal
Who was asking for #$ ? What is the use case?
#
Loqi
the use case is signatures
#
JonathanNeal
How would it work? #
#
KevinMarks_
I was saying #$() to match jquery
#
KartikPrabhu
jeremyzilar: love the blog visual design :)
#
jeremyzilar
KartikPrabhu: Thanks!
#
tantek.com
edited /scheduling (+1501) "merge in new content from /scheduled"
(view diff)
#
KartikPrabhu
jeremyzilar: I'll send a mention from your article to mine if that is alright!
#
tantek.com
edited /scheduled () "(-1769) merge in new content from /scheduled to /scheduling and make this a redirect"
(view diff)
caseorganic joined the channel
#
tantek.com
created /delayed (+24) "r"
(view diff)
#
tantek.com
edited /scheduling (+31) "aka"
(view diff)
#
@jeremyzilar
RT @kartik_prabhu: The #indieweb or: how I learnt to stop worrying and love the #blog. Comes about a year since I went indie (http://t.co/F…
(twitter.com/_/status/459494551993204736)
#
jeremyzilar
KartikPrabhu: please do - I still have to get webmentions set up, and some form of commenting.
#
kbs
KevinMarks_: I much prefer the simplicity and relative robustness of your "link-to-phrase" of your approach compared to the css selector. The latter seems less practical to me...
#
KartikPrabhu
I just used the form below my article. and since yours does not have microformats yet my parser choked :) I'll have to add good defaults it seems :)
#
KevinMarks_
oh, I do too
#
KartikPrabhu
kbs, KevinMarks_ : yup! agreed
#
KartikPrabhu
so muhc easier for non-techies to understand
#
KevinMarks_
I think CSS selectors are a misstep, but they were being used as a counterargument that fragmentions would steal the namespace from
#
kbs
KevinMarks_: ah, gotcha. :)
#
tantek
the URL-syntax-space that is ;)
#
kylewm
rascul: were you the person looking for indieweb icons for a font the other day? just noticed https://pfefferle.github.io/openwebicons/
#
KevinMarks_
the whatwg discussion was very informative
#
tantek.com
edited /Twitter (+372) "/* History */ add new UI which seems to copy Facebook"
(view diff)
#
JonathanNeal
$() is ugly.
#
JonathanNeal
#$div.foo is prettier
#
JonathanNeal
But if you’re really going to do that, this becomes a platform.
#
kbs
I was also playing with using () to go back to your initial brainwave from annotations - ie, #search+for+this(with+my+comment+added) - eg: https://dl.dropboxusercontent.com/u/18852638/draft/silly/test.html##Brennan+Novak(Brennan+is+bnvk+on+#indieweb+and+#mailpile)
#
JonathanNeal
You might as well ##text=unique+term, ##re=regex(expression), ##selector=element.query
#
KevinMarks_
which is what i wanted to avoid, yes
#
JonathanNeal
kbs: interesting idea for annotations, I thought ++ being the universal separator was good enough.
#
KevinMarks_
the point of $() is that it is jquery syntax, which people know
#
JonathanNeal
not really, $('string') is what people know
#
JonathanNeal
and by string, they mean what we now know as a query selector
#
silencematters.com
edited /logo (+60) "/* See Also */"
(view diff)
#
JonathanNeal
most assuredly, when they think jquery, they think query selector, they think css.
#
KevinMarks_
so quotes in the URL. You're going to have a bad time.
#
kbs
(JonathanNeal: agree. personally, just tickled pink with the little hacks anyone can build on top of the simple idea I guess. it's all very nifty.)
#
KevinMarks_
kbs that is rather a cute use
#
Loqi
kbs has 1 karma
#
kbs
think it's all to do with the basic robustness of your idea - very easy to morph it depending on what people find interesting
#
KevinMarks_
I think you just made the original google concept
#
kbs
haha :)
#
kylewm
love that quote, kind of a “if you want to bake an apple pie from scratch, first you have to invent the universe” sort of thing
snarfed joined the channel
#
rascul
works on inventing the universe
#
rascul
kylewm thanks for the link
#
KartikPrabhu
kylewm: any help with this https://github.com/kartikprabhu/mf2py/issues/33 would be appreciated :)
realzies joined the channel
#
KartikPrabhu
suggestions needed: While parsing a HTML document is it safe to always assume 'UTF8' encoding?
#
KevinMarks_
it's a decent default assumption, but you do want to override it with what the page says
#
KevinMarks_
html5lib should get this right
#
KevinMarks_
but one place you can be told is in the HTML headers
#
KevinMarks_
tantek's page has a meta charset though
#
KartikPrabhu
I thought Beautiful Soup would guess from metacharset but it doesn't!
#
KevinMarks_
force it to use html5lib
#
KevinMarks_
it's guessing win1252
#
KartikPrabhu
hmm alrighty
emmak joined the channel
#
KartikPrabhu
holy cow! seem the python requests lib is messing it up in the first place!!
#
KartikPrabhu
this is more complicated that I thought!!
#
aaronpk
KevinMarks_: i think fragmentions are not actually ugly though! cause if you see a link like example.com/page##some+thing even if it doesn't do anything it gives you a sort of idea of what i'm tryign to link to
#
tantek
yes! it keeps the URL some still human friendly
#
tantek
and thanks to people "understanding" hashtags
#
tantek
"fragtags" ;)
#
KevinMarks_
whatwg peeps hated it for that reason
#
tantek
for WHAT reason? ;)
#
KevinMarks_
thing is hashtags imply leave out spaces between words
#
tantek
true - tags in general
#
tantek
ok good point, I retract fragtags
dybskiy joined the channel
#
aaronpk
KevinMarks++ for "I'm hearing emotion words, not arguments"
#
Loqi
KevinMarks has 24 karma
#
KartikPrabhu
hmm weird! Will they change their minds if a lot people start using fragmentions?
#
aaronpk
wow that got a lot of engagement from #whatwg
KevinMarks joined the channel
#
KartikPrabhu
hmmm they seem to be looking at it from "I want to search this text" rather than "I want to refer to this context"
#
KartikPrabhu
hence all the "how do I do single word", or "how do I search for part of a word"
#
tantek
KartikPrabhu: yes they will change their minds if adoption takes off
dybskiy_ and gRegor` joined the channel
#
KartikPrabhu
maybe I should seriously push to make a "fragmention generator" + a demo post with 'annotations'
#
KevinMarks
There was one objection that ux to find a nearby anchor to bookmark would be good. Which fits in with what you are trying
#
gregorlove.com
edited /generations (+0) "/* Generation 1 IndieWeb */ Fix HWC link"
(view diff)
#
tantek.com
created /HomeBrewWebsite_Club (+35) "redir for completeness ;)"
(view diff)
#
gregorlove.com
edited /generations (+0) "/* Generation 2 IndieWeb */ Fix HWC link"
(view diff)
#
KartikPrabhu
KevinMarks: yes, but i think finding the closest anchor is counter-productive! finding some unique fragmention phrase would be more appropriate
#
KartikPrabhu
tantek: Is is possible for you to include a charset in your html response headers?
#
KevinMarks
Oh agreed. That was being used as an argument against human editable URLs
#
KartikPrabhu
hmm I like human editable URLs
#
KevinMarks
KartikPrabhu he shouldn't have to, your parser should respect the one in the page
#
KevinMarks
I do too. Hence my case for #word+syntax
#
KevinMarks
They claimed the UA should make a URL for the user
#
KartikPrabhu
re:encoding hmm yeah the problem is the python request object tries to guess and it guess ISO-whatever. So I have the wrong encoding before I get to the content where there is a charset=utf-8
#
KartikPrabhu
re: UA for fragmentions: UA are good to have as enhancement, but that shouldn't prevent humans from editing URLs... sort of like progressive enhancement type philosophy
#
gRegor`
Guess we need to get someone to take our photo at next HWC, KartikPrabhu. Haha
#
KartikPrabhu
hmm you mean both the two of us!!!
#
tantek
yes you do!
#
gregorlove.com
edited /Main_Page (+0) "/* Homebrew Website Club */ next HWC"
(view diff)
#
gRegor`
And to prove I'm not an insect creature from Kafka :)
#
KartikPrabhu
also @mariheurtas was at the SF HWC but she's from Chicago!
#
KartikPrabhu
and I'm not a recursive shadow :P
#
gRegor`
Ooh, new people. Nice
#
gRegor`
Think we'll need another location quickly, though
#
KartikPrabhu
I guess we should officially invite her or something
#
@marihuertas
At the #indieweb meetup, I mentioned having a list of tech education resources –– here it is! Enjoy. https://twitter.com/marihuertas/tech-education/members
(twitter.com/_/status/459156794929999873)
#
tantek
yes you should!
pauloppenheim joined the channel
#
tantek
I invited Andres (her husband) to go last night but he was busy.
#
gregorlove.com
edited /Events (+0) "/* Upcoming */ + next HWC"
(view diff)
#
gregorlove.com
edited /Events (+941) "/* 2014 */ + last HWC"
(view diff)
#
kylewm
just installed fragmentions.js as a greasemonkey script in firefox. seems to work out of the box!
#
kylewm
cc: JonathanNeal ^
#
gRegor`
On http://indiewebcamp.com/Events could I just add u-url mf on the first wiki page link so the second one doesn't need to be included?
#
gRegor`
for HWC
#
@kartik_prabhu
@marihuertas @gRegorLove and I have a biweekly #indieweb meetup right here in Chicago. We'd love to have more… (http://kartikprabhu.com/notes/HWC-Chi-huertas)
(twitter.com/_/status/459519287992930304)
#
gRegor`
^tantek
#
KartikPrabhu
well there! I did attempt an invitation
#
gregorlove.com
edited /Events (+0) "/* Upcoming */ date fix"
(view diff)
#
gRegor`
Back to the template sandbox, to make the event listing look nicer. :)
#
@jkphl
@aaronpk Thanks, Aaron! Didn't want to sound too pessimistic or offend anyone — hope I didn't! I'm confident we can always do better tho! ;)
(twitter.com/_/status/459519419887001600)
#
gRegor`
Good job on that post, aaronpk
#
KartikPrabhu
now I'm glad I didn't reply myself :P
#
aaronpk
thanks
#
KartikPrabhu
kylewm: pardon the constant notifications if any from the charset unicode bug
#
kylewm
no worries, I was hoping it was going to be that you were using response.content instead of response.text
#
kylewm
but looks like it is not
#
GWG
yawns
#
KartikPrabhu
yeah. that was my first guess too. Will attempt some fix
#
GWG
It has been a long day
#
kylewm
hmm, maybe you can encode content manually
#
KartikPrabhu
yes. but I'll have to first extract the HTML charset and then rebuild the response.text
#
KartikPrabhu
or I can actually use response.content and encode myself
#
KartikPrabhu
which is more robust?
#
KartikPrabhu
oh hmm they are the same :P
#
kylewm
happy to see that reply from jkphl but I'm still mildly irritated that aaronpk's post doesn't show up in his replies :)
dybskiy and j12t joined the channel
#
kylewm
KartikPrabhu: <meta charset="utf-8" /> doesn't work as the charset type?
#
KartikPrabhu
it does. So do I make a BS object get charset and rebuild it!
#
@aaronpk
@jkphl btw did my webmention come through ok? I got a successful reply from your webmention endpoint but I'm not... http://aaronparecki.com/replies/2014/04/24/2/
(twitter.com/_/status/459522558522425344)
#
kylewm
ohh in the headers, sorry I am catching up
#
kylewm
is lighty supposed to do that and not?
#
KartikPrabhu
who is lighty?
#
kylewm
oh wait, this is weird
#
kylewm
the response from tantek.com does have a charset
#
kylewm
but not from the post permalink
#
KartikPrabhu
eh! what?
#
kylewm
sorry lighttpd
#
kylewm
it's pronounced lighty
#
KartikPrabhu
tantek: noticed that your homepage send a charset in headers but your post does not. intentional?
j12t joined the channel
#
JonathanNeal
kylewm: great to read
#
gregorlove.com
edited /User:Gregorlove.com/sandbox (+1328) "playing around with event template ideas"
(view diff)
#
JonathanNeal
So, now that the WHATWG arguments have cooled, what would you all like done with fragmentions.js?
pauloppenheim joined the channel
#
KartikPrabhu
JonathanNeal: to what end?
dybskiy_ joined the channel
#
tantek
KartikPrabhu: sounds like an oops on my part!
#
KartikPrabhu
aaha! :) I am also good are 'breaking things' :P
#
KartikPrabhu
though do you think I should be accounting for that contingency?
#
JonathanNeal
Should we switch back to pure ##, or add selectors #$ or what?
npdoty joined the channel
#
KartikPrabhu
I think we should forget the WhatWG arguments and stick to what we feel is the best syntax. If people like it and adopt it then the WHATWG folks will change their minds
#
KartikPrabhu
so far the pure ## seems best
#
kylewm
I didn't read the whole whatwg thread, but I thought the point that, if you're going to overload fragments once to make it extensible, it'd be nice to leave room for future extension of that
#
kylewm
was a good one
#
kylewm
i.e., the argumetn for ##text=search+string
#
aaronpk
I think just ## leaves plenty of room cause nobody else wants to use it :)
#
KartikPrabhu
why? ##search+string is fine
#
KartikPrabhu
if someone wants to use #$ for other things like funny CSS selectors (I don't know why you'd have CSS selectors in the URL) they can later
#
kylewm
##key=value leaves room for future extension
#
aaronpk
#key=value leaves room too
ttepasse and TestingThingsOut joined the channel
#
aaronpk
whoa nice gRegor`
#
kylewm
it sounded like # was a non-starter for them
dybskiy joined the channel
#
KartikPrabhu
yup! I don't see how this is dif. from usual fragments
#
aaronpk
wait what is their current prefix?
#
gRegor`
Thanks
#
KartikPrabhu
gRegor`++
#
Loqi
gRegor` has 2 karma
#
KartikPrabhu
hey you can haz karma now!
#
kylewm
gRegor`: I want that date bubble on my site now :)
#
KartikPrabhu
I had a Blogger template once with date bubbles
#
gRegor`
Too bad! It's in my sandbox silo now and you can't have it. ;)
#
kylewm
it reminds me of a 90s iteration of powazek.com. he was my web design hero
#
kylewm
(90s in a good way)
#
gRegor`
The spirit of the '90s is alive in . . . indiewebcamp
#
gRegor`
I searched for some good calendar design patterns. Didn't find much I liked, so just playing around with this.
#
KevinMarks_
JonathanNeal: i say stick with #
#
gRegor`
Figured it would look nicer than a wall of text on the /events page
#
kylewm
oh crap, he worked at Technorati. tantek and KevinMarks do you know Derek Powazek?
#
KevinMarks_
but only trigger if there is a space
#
tantek
kylewm I helped bring him into Technorati :)
#
kylewm
's brain asplodes
_6a68 joined the channel
#
KartikPrabhu
asplodes! lol
#
gRegor`
Haha
#
GWG
I remember Technorati. Does that still exist?
#
KartikPrabhu
If the HTTP response encoding is different from the HTML charset which one to trust?
#
aaronpk
KartikPrabhu: trust only yourself
#
KartikPrabhu
that does not work if i have automated code :P
#
JonathanNeal
KevinMarks_: thanks
snarfed and ttepasse joined the channel
#
tantek
KartikPrabhu: my posts do send <meta charset="utf-8" /> in the HTML which should be enough
#
KartikPrabhu
yes. So I should be taking that into account.
#
@jkphl
@aaronpk Yes, it's in the DB, but it seems there has been a processing error (on my side). I'm on a train right now, will fix it ASAP! Thx!
(twitter.com/_/status/459530498193108992)
#
KartikPrabhu
hmm very nice
#
KartikPrabhu
oh! damn... ok will try
#
KartikPrabhu
nope doesn't work :(
#
KartikPrabhu
I think I'll do this. Make a soup. use it to get charset from HTML. If charset does not match, then use HTML charset and rebuild
#
KartikPrabhu
i think requests implicitly uses all those requests.util things
#
gRegor`
GWG: Yep, it does. I just logged in, for kicks.
#
gRegor`
Oops, forgot to scroll.
#
gRegor`
that was Re: technorati still existing
#
kylewm
KartikPrabhu: oh, darn yeah. probably the same issue where it sees content-type=text/html and thinks that's good enough
#
JonathanNeal
Is there indie event management software?
#
aaronpk
oh man so close
#
aaronpk
can't get it to work with pushtate
#
aaronpk
pushstate
#
aaronpk
(make sure to hard refresh to get the new js)
#
aaronpk
then select a few words of text
snarfed joined the channel
#
gRegor`
technorati appears to still work, but in need of attention.
#
gRegor`
the blog link goes to http://technoratimedia.com/tm-blog/ which is a default 404
#
KartikPrabhu
!tell barnabywalters how does php-mf2 get the encoding in http://tantek.com/2014/114/t1/helping-indie-generations-indieweb-article correct even though it has no charset in the response header.
#
Loqi
Ok, I'll tell him that when I see him next
#
tantek
aaronpk - that's fascinating
#
tantek
it does seem to scroll back up to the top of the page after pushstate updates the URL
#
tantek
also the single # version doesn't seem to navigate to that selection in a new tagb
#
tantek
s/tagb/tab
#
Loqi
tantek meant to say: also the single # version doesn't seem to navigate to that selection in a new tab
#
KartikPrabhu
aaronpk: I seem to be getting this fragmention "#you've+successfully created" from this phrase "you've successfully created" why no second + sign?
#
gregorlove.com
edited /User:Gregorlove.com/sandbox (+1401) "rough idea for multi-day events."
(view diff)
#
JonathanNeal
KartikPrabhu: using /g?
#
KartikPrabhu
JonathanNeal: meaning regex? but is that the right fragmention?
#
kylewm
window.location = location + "##" + getSelectedText().replace(/ /, '+');
#
kylewm
should be / /g
#
JonathanNeal
yes, and it should be /\s+/g
#
JonathanNeal
any type of space, including tabs and newlines.
#
KartikPrabhu
aah ok so it is an error
krendil and jedahan joined the channel
#
snarfed
kylewm: hey, just noticed the last few new commits on your PR. is it ready for another look?
#
kylewm
snarfed: hi! so i'm just adding unit tests now (have about 4 left), i don't expect the code to change more than a little
#
snarfed
cool, ok
#
kylewm
so if you are in the mood to review, any time from now into the future is good :)
#
kylewm
well, 5 minutes from now, i can check in what i have
#
KartikPrabhu
kylewm: curious as to what do you use for webmention parsing?
#
snarfed
no hurry!
#
kylewm
which part, KartikPrabhu? parsing out the author and content and stuff?
#
kylewm
no hurry from me either, snarfed, but i'm excited that it's getting close
#
KevinMarks
KartikPrabhu if you forced it to use html5lib does it still mess up encoding?
#
KartikPrabhu
yeah it is not a problem with BeautifulSoup. It is with the requests module which defaults to ISO-whatever if it finds no charset in the response headers
#
KevinMarks
I had hoped that the breathtaking hack stage of encoding parsing was over
#
KevinMarks
Why is that even decoding it?
#
kylewm
I wrote some stuff to do it, I'm not in love with it... https://github.com/kylewm/red-wind/blob/master/redwind/util/hentry_parser.py
#
KartikPrabhu
KevinMarks: I could try using the byte stream and then use html5lib. If that works that'll be brilliant
#
@cczona
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459554637528313856)
squeakytoy joined the channel
#
KevinMarks
That would be more in tune with the python 3 way, no?
#
KartikPrabhu
eh... I am quite ignorant about pythonic ways having been doing python for just about a year
paulcp joined the channel
#
JonathanNeal
I think http://davidwalsh.name/demo/html5-context-menu.php should be the way one creates webmentions
#
JonathanNeal
sorry, fragmentions
#
@cgranade
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459555012788486144)
#
KevinMarks
The old way was try: parse('utf8') except: parse('win1252')
#
KartikPrabhu
KevinMarks: holy mother of encodings! that worked
#
KartikPrabhu
KevinMarks++
#
Loqi
KevinMarks has 25 karma
#
kylewm
hahaha, thats awesome!
#
KartikPrabhu
judas priest... can't beat experienced programmers ;)
#
kylewm
but...does it ignore the http-header encoding?
#
KartikPrabhu
I think it treats it as a byte-string and uses the charset in HTML due to the html5lib :D
#
kylewm
snarfed: I'm happy with what's in the repo as of now, feel free to review with extreme prejudice
#
snarfed
kylewm: cool, will do
#
KartikPrabhu
updating mf2py with this neato fix
#
kylewm
oh i mean, but what if the encoding is ONLY in the http header
chrissaad joined the channel
#
kylewm
do we lose it by skipping the requests.text decoding?
#
kylewm
lemme see if i can set up a test endpoint for you to try it against
#
@jhelwig
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459556537103425536)
#
KartikPrabhu
kylewm: yup! just use r.content instead of r.text in making the BS object :)
#
KartikPrabhu
kylewm, snarfed: should I force mf2py to use html5lib? I have refrained so far so as to fall back to the default python parser if html5lib is not installed
#
kylewm
my understanding is that libxml is a whole lot faster...
#
kylewm
sorry lxml
benwerd joined the channel
#
KartikPrabhu
yeah it is. so default order is lxml>html5lib>pythonparser
#
KartikPrabhu
kylewm: re: redwind mentions parsing: if I am not wrong, you don't make room for the fact that the webmention url has no microformats...
#
KartikPrabhu
re: html5lib: it is already in themf2py requirements.txt anyway
#
KevinMarks
I'd say prefer html5lib because it is reliably doing what the spec says
#
KevinMarks
I'm sure your test sites mostly have valid xml
#
kylewm
KartikPrabhu: would you plz try this with your new setup http://kylewm.com/test/encoding
#
KevinMarks
But as you hit more, you want the HTML5 wisdom
#
kylewm
it sounded like lxml performed ok with less-than-valid xml
#
kylewm
but html5lib does sound safer
#
KartikPrabhu
kylewm: that endpoint does not work as no charset in head :)
#
KartikPrabhu
put charset and I can attempt again :)
#
kylewm
that was my point ;)
#
kylewm
charset only in the http header
#
KartikPrabhu
oh so in this case r.text is better than r.content ... what a nightmare :P
#
KartikPrabhu
KevinMarks: it seems encoding nightmares haven't gone away yet!
#
KevinMarks
I used to have to do that try/except thing for each text run independently
#
KevinMarks
Because bloggers would copy and paste
#
kylewm
oh lordy
#
KevinMarks
If you copy win1252 with a shift-space in, it's invalid utf8
#
KevinMarks
Invisible to the blogger, throws an exception
#
KevinMarks
Pretty sure universal feed parser coped with all the ways encoding could be expressed. I'll go look it up
#
KartikPrabhu
I could explicity look up charset in headers?
#
KartikPrabhu
so if charset exists in headers use r.text else use r.content
#
kylewm
KevinMarks: php-mf2 seems to get it right too
#
kylewm
we're just not sure how
#
KartikPrabhu
I did leave barnabywalters a message... lets see what he says. though his timezone is diff.
#
kylewm
and kartik, you're right, hentry_parser doesn't return anything useful when there are no microformats
#
KartikPrabhu
kylewm: ok cool . was working on my own parser to return good default just in case. Will make it public soon
#
KevinMarks_
it's not pretty
#
kylewm
KartikPrabhu: I have been wondering about a mf2 'normaliser' for webmentions that would take mf2 json and return mf2 json, but with things filled in and moved around if necessary
#
KartikPrabhu
KevinMarks_ that is what requests does. it defaults to ISO-blah if the type is "text/html" and no charset is found. but then the HTML contains charset with UTF-8
#
KartikPrabhu
kylewm: I am doing this only for webmentions and returning a nice mention dictionary/object
#
kylewm
nice mention dictionary/object == mf2?
#
KartikPrabhu
no. containing proeprties that a mention would want, like author-details, truncated content etc...
#
KevinMarks_
and 220 encoding tests
#
KartikPrabhu
kylewm: i'll put it up soon and you should feel free to add/improve it if it suits your needs better :)
#
KevinMarks_
and a test suite that includes a custom http server to send bad headers
#
Loqi
markp has 1 karma
#
KartikPrabhu
will play with those. thanks KevinMarks_
#
KevinMarks_
hm html5lib has a lot of encoding tests too
#
KevinMarks_
also chardet
#
KartikPrabhu
requests uses chardet to decide defaults and it fails for tantek's posts
#
KartikPrabhu
the problem is when requests and html5lib are in conflict which on to trust more
#
kylewm
KevinMarks_ so tantek return's Content-Type: 'text/html' in his http headers. the RFC says to default to ISO-8859-1 for text/html if no charset is defined, so isn't the HTTP header effectively specifying a charset (albeit the wrong one)?
v0 joined the channel
#
KartikPrabhu
kylewm: updated mf2py with workaround. Let me know if you find a better solution :)
#
kylewm
ah, clever workaround
#
kylewm
thumbs up
cweiske, becker_11 and snarfed joined the channel
#
KartikPrabhu
sounds like a great opportunity for folks
#
@sarahsharp
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459580511183073281)
#
@kevinmarks
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459580913815285760)
#
@markodugonjic
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459581792438484992)
#
@markperera
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459582081883193344)
#
@roseg
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459582402860314624)
dybskiy joined the channel
#
@_swanand
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459583748212674560)
jacus and dybskiy joined the channel
#
@s_jeanne
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459586103646117888)
jacus and LauraJ joined the channel
#
@AAinslie
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459591253827784704)
#
@parkparadigm
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459591530547011584)
#
@odysseus_nz
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459592860980228097)
eternicode joined the channel
#
@wholemilk
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459594118524448769)
friedcell joined the channel
#
tantek
wow benwerd you touched a nerve
#
@shobhitic
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459598420773060608)
eschnou, eternicode, BjornW, dybskiy, Guest70785, glennjones, pasevin and dybskiy_ joined the channel
#
@glennjones
On the plus side Moves has provided good data export, time to start writing an importer into my own data site #indieweb
(twitter.com/_/status/459620483701690368)
eschnou joined the channel
#
@bijendrakr
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459623652237905920)
friedcell and dybskiy joined the channel
#
@martinezjavier
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459629860651274240)
adactio and barnabywalters joined the channel
#
Loqi
barnabywalters: KartikPrabhu left you a message 6 hours, 10 minutes ago: how does php-mf2 get the encoding in http://tantek.com/2014/114/t1/helping-indie-generations-indieweb-article correct even though it has no charset in the response header.
#
barnabywalters
it’s the only fool-proof way I’ve found to parse HTML using PHP
#
barnabywalters
DOMDocument has weird issues with unicode by default
#
barnabywalters
it’s a bit nasty, but it works perfectly
dybskiy and Guest70785 joined the channel
#
@ppatel
Great deal. Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459652800797220864)
dybskiy joined the channel
#
@szakulec
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459657781289955328)
jedahan, Guest70785, eschnou, tantek and scor joined the channel
#
@jenmylo
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459668347919945728)
#
@andrea_r
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459668430896259073)
scor joined the channel
#
@jthomasgriffin
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459671950504103936)
dybskiy, netweb, pasevin and squeakytoy joined the channel
#
@DullesTech
Fascinating talk at Loudoun Startups event last night w/ @BigDataDistrict. Advocating for a Data Bill of Rights #OwnYourData
(twitter.com/_/status/459676402024189952)
pasevin and brianloveswords joined the channel
#
@BigDataDistrict
RT @DullesTech: Fascinating talk at Loudoun Startups event last night w/ @BigDataDistrict. Advocating for a Data Bill of Rights #OwnYourData
(twitter.com/_/status/459682341833551873)
#
@jason_coleman
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459683273997037568)
#
@bmoredrew
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459683686623895553)
cweiske, ttepasse, becker_11 and chloeweil joined the channel
#
@patpound1
“ deal. Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …”
(twitter.com/_/status/459685597938843649)
dybskiy joined the channel
jedahan and indie-visitor joined the channel
#
Loqi
Welcome, indie-visitor! Set your nickname by typing /nick yourname
jedahan joined the channel
#
barnabywalters
greetings txkimmers! welcome to #indiewebcamp
#
GWG
Hello again, barnabywalters
#
barnabywalters
afternoon GWG
#
GWG
What's going on there?
#
ben_thatmustbeme
good morning/afternoon/evening/night all
#
GWG
ben_thatmustbeme: Greetings.
#
ben_thatmustbeme
what are you guys up to?
#
GWG
ben_thatmustbeme: I need to pack up and head back home to NYC so I can be at indiewebcamp tomorrow
#
GWG
But I'm procrastinating and looking at the theme I've been working on that I want to deploy to my site
#
GWG
I think I'm nearly there
#
GWG
ben_thatmustbeme: How do you think this is coming along? http://tiny.n9n.us
#
GWG
I think, a few more tweaks, and I'll do the rest of the dev work on the live site
#
ben_thatmustbeme
its looking good
#
ben_thatmustbeme
haha, that generic brand video
#
Loqi
awesome
#
ben_thatmustbeme
ironically, thats from the people who bought my twitter handle from me
#
ben_thatmustbeme
they paid for my trip to niagara falls
#
GWG
Small world. I just googled generic.
#
GWG
It is a test site
#
barnabywalters
ben_thatmustbeme: ha ha wow that’s hilarious
#
barnabywalters
what was the twitter name?
#
ben_thatmustbeme
yeah $1500 for @dissolve wasn't too bad considering i don't use it too much
#
GWG
I can't figure out if I could put the social icons somewhere better
#
ben_thatmustbeme
GWG: I think they look pretty good there, though it does take up a lot of room since you need all that space to the left of it
#
ben_thatmustbeme
i like the circles, perhaps at the bottom of the side bar?
#
GWG
Bottom or top of the side bar?
#
ben_thatmustbeme
bottom, otherwise it would look funny
#
GWG
I don't like the side bar styling.
#
ben_thatmustbeme
the titles in the side bar need more spacing on the left for sure
#
GWG
ben_thatmustbeme: I haven't worked on that part much yet. I don't like how it looks.
#
GWG
I've been working on the basic page layout and the content types.
#
GWG
And the sidebar widgets are not the ones I would use. They are just stock.
#
GWG
I'll probably put an h-card there
#
ben_thatmustbeme
yeah. but i like the design, the rounded cards look is nice
#
ben_thatmustbeme
i have a lot of work to do on mine design wise
#
GWG
ben_thatmustbeme: I looked at Google+, Twitter, and Facebook...
#
GWG
They all use cards, but not rounded ones.
#
GWG
The boxes all look the same
#
GWG
I'm in that family, but different enough
#
GWG
Well, as I've mentioned...want to distribute this to others who want an MF2 compliant theme.
#
txkimmers
o hi! Sorry was in another window, hello hello
#
ben_thatmustbeme
yeah. Its coming along great for sure
#
GWG
Hello, txkimmers
#
barnabywalters
GWG: http://tiny.n9n.us/ is looking good! might I suggest making the drop shadows a little more subtle?
dybskiy joined the channel
#
barnabywalters
GWG: e.g. here is the design with 10px border radius and box-shadow: 0 0 5px #BBB
#
barnabywalters
ooh, responsive too! nice work
becker_11 and snarfed joined the channel
#
ben_thatmustbeme
ohh, it is! *tests* nice!
#
GWG
barnabywalters: Responsive was the goal.
#
GWG
But I think I will do the softer shadows.
#
GWG
More Social Media like
#
GWG
There we are
#
barnabywalters
GWG: when it comes to things like this ask: what is the value of the shadow? what is it doing? what’s the minimum amount of visual noise and code required to achieve that?
#
GWG
I need to read up on design principles.
#
barnabywalters
in this case, the shadows are giving “thingness” to the posts, making them appear like distinct things
#
barnabywalters
but you barely need any shadow to achieve that
#
GWG
This is my first major design project in a while.
#
barnabywalters
GWG: no worries, design is hard :) I’m not much good at it myself
#
dhornbein.com
edited /2014/NYC/Guest_List (+287) "/* Creators */"
(view diff)
#
barnabywalters
but simply asking “what is this doing” and “how can it be done better” are hugely beneficial
#
GWG
barnabywalters: I've been playing with layout for two weeks now.
#
GWG
I spent a lot of time on the entry metadata, and I'm still not sure of the positioning
#
GWG
I also commented out the Wordpress comment form because it was messing up the layout. I need to write my own
#
GWG
Then it was KartikPrabhu who was making a case for disabling comments in favor of webmentions entirely.
#
@elioverbey
RT @benwerd: Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb …
(twitter.com/_/status/459708604929437697)
#
@jalbertbowdenii
@getify #indieweb #indieweb #indieweb #freesoftware #indieweb #mozilla #eff #indieweb
(twitter.com/_/status/459709059630133248)
brianloveswords and fungoat joined the channel
#
GWG
I want to thank both of you for your suggestions
#
@PD90
@jnadeau7 Stripe will pay open source developers $7.5k/month to focus on their projects for 3 months: https://stripe.com/blog/stripe-open-source-retreat #indieweb
(twitter.com/_/status/459714563379068928)
caseorganic and dybskiy joined the channel
#
@kyle_wm
Great article! Brace yourself for more attention #indieweb RT @dangillmor Why the Indie Web movement is so important http://dangillmor.com/?p=1173
(twitter.com/_/status/459719371284172802)
snarfed and dangillmor joined the channel
#
dangillmor
Just in time for the NYC camp, I finally got that piece on #indiewebcamp done. It's at Slate: http://www.slate.com/blogs/future_tense/2014/04/25/indiewebcamps_create_tools_for_a_new_internet.html and (of course) on my blog http://dangillmor.com/2014/04/25/indie-web-important/
#
barnabywalters
nicely done dangillmor!
#
barnabywalters
dangillmor: one small weirdness about that article: it links to https://indiewebcamp.com/webmention%E2%80%8E
#
dangillmor
from where?
#
barnabywalters
from your blog
#
barnabywalters
the link does actually work, it just looks a bit weird
#
dangillmor
hmmm, in my html it shows up as a normal link: <a href="https://indiewebcamp.com/webmention”Ž">webmention</a>"
#
@iboxifoo
RT @kyle_wm: Great article! Brace yourself for more attention #indieweb RT @dangillmor Why the Indie Web movement is so important http://t.…
(twitter.com/_/status/459723213279211520)
#
barnabywalters
hrm yes that is true
#
barnabywalters
maybe it’s some weird firefox issue
iangreenleaf and tantek joined the channel
#
JonathanNeal
KartikPrabhu I can add to the chrome extension so that you get a “create fragmention” item in your context menu.
#
JonathanNeal
thoughts?
Guest70785 joined the channel
#
GWG
Time to hit the open road...onward to Indiewebcamp NYC
eschnou, scor and KevinMarks joined the channel
#
barnabywalters
weird pattern
#
barnabywalters
* make extremely simple, constained platform
#
barnabywalters
* it becomes popular
#
barnabywalters
* sell THE ABILITY TO ADD PICTURES AND TEXT TO POSTS
#
barnabywalters
sort of an artificial scarcity
#
barnabywalters
of rich content
scor joined the channel
#
bret
artificial scarcity, the worst kind of scarcity
eschnou joined the channel
#
barnabywalters
bret: yeah, artificial purely because one company holds the power
#
barnabywalters
just as facebook is creating artificial scarcity of transmission
#
barnabywalters
advertising: “pay to show your content to people who don’t want to see it”
squeakytoy joined the channel
#
barnabywalters
facebook: “pay to show your content to people who *do* want to see it”
dybskiy and _6a68 joined the channel
#
tantek
see you in NYC GWG!
#
barnabywalters
tantek: have a good time!
#
barnabywalters
try to persuade the NYT to accept indieweb comments :P
#
tantek
barnabywalters: will do!
#
bret
tantek GWG: what are you going to work on for the hack day?
#
tantek
webmentions to articles! that would be awesome
#
tantek
maybe we can start with getting their blogs to accept webmentions
#
tantek
bret - I've got my Markup for Personal Comms blog post almost ready. So I'm likely going to work on getting all the CSS to work.
paulcp joined the channel
#
bret
Sweet!
#
KevinMarks
Do we need to recheck the links? The other night some seemed to fall
#
bret
KevinMarks++ on your fragments work!
#
Loqi
KevinMarks has 26 karma
#
KevinMarks
Thanks bret but Jonathan is doing the legwork there while I bicker about it
#
barnabywalters
JonathanNeal++
#
Loqi
JonathanNeal has 6 karma
jedahan and dybskiy joined the channel
#
bret
JonathanNeal++
#
Loqi
JonathanNeal has 7 karma
dybskiy_, paulcp_, snarfed and jedahan joined the channel
#
@ellisonthomas
#IndieWebCamp this weekend in NYC for all the decentralized types. https://slate.me/1nMKwtX
(twitter.com/_/status/459740325419180032)
#
tantek
so Twitter wants sites to pay to have "Website Cards" show up?
#
tantek
I don't get it. FB doesn't charge to have OGP link-preview information show up.
j12t joined the channel
#
barnabywalters
tantek: no, they charge to have *anything* show up consistently
#
tantek
I tried checking out the slate.me link in this tweet and the domain is unresponsive: https://twitter.com/ellisonthomas/status/459740325419180032
#
@ellisonthomas
#IndieWebCamp this weekend in NYC for all the decentralized types. https://slate.me/1nMKwtX
(twitter.com/_/status/459740325419180032)
#
tantek
oh there it is
#
tantek
go dangillmor!
#
aaronpk
yeah Loqi should be un-shortening the link
#
aaronpk
awesome post dangillmor!
dybskiy joined the channel
#
dangillmor
Appreciated the help of folks here... Fantastic community you've developed.
#
kylewm
somebody create /POSSE_to_Slate!
dybskiy_ joined the channel
#
tommorris
This evening, I’m trying to put my weird OSM back-end stuff into production so that Indiewebsters can build 4sq-a-like stuff on top of OpenStreetMap
#
tantek
just finished the Slate article - great job dangillmor
#
tommorris
CloudMade, the API I’m using for my checkins on tommorris.org is discontinuing their API service on May 1
#
tantek
dangillmor++
#
barnabywalters
tommorris: great! is that the venue searching?
#
Loqi
dangillmor has 3 karma
#
aaronpk
maybe that 'll be the thing that tips me over to actually start doing checkins on my site
#
aaronpk
dangillmor++
#
Loqi
dangillmor has 4 karma
ekuo_ joined the channel
#
tommorris
barnabywalters: yep. basically an API that lets you send off a lat-long and get back a list of venues.
#
tommorris
barnabywalters: I’ve had an internal test server running for a while that just does the UK.
#
tommorris
but this evening I’m going to import the whole world!
#
barnabywalters
tommorris: that’s so awesome — how large is the file?
#
tommorris
and I’m planning to make it so the API will be available to indiewebsters to help test and debug
#
barnabywalters
well I can test out Reykjavik
#
tommorris
barnabywalters: about 24Gb
#
tommorris
that 24Gb needs to basically run through my laptop and into the database
#
tommorris
the plan is the tooling I build around it will be open source so you can run your own location server.
#
tommorris
and get daily updates of the database
#
tommorris
or if you meet the simple criteria of (a) have your own domain that you post status-like updates to which POSSE to Twitter and (b) you nudge me on IRC, you’ll get a key to use my server. ;)
dybskiy joined the channel
#
bret
dangillmor++
#
Loqi
dangillmor has 5 karma
dybskiy joined the channel
#
KartikPrabhu
JonathanNeal: browser extension to get fragmention would be awesome!
npdoty joined the channel
#
@s_francoeur
<3 the decentralizing-the-web ideas behind IndieWebCamp: "a people-focused alternative to the ‘corporate web’" https://indiewebcamp.com/
(twitter.com/_/status/459752004081184770)
#
KevinMarks_
dangillmor++
#
Loqi
dangillmor has 6 karma
benwerd joined the channel
#
KevinMarks_
JonathanNeal: yes! I think that would be great and help make the longer fragmention links we need to make this clearer
#
JonathanNeal
Cool, I will get to that.
#
KevinMarks_
JonathanNeal: are you special-casing + in fragmentions or is the browser decoding that?
#
JonathanNeal
KevinMarks_: special case, decoding is decodeURIComponent, then `+` plus as ` ` space.
#
KevinMarks_
shows how old I am, assuming + still meant space...
#
JonathanNeal
encoding is trim, encodeURI, then ` ` any space collapsed as single `+` pluses.
#
JonathanNeal
I think `+` plus already means ` ` space in other parts of the URL.
#
kylewm
silly question, is there a wiki page that has pros/cons of having the slug be part of the post “ID”?
KevinMarks_ joined the channel
eschnou joined the channel
#
@jeremyzilar
An good explainer on how the #indieweb is changing the way communication happens between websites http://kartikprabhu.com/article/indieweb-love-blog
(twitter.com/_/status/459761942010535936)
#
kylewm
""“
#
tantek
kylewm we had a discussion a while ago in IRC but I'm not sure it was captured
#
tantek
about slugs being purely for human friendliness / search
#
tantek
rather than actually being any necessary part of the id
#
tantek
as they are human readable text, they should be human editable as well, to be more forgiving to authors/publishers that may wish to change them.
#
tantek
without having to worry about breaking anybody's permalinks
#
tantek
nor having to keep track of all previous slugs
#
KevinMarks_
though it is amusing when journalists change the headline but the slug has the old one
#
tommorris
yep. especially if the old permaslug was insulting
#
kylewm
ha, that's true
#
KevinMarks_
hm, so slugs are a but fragmentiony then
bnvk joined the channel
#
@t
“gather to hack together tools aimed at liberating us … from centralized control” http://www.slate.com/blogs/future_tense/2014/04/25/indiewebcamps_create_tools_for_a_new_internet.html #indiewebcamp (ttk.me t4Vk1)
(twitter.com/_/status/459768698933608448)
#
ben_thatmustbeme
hmm, slugs on my page are actually not necessary to do the lookup. I could actually use the slug as a fragmention input
#
ben_thatmustbeme
just random idea i though of
#
KevinMarks_
which site was it that generated the H2 from the slug in the URL, so you could edit their headlines in links you sent to someone else?
#
aaronpk
whaaa cool
#
ben_thatmustbeme
that seems like it could be abusable is so many many ways
#
KevinMarks_
I think they fixed it, this was a few years ago.
#
aaronpk
oh, accidentally? lol
#
tantek
yes - that was a bad design
#
KevinMarks_
it was Slate or Salon or one of those sites
#
tantek
you have a movement, not when you declare it yourself, but when other people say you do: http://www.slate.com/blogs/future_tense/2014/04/25/indiewebcamps_create_tools_for_a_new_internet.html
bnvk joined the channel
#
tantek.com
edited /Posts_about_the_IndieWeb (+164) "Dan Gillmor's article"
(view diff)
KartikPrabhu joined the channel
#
tommorris
It’s very disappointing that a lot of web fonts don’t provide small-caps variants.
#
@erhanerdogan
RT @t: “gather to hack together tools aimed at liberating us … from centralized control” http://www.slate.com/blogs/future_tense/2014/04/25/indiewebcamps_create_tools_for_a_new_internet.html #indiewebcamp (ttk.me t4Vk1)
(twitter.com/_/status/459771793944117248)
#
@t
Writing & *doing*: @dangillmor post on his own site about #indieweb: http://dangillmor.com/2014/04/25/indie-web-important/ and syndicates to Slate. (ttk.me t4Vk2)
(twitter.com/_/status/459772054884335616)
#
KartikPrabhu
tommorris: or other variants, but that keeps them absurdly small in file size
#
@dietrich
RT @t: “gather to hack together tools aimed at liberating us … from centralized control” http://www.slate.com/blogs/future_tense/2014/04/25/indiewebcamps_create_tools_for_a_new_internet.html #indiewebcamp (ttk.me t4Vk1)
(twitter.com/_/status/459772945330495490)
#
kylewm
KartikPrabhu: dangillmor's post is a good example of backcompatibility stuff, if you are still thinking about that
#
KartikPrabhu
oh yeah I also have an example from jeremyzilar
#
tommorris
KartikPrabhu: you’ve got some UTF-8 issues on that page. "Tantek Çelik” :)
#
tantek
oh he knows :)
#
KartikPrabhu
yeah just fixed those last night :) and also in mf2py ;)
#
kylewm
did you see barnaby's response, btw?
#
kylewm
looks like there is a magic php incantation
#
KartikPrabhu
have to fix some datetime things too since tantek does not have timezone in his post published datetime
#
@dangillmor
Re IndieWeb tech, here's a piece that's more technical than mine but still pretty easy to understand http://kartikprabhu.com/article/indieweb-love-blog
(twitter.com/_/status/459774590349479936)
#
@benwerd
RT @dangillmor: Re IndieWeb tech, here's a piece that's more technical than mine but still pretty easy to understand http://kartikprabhu.com/article/indieweb-love-blog
(twitter.com/_/status/459774669759868928)
#
tantek
yes I need to fix timezone stuff on my end
#
KartikPrabhu
kylewm: yes. but it seems that it is also some weird hack. and he seems to be doing it on an entity basis instead of document level
#
tommorris
KartikPrabhu: thanks. at work, we’ve been having all sorts of fun and games with Unicode and the strange theology of URIs vs. URLs vs. IRIs
#
KartikPrabhu
reconstruction of URL to IRI .... so confused. they all seem like the same thing to me
#
KartikPrabhu
dangillmor: thanks for the plug ;)
#
dangillmor
KartikPrabhu: well deserved.
#
tantek
KartikPrabhu: better fix that UTF8 bug now, with all the traffic that DanGillmor is sending you ;)
#
KartikPrabhu
oh! boy...
#
KartikPrabhu
that post has already gotten more traffic than anything else on my site
#
KevinMarks_
barnaby's trick is a bit of voodoo really. It relies on PHP not representing encoding well
#
KevinMarks_
encoding--
#
Loqi
encoding has -1 karma
#
tommorris
leakyabstractions--
#
Loqi
leakyabstractions has -1 karma
#
KartikPrabhu
it looked like a lot of voodoo. good voodoo
#
tommorris
given how much everything on the web is a hack on top of a hack, it’s astounding any of it works.
#
KevinMarks_
it's a cheat so you can use an xml parser that doesn't grok unicode by munging the non-ascii chars into entities
#
KevinMarks_
I suspect you may still have some "but it's HTML not XML" issues
#
kylewm
that was something i didn't quite understand, don't you have to decode it at least partially to read <meta charset=>?
#
KartikPrabhu
tantek: fixed UTF8 http://kartikprabhu.com/article/indieweb-love-blog#responses see last one. the trouble is since you don't have timezone. my code chokes and uses current time so your response is always the last one whenever I resubmit it :P
friedcell and paulcp joined the channel
#
KevinMarks_
hm, should do a 2048 for web spec versions
#
KevinMarks_
it's be like the nuclear fusion one where you end up on the wrong path of XML if you're not careful
#
KartikPrabhu
i play that on tile-colours alone now
#
ben_thatmustbeme
no, oh god no, no more 2048. i have a compulsion to try them all
#
KevinMarks_
did you see the fusion one?
#
KevinMarks_
that ruled
#
ben_thatmustbeme
KartikPrabhu, I play color only now too thanks to that nutty numberwang one
#
@Arty2
RT @t: Writing & *doing*: @dangillmor post on his own site about #indieweb: http://dangillmor.com/2014/04/25/indie-web-important/ and syndicates to Slate. (ttk.me t4Vk2)
(twitter.com/_/status/459777265585635329)
#
KartikPrabhu
ben_thatmustbeme: never understood the numberwang. but i guess you'd have to watch that show
#
KartikPrabhu
man! the fusion ones also have nuclear decay! brillaint... and harder :)
#
ben_thatmustbeme
I didn't watch it, but as far as rediculousness, it takes the cake
#
ben_thatmustbeme
yeah, i noticed that
#
ben_thatmustbeme
thank you KevinMarks_ You just killed hours more of my life.... I hate you
#
KevinMarks_
watching the numberwang videos is worth it, there's youtube playlist
#
KevinMarks_
make sure you scroll down and read the fusion paths
#
KevinMarks_
and look out for Magnesium
#
KartikPrabhu
yup! Mg is pretty bad
#
KartikPrabhu
stupid stable nucleus!
#
@NateSavery
RT @dangillmor: Re IndieWeb tech, here's a piece that's more technical than mine but still pretty easy to understand http://kartikprabhu.com/article/indieweb-love-blog
(twitter.com/_/status/459778197228638208)
#
KartikPrabhu
ok enough indiechat
jedahan joined the channel
#
tantek
KartikPrabhu: timezone is optional anyway
#
tantek
so your code *should* handle that *somehow*
#
KartikPrabhu
agreed: so it is a bug on my part :)
#
tantek
like assume UTC - and leave any error on the authors part
#
KartikPrabhu
you are good at breaking things :P
#
KartikPrabhu
ooo I have a Greek name in my responses list in Greek! looks rad!
j12t joined the channel
#
tantek
right I need to fix my tz
#
KartikPrabhu
tantek: turns out might code handles no tz but it coughs up since you don't have seconds in the time!!
#
@penartur
RT @t: Writing & *doing*: @dangillmor post on his own site about #indieweb: http://dangillmor.com/2014/04/25/indie-web-important/ and syndicates to Slate. (ttk.me t4Vk2)
(twitter.com/_/status/459781452927102976)
#
KartikPrabhu
s/might/my
#
Loqi
KartikPrabhu meant to say: tantek: turns out my code handles no tz but it coughs up since you don't have seconds in the time!!
#
KartikPrabhu
is "2014-04-24T16:45" even a valid datetime string?
#
tantek
yes of course it is
#
KartikPrabhu
hmm weird! ok should not rely on regex magic so much
#
tantek
requiring seconds is a silly error on the part of Atom, W3CDATETIME and other specs which errantly force artificial precision
#
tantek
this is fixed in HTML5 :)
#
tantek
and thus, microformats
#
KartikPrabhu
aah I see. makes sense :)
#
tantek
we are simplifying and fixing specs of old one at a time
#
KartikPrabhu
so your posts are precise only to the minute
#
tantek
replacing backend plumbing-centric thinking with user/author/publisher-centric thinking
gavinc and dybskiy joined the channel
#
KartikPrabhu
I should stop agreeing so much since I was accused of promoting concurrence by Joschi Kuphal
#
Loqi
yea!
#
KevinMarks_
given that actual posts take an hour to write, even minute precision is excessive
#
KartikPrabhu
KevinMarks_: even for published date?
#
KevinMarks_
I realised this when adding them by hand on my fragmentions posts
#
kylewm
you were accused of promoting concurrence in a visually appealing way at least
#
KartikPrabhu
lol sure! :)
fungoat joined the channel
#
KartikPrabhu
I'll take it since I am usually accused of not conforming. <sigh> you can never win!
#
rascul
<sigh> isn't a valid html tag
#
KartikPrabhu
well it should be!
#
KartikPrabhu
it will be with Web Components
eschnou and hallettj joined the channel
#
KevinMarks_
wondering if I should write another fragmention post after the whatwg bickering yesterday
#
ben_thatmustbeme
what? what whatwg bickering. I missed that
#
KevinMarks_
though I think the browser plugins getting more featureful would argue this better than me ranting
#
ben_thatmustbeme
I really just wanted to start that message with what 3 times
#
KevinMarks_
JonathanNeal and I were talking fragmentions in there and fragmentions were accused of being insane, ugly, namespace thieves
#
KartikPrabhu
ugly thieves are better than pretty ones
#
KartikPrabhu
take that Hollywood
#
ben_thatmustbeme
thats not really the response I would have expected, It seems like it would be pretty useful
#
ben_thatmustbeme
I used to love that the acrobat plugin had that functionality until they took it away
#
ben_thatmustbeme
i think there they used .pdf?q= or something like that. Seems like fragmention would be a much better way to standardize such things
#
KevinMarks_
that list is people very committed to the structure of HTML - talking about the text throws them off
#
KevinMarks_
it's like a blood/brain barrier or something
#
JonathanNeal
## seems like a good idea. I’m not sold on # but I’m happy to have it in our experimental javascript in order to let people see the possibilities and make decisions for themselves.
#
KartikPrabhu
!tell snarfed: regarding https://github.com/snarfed/webutil/blob/master/util.py#L251 I though ISO8601 timezones were for the form %hh:mm not %hhmm
#
Loqi
Ok, I'll tell them that when I see them next
#
KevinMarks_
I now think ## gets us into redefinition of URL problems
#
ben_thatmustbeme
indeed. The single # seems to really start to conflict with things. A browser plugin that takes whatever is in ## and automatically does a "search in page" would be really nice
#
KevinMarks_
whereas # is valid and safe
#
KevinMarks_
as long as it has a space in
#
KevinMarks_
though apparently my + assumption means it will clash as IDs can have + in and + means + in fragments
#
kylewm
you two just said the opposite things right? ^
#
KevinMarks_
so that'll teach me
#
KevinMarks_
they conflict in different ways
tantek joined the channel
#
hallettj
KartikPrabhu: According to Wikipedia, both forms are acceptable in ISO 8601. http://en.wikipedia.org/wiki/Iso8601#Time_zone_designators
jedahan joined the channel
#
KartikPrabhu
hallettj: oh! man... tz is another nightmarish deep rabbit hole
#
hallettj
8601 is my favorite ISO standard :)
#
ben_thatmustbeme
yeah, we did, honestly, i'm open to either, I think if you look at it as wanted to reference exact point in text, #makes sense as you have to have at least one word to really find a unique spot. If you want to think of it as searching in a more traditional way ## with ++ for an offset I think makes more sense
#
tantek
concurrence? is that another word for interoperability?
#
KartikPrabhu
tantek: this about my accussation? that is what I thought too. but hey I shouldn't agree with you always, all the time ;)
#
KevinMarks_
did you see kbs's hack of annotations?
#
tantek
KartikPrabhu: you've disagreed and debated plenty of times here in IRC :)
#
KartikPrabhu
oo nope... show me
#
tantek
and we've all learned from the discussions
#
tantek
did not
#
KartikPrabhu
tantek: I know, but somehow that is not in the public eye, even though it is...
#
JonathanNeal
kylewm: yes, there are two camps on ## and #. I really think ## removes a majority of conflict. KevinMarks_ may have expressed a good point about categorical versus statistical reasoning that leads to these differing opinions.
#
JonathanNeal
See, and there I just accidentally tried to make my point. It’s hard not to want to convince.
#
KartikPrabhu
KevinMarks_: so the annotation is in the URL?
#
KevinMarks_
yes, you can make it say anything on the page
#
KartikPrabhu
oh this is 'annotations' not 'micro-level comment'
#
tantek
KartikPrabhu: btw, concurrence is a natural result of participating in a community. after debate, we usually end up at an agreed on best answer - often better than what any one person comes up with.
#
tantek
and Twitter @-replying sucks for discussion.
#
tantek
IRC works much better
#
KartikPrabhu
yeah I was going to reply to Joschi with a post saying that, but I would have been too acrebic :)
#
KartikPrabhu
KevinMarks_: this is what I thought of annotations, before the word was commandeered to mean "frag-level comments"
#
tantek
you can turn it into a positive and ask him to join us in IRC
#
KartikPrabhu
yeah. I might do that over the weekend
#
KartikPrabhu
just need to be in a not foul mood ;)
#
KevinMarks_
KartikPrabhu: well, what we heard at the meeting was that there are lots of kinds, but cross document is more interesting than within document
#
ben_thatmustbeme
kbs++ That is pretty sweet!
#
Loqi
kbs has 2 karma
#
KartikPrabhu
KevinMarks_: this is a neat idea for sure!
#
KartikPrabhu
is now wondering if someone sends such a webmention should it be posted as a comment?
#
KevinMarks_
well, fragmentions+webmentions was where we started this
#
KevinMarks_
'cos you wanted per paragraph comments
#
KartikPrabhu
yup! I should really put up a test post. This weekend will hack around to getting that. Then I can work on the UI in the wild
#
tantek
KartikPrabhu - you could always implement future/scheduled posts, and write a draft for us to review here :)
#
KartikPrabhu
is taking on too mcuh for one weekend :P
#
tantek
e.g. here is how I hacked it up in Falcon: http://indiewebcamp.com/scheduling#Tantek
#
KartikPrabhu
tantek: but then I'll have to implement "draft" over the weekend :D
benwerd_ joined the channel
#
tantek
draft? just scheduled :D
#
GWG
is finally home
#
tantek
I have no distinction between draft/published
#
tantek
there is only the difference in dt-published
#
tantek
slap on a little UI to set the publication date in the future ;)
#
tantek
have everything else key off of that
#
KartikPrabhu
aah I see. neat idea. So your stream only shows posts from the 'past'
#
KartikPrabhu
ooh I should be able to do that easily! will have to remember to change RSS/Atom code to follow that
#
KartikPrabhu
last time I messed with my posts i broke my RSS/Atom by forgetting to update its backend
paulcp_ joined the channel
eternicode and jedahan joined the channel
#
tantek
KartikPrabhu: exactly!
#
tantek
it was so little code it was amazing
#
tantek
and I author my dt-published by hand anyway so there was no additional work for the "UI"
chrissaad joined the channel
#
KartikPrabhu
yeah my published can also be changed manually
dybskiy joined the channel
#
ben_thatmustbeme
huh, I should add that, so easy.
npdoty joined the channel
#
GWG
I drove for several hours, and I'm back to doing web. I think I fixed the Youtube video embed not being responsive.
#
KartikPrabhu
GWG: neat... how? I tried real hard to do that once and failed
#
GWG
I found someone who had figured it out and stole their code?
#
KartikPrabhu
the best way! ;)
#
@gRegorLove
If you're interested in the #indieweb, there is a Chicago meeting every two weeks: http://indiewebcamp.com/events/2014-05-07-homebrew-website-club Come join us!
(twitter.com/_/status/459796428462620672)
ekuo_ joined the channel
#
GWG
I just googled Youtube responsive wordpress
#
GWG
Works perfectly
#
KartikPrabhu
strange! I am surprised that CSS works.
#
KartikPrabhu
anyway will play with it. thanks :)
ekuo_ joined the channel
#
GWG
KartikPrabhu: Check it out on http://tiny.n9n.us It is working.
Limp_Trizkit, caseorganic and tantek joined the channel
#
GWG
tantek: Where am I supposed to go tomorrow when I arrive at the times building?
#
GWG
It says details will be provided.
#
KartikPrabhu
GWG: interesting. My confusion is because the iframe element also has a width/height which I thought gets precedence over any other CSS rules.
gRegor` joined the channel
#
KartikPrabhu
GWG: Also nice choice of video... and the theme is coming out really well!
#
GWG
KartikPrabhu: I googled Generic Video
#
GWG
And thank you
#
ben_thatmustbeme
haha, oh the generic video
#
ben_thatmustbeme
Dissolve.com, thank you for my trip to Niagara
#
GWG
More to do. I had to disable the comment form. It wasn't responsive. I need to fix that.
#
GWG
ben_thatmustbeme: It's a beautiful place
#
KartikPrabhu
is this Disqus?
#
GWG
And there is gambling, if you like that sort of thaing
#
GWG
KartikPrabhu: Is what Disqus?
#
KartikPrabhu
oh ok! :) it is a commets-silo if you will
#
KartikPrabhu
s/commets/comments
#
Loqi
KartikPrabhu meant to say: oh ok! :) it is a comments-silo if you will
#
GWG
KartikPrabhu: The built in Wordpress comment form wasn't working for me. So I will write one.
#
KartikPrabhu
aah I see... cool!
#
GWG
I know you are anti-comment, and I'm not saying I'll use it, but you can't not have a comment form
#
GWG
In a theme
#
KartikPrabhu
oh that is a personal choice. I don't expect everyone to go with it :)
#
GWG
I also need to customize author pages, even though I plan on only having one author, category, date, and archive pages
#
KartikPrabhu
specially if you want the theme to be popular ;)
#
ben_thatmustbeme
okay, getting ready to head home
#
GWG
KartikPrabhu: There is an author link I was playing with, but I have it set in CSS to display: none
#
ben_thatmustbeme
have a good weekend all
#
KartikPrabhu
okay, getting ready to arrange Happy Hour... have a good Indiewebcamp NYC.
#
GWG
There will likely be a few things I had by default.
#
GWG
KartikPrabhu: Have fun. I'm off to rest for a few. Drives make me tired
#
GWG
Caught up on my podcasts though
#
@t
Boarded. See you soon New York City. #indiewebcamp Bloggers, blog, link to, pingback http://indiewebcamp.com/2014/NYC/Guest_List to RSVP. (ttk.me t4Vk5)
(twitter.com/_/status/459805099096039424)
#
@jedahan
RT @t: Boarded. See you soon New York City. #indiewebcamp Bloggers, blog, link to, pingback http://indiewebcamp.com/2014/NYC/Guest_List to RSVP. (ttk.me t4Vk5)
(twitter.com/_/status/459805282018033664)
#
@am3thyst
#indiewebcamp looks really cool. wish I knew ahead of time!
(twitter.com/_/status/459806105062092800)
jedahan joined the channel
#
@jedahan
@am3thyst #indiewebcamp is really cool - good people doing good work. I am trying to figure out how to fit it in this weekend too, so hard!
(twitter.com/_/status/459816693603500032)
josephboyle, eternicode, netweb, pauloppenheim1 and snarfed joined the channel
#
Loqi
snarfed: KartikPrabhu left you a message 2 hours, 45 minutes ago: regarding https://github.com/snarfed/webutil/blob/master/util.py#L251 I though ISO8601 timezones were for the form %hh:mm not %hhmm
#
snarfed
!tell KartikPrabhu good eye! looks like the code is right and just the comment is wrong. fixing now.
#
Loqi
Ok, I'll tell them that when I see them next
KevinMarks and eternicode joined the channel