#dev 2017-03-06

2017-03-06 UTC
#
KevinMarks_
Adactio had a nice variant in his book, where highlighting changed the url in the address bar
#
KartikPrabhu
adactio's variant didnot handle funny wihtespace stuffs that I fxed in my version
#
Loqi
[Kartik Prabhu] So there are a bunch of things going on with fragmentions and non-break spaces * fragmention.js replaces all whitespaces by a normal space while searching for text https://github.com/chapmanu/fragmentions/commit/05a8200296aa78de1f9ed84c4801f5d8c42b1...
[dgold] joined the channel
#
aaronpk
naming things is hard
#
aaronparecki.com
edited /User:Aaronparecki.com (+752) "/* itching */ need to rename things"
(view diff)
#
KevinMarks_
Also webmention.herokuapp.com needs a name
#
aaronparecki.com
edited /User:Aaronparecki.com (+27) "/* working on */ +WebSub"
(view diff)
#
aaronpk
yes also that
#
KartikPrabhu
what is telegraph?
#
Loqi
Telegraph is an open source API and service for sending webmentions, part of the p3k suite https://indieweb.org/Telegraph
#
aaronpk
maybe i should make telegraph also handle receiving?
#
aaronpk
telegraph is a good name
#
KartikPrabhu
yeah I was thinking the same
#
KartikPrabhu
telegraphs work both ways :)
#
KartikPrabhu
mine is called "Connection"
#
KartikPrabhu
it does webmentions (both ways) and also mf parsing
#
aaronpk
only potential problem is telegraph and webmention.io are written in different languages!
#
aaronpk
telegraph is PHP, webmention.io is ruby
#
KartikPrabhu
has trouble with one language!
#
aaronpk
tho most of the work of webmention.io is background processing so i could maybe combine them, have the PHP code queue up the webmention processing and keep the existing processing happening in Ruby
#
aaronpk
that sounds slightly easier than rewriting everything
#
aaronpk
although... webmention.io does call XRay to do the microformats parsing ?
#
aaronpk
XRay is php
#
Loqi
KartikPrabhu: lol
#
KartikPrabhu
Loqi: what lanaguage do you speak?
#
aaronpk
Loqi is a combination of Ruby and PHP lol
#
aaronpk
yeah i think i'm gonna merge these
#
KartikPrabhu
:thumbsup:
#
GWG
I feel like I should keep my can of worms open at all times
#
aaronpk
speaking of cans of worms, I sure opened a big one today
#
GWG
aaronpk, I feel that way all the time
#
aaronparecki.com
edited /Webmention (+220) "rephrase intro"
(view diff)
#
GWG
I remember I opened up a can of worms the first Indiewebcamp I attended. I showed tantek something, and it sparked a debate.
#
KevinMarks_
Known sending all webmentions and posse posts synchronously makes it feel slow
#
aaronpk
KevinMarks_: that is my constant worry about releasing a simplified version of p3k
#
aaronpk
doing it async is the only way to make it not sluggish, but that opens up a bunch of challenges on how to actually do that on shared hosting
#
KevinMarks_
Right, with php hosting. With node it would make more sense to be async
#
aaronpk
i said "simplified" lol
#
aaronpk
nothing about releasing a node project would be simplified compared to php :P
#
KevinMarks_
Right, unless you can assume Heroku or other stable hosting framework
#
aaronparecki.com
edited /Webmention (+220) "clarifications in summary"
(view diff)
#
aaronparecki.com
edited /webmention-implementation-guide (+384) "move test tools to implementation page"
(view diff)
#
aaronparecki.com
edited /Webmention () "(-928) move test tools to implementation page"
(view diff)
#
aaronparecki.com
uploaded /File:seblog-webmention-comment.png "https://seblog.nl/2017/02/16/2/day-32-new-repost-policy"
KevinMarks joined the channel
#
aaronparecki.com
uploaded /File:kryogenix-webmention-comment-display.png "https://www.kryogenix.org/days/2017/02/24/a-standard-password-change-api/"
#
aaronparecki.com
edited /Webmention (+440) "add some screenshots of displaying webmention comments"
(view diff)
#
aaronparecki.com
uploaded /File:kartikprabhu-fragmention-display.png "https://kartikprabhu.com/articles/marginalia"
#
aaronparecki.com
edited /Webmention (+103) "/* Kartik Prabhu with kartikprabhu.com */ add screenshot"
(view diff)
#
aaronparecki.com
uploaded /File:aaronparecki-webmention-display.png "https://aaronparecki.com/2017/02/27/4/day-69-editing-in-quill"
#
aaronparecki.com
edited /Webmention (+93) "/* Aaron Parecki with p3k */ add screenshot"
(view diff)
#
aaronparecki.com
edited /Webmention (+2) "add linebreaks to intro paragraph"
(view diff)
#
aaronparecki.com
uploaded /File:waterpigs-webmention-display.png "https://waterpigs.co.uk/notes/4n2Kp2/"
#
aaronparecki.com
edited /Webmention (+115) "/* Barnaby Walters with Taproot */ add screenshot"
(view diff)
KevinMarks joined the channel
#
aaronparecki.com
uploaded /File:barryfrost-webmention-display.png "https://barryfrost.com/2016/06/i-would-love-the-option-to"
#
aaronparecki.com
edited /Webmention (+113) "/* Barry Frost with barryfrost.com */ add screenshot"
(view diff)
#
aaronparecki.com
uploaded /File:adactio-webmention-display.png "https://adactio.com/journal/6495/"
#
aaronparecki.com
edited /Webmention (+86) "/* Jeremy Keith with adactio.com */ add screenshot"
(view diff)
#
aaronparecki.com
edited /Webmention (+23) "/* Resources */ collapse headers since the only content under the header was a link"
(view diff)
#
aaronparecki.com
edited /Webmention (+297) "/* Articles */ add some blockquotes"
(view diff)
[kevinmarks] joined the channel
#
aaronparecki.com
edited /Webmention (-49) "/* See Also */"
(view diff)
#
aaronparecki.com
edited /Webmention (-343) "/* Wish List */ move wish list item to [[webmention.io]]"
(view diff)
#
aaronparecki.com
edited /webmention.io (+331) "move wishlist item from [[Webmention]] since it applied to webmention.io"
(view diff)
KevinMarks, KevinMarks_, tantek, timo, cweiske, barpthewire, [dgold], marcthiele, loicm_ and pfefferle joined the channel
#
pfefferle
good morning
#
GWG
Good morning, pfefferle. How goes the struggle?
#
pfefferle
curious about your upcoming changes :=
#
GWG
pfefferle: How so? The next one I wanted to look at was the one reported by techlifeweb. The fact that WordPress now closes pings by default for pages, and for custom post types unless they declare trackback support.
#
GWG
pfefferle: Is the act of installing the webmentions plugin suggesting they want things open by default?
#
pfefferle
GWG really?
#
petermolnar
wp closing pings on non-posts? interesting move
#
pfefferle
GWG then we have to add our own settings for WebMentions, finally...
#
GWG
Read the second to last note.
#
GWG
pfefferle, I intend to try to come up with a hybrid approach
#
pfefferle
GWG ???
#
GWG
I am thinking about the best way to work with what they changed
#
GWG
Should custom post types have to expressly declare Webmention support?
#
pfefferle
GWG I would think so
#
GWG
pfefferle, then expect a PR for the feature soon
#
pfefferle
or at least a way to disable them via settings
#
GWG
pfefferle, likely it will require the custom post type to be set as supporting.
#
GWG
It can be noted in the readme
#
pfefferle
GWG perhaps we can add a unit test for the fragmentions URLs ?!?
#
pfefferle
GWG sorry, context switch ;)
#
GWG
pfefferle, that was mostly what I was thinking with the issue I filed. Make sure that it works for sending and receiving. Unit test fits that.
#
GWG
I'd like it to also recognize it as one, but that is simply a matter of adding a is_fragmention function.
#
pfefferle
or to store the fragment in an extra field
tantek, [eddie] and barpthewire joined the channel
#
[eddie]
Hey voxpelli, have you done much complicated stuff with YAML in Jekyll? My current blockade is actually that for some reason my YAML for the first 3 posts work, but the 4th-20th suddenly don’t work. I’m basically trying to create an array of syndication objects (name, url). But I think I must have hit some strange abnormality in YAML
#
singpoly1a
[eddie]: I have done some pretty weird stuff with jekyll. what does your yaml look like?
#
voxpelli
I'm no YAML-master :/
#
[eddie]
No worries voxpelli ? Thanks singpoly1a, It looks like this:
#
[eddie]
syndication:
#
[eddie]
- name: Twitter
#
[eddie]
- name: Instagram
#
@EddieHinkle
003/365: Enjoyed a Gotham Binge with Ash, as we try to catch up on this season of Gotham. … http://ift.tt/2hQMwqq https://pbs.twimg.com/media/C1TdNNhWgAEK0ZD.jpg
(twitter.com/_/status/816520653310488576)
#
[eddie]
- name: Facebook
#
Loqi
[Eddie Hinkle] 003/365: Enjoyed a Gotham Binge with Ash, as we try to catch up on this season of Gotham. ? #Eddie365 #Day3 https://scontent.cdninstagram.com/t51.2885-15/e35/15403375_238099039948675_581417857527578624_n.jpg
#
[eddie]
oops bad Loqi
#
[eddie]
syndication:
#
[eddie]
- name: Twitter
#
[eddie]
- name: Instagram
#
[eddie]
url: <instagramUrl>
#
[eddie]
url: <TweetUrl>
#
[eddie]
- name: Facebook
#
[eddie]
url: <facebookUrl>
#
[eddie]
I also have tried with quotes around the Url value
#
singpoly1a
and what's it doing?
#
singpoly1a
that yaml looks pretty simple :) I expect an issue in the Liquid or similar
#
[eddie]
It’s odd. For the first three, it prints them out on the template correctly. Then for 4-7 it doesn’t present an error but it doesn’t appear in the page. Finally the 8th entry presents this error: "Error: could not read file "Development/personal/eddie-personal/_source/_note/images/2017-01-08-day-8.md: (<unknown>): mapping values are not allowed in this context at line 15 column 6"
#
[eddie]
Which lines up to the url: <facebookUrl> line
#
singpoly1a
Liquid in default config never errors, it just prints nothing or similarly useless/confusing behaviour :P
#
[eddie]
ohhhhh
#
singpoly1a
put your liquid in a pastebin?
#
Loqi
hehe
#
singpoly1a
you can also put something like {{ page.syndication | json }} into the page to see what the YAML is parsing as, in case there's an indentation issue or something
#
[eddie]
Ohhh, that’s interesting and good to know.
#
singpoly1a
so you see no markup in page for 4-7 ? or you see the tags, but they're empty?
#
singpoly1a
I'm beginning to suspect indentation maybe
#
[eddie]
All i get is: <footer class="">
#
[eddie]
</footer>
#
[eddie]
Syndicated:
#
singpoly1a
oh, so you don't get any of it at all
#
singpoly1a
and the syndication key is top-level in the frontmatter for this pagge?
#
tantek.com
edited /data-portability (+933) "add a start to a formats section with reasoning."
(view diff)
#
[eddie]
no indent on syndication key
#
singpoly1a
when do you get with {{ page.syndication | json }} or even just {{ page.syndication }} ?
#
[eddie]
This is with page.syndication | json:
#
[eddie]
<footer class="">
#
[eddie]
Syndicated:
#
[eddie]
</footer>
#
@EddieHinkle
Still working on unpacking my office boxes ? at the new Townhome ? #Eddie365 #DayFour http://ift.tt/2jblBaX https://pbs.twimg.com/media/C1XcYmBW8AE3O-J.jpg
(twitter.com/_/status/816801224766918657)
#
singpoly1a
ok, so something is very wrong
#
singpoly1a
page.syndication seems to contain just the raw string instead of the parsed yaml...
#
[eddie]
Well I’m glad to know I’m not going crazy. lol
#
tantek.com
edited /Foursquare (+323) "History, launch, prior efforts"
(view diff)
#
singpoly1a
can you just pastebin your whole file? redact anything private
#
tantek.com
edited /export (+78) "move see also to silos since that's what they all are, add new See Also to data portability"
(view diff)
#
[eddie]
huh strange, in my editor it shows the indentation properly, but when I pasted it into pastebin, the twitter name indentation has an issue
#
singpoly1a
tabs vs spaces?
#
[eddie]
I have my project set as spaces and I tried a “convert indentation to spaces” function in VS Code so it should be spaces
#
loqi.me
created /WordPress_export (+199) "prompted by tantek and dfn added by petermolnar"
(view diff)
#
[eddie]
Well at least I know what’s going on with it then. There’s something funky with the indentation/spaces in my files
#
[eddie]
Thanks!
#
tantek.com
edited /export (+141) "explicitly note indieweb examples, CMS support"
(view diff)
#
[eddie]
does YAML require specific spacing? 1 space vs 2 space? as long as they are all even
#
loqi.me
edited /data-portability (+99) "/* See Also */ new section"
(view diff)
#
tantek.com
edited /export (+41) "/* Silos */ iMessage"
(view diff)
#
loqi.me
edited /data-portability (+13) "tantek added "[[export]]" to "See Also""
(view diff)
#
sknebel
[eddie]: I think it doesn't care. just don't use tabs
#
[eddie]
:thumbsup: My IDE must have been doing something weird and not respecting my convert tabs to spaces requirement. I tried it with 1 space and removed the `and page.syndication.length > 0` and now it works
#
[eddie]
Thanks!!
#
[eddie]
singpoly1a++
#
Loqi
singpoly1a has 1 karma
#
[eddie]
sknebel++
#
Loqi
sknebel has 4 karma in this channel (23 overall)
#
singpoly1a
[eddie]: YAML does unfortunaly ban tabs. 2 or 4 spaces is common, but not required
#
aaronpk
Heh I always thought it was strictly 2 spaces. Guess I've never actually read the spec
#
sknebel
what's also a bit confusing is that some of the prefix characters (e.g. - for lists, where it doesn't really matter, but there are others) also count as spaces, with the goal that the *content* is aligned, not the markup for the structure. clever on one hand, annoying with editors sometimes
#
Loqi
[[eddie]] :thumbsup: My IDE must have been doing something weird and not respecting my convert tabs to spaces requirement. I tried it with 1 space and removed the `and page.syndication.length > 0` and now it works...
#
[eddie]
For anyone who uses YAML and VisualStudio Code, best thing ever: “View -> Toggle Render Whitespace"
#
aaronpk
huh Slack used to send +1 for that
#
aaronpk
maybe my lookup isn't taking aliases into account
#
[eddie]
Yeah +1 and :thumbsup: are the same thing. But if you put : slack starts an autocomplete emoji look up. So me (and others) tend toward using shortcodes that start with the colons for ease of use
loicm_ and [kevinmarks] joined the channel
#
tantek.com
edited /events/2017-03-08-homebrew-website-club (+16) "/* US East */ Apparently no Scranton this week"
(view diff)
#
tantek
hey all you smart indieweb devs
#
tantek
this is finally up! (as of 15 min ago?)
#
@osbridge
Want to speak at @osbridge this year? We'd love to have you! Our Call for Proposals is now open: http://ow.ly/wEDl309BHwS
(twitter.com/_/status/838783850964783104)
#
aaronpk
darn, audio from last year's talks isn't online yet
#
aaronpk
if i do another talk this year, i'm bringing my own lav mic this time
#
tantek
seriously
#
tantek.com
edited /events/2017-03-08-homebrew-website-club (+33) "/* San Francisco */ indie event and FB copy"
(view diff)
KevinMarks and [keithjgrant] joined the channel
#
vanderven.se martijn
edited /events/2017-03-08-homebrew-website-club (+76) "/* West Europe */ Cancel the Netherlands."
(view diff)
KevinMarks, tantek and bwt joined the channel
#
tantek
!tell gRegorLove if the latest HWC pages (either this week or last week or the week before) look good to you, go ahead and clone for 2017-03-22 and April too
#
Loqi
Ok, I'll tell them that when I see them next
singpolyma and gRegorLove joined the channel
#
tantek
good morning gRegorLove
#
aaronpk
oh nuts, Clef is shutting down
#
gRegorLove
What is Clef?
#
Loqi
gRegorLove: tantek left you a message 27 minutes ago: if the latest HWC pages (either this week or last week or the week before) look good to you, go ahead and clone for 2017-03-22 and April too
#
Loqi
Clef is an application that enables websites to authenticate users without passwords https://indieweb.org/Clef
#
aaronpk
i added Clef support to indieauth.com a while ago
#
gRegorLove
Oh yeah, I remember. Bummer. :/
#
sknebel
hm, on their current website the only "get started" like options are labelled "$1000/mo" and "call us" ?
#
gregorlove.com
edited /Clef (+180) "shutdown now, see also: site-deaths"
(view diff)
#
gRegorLove
s/now/note/
#
aaronpk
https://getclef.com/developer/ still has "start an integration"
#
aaronparecki.com
edited /p3k_naming_convention (+117) "/* Components of p3k */"
(view diff)
#
aaronpk
what is Atlas?
#
Loqi
It looks like we don't have a page for "Atlas" yet. Would you like to create it?
#
aaronpk
Atlas is a set of APIs for looking up information about locations, including a timezone lookup, finding the name of a city given a latitude/longitude, finding the current weather at a location, and generating static maps. Atlas is part of [[p3k]].
#
loqi.me
created /Atlas (+279) "prompted by aaronpk and dfn added by aaronpk"
(view diff)
#
loqi.me
edited /Atlas (+52) "/* See Also */ new section"
(view diff)
#
Loqi
ok, I added "https://github.com/aaronpk/Atlas" to the "See Also" section of /Atlas
#
gregorlove.com
edited /site-deaths (+109) "archived Panoramio"
(view diff)
#
gregorlove.com
edited /site-deaths (+22) "archived Persona"
(view diff)
#
aaronpk
oh gosh is persona totally gone now?
#
sknebel
yeah, shut down in november as was announced I think?
#
gRegorLove
Yep. Just confirmed: login.persona.org
#
gregorlove.com
edited /site-deaths (+36) "archived TiddlySpace"
(view diff)
#
aaronpk
at least with persona, the identity was your email address so people can implement fallback methods, like emailing a login token
#
gRegorLove
Do acquisitions count as site-deaths? OpenStudy is listed, but was acquired: https://www.crunchbase.com/organization/openstudy#/entity
#
gRegorLove
Not familiar with either service
#
aaronpk
did something get shut down? did people lose data?
#
gRegorLove
No idea. I'll leave it.
#
gregorlove.com
edited /site-deaths (+120) "archived OpenStudy, noted acquisition/unclear if data lost"
(view diff)
#
gregorlove.com
edited /site-deaths (+71) "/* TiddlySpace */ open source, github link"
(view diff)
#
gregorlove.com
edited /site-deaths (+483) "/* Upcoming */ +Clef"
(view diff)
#
keithjgrant.com
edited /Omnibear (+17) "/* Features */"
(view diff)
barpthewire, loicm_ and [eddie] joined the channel
#
gregorlove.com
edited /read_later (+434) "/* Indieweb Examples */ subhead for names, +me"
(view diff)
#
gregorlove.com
edited /User:Gregorlove.com (+145) "/* Interests */ read/read later improvements"
(view diff)
KartikPrabhu joined the channel
#
loqi.me
edited /messaging (+80) "aaronpk added "https://www.wired.com/2016/06/hey-stop-using-texts-two-factor-authentication/" to "See Also""
(view diff)
tantek and [terminalpixel] joined the channel
#
KartikPrabhu
Loqi: messages?
[eddie] and [dgold] joined the channel
#
tantek
dang, OSBridge conflicts with a W3C AB meeting in Boston :(
#
loqi.me
created /Allo (+92) "prompted by tantek and dfn added by gRegorLove"
(view diff)
#
loqi.me
created /Yallo (+111) "prompted by tantek and dfn added by tantek"
(view diff)
#
loqi.me
edited /lulz (+12) "tantek added "[[Yallo]]" to "See Also""
(view diff)
#
gregorlove.com
edited /Allo (+2) "links"
(view diff)