#dev 2016-08-03

2016-08-03 UTC
#
aaronpk
agreed, especially since now that the IG API is locked down we can't even really use it for relmeauth signin
#
aaronpk
you'd have to get your app approved before you can even use the API for authenticating people
ChrisAldrich, KevinMarks and KevinMarks_ joined the channel
#
gRegorLove
aaronpk: Another indiewebify.me PR for when deployment gets fixed :) https://github.com/indieweb/indiewebify-me/pull/50
loicm_, KevinMarks, tantek, cweiske and KevinMarks_ joined the channel
loicm_, tantek, chrisaldrich1 and chrisaldrich_ joined the channel
#
petermolnar
I finally figured a way to get rid of the idiotic {filename}-{width}x{height}.{ext} naming convention of resized images in WordPress... one step closer to create a static generator of my own, probably backed with micropub
sknebel joined the channel
#
voxpelli
Added a feature request for Micropub support here: https://github.com/joemccann/dillinger/issues/555
singpolyma and chrisaldrich_ joined the channel
#
GWG
Morning
#
GWG
petermolnar: You actually committed with a message "warping the plugin according to my needs"?
#
petermolnar
which plugin?
#
GWG
I'm working on upgrading Bridgy Publish and I looked at your fork and iamwebrocker's fork.
#
petermolnar
oh, that one
#
petermolnar
I wasn't planning to push those upstream
#
petermolnar
I was mostly testing if it would do what I'd like it to do
#
GWG
I'm making changes to the structure anyway based on changes to Bridgy.
#
GWG
Since I wrote it, Instagram is gone, Flickr is in, more publication options are available...
#
GWG
So, I figured I'd try to add in some of the feedback I got as part of the changes. The other part is setting up a way for Micropub to trigger it or any other arbitrary POSSE plugin.
tantek joined the channel
#
tantek
good morning #indieweb-dev!
#
petermolnar
by the way, that statement of mine - fixing WP media management - turned out to be an iceberg and at the moment I hate WP media management ever more
#
petermolnar
hi tantek
#
tantek
backs away from the WP discussion
#
GWG
tantek: Good morning, tantek.
#
Loqi
rise and shine!
#
petermolnar
tantek, nah, nothing serious
#
petermolnar
I had to dive into wp-admin and wp-includes and the horror shook me to my core
#
GWG
tantek: petermolnar is just having continuing his love-hate relationship with WordPress.
#
GWG
petermolnar: Your core or their Core?
#
petermolnar
my core :D
#
petermolnar
gawd, there are so many layers there
#
petermolnar
there Core
#
petermolnar
I can't write
#
petermolnar
_their_ Core is layer upon layer, with cross-references, missing filters, and tonnes of semi- or fully hardcoded string concats
#
petermolnar
it's a monster
#
GWG
You would have liked the guy who showed up in the Core Slack channel offering to rewrite WordPress for them.
#
GWG
He'd rewrite the whole thing to make it better, but they'd have to maintain it afterward.
#
tantek
GWG, since it's open source, the right answer is to tell the guy, "Go for it! And demonstrate your rewrite using your own primary personal site!"
#
petermolnar
I'm not a rookie :); I have seen similar, old code, which became creatures of their own to handle _every_ possible scenario
#
tantek
either that gets them to reconsider, or they end up actually producing something new and awesome and moving the community forward
#
GWG
tantek: Their response was that he might be overscoping. Maybe he wants to pick one aspect and work on that.
#
petermolnar
GWG did you know the admin media manager is filled up using underscore templates with monsterous PHP-to-JSON mappings?
#
GWG
petermolnar: Yes, I've heard people comment that the fact that only one developer set up and committed most of that initiated a change in process that requires more peer review in future.
#
GWG
I'm not touching that code with a ten meter pole.
#
tantek
GWG, selfdogfooding is a good way to cause selfcorrection of overscoping
#
tantek
either people reduce their scope and ship, or they don't
#
petermolnar
I wanted to create cache folders for downsized images using the name of the image size, and for frontend, I succeeded rather well
#
tantek
and it's self-evident that they've overscoped
#
GWG
tantek: Good point.
#
petermolnar
turned out the admin is not using the same filters as the frontend... that is why I ended up looking at that code and ended up reverting my stuff
#
GWG
I failed at trying to get Linkback improvements as a feature project because I couldn't explain scope.
#
GWG
And Linkbacks are a relatively minor part of WordPress.
#
tantek
GWG, it's a big reason we have selfdogfooding as a principle here, it is a very strong reinforcer of minimalism and a strong discourager of architecture astronomy
#
GWG
I still have problems where my dreams and reality don't mix.
#
tantek
GWG, it's good to have dreams, don't let go
#
tantek
just take them one piece at a time as you turn them into your reality
#
petermolnar
dreams are hard: the majority of dreams are more of feelings and it's a tricky task to turn them into actionable points
#
GWG
Look at the example from a few minutes ago. I'm trying to upgrade my Bridgy Publish plugin. Why? Because I want to be able to POSSE with Micropub and I need at least one POSSE plugin to use to develop the interconnections...then the same connections could be used for other plugins.
#
GWG
In order to do that, I have to overcome the reasons why I didn't switch to Bridgy Publish from SNAP.
KevinMarks and gRegorLove joined the channel
#
miklb
just throwing it out there, but if anyone is looking for a php based publishing platform to hack on, Habari is ripe for IndieWeb features https://github.com/habari/habari
#
tantek
what is Habari?
#
Loqi
It looks like we don't have a page for "Habari" yet. Would you like to create it?
#
miklb
Habari is a php based blogging platform based on OOP and MVC architecture
#
loqi.me
created /Habari (+105) "prompted by tantek and dfn added by miklb"
(view diff)
#
tantek
oh dear OOP
#
tantek
what is OOP?
#
Loqi
The object-oriented-programming antipattern is the excessive / unnecessary use of object-oriented-programming (OOP) and OOP techniques when simple procedural functions would have sufficed, with less overhead, fewer files to navigate around, fewer indirections to follow while debugging, etc https://indieweb.org/OOP
#
tantek
what is MVC?
#
Loqi
It looks like we don't have a page for "MVC" yet. Would you like to create it?
#
miklb.com
edited /Habari (+56) "add link"
(view diff)
#
aaronpk
I usually write OOP code, but it isn't exactly a selling point when describing a publishing platform IMO
#
miklb
I'd say Habari was still left in a state that's it is still more geared for hackers than general users, though it's quite capable of running a blog as is.
#
gRegorLove
miklb: Are you running Habari? I thought someone here recently was using it.
#
gRegorLove
Or maybe it just came up in the homepage redesign conversation
#
miklb
gRegorLove I switched away beginning of this year to Jekyll
#
miklb
I am a core comitmter blah, blah
#
miklb
s/comitmer/committer
#
miklb
I have thought about hacking some IndieWeb stuff into it, but am still scratching itches on Jekyll so it's low priority. But if anyone is looking for a solid php based code base, that is database agnostic, it's worth taking a look at
#
voxpelli
aaronpk: it may be a selling point when the dominating tools on the platform are WordPress and Drupal ;)
#
aaronpk
voxpelli: 😂
#
gRegorLove
Probably worth listing yourself under IndieWeb Examples, just note "former"
cweiske joined the channel
#
miklb
there is one design in Habari that is a bit antithesis of IndieWeb in that it actually supports pulling content in FROM silos, rather than push OUT
#
miklb
but the "silo" feature could easily be adapted I believe to do the reverse
#
miklb
anyway, just wanted to throw it out there, since I see a lot of complaints about other php based tools
#
tantek
miklb - yeah, antithesis is probably a bit strong, I mean we do have /PESOS defined which is exactly that (pulling content in FROM silos) even if we actively *prefer* /POSSE
#
tantek
but in some (many?) cases, PESOS is the only practical thing
#
tantek
e.g. IG :/
#
www.erskine.co.uk
edited /2016/Brighton (+55) "Added Erik Erskine to participants"
(view diff)
#
aaronpk
for me the main benefit of PESOS is to be able to use the tools/apps of a silo and take advantage of the fact they continue to make improvements to their interfaces
#
aaronpk
which is why i made ownyourgram and keep using it
#
miklb
tantek sure, and at the time, the community decided that it made sense to offer the ability to pull from places (i.e. Flickr or Youtube) easily
#
miklb
heh, just saw the def of OOP. Someone has some feels about it I see
#
aaronpk
wow pivotal has a pretty thorough article on it
#
tantek
expects similar articles in the future for SPA, various JS-only frameworks, etc.
#
bear
"Object-oriented programming is an exceptionally bad idea which could only have originated in California — Edsger W. Dijkstra" love that
#
KevinMarks_
Modelling the world as hierarchy is often suspect
#
aaronpk
that's why I like php's new "Traits"
#
aaronpk
where you can pull in some functionality into a class, and use it in other classes as well, totally not hierarchical
#
KevinMarks_
Is that like Go's interfaces?
#
aaronpk
i'm not familiar enough with Go to know
#
tantek
what is a framework?
#
Loqi
A framework is a collection of reusable software that allows a person to use some feature/functionality in some problem domain without building it from scratch https://indieweb.org/framework
#
KevinMarks_
Go interfaces are defined as a list of functions. If your thing implements the functions, it implements the interface.
#
aaronpk
Oh that's just normal OOP interfaces
#
aaronpk
php has that too. But traits are like interfaces that have code
#
voxpelli
PHP has interfaces as well, traits provide methods that can fulfill an interface
#
voxpelli
So they two go hand in hand very well
#
voxpelli
Becomes as DRY as when one class inherits another
#
cweiske.de
edited /authorization-endpoint (+339) "/* Creating an Authorization Endpoint */ note about different me URLs"
(view diff)
loicm_ joined the channel
#
GWG
Afternoon
#
gRegorLove
Didn't know about PHP Traits. Interesting.
#
KevinMarks_
The interesting thing about the go interfaces is that there is no "uses" or declaration, the linker just works it out if the method signatures match
#
www.boffosocko.com
edited /site-deaths (+566) "/* Past */ Readlists RIP 7/31/16"
(view diff)
ChrisAldrich joined the channel
#
ChrisAldrich
And darn it all if Readlists didn't manage to die with a tiny amount of my data... Fortunately I had an old export with the most important part.
#
aaronpk
bummer
#
GWG
Another surprise problem
#
kevinmarks.com
edited /sealioning (+30) "add cartoon image"
(view diff)
#
ChrisAldrich
I didn't use the Readlists often, but it was nice for putting together quick ebook versions of web pages. I have some high end tools for doing this, but their web implementation was stupidly easy...
#
gregorlove.com
edited /site-deaths (+75) "Picturelife.com near miss"
(view diff)
#
aaronpk
i just listened to that episode!
#
KevinMarks_
That was scary. It made me want to backup my photos to more clouds
#
gregorlove.com
edited /site-deaths (+158) "Archived Coinkite Bitcoin web wallet"
(view diff)
#
gregorlove.com
edited /site-deaths (+64) "Archived Experience Project"
(view diff)
#
gregorlove.com
edited /site-deaths (+108) "/* Experience Project */ archived blog post"
(view diff)
#
gregorlove.com
edited /site-deaths (+20) "Archived Livemocha"
(view diff)
#
gregorlove.com
edited /site-deaths (+209) "Archived Picasa, added album archive link"
(view diff)
#
cweiske
how I'd love that indieauth.com would show the response of something horribly wrong.
#
aaronpk
say what?
#
cweiske
indieauth.com only said that something went horribly wrong
#
cweiske
but didn't show me the response of my server
#
gregorlove.com
edited /site-deaths (+145) "Archived MetaMind"
(view diff)
#
aaronpk
that usually means something threw an exception
#
cweiske
no, my server sent a 400 back
#
cweiske
which is an error on my part, but i'd liked to have seen the output
#
cweiske
now I had to add debug file prints into my code to get to the issue
#
gregorlove.com
edited /site-deaths (+219) "Archived revolv, added quote about refunds"
(view diff)
#
aaronpk
but yes file an issue to ask indieauth.com to show you the response from your endpoint when it gets an unexpected response
#
aaronpk
that would definitely be a more helpful thing it could do
#
cweiske
I already added a workaround for #93 in my code
#
aaronpk
soon i will have time to get to work on some of these old issues
#
gregorlove.com
edited /site-deaths (+148) "Archived Poetica"
(view diff)
#
gRegorLove
Phew. So many site-deaths :(
#
cweiske
ah. now commentpara.de's auth server is working, just not with indieauth.com because of
#
cweiske
The authorization server replied with me=http://commentpara.de/user/2.htm but we were expecting http://commentpara.de/
#
cweiske
(which is already filed)
#
aaronpk
nice. you don't need that to keep making progress on it tho right?
#
cweiske
quill works fine with it
#
aaronpk
cause a posting client like quill doesn't end up using indieauth.com
#
cweiske
I already created a comment with quill: http://commentpara.de/comment/8.htm
#
Loqi
aaronpk: lol
#
gregorlove.com
edited /site-deaths (+29) "/* Upcoming */ link Togethera"
(view diff)
#
aaronpk
you can test how the comment looks by sending replies to posts on webmention.rocks
#
cweiske
thanks for the hint.
#
cweiske
will do as soon as I implement linkback sending
#
gregorlove.com
edited /site-deaths (+18) "Archived ThinkUp"
(view diff)
#
gregorlove.com
edited /ThinkUp (+0) "past tense"
(view diff)
#
kevinmarks.com
edited /content_addressing (+430) "/* old weirdness */"
(view diff)
#
cweiske.de
edited /indieauth-for-login (-2) "/* Authorization Process */ token -> code"
(view diff)
tantek joined the channel
#
KevinMarks_
The more I look at content addressing, the more weirdness I find
#
tantek
sounds worthy of incubation
#
gRegorLove
GWG: Have any experience/recommendations with WP plugins for a better page admin area?
tantek joined the channel
#
@SecNewsBot
Hacker News - IndieAuth: Sign in with your domain name https://indieauth.com/
(twitter.com/_/status/760964234909974530)
#
aaronpk
nice "How come I never heard about it, this seems like a better successor to openID."
#
tantek
The expression "how come I never heard about it" is dripping with entitlement
#
loqi.me
edited /OOP (+90) "/* See Also */ new section"
(view diff)
KevinMarks_ joined the channel
#
aaronpk
wait, the person who submitted it asked that question! lol
miklb joined the channel
#
gRegorLove
Wat. We can add sections with page << section?
#
Loqi
There was an error: Array
#
aaronpk
just adding things to the "see also" section