#dev 2017-11-14

2017-11-14 UTC
snarfed, [eddie], [miklb], j12t, [kevinmarks], [colinwalker], renem and tantek joined the channel
#
@davidcelis
http://micro.blog has gotten me really interested in the world of Micropub/Webmention/Syndication but there's like… no boilerplate. it seems like i'd have to build my server from scratch
(twitter.com/_/status/930282841253875712)
tantek joined the channel
#
tantek
that seems worth a follow-up
#
@brandonmblack
@davidcelis People drove hard at this years ago, but it kind of died off. No one could seem to establish a well adopted open standard and everything else became too tightly coupled to the underlying systems. I’d love to see someone like yourself take a fresh swipe at it ?
(twitter.com/_/status/930283495519170561)
tantek, snarfed, KartikPrabhu and [kevinmarks] joined the channel
#
[kevinmarks]
I think he's talking about websub
#
Loqi
[kevinmarks]: snarfed left you a message 1 day, 8 hours ago: btw http://www.indiemap.org/ is a good source for the kinds of stats you all were idly guessing about while debating authorship and representative h-card. easy to data mine w/SQL. happy to help!
tantek, [pfefferle], cweiske, [colinwalker], loicm and bengo joined the channel
jeremycherfas, [colinwalker], [dgold], loicm, eli_oat, tantek, snarfed, jeremych_ and John__ joined the channel
#
Zegnat
I just published my code from IWC Berlin :D https://github.com/Zegnat/php-linkextractor
#
Zegnat
Thanks to treora and sknebel for the discussions. Now to get it to v1 ASAP!
#
Loqi
[Zegnat] php-linkextractor: Class for finding all resources an HTML document links to.
#
Zegnat
I also, apparently, do not understand Packagist? `composer require zegnat/linkextractor` isn’t doing it for me yet *sigh*
KartikPrabhu joined the channel
#
treora
Zegnat: good work!
#
aaronpk
Zegnat: sometimes it takes a bit for it to show up on packagist.org
#
aaronpk
worked for me!
#
Zegnat
Cool! :D
#
dgold
more nazis!
#
dgold
if I fork a package that's in php-composer, how do I use that forked package in my php?
#
aaronpk
you can tell it where to find other repos here https://getcomposer.org/doc/04-schema.md#repositories
snarfed joined the channel
#
Zegnat
That part has always been the biggest composer headache for me. Sometimes I wish I could just do `composer require {githubURL}`.
#
dgold
that's what I'd hoped, Zegnat
#
aaronpk
i'm kind of surprised the "require" command doesn't support that
#
aaronpk
seems like it wouldn't be a stretch for the require command to add the appropriate stuff to the composer.json file
#
Zegnat
And for quick things, the amount of @dev-master I have had to write ... because the repos wouldn’t have “proper” version tags in place. Ugh.
#
sknebel
I think there is an extra command to add a repository via cmd
#
Zegnat
For big packages it is all nice and done, they are on GitHub, on Packagist, correctly linked up, etc. But for my own local workflow I find composer to be a nightmare.
#
aaronpk
Zegnat: you get used to it. i've been publishing more and more on packagist.
#
Zegnat
I used git-flow for linkextractor now. That takes care of the tagging. So one less thing to worry about.
#
sknebel
that's something basically all packaging systems don't do very well IMHO
#
sknebel
(of course it doesn't help that every single one is slightly different...)
#
dgold
i hate to ask - git-flow?
#
Zegnat
git-flow (or git-flow-avh for better support) is an extension for git that gives you some short commands for following a specific branching model: http://nvie.com/posts/a-successful-git-branching-model/
#
sknebel
What is git-flow?
#
Loqi
It looks like we don't have a page for "git-flow" yet. Would you like to create it?
#
sknebel
What is git flow?
#
Loqi
It looks like we don't have a page for "git flow" yet. Would you like to create it?
#
Zegnat
Not sure which name to prefer for the wiki
#
Zegnat
What is git-flow?
#
Loqi
It looks like we don't have a page for "git-flow" yet. Would you like to create it?
#
Zegnat
git-flow (or git-flow (AVH) for better support) is an extension for git that gives you some short commands for following a specific branching model: http://nvie.com/posts/a-successful-git-branching-model/
#
Zegnat
git-flow is an extension for git that gives you some short commands for following a specific branching model: http://nvie.com/posts/a-successful-git-branching-model/
#
loqi.me
created /git-flow (+193) "prompted by Zegnat and dfn added by Zegnat"
(view diff)
#
sknebel
nice, Kaja left that one alone
#
sknebel
seems like the fix worked
#
Zegnat
I am fixing the def by hand now
#
vanderven.se martijn
edited /git-flow (+107) "How is this?"
(view diff)
#
Zegnat
What is git-flow?
#
Loqi
git-flow (or git-flow (AVH Edition)) is a collection of Git extensions for following a popular branching model of the same name https://indieweb.org/git-flow
#
Loqi
ok, I added "https://jeffkreeftmeijer.com/git-flow/" to the "See Also" section of /git-flow
#
loqi.me
edited /git-flow (+58) "/* See Also */ new section"
(view diff)
#
dgold
aaronpk: so I do the regular require &c, then change the composer.json to point to the new source, then composer update?
#
loqi.me
edited /git-flow (+54) "Zegnat added "https://danielkummer.github.io/git-flow-cheatsheet/" to "See Also""
(view diff)
#
Loqi
ok, I added "https://danielkummer.github.io/git-flow-cheatsheet/" to the "See Also" section of /git-flow
#
Zegnat
That’ll do. Sorry for spamming -dev. But those links are nice if you want to have a look at how you can manage your git usage, dgold
#
dgold
those are very helpful, Zegnat, thank you
#
dgold
reading some links; other than the git-flow toolset, I appear to always have been using git-flow concepts anyway
#
dgold
I always branch to start a feature, then close the branch when its done - what I've not been doing is a develop/master dichotomy
#
Zegnat
The pretty nice thing is that the git extensions can handle a lot of it for you. E.g. `git flow feature start my-great-new-thing`. Then you can just do `git flow feature finish` while on that branch and it’ll take care of the merges and branch removal etc.
#
Zegnat
LinkExtractor is my first “serious” use of the extensions. I liked it especially because `git flow release finish` also creates the git tag, which is necessary for Packagist.
#
dgold
now that is handy to know
#
dgold
does installing git-flow muck up anything not using it?
#
dgold
(memories of hg 'patches' and 'mods')
#
Zegnat
The extension simply adds a set of commands under the git library that you access through `git flow [command]`
tantek, sebsel and [miklb] joined the channel
#
dgold
sebsel++ for the irc-bot post
#
Loqi
sebsel has 17 karma in this channel (52 overall)
#
dgold
sknebel++ for the same
#
Loqi
sknebel has 26 karma in this channel (70 overall)
#
dgold
i've got all my books/reading stuff now handled by tiktok thanks to those fine posts of both
#
dgold
cuts way down on server overhead too
#
dgold
php >> js
#
[miklb]
I find this git work flow useful too http://www.git-town.com
#
dgold
sknebel: its been loads of fun - script does googlebooksAPI searches, fills in all the details on my booksdb, and since last night sends a note to my blog confirming I've started reading a new book
snarfed, j12t, KartikPrabhu, [miklb] and tantek joined the channel
#
aaronparecki.com
edited /p3k_naming_convention (+27) "/* Unused Names */"
(view diff)
j12t_, KartikPrabhu, John__, [kevinmarks], [pfefferle], snarfed and tantek joined the channel
#
aaronparecki.com
edited /p3k (+167) "/* Apps */"
(view diff)
snarfed joined the channel
#
tantek.com
edited /Independent_Publisher (+253) "structure a bit, add issues link for findability"
(view diff)
snarfed joined the channel
#
aaronpk
well that was fun
#
aaronpk
just made my own mini-superfeedr https://github.com/aaronpk/Watchtower
#
Loqi
[aaronpk] Watchtower: a minimal API for watching web pages for changes, roughly speaks the WebSub protocol
bengo joined the channel
#
aaronpk
snarfed++ for the polling tier idea again
#
Loqi
snarfed has 20 karma in this channel (318 overall)
#
snarfed
yay good
#
snarfed
out of curiosity, why reinvent superfeedr?
#
aaronpk
2 reasons
#
aaronpk
the subscriber pricing isn't actually cheap, it's $1 for 10 feeds
#
aaronpk
that'll add up quickly even just for myself, not to mention if I ever let any other people use this reader
#
aaronpk
but I figured I would give it a shot at the beginning to bootstrap the rest of this project, so I signed up and tried to add some feeds
#
snarfed
wait, what? that doesn't sound right. i thought subscriber pricing was by # of notifs
#
aaronpk
but.. I couldn't get it to actually deliver anything
#
snarfed
e.g. bridgy is subscribed to 215ish feeds, ~3k notifs/mo, all within the free tier
#
aaronpk
"Every 30 days, we look at the maximum number of feeds to which you subscribed since the last invoice and we’ll bill you according to the table on the right. "
#
snarfed
confusing. definitely not how bridgy has been billed (or not billed, more accurately)
#
aaronpk
the "tracker" pricing is different
#
snarfed
yeah but it's not using that
#
snarfed
ahhhh ok. maybe i'm grandfathered in
#
aaronpk
that could be
#
snarfed
yeah. "Finally, even though this pricing should almost always mean lower invoices for our existing customers, we offer them the ability to remain on the current pricing for as long as they want."
#
aaronpk
ah well
dougbeal|mb1 joined the channel
#
tantek
!tell Zegnat is there a place on the IWC Berlin wiki page where it lists all the demos / code produced for it like your https://github.com/Zegnat/php-linkextractor ?
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[Zegnat] php-linkextractor: Class for finding all resources an HTML document links to.