#indiewebcamp 2015-01-27

2015-01-27 UTC
#
KartikPrabhu
loqi playback?
#
Loqi
KartikPrabhu: gRegor` left you a message 1 hour, 51 minutes ago: Coming to HWC this Wednesday?
#
KartikPrabhu
gRegor`: yup
tantek, lukebrooker and wolftune joined the channel
#
GWG
tantek: The plugin you were referring to is https://wordpress.org/plugins/wp-spamshield/
carlo_au joined the channel
#
tantek
with that error message?
#
Loqi
tantek: GWG left you a message 1 hour, 42 minutes ago: There is a problem with too many different WordPress comment solutions
#
GWG
tantek: Yes
#
GWG
Also, who did this?
#
GWG
I'll fix it
#
tantek
probably my mistake :(
#
david.shanske.com
edited /webmention (-3) "Redirected page to [[Webmention]]"
(view diff)
#
tantek
thanks
#
GWG
tantek: I have to rethink my security measures though in light of this.. The problem is some are too draconian.
#
tantek
spam measures at least
#
GWG
DDOS also
#
GWG
I verify the client IPs of pingbacks and trackbacks and flag them
#
tantek
that part seems reasonable
#
tantek
and separable from content-based anti-spam measures
#
GWG
But, my issue is I have nothing to override the moderation.
#
GWG
Until webmention spam comes in, I'm probably safe auto-accepting all webmentions
#
KevinMarks_
hm, this newbase60 in python is missing a decode method: http://faruk.akgul.org/blog/tantek-celiks-newbase60-in-python-and-java/
#
tantek
!tell kylewm, snarfed got a strange error from Bridgy Publish for an RSVP to a FB event: "{ "error": "Error: {u'url': u'https://graph.facebook.com/v2.2/387249418101711/attending', u'id': u'784494321642849'}" }"
#
Loqi
Ok, I'll tell them that when I see them next
#
snarfed
tantek: looking
#
Loqi
snarfed: tantek left you a message 40 seconds ago: got a strange error from Bridgy Publish for an RSVP to a FB event: "{ "error": "Error: {u'url': u'https://graph.facebook.com/v2.2/387249418101711/attending', u'id': u'784494321642849'}" }"
#
tantek
KevinMarks: sxgtonum is the decode
#
snarfed
tantek: my bug, sorry. fixing.
#
KevinMarks_
that's in Java, no Python one
#
tantek
snarfed: np, and thanks for fixing! happy to help find bugs. :)
mlncn joined the channel
#
snarfed
huh. easy fix, but odd that the unit tests didn't catch it
#
tantek
KevinMarks_: perhaps add the decode and submit it in a comment - or ask if you could put it on github?
#
KevinMarks_
I think I'll put it on github and ask forgiveness :D
#
snarfed
tantek: hopefully fixed
#
tantek
snarfed++ confirmed, worked!
#
Loqi
snarfed has 78 karma
#
snarfed
great!
#
snarfed
now to figure out how to fix the tests
mdik_ and KartikPrabhu joined the channel
#
snarfed
hold onto your britches everybody, looks like there are 89 invitations :P
#
tantek
(apologies for the mass bridgy alerts for all the invitations)
#
tantek
steps away for a bit
#
snarfed
lol yup
#
GWG
tantek: Question.
KartikPrabhu joined the channel
#
GWG
snarfed: All bridgy links come from https://brid-gy.appspot.com/?
#
GWG
snarfed: I'm trying to consider a scenario under which autoapproving all webmentions from that URL would be bad
#
snarfed
probably fine
#
snarfed
unless you worry i could turn evil
#
GWG
snarfed: I was thinking about tantek's challenge about WordPress moderation being an issue
#
snarfed
i'll give you advance warning if i decide to
#
snarfed
got it
#
GWG
WordPress's moderation doesn't do by URL.
#
snarfed
other people here whitelist bridgy as a wm source, so you'd be in good company
#
GWG
I'm wondering how I would design it.
#
GWG
WordPress has a comment moderation match list, a comment blacklist, but not a whitelist. Should be easy enough to add
cmhobbs and lukebrooker joined the channel
#
snarfed
GWG: hmm. semantic-linkbacks overrides the wm source param with u-url if available, right?
#
snarfed
and bridgy always sets u-url to the silo url
#
GWG
Well, it has several fields actually that it adds.
#
snarfed
ah, ok, so if this is a semantic-linkbacks-specific whitelist, then nm
#
GWG
Well, if the plugin is enabled, it sets _canonical to the canonical source URL, and _source to the source URL.
#
GWG
I think that is probably something I can trust.
prtksxna, anticar, j12t, KartikPrabhu, gRegor` and danlyke joined the channel
#
www.saschareeka.de
edited /2015/Germany/Guest_List (+185) "/* Participants */"
(view diff)
#
www.saschareeka.de
edited /2015/Germany/Guest_List (+12) "/* Participants */"
(view diff)
nloadholtes and loic_m joined the channel
#
snarfed
hard to test against the facebook api when it's down :(
tantek joined the channel
#
tantek
good night #indiewebcamp. just wanted to say how much I appreciate each and every one of you here, and for being here.
#
Loqi
gute nacht!
snarfed joined the channel
#
@HongPong
it is time to channel the mysterious powers of Atari Teenage Riot to promote #indieweb design principles and kill facebook! @ALEC_EMPIRE
(twitter.com/_/status/559970070307569664)
KartikPrabhu joined the channel
#
@ALEC_EMPIRE
RT @HongPong: it is time to channel the mysterious powers of Atari Teenage Riot to promote #indieweb design principles and kill facebook! @…
(twitter.com/_/status/559972694624858112)
cweiske, KevinMarks and KartikPrabhu1 joined the channel
#
@bigbuksworld
RT @HongPong: it is time to channel the mysterious powers of Atari Teenage Riot to promote #indieweb design principles and kill facebook! @…
(twitter.com/_/status/559975411149320194)
Jihaisse, snarfed, j12t, KevinMarks__, LauraJ and iandevlin joined the channel
pfefferle, eschnou, j12t, fahrstuhl, LauraJ, michielbdejong and petermolnar joined the channel
#
www.harryreeder.co.uk
created /User:Www.harryreeder.co.uk (+8) "Created page with "{{tbrb}}""
(view diff)
#
www.harryreeder.co.uk
edited /2015/Edinburgh (+11) "/* Interested */"
(view diff)
Sebastien-L, KevinMarks, iandevlin, j12t, pfefferle, LauraJ, sanduhrs and elf-pavlik joined the channel
pfefferle joined the channel
#
KevinMarks_
!tell tantek there we go, NewBase60 in Python https://github.com/kevinmarks/newBase60py
#
Loqi
Ok, I'll tell him that when I see him next
j12t, Sebastien-L, stream7, nloadholtes, veselosky, friedcell, pfefferle and LauraJ joined the channel
#
wwelves.org perpetual-tripper
edited /collection (+66) "/* See Also */ xfn-hcard-supporting-friends-lists"
(view diff)
cweiske, Sebastien-L, j12t, eschnou, friedcell, pfefferle, mlncn, myfreeweb, interactivist and stream7 joined the channel
#
interactivist
pfefferle: hello, thanks for merging the PR for wp-indieweb access caps
#
pfefferle
interactivist are you the commiter?
stream7 joined the channel
#
interactivist
pfefferle: yes, this is me under my IRC handle
#
pfefferle
interactivist then thank you for submitting ;)
#
pfefferle
interactivist++
#
Loqi
interactivist has 1 karma
#
interactivist
pfefferle: I'd be happy to contribute further… just wondered what your priorities are
#
interactivist
blushes
eschnou joined the channel
#
pfefferle
no priorities atm :(
#
GWG
What do you mean by priorities?
danlyke joined the channel
#
interactivist
pfefferle: oh, okay… then would you be happy with some TLC applied?
#
interactivist
pfefferle: I meant, which of the WP plugins is most in need of attention
#
interactivist
pfefferle: there are a few little tweaks that could be done to wordpress-indieweb
#
pfefferle
I think the indieweb plugin still needs some attention because it is the stating point for most wordpress/indieweb users
#
interactivist
pfefferle: translation methods, a small readme.txt fix that would credit dshanske in the WP directory, etc etc
#
GWG
interactivist: Might be my turn to blush
#
interactivist
pfefferle: you need a comma spearator between wp usernames in readme.txt :)
#
interactivist
pfefferle: am happy to submit a few useful PRs, just wanted to touch base forst
#
pfefferle
interactivist sure, thanks! any help is very welcome!
#
GWG
But I started to separate out the Getting Started text with the idea of having other languages if needed
#
interactivist
GWG: all the text content still needs wrapping in i18n functions (hello btw_
#
pfefferle
GWG, interactivist that might be another great construction site: i18n
#
GWG
Hello, interactivist.
#
GWG
interactivist: I have been working on learning how to do that.
#
interactivist
pfefferle: no text-domain is specified or registered as yet, and though you are using 'indieweb' throughout, it won't have any effect
cweiske joined the channel
#
interactivist
GWG: pfefferle: I'll send a couple of PRs through then
#
GWG
I spent much of last weekend working on language support.
#
GWG
Trying to learn more about it.
#
GWG
To be honest, it was not something I'd researched prior
#
GWG
interactivist: As a recent contributor to the project...I'll say contributions are appreciated.
#
interactivist
GWG: it's less preachy than the title sounds!
#
GWG
interactivist: What is your site, out of curiousity?
#
GWG
I've read Otto before
#
interactivist
I'm on IndieWeb via http://haystack.co.uk/
#
interactivist
though the site's *cough* a bit out of date
#
interactivist
GWG: if you want to browse my code, it's all at https://github.com/christianwach?tab=repositories
#
GWG
pfefferle: Forgot to change the description...I just noticed
#
GWG
Fixed
#
pfefferle
GWG what description?
#
pfefferle
on the github page?
#
GWG
In the Github repository
#
GWG
I just did it
Sebastien-L joined the channel
#
interactivist
I'd recommend putting almost all of Getting Started in the description of readme.txt - people rarely read further on the WP directory
#
GWG
At that point, it is probably easier for the Options page to read and display the readme
#
GWG
Also, the page is based on a wiki page
#
interactivist
GWG: I'd prefer to see the Getting Started page as a sub-page of the plugin's main installer page.
#
interactivist
GWG: hmm, okay, that's useful info
#
GWG
interactivist: There are limitations of where the Plugin Installer page can be because of the coding of the tgm plugin activation class
#
interactivist
GWG: I'm not recommending moving it - just that the Getting Started page can hang off that
#
interactivist
GWG: everything in one place :)
ben_thatmust joined the channel
#
GWG
Well, if you have any ideas. Changing the tgm class would be an issue for future updates of same from upstream.
#
GWG
interactivist: You using any of the Indieweb plugins at the moment?
#
interactivist
GWG: just getting started on the bridgy thing… want to integrate this with BuddyPress ultimately
#
interactivist
GWG: IMO it's not just individuals that need this, but communities too - keeps the conversation local & global at the same time
prtksxna and eschnou joined the channel
#
interactivist
GWG: I work with http://commonsinabox.org/ which curates BP-related plugins, much the way that wp-indieweb curates the ones you've selected
eschenal, shiflett and gRegor` joined the channel
#
GWG
interactivist: You do commons in a box? Don't they use an alternative plugin installer to the one bundled in wp-indieweb?
#
interactivist
GWG: amongst other things
Sebastien-L and cweiske joined the channel
#
GWG
pfefferle: I'm trying to figure out where to hook into the webmention/semantic linkback chain to do moderation on webmentions.
#
pfefferle
why do you want to? why not use the normal comment moderation?
#
GWG
pfefferle: I want to use pre_comment_approved, which is designed for filtering that.
#
GWG
pfefferle: But I' trying to figure out if it fires before or after you add the extra data
#
GWG
pfefferle: Basically, I want to auto-approve webmentions based on certain criteria.
j12t joined the channel
#
GWG
pfefferle: pre_comment_approved fires when you do wp_add_comment
#
pfefferle
GWG I think it is called before someone approves a comment
#
pfefferle
so it seems to be the wrong filter
#
GWG
The filter is applied to the proposed comment's approval status, allowing a plugin to override.
#
pfefferle
perhaps it is the right plugin
#
GWG
It's called on wp_add_comment. But you use update_comment
#
interactivist
is "IndieWeb" camelcase usually?
#
pfefferle
i think so
#
interactivist
k, ta
#
GWG
So, I could probably use your filter, semantic_linkbacks_commentdata to do the same thing. Change the moderation status.
verdi joined the channel
#
GWG
pfefferle: I want to auto-approve anything that comes from Bridgy, for example. It should be simple to code.
#
interactivist
pfefferle: Apart from prettifying the code a little, that completes my list of housekeeping jobs.
#
GWG
interactivist: So, what is next for you? More WordPress developers is a plus in my opinion.
#
GWG
I want to encourage it
#
interactivist
pfefferle: I reckon well indented, well documented code could encourage others to contribute :)
#
interactivist
GWG: the post types plugin?
#
pfefferle
interactivist sure! do you prefer tabs or because of the wp coding guidelines?
#
interactivist
pfefferle: yeah, tabs
#
interactivist
pfefferle: there'll be less moaning from WP devs with tabs :)
#
pfefferle
interactivist can you update the indents of the other files?
#
interactivist
pfefferle: GWG do you have makepot? it'll need running each time you publish to the WP repo at minimum
#
pfefferle
to be more consistent?
#
interactivist
pfefferle: it's only indieweb.php and getting_started.php though?
#
interactivist
ok
#
pfefferle
what is makepot?
#
Loqi
It looks like we don't have a page for "makepot" yet. Would you like to create it? https://indiewebcamp.com/wiki/index.php?action=edit&title=makepot
#
GWG
I added it to pfefferle's Gruntfile to automatically run
#
GWG
I spent some time learning Grunt over the weekend too.
#
GWG
Since the package used it
#
GWG
interactivist: Post Kinds, you mean?
#
gRegor`
Morning, indieweb
#
pfefferle
interactivist ah ok, I use Poedit instead
#
interactivist
pfefferle: makepot's sweet in that you just issue it in your git repo root and it auto-creates the new pot file for you
#
interactivist
pfefferle: do you really need "Pre-2.6 compatibility"?
#
pfefferle
not really
#
pfefferle
Poedit is also able to generate pot files from a source directory
#
interactivist
pfefferle: I'll leave it for now...
#
interactivist
pfefferle: oh, okay, that's cool
#
interactivist
pfefferle: vry nice
#
GWG
pfefferle: Can I make a suggestion?
#
GWG
pfefferle: Add this Grunt plugin to generate makepot automatically.
#
GWG
pfefferle: You inspired me to research Grunt
#
pfefferle
GWG nice idea
#
gregorlove.com
edited /de-duplication (+0) "fixed double redirect"
(view diff)
#
GWG
pfefferle: I keep picking up things.
#
GWG
_s adopted SASS, so I learned that.
#
GWG
You wanted me to run Grunt to generate markdown, so I learned about Grunt and adopted that too
#
pfefferle
sass is AWESOME
#
pfefferle
GWG so I am your muse? ;)
#
GWG
pfefferle: Why not?
#
GWG
pfefferle: I like your work and that inspires me, so muse works
#
millette
GWG, if you're using grunt, might be worth your time to checkout yeoman too (and gulp ;-)
danlyke and elf-pavlik_ joined the channel
#
pfefferle
millette sure! but I think yeoman is not that relevant for WordPress plugins/styles
#
millette
there's a wordpress generator (yeoman)
#
GWG
millette: There's another weekend lost.
#
millette
in fact, there are a few for wordpress http://yeoman.io/generators/
#
pfefferle
millette ok, I take it back :D
#
pfefferle
this is awesome :D
#
millette
not lost, I hope you find its an investment
#
pfefferle
millette do you prefer gulp?
#
millette
when I can, I prefer to use gulp, the syntax is more staightforward for me.
#
pfefferle
but I think it is the same ”žfight“ as with sass and less
tantek joined the channel
#
millette
well, I didn't put the emphasis on gulp, but on yeoman :-)
#
millette
and less runs in the browser, win!
#
Loqi
tantek: KevinMarks_ left you a message 4 hours, 30 minutes ago: there we go, NewBase60 in Python https://github.com/kevinmarks/newBase60py
#
Loqi
KevinMarks has 76 karma
#
GWG
I'll keep it in mind
#
GWG
For now, I have two useful tools I've gotten the hang of for building code
#
gRegor`
what is SASS?
#
Loqi
It looks like we don't have a page for "SASS" yet. Would you like to create it? https://indiewebcamp.com/wiki/index.php?action=edit&title=SASS
#
gRegor`
What is grunt?
#
Loqi
It looks like we don't have a page for "grunt" yet. Would you like to create it? https://indiewebcamp.com/wiki/index.php?action=edit&title=grunt
#
gRegor`
what is gulp?
#
Loqi
It looks like we don't have a page for "gulp" yet. Would you like to create it? https://indiewebcamp.com/wiki/index.php?action=edit&title=gulp
#
gRegor`
What is LESS?
#
Loqi
It looks like we don't have a page for "LESS" yet. Would you like to create it? https://indiewebcamp.com/wiki/index.php?action=edit&title=LESS
#
gregorlove.com
edited /The_WordPress_Outreach_Committee (-5) "fixed double redirect"
(view diff)
#
gregorlove.com
edited /WordPress_Outreach_Community (-5) "fixed double redirect"
(view diff)
#
gregorlove.com
edited /web_mention (+0) "fixed double redirect"
(view diff)
#
tantek
GWG, gRegor` why do you use a CSS reset?
#
tantek
(and anyone else)
#
gRegor`
I don't.
#
tantek
oh ok - did you consider using one and reject it for a specific reason?
gRegor`_ joined the channel
#
gRegor`
tantek: I was beginning work on a style guide for my site, in part to clean up my CSS. I was weighing the option of using some lightweight reset. I have heard of plenty, but not done much research on them so wanted opinions/experience.
#
gRegor`
Do you use one, tantek?
#
gRegor`
I got a couple +1s for normalize.css. We've used Bootstrap a fair bit at work and I understand it uses normalize.css in part (and much more, of course).
#
gRegor`
If I experiment with normalize.css or something else, I will document it.
#
JonathanNeal
gRegor`: woot
#
gRegor`
I'm leaning towards something minimal that I write myself, though.
#
Loqi
woot
#
JonathanNeal
Using asterick?
#
gRegor`
Me? Not sure what that is.
#
@DickyR_Sawati
RT @HongPong: it is time to channel the mysterious powers of Atari Teenage Riot to promote #indieweb design principles and kill facebook! @…
(twitter.com/_/status/560107671874203649)
#
gRegor`
Heh, I just read you co-created normalize, JonathanNeal :)
#
tantek
gRegor`: funny you should ask - I'll fill you in on a bit of history ;)
#
gRegor`
I was sure you had some (hi)story on it, tantek :)
KevinMarks____1 joined the channel
#
GWG
tantek: Because my theme is based on _s, which uses one?
#
tantek
gRegor`: this is where they started: http://tantek.com/log/2004/09.html#d06t2354
#
rhiaro
I've used normalize.css for years, it's small, simple and sensible as far as I'm aware, but haven't compared it to any others
JasonO joined the channel
#
JonathanNeal
IMHO, some of the box-sizing: border-box css bases are really nice to work with.
#
JonathanNeal
Maybe someone should make a new one called reasonable.css
#
tantek
JonathanNeal: it depends on your goals for such a stylesheet
#
JonathanNeal
For IE8+, and it sets a bunch of useful baseline defaults without getting too up in layouts business.
#
tantek
hardest part is writing down what is the specific design intent of such a style sheet
rhiaro and pfefferle joined the channel
#
tantek
in addition to "undohtml.css" (I think "reset" is misnamed, as they're not really *resetting* to something specific), I use one I've called "simple.css" to make a reasonable readable stylesheet for arbitrary semantic markup
#
JonathanNeal
tantek: normalize.css set styles to whatever the most-compatible most-prevelent default was.
#
tantek
I don't think that's useful frankly
#
tantek
since those defaults are typically ugly
#
JonathanNeal
reasonable.css would set styles to whatever the most-compatible developer-preffered default is.
#
JonathanNeal
tantek, they were pretty ugly, but frankly you want a list to look like a list most of the time.
#
tantek
I think "most-compatible developer-preffered default" is a poor way to start a design
#
tantek
I agree with "want a list to look like a list"
#
tantek
that doesn't mean you have to do "most-compatible developer-preffered default" - which is far more damaging
snarfed joined the channel
#
JonathanNeal
most developers default to sans-serif for unstyled type.
#
tantek
rhiaro: so you're saying you like small & simple for an undo/reset CSS. what do you mean by "sensible" ?
#
tantek
(I agree with small & simple BTW)
#
gregorlove.com
edited /Cascading_Style_Sheets (+322) "CSS Resets section"
(view diff)
#
JonathanNeal
tantek: well, i can’t speak for modern normalize.css, it was stirring toward “whatever the spec says, otherwise what is common”
#
tantek
JonathanNeal: democracy ("most developers") is rarely good design, if ever
#
tantek
JonathanNeal: I'm trying to get at what underlying principles are being used for each of these
#
JonathanNeal
tantek: agreed that fashions change
#
tantek
and my point is, some of the "principles" you are referring/implying are very poor from a design perspective
#
gRegor`
Started /CSS#CSS_Resets and included tantek's link. Feel free to expand
#
rhiaro
tantek: Just that values are set to sizes/etc that I think either looks nice or are a good base to build on
#
tantek
and thus we must reject them, and the conclusions from them
#
tantek
rhiaro: "looks nice or are a good base to build on" is a good design principle as well for an undo/reset CSS
#
JonathanNeal
Back in the day, I was aiming for consistency. I can’t speak to normalize.css today. I haven’t contributed in years.
#
tantek
JonathanNeal: in genearl "majority of …" is a very poor way to do design
#
tantek
it leads to design by rear view mirror of the lowest common denominator
#
rhiaro
I haven't thought about it in great depth, don't tend to get too deep into the css these days
#
JonathanNeal
Yea. That’s why I’m putting the blame on myself and making sure it doesn’t reflect normalize.css. No idea what its current goals are.
#
gregorlove.com
edited /Cascading_Style_Sheets (+5) "/* CSS Resets */ quotes"
(view diff)
#
JonathanNeal
But consistency and minimalism were its original goals.
#
JonathanNeal
consistency with the spec and with other browsers, minimal in markup as to easily allow change.
#
gregorlove.com
edited /normalize.css (+67) "see also"
(view diff)
iandevlin joined the channel
#
JonathanNeal
tantek: “it leads to design by rear view mirror of the lowest common denominator” - I remember hearing things like that when it first came out, too. Necolas was already writing the same thing himself, and he understood something about it that kinda made it into an empire. So, tantek, are you suggesting that normalize.css is bad for developers, or as a
#
JonathanNeal
project goal, or what?
#
tantek
JonathanNeal: consistency can be used to justify plenty of crappy design
#
tantek
consistency in and of itself is insufficient for any kind of a design principle
#
tantek
e.g. "spec and other browsers" is lowest common denominator - a very poor goal
#
JonathanNeal
it’s not really about design, but about creating a baseline to build upon.
#
tantek
from bad principles you get bad design, bad work
#
tantek
everything is about design
#
tantek
by starting with a badly design foundation, you have a poor baseline to build upon
#
JonathanNeal
idk, isn’t there some proof in the pudding when you consider bootstrap and foundation and all of the developers who have found value in the project?
#
tantek
hah - that's pretty funny because bootstrap has resulted in so many unmaintainable fragile bloated projects/designs that I'm amazed people still take it seriously
#
JonathanNeal
Was it all just marketing? Why did developers adopt it to begin with? Why do they continue to adopt it?
#
tantek
because of the "first launch / ship" experience is not sucky, look pretty initially, but is hell to maintain / update
#
tantek
and yes, "demos well" is basic marketing
#
tantek
and clients often pay for first deployment of a project, and then rarely for the maintenance
#
tantek
so developers adopt what "demos well" not what maintains well
#
tantek
but here's the thing, for the *indieweb* perspective, for your *own site*, maintains well is 100x more important than demos well
#
rhiaro
bootstrap always seemed to me like an *awful* lot of code for some rounded clicky buttons..
#
tantek
if those developers were selfdogfooding their use of such tools/frameworks/foundations - they would quickly (in a year or two) find out that such approaches, to put it mildly, sucked
#
tantek
rhiaro - exactly
#
tantek
not simple, not minimal, not maintainable
#
tantek
this is one of the reasons selfdogfooding leads to better design
#
tantek
because you quickly debunk the "demos well" "new & flashy" "ooh pretty" marketed CSS/JS frameworks/tools etc.
#
tantek
all the trendy web dev/design crap
#
tantek
(so much trendy)
#
rhiaro
I converged on my own boilerplate css a few years ago, then lost interest in CSS sate of the art, so it's been the same for years
#
gRegor`
What is technical debt?
#
JonathanNeal
yea, i don’t care for the trendy
#
Loqi
It looks like we don't have a page for "technical debt" yet. Would you like to create it? https://indiewebcamp.com/wiki/index.php?action=edit&title=technical+debt
#
gRegor`
Or is it technology debt?
#
JonathanNeal
but the baseline was useful for developers, i stand by that.
#
tantek
JonathanNeal: the trick is recognizing it as trendy, and taking the time / energy to evaluate approaches as to whether they are trendy OR based in actual sustainable principles
#
JonathanNeal
knowing that you don’t need to mess with user agent differences is a real gain.
#
tantek
no one advertises their stuff as trendy, you have to figure that out on your own
#
tantek
JonathanNeal: that's a much better more minimal principle to use "don’t need to mess with user agent differences" - a good start, but also insufficient (need more principles)
#
JonathanNeal
don’t throw baby out with the bathwater, normalize has technical benefits, which include reduced time to ship and reduced maintainence.
#
tantek
this is why I called my "undohtml.css"
#
tantek
as all user agent differences come from their own "html.css" that they use internally (whether in code, or in an actual built-in style sheet)
#
tantek
part of that "undoing" is undoing of user agent differences
#
JonathanNeal
normalizing them seems like the right name for what the project did
#
JonathanNeal
undoing is inspecific, as anything touching a default style could be undoing.
#
JonathanNeal
undoing also sounds like taking something away entirely rather than changing it or setting it somewhere specific. reset seems more undo than normalize.
#
JonathanNeal
And remembeer that normalize came out during a time of Chrome, Firefox, Safari, and IE6-9, so why should ua stylesheets be a barrier of entry? Especially for indiewebbers, who don’t need to become css experts.
#
JonathanNeal
They can, but by nature of indieweb, you don’t need to. That’s why I love all the specs and frameworks folks are making here, because that would be a huge barrier of entry for me.
j12t joined the channel
#
tantek
yes. those are more good principles "why should ua stylesheets be a barrier of entry? [reduce barrier to entry from ua defaults]"
#
GWG
Why should anything be a barrier?
#
tantek
GWG, see IndieWebCamp FAQ
#
GWG
tantek: I don't see that as a high bar
prtksxna joined the channel
#
GWG
I'm not against medium sized bars
#
GWG
I think there is a ground between someone having to demonstrate skill vs having to be an expert.
#
tantek
it's not even demonstrate skill - that's the key
#
tantek
it's demonstrate *interest* (AKA passion) and *commitment* (AKA time)
#
JonathanNeal
tantek: In CSS, margins and padding are a barrier of entry. I am still searching for the words: but “width” seems like a explicit request, so when padding changes width, it requires extra calculation, and that’s a barrier.
#
tantek
and no one should have to be an "expert"
#
tantek
JonathanNeal: agreed that the default CSS box model is non-trivial and unnecessarily challenging. nevermind margin collapsing.
#
JonathanNeal
So, my cheering on something like reasonable.css would be that, to make a baseline that lessened the common stresses in developing with css.
#
tantek
JonathanNeal: you'll note that my original undohtml.css did 0-out margins
#
tantek
(and padding too pretty sure)
#
JonathanNeal
vertical margin collapsing, horizontal not margin collapsing - it makes me use margin sparingly.
#
tantek
margin collapsing was a bad idea (CSS1) in hindsight. no collapsing would have been more predictable, and thus easier to use.
#
snarfed
busy morning in here!
#
gregorlove.com
edited /posts-api (+0) "fixed double redirect"
(view diff)
#
gRegor`
You killed it, snarfed ;)
#
snarfed
gRegor`: i'm uniquely gifted that way
#
GWG
snarfed: We got a new WordPress enthusiast. That's always good
#
snarfed
agreed!
wolftune and adactio joined the channel
#
aaronpk
good morning indiewebcamp!
#
GWG
Good morning, aaronpk
squeakytoy, j12t and snarfed joined the channel
#
KevinMarks
Andi's event where the Foundation and Bootstrap authors talked about their goals was interesting
#
KevinMarks
They were about imposing a style guide
#
KevinMarks
And grids
KartikPrabhu and LauraJ joined the channel
#
KevinMarks_
twitter launches group messaging. puzzled faces from oldschool twitter users who remember when that was he whole point
#
KevinMarks_
s/he/the/
#
Loqi
KevinMarks_ meant to say: twitter launcthes group messaging. puzzled faces from oldschool twitter users who remember wthen that was the whole point
prtksxna, iandevlin, veselosky, LauraJ and j12t joined the channel
#
tantek.com
edited /2015/Cambridge (+253) "lock down dates, move other events to Nearby Events section, expand summary, add interested remote participation section"
(view diff)
#
aaronparecki.com
edited /2015/Cambridge (+14) "/* Remote Participation */ add myself"
(view diff)
nloadholtes joined the channel
#
@kevinmarks
Facebook reports that the hack that brought them down came from Hacker Way. A source said "Someone was moving fast and broke things."
(twitter.com/_/status/560000531062460416)
#
aaronpk
facebook was down?
#
tantek
aaronpk I see (partial and whole) ephemeral FB outages nearly every day
#
tantek
I should take more screenshots
#
KevinMarks
They were down globally for an hour or so last night
#
Loqi
definitely
nloadholtes and shiflett joined the channel
nloadholtes, KartikPrabhu, nloadholtes_, dies_el, KevinMarks, snarfed, interactivist, bigbluehat_, lmorchard23, reidab_ and halorgium_ joined the channel
#
snarfed
hey GWG, are the visible warnings on http://megaphone.geeb.us/ something you could help with?
nloadholtes_, amblin_ and amblin joined the channel
#
reidbeels.com
created /Template:reidab (+116) "Created page with "<span class="h-card">{{sparkline|https://twitter.com/reidab/profile_image}} [[User:Reidbeels.com|Reid Beels]]</span>""
(view diff)
#
GWG
snarfed: Yes
#
aaronpk
YAY REID IS COMING
#
reidab
is
#
aaronpk
we should talk about calagator RSVPs :-D
#
GWG
snarfed: It's something I've been working on if you don't set a post kind
#
Loqi
yea!
#
GWG
snarfed: I have a plan for people who haven't coded their prior posts. The absence of a post kind set will have it assume it is a note
#
GWG
I thought I had set that up. Maybe I didn't push that update
nloadholtes joined the channel
#
GWG
snarfed: I'll write that code tonight.
#
GWG
In the meantime, just set a kind for the post
#
snarfed
GWG: thanks! not my site, so feel free to tell the owner
Sebastien-L joined the channel
#
GWG
Who is it?
nloadholtes, shiflett_ and verdi joined the channel
#
snarfed
got me, i'm sure their site says, right?
#
aaronpk
omg dd.mm.yyyy years are so confusing to read
nloadholtes and dorian joined the channel
#
@jgarber
@aaronpk Have you ever heard of authenticating to https://indieauth.com/ timing out on an iOS device? Works great on my MacBook Air.
(twitter.com/_/status/560187516205428736)
interactivist and nloadholtes joined the channel
#
@jgarber
@aaronpk Ah, never mind. The iOS part was a red herring. Accessing my local app via IP and POSTing to https://indieauth.com/ is timing out.
(twitter.com/_/status/560189195009163265)
cmhobbs joined the channel
#
@jgarber
@aaronpk https://indieauth.com/ returns a 504 Gateway Time-out when POSTing from my app’s IP address, but works from localhost:3000. Weird.
(twitter.com/_/status/560189484055400449)
#
gRegor`
snarfed: I started experimenting with posting my reading progress: http://gregorlove.com/notes/2015/01/27/1/
#
snarfed
gRegor`: i saw! fun!
#
snarfed
and you manually possed to goodreads?
#
gRegor`
Yep
pauloppenheim joined the channel
#
gRegor`
I'm still thinking about the 'start' and 'finish' status
#
snarfed
gRegornobacktick++ nice
#
Loqi
gRegornobacktick has 32 karma
#
gRegor`
Without having too much invisible data, that is
#
GWG
snarfed: How did you find it?
#
snarfed
GWG: they signed up for bridgy
#
snarfed
huh, nothing on the wiki for reading lists yet?
#
snarfed
what is book
#
snarfed
what is books
#
Loqi
It looks like we don't have a page for "book" yet. Would you like to create it? https://indiewebcamp.com/wiki/index.php?action=edit&title=book
#
Loqi
It looks like we don't have a page for "books" yet. Would you like to create it? https://indiewebcamp.com/wiki/index.php?action=edit&title=books
#
snarfed
what is reading
#
gRegor`
I put it on /media_checkin
#
Loqi
To read or reading is the act of viewing and interpreting posts https://indiewebcamp.com/reading
#
aaronpk
still really dislikes the term media checkin
#
gRegor`
It is pretty... something. Geeky
#
snarfed
agreed
#
aaronpk
can't think of a good term tho, and neither apparently could last.fm
#
aaronpk
so they called it scrobbling
#
gRegor`
Hah, true
#
snarfed
ugh no better
#
snarfed
there's some other popular site for checking into tv shows that people use as a verb too, right?
#
aaronpk
it's more just logging
#
gRegor`
readling
#
gRegor`
GetGlue became TvTag became dead recently.
#
snarfed
i don't really carea
#
snarfed
yeah that's it.
#
gRegor`
I'm sure there's other checkin sites, but GetGlue was the big one
#
aaronpk
it's just an awkward overloading of the term "checkin" from foursquare
#
gRegor`
What is logging?
#
Loqi
It looks like we don't have a page for "logging" yet. Would you like to create it? https://indiewebcamp.com/wiki/index.php?action=edit&title=logging
#
snarfed
retry: personally i don't care about checking into media, but i definitely like keeping lists of media
#
aaronpk
you literally check in to a doctor's office. you don't literally check in to a tv show
#
gRegor`
Book logging: blogging. I'm so smrt!
#
aaronpk
gRegornobacktick++
#
Loqi
gRegornobacktick has 33 karma
#
gRegor`
snarfed: Like lists you've read, to-read, etc?
#
Loqi
[mention] Aaron Parecki commented '@jgarber hop in to IRC and we might be able to troubleshoot better. http://indiewebcamp.com/irc/today?beta' on a post that linked to http://indiewebcamp.com/irc/today?beta (https://aaronparecki.com/replies/2015/01/27/5/)
jgarber joined the channel
#
gRegor`
Nice. Yeah, I want that too. I figured this would be a simpler start
#
aaronpk
i totally want to log music, movies, tv, books, etc.
#
snarfed
gRegor`: oh also i see a feature request for your site: html titles
#
gRegor`
What are lists?
#
Loqi
It looks like we don't have a page for "lists" yet. Would you like to create it? https://indiewebcamp.com/wiki/index.php?action=edit&title=lists
#
gRegor`
Hm, snarfed?
#
jgarber
aaronpk: Hello, sir!
#
snarfed
as in <title>
#
aaronpk
why hello
#
aaronpk
jgarber: are you getting a timeout on the GET request to /auth?
#
gRegor`
I have it. You mean on my notes pages, like include the note content?
#
snarfed
gRegor`: i mean, using the post name or summary in the title, as opposed to it always being "gRegorLove.com — little g big R"
#
jgarber
aaronpk: It appears so, yeah. Filling in my log in form with my URL and submitting to https://indieauth.com/auth spins and spins until I get an nginx time out from indieauth.com
#
gRegor`
Aha
#
aaronpk
okay yeah I know why...
#
jgarber
And this /only/ happens when submitting from my IP address. localhost:3000 works fine.
#
aaronpk
it's trying to go fetch your app info from the URL specified by the client_id
#
snarfed
(gRegor`: my indie like/reply/repost bookmarklets auto generate post content based on <title>)
#
gRegor`
Yeah, my articles use it, but not the notes yet. My /notes are kind of hacked onto the CMS currently, so it's a bit tricky.
#
jgarber
aaronpk: Ahhh, and it sees an IP and assumes it's globally accessible?
nloadholtes joined the channel
#
snarfed
aha ok
#
gRegor`
Right, I remember seeing that, now that you mention it.
#
aaronpk
yeah, i can add a timeout on it
#
jgarber
aaronpk: vs. recognizing localhost?
#
gRegor`
I'll add it to my list.
#
aaronpk
jgarber: i think it just fails quickly when trying to access localhost
interactivist joined the channel
#
gregorlove.com
edited /User:Gregorlove.com (+58) "/* Interests */ Add note content/summary to <title> on note permalinks."
(view diff)
#
aaronpk
jgarber: arg, it's gonna take me longer than 2 minutes so I don't really have time for it right now. can you work around it in the mean time?
#
aaronpk
you could just use a client_id that is a public URL
#
jgarber
aaronpk: Oh yeah, it's not a huge showstopping thing. Just ran into it while testing out my app
#
aaronpk
you can keep the redirect uri set to your IP address so everything will keep working
#
jgarber
's design on my phone.
#
aaronpk
the client ID is meant to be a public identifier, it doesn't actually affect the auth flow
#
jgarber
aaronpk: Whenever you can get to a fix is okay!
#
jgarber
aaronpk: So the client_id could be /any/ publicly available URL, but /should/ be the URL to the homepage of the application?
#
aaronpk
it should ideally have x-h-app markup that specifies the app name and logo
#
jgarber
Oh, very cool. Not familiar with 'h-x-app'. Will check it out. Thanks for your help!
#
aaronpk
it's experimental, hence the x
#
ben.thatmustbe.me
edited /Main_Page (+993) "update with 2015 IWC reference"
(view diff)
#
jgarber
aaronpk: :thumbsup: Thanks!
#
ben_thatmust
busy day, i have a lot of logs to go through
#
aaronpk
ben_thatmust: yeah, it's getting to the point i can't catch up anymore
#
ben_thatmust
many times, i don't
#
ben_thatmust
when work gets busy
#
ben_thatmust
the weekly email helps quite a bit
#
aaronpk
oh good, wasn't sure if anyone was actaully reading that
#
GWG
There's a weekly email?
#
@jgarber
High fives to the #indiewebcamp community and @aaronpk in particular for helping me through some IndieAuth issues! 🙌
(twitter.com/_/status/560194765632077824)
#
aaronpk
what is this week?
#
Loqi
This Week in the IndieWeb is a weekly digest of activities of the IndieWebCamp community https://indiewebcamp.com/this-week
#
aaronpk
i like how this channel has turned into jeopardy where we provide answers in the form of a question
#
ben_thatmust
haha aaronpk++
#
ben_thatmust
aaronpk++
#
Loqi
aaronpk has 673 karma
#
ben_thatmust
there we go
#
ben.thatmustbe.me
edited /2015/Cambridge (+2338) "sandro confirmed venue, this is happening"
(view diff)
nloadholtes and prtksxna joined the channel
#
ben.thatmustbe.me
created /2015/Cambridge/Guest_List (+5537) "copy from 2014 guest list"
(view diff)
nloadholtes joined the channel
#
GWG
What is Jeopardy?
#
Loqi
It looks like we don't have a page for "Jeopardy" yet. Would you like to create it? https://indiewebcamp.com/wiki/index.php?action=edit&title=Jeopardy
#
aaronpk
what is tanteking?
#
Loqi
Tantek-ing is a method of encouraging people to contribute to the wiki by indirectly prompting the person who first mentioned the term to create a short wiki dfn page for it https://indiewebcamp.com/tanteking
#
aaronpk
oh this is different actually
#
ben.thatmustbe.me
created /2015/Cambridge/Planning (+618) "start to move planning to this page"
(view diff)
#
GWG
Who is ben_thatmustbeme?
#
Loqi
Ben Roberts Is a sysadmin and developer at a small company in Boston, MA who dreams of world domination https://indiewebcamp.com/User:Ben.thatmustbe.me
#
GWG
Who mentioned Jeopardy?
#
aaronpk
i mena
#
aaronpk
who is aaronpk
#
Loqi
Aaron Parecki is the co-founder of IndieWebCamp, currently the CTO of Esri R&D Center, Portland https://indiewebcamp.com/User:Aaronparecki.com
#
GWG
Who is confused?
myfreeweb joined the channel
#
GWG
Who is GWG?
#
Loqi
David Shanske is an Indieweb enthusiast from New York, working on Indieweb WordPress plugin development https://indiewebcamp.com/User:David.shanske.com
#
ben.thatmustbe.me
edited /2015/Cambridge/Guest_List (+348) "/* Remote Participants */"
(view diff)
KevinMarks joined the channel
#
ben.thatmustbe.me
edited /2015/Cambridge/Guest_List (+179) "/* Participants */"
(view diff)
#
@bendreyfuss
@caseyjohnston javascript:var c = document.querySelector("link[rel=canonical]"); if(c){ history.replaceState({},document.title, c.href); }
(twitter.com/_/status/560201374814990337)
#
ben.thatmustbe.me
edited /2015/Cambridge (-467) "moved Interested section to official guest list"
(view diff)
#
aaronpk
even works on that twitter link to remove ?s=09
prtksxna and lukebrooker joined the channel
#
KevinMarks
Makes sense in that if they're using utm cruft they need rel canonical to get the right url indexed by Google
#
aaronpk
ha true
#
snarfed
hrm. so. i have a POST endpoint that i want to oauth-protect
#
snarfed
…except oauth redirects can obviously only be GETs
#
aaronpk
what does the redirect have to do with anything?
tfontaine joined the channel
#
snarfed
i'm starting to oauth-protect the interactive bridgy publish flow
#
snarfed
specifically, the final publish part, after the preview
#
snarfed
which should be a POST, since it modifies state inside your silo account (creates new posts, etc)
#
aaronpk
you can just return HTTP 401 on those
#
snarfed
ie make it a GET and verify the access token first?
#
aaronpk
i'm confused
#
snarfed
that helps prevent exploits, but it doesn't protect against double submission, etc
#
snarfed
maybe i am too
#
snarfed
let me start over
#
snarfed
general case: i have a POST form with a button. when the user clicks on that button, it has some side effect.
#
snarfed
i want to do the oauth dance when they click that button, and only perform the action if the oauth dance succeeds.
#
aaronpk
sounds like a lot of JS is needed
#
snarfed
really?
#
snarfed
aaronpk: maybe i can make it GET and use a nonce and server side transaction to guarantee only-once
#
gRegor`
I don't really know Oauth, but are you talking about redirecting a POST to a GET? Isn't that HTTP 303?
#
aaronpk
maybe not
#
snarfed
gRegor`: nah, i actually want to redirect a GET to a POST
#
aaronpk
is it possible that they will be logged in to bridgy already? or are you planning on doing the oauth dance each time they press the button?
#
gRegor`
Oh
#
snarfed
bridgy has no accounts or logging in of its own. it's all per-silo oauth.
#
snarfed
so, yes, each time
#
aaronpk
i think redirect is the wrong word
#
aaronpk
you're talking about completely separate actions
#
aaronpk
so once the oauth dance succeeds, they end up back on bridgy with the credentials that bridgy uses to verify their login
#
aaronpk
assuming you're verifying the login server-side, (which you have to do for twitter), you could do the publish server-side at that point as well
#
snarfed
aaronpk: yeah, but again, i'm then vulnerable to double submission
#
snarfed
since it's a GET
#
aaronpk
most oauth apis won't let a second verify request succeed
#
snarfed
oh wait, maybe not, since oauth prevents replay attacks?
#
aaronpk
but it's kind of api-dependent
#
gRegor`
tfontaine: I think bear mentioned that in #indiechat, but not in here yet. Fun times.
#
snarfed
ok then. worth trying. thanks.
#
aaronpk
some of them will let you verify a request as many times as you want within some time window like 30 seconds. others will allow only one verify for the auth code.
#
snarfed
this is fb, tw, and ig. i should probably just do the nonce thing on top.
#
snarfed
but ugh i don't wanna
#
aaronpk
you're gonna have to store the user's submission before you start the oauth flow anyway
#
snarfed
we're quite good at overloading the state param at this point :P
#
snarfed
hmm. one alternative is to always require the invisible bridgy publish link, even for interactive
#
aaronpk
i thought the point of interactive was to not require the bridgy publish link
#
snarfed
it's also so you get a preview, and for sites that don't send wms and/or non-technical people, etc
#
snarfed
pretty much all reasonable CMSes should let you insert empty links, right?
#
snarfed
crosses his fingers
#
snarfed
kylewm: curious of what you think of this possible bridgy publish UX change ^^^ (requiring the brid.gy/publish/… link even for the interactive flow)
prtksxna joined the channel
#
KevinMarks_
re scrobbled etc - we used 'play' in activity streams because it covered audio, video and games
#
KevinMarks_
though not really books
#
snarfed
hmm. one drawback is, if your server does send wms automatically, this would prevent you from using interactive, since it would always send the publish wm
pwcc and tantek joined the channel
#
GWG
tantek: 202 Question for you
#
GWG
tantek: When you mentioned it yesterday, were you referring to https://indiewebcamp.com/webmention#Asynchronous_status_notification
#
GWG
tantek: So, you are suggesting that when held for moderation, my site/other WordPress sites return 202 instead of 200?
#
GWG
I may put it on the issue tracker
#
tantek
I thought that was already in the 202 description/discussion re: moderation
#
tantek
we certainly discussed moderation interaction with webmention 202 response in IRC before
#
tantek
maybe it wasn't captured?
#
GWG
But, I'm reading the wiki
prtksxna joined the channel
#
tantek
perhaps aaronpk can check the IRC logs for discussion of moderation interaction with webmention 202 response in IRC
#
GWG
It says....
#
tantek
GWG, right that's my point perhaps moderation wasn't captured there
#
GWG
Human moderation is error code 200
#
tantek
sorry I'm mobile and can't double check stuff
#
tantek
does it explain / cite why?
#
GWG
aaronpk: But that is only noted for Async webmentions.
#
aaronpk
we were talking specifically about moderation
snarfed joined the channel
#
aaronpk
oh but then the conclusion was 200 for moderated comments http://indiewebcamp.com/irc/2014-04-01/line/1396392503000
#
GWG
No wonder I can't find the record to explain what tantek was proposing.
#
aaronpk
that was almost a year ago too
#
aaronpk
i dunno, my instinct now is that moderated comments should have the same response as async processed comments since they both appear the same to the viewer
#
aaronpk
also the point of returning 202 accepted is that it can also return a status URL people can click on to check if the processing is done
#
aaronpk
presumably could do the same for moderated comments, to see when their comment is posted
#
aaronpk
so there is some discussion for the logs on why 202 makes sense for moderated comments
#
aaronpk
so there is some discussion for the logs on why 202 makes sense for moderated webmention comments <-- (more keywords to search for in the logs later)
mlncn joined the channel
#
KevinMarks_
there is antispam lore that says not to return different results for "posted" and "queued" as spammers use it as an oracle to test the boundaries of your filter
#
KevinMarks_
but as we aren't assuming content based filtering that may not be an issue
#
aaronpk
frankly the goal is for most webmention endpoints to return 202 regardless of whether a comment is moderated, to encourage async processing
KevinMarks joined the channel
#
GWG
So, now I don't know what to do
#
@taylorswift13
Cause the hackers gonna hack, hack, hack, hack, hack...
(twitter.com/_/status/560151939296817152)
#
KevinMarks_
202 seems legit for any kind of queuing
indie-visitor joined the channel
#
Loqi
Welcome, indie-visitor! Set your nickname by typing /nick yourname
#
achor.net
created /User:Achor.net (+37) "Created page with "Hi all, [http://achor.net Achor Kwon]""
(view diff)
prtksxna joined the channel