#dev 2019-02-15

2019-02-15 UTC
DenSchub joined the channel
#
GWG
mblaney, WordPress is still behind on versioning of SimplePie. I have to bundle the newer version
#
mblaney
you should!
#
GWG
I think they may consider it someday. But I am already. I just hate duplication
snarfed joined the channel
#
@jensimmons
Let’s hear it from the fans of the PHP include! <?php include("foobar.php"); ?> 😚🤪🤑😹💯 (Any of us left?)
(twitter.com/_/status/1096097437469601797)
#
aaronpk
oh dear, something removed the <?php include("foobar.php"); ?> on my site when I favorited that
#
[tantek]
LOLOL test case!
[kevinmarks] joined the channel
#
[kevinmarks]
I need to make some I <? PHP t-shirts
#
[kevinmarks]
If you like php include you'll like jinja2 in python and nunjucks in node.
#
aaronpk
i promise you i wouldn't
#
eduardm
jekyll postcss
[schmarty] joined the channel
#
[schmarty]
lol kevinmarks
[jgmac1106] joined the channel
#
[jgmac1106]
this is the weirdest thing. I have tried <link href="https://fed.brid.gy"></link> and I get nothing, edited my template to try it both inside and outside content: https://quickthoughts.jgregorymcverry.com/2019/02/15/when-i-started-working-on-mozilla-leadership
#
[jgmac1106]
but if I put the link directly in the body of the text (which Known turns into a link does work
#
Loqi
[Greg McVerry] This attempt didn't work. I moved the syndication link to Bridgy into the content of the note even though I fell like it belongs outside.
tbbrown, eli_oat, snarfed, [davidmead], oodani, [tantek] and KartikPrabhu joined the channel
#
@jgmac1106
I am a proud backer of @withknown on Open Collective but this update from @benwerd has me stoked: https://opencollective.com/known/updates/thank-you 1.0 release and IPFS file storage in the future! https://fed.brid.gy (https://quickthoughts.jgregorymcverry.com/s/penM2)
(twitter.com/_/status/1096289456913559552)
[tantek] and cweiske joined the channel
#
@jgmac1106
↩️ we call them webmentions. Replaces social media with the web, way things meant to be. If I send you a reply post it appears as a comment. Works for WordPress too. hacked on @Blogger and added #IndieWeb stuff classic theme editor. … https://quickthoughts.jgregorymcverry.com/2019/02/15/edheil-we-call-them-webmentions-replaces-social
(twitter.com/_/status/1096296939786772480)
KartikPrabhu, iasai and swentel joined the channel
#
sknebel
Google invents a fragmention format too: https://news.ycombinator.com/item?id=19168442
#
Loqi
[kumaranvpl] Chrome Will Soon Let You Share Links to a Specific Word or Sentence on a Page
[kevinmarks] and kisik21 joined the channel
#
kisik21
Good morning indieweb! does my website feel stable enough for you when I'm running my home router as a gateway? https://fireburn.ru/
#
Loqi
Vika
[jgmac1106] and [Vincent] joined the channel
#
[Vincent]
@kisik21 Morning, I just tried accessing your domain and it returned a 500 😢
bradenslen joined the channel
#
[Vincent]
It’s working now for me but quite slooow. (in the UK on 50+ mb)
#
kisik21
It's always slow. I'm not sure if it's the fault of router or my sloooow backend
#
petermolnar
kisik21: if lighttpd can do http2, I'd recommend to set it up like that, it would make it faster, with no additional requirements
#
kisik21
lighttpd cannot do http2
#
petermolnar
any possibility to swap it for nginx?
#
kisik21
Considering moving to nginx but I'm afraid that the measly 700KB left on router's flash will not fit nginx inside
#
petermolnar
you're probably right
#
kisik21
using OpenWRT btw
#
petermolnar
but kudos for running it from a router
#
petermolnar
what's the hardware?
#
kisik21
ZyXEL Keenetic Omni II. 64MB RAM, 8MB flash, decent processor (its stock OS was fairly functional including downloading torrents, using SMB, FTP and other stuff, but I needed more! I needed a root shell!)
#
kisik21
without zram-swap it crashes after serving one page from my site
#
kisik21
it was running three dropbears though, they're pretty memory-hogging once there are too many
#
kisik21
Now it's running only one dropbear and lighttpd
#
kisik21
Considering reflashing it to fit all packages inside the squashfs (possibly nginx would fit!)
#
kisik21
also it renews my ssl certificates
#
kisik21
I heard nginx can proxy smtp and imap, right?
#
kisik21
petermolnar: if nginx can proxy smtp and imap I could get rid of that sshfs mount on yuki (my backend server) with SSL keys for dovecot and postfix
swentie and swentel joined the channel
#
petermolnar
I can't remember imap, stmp yes
#
sknebel
yes it can both, although afaik the authentication setup was a bit weird
#
sknebel
what do you need a mount for keys for? are you getting LE certs on the router and loading them on the server behind it?
#
kisik21
sknebel: http on michiko (my router), postfix/dovecot on yuki (my raspberry pi) with ports 25 and 143 forwarded (using STARTTLS)
#
sknebel
is that a "yes" to the second question?
#
kisik21
sknebel: yeah
#
kisik21
open to better ideas though
#
sknebel
I think none is clearly better. well, if your DNS provider supports it you could use the DNS challenge to get certificates for the mail server
#
kisik21
sknebel: no API on my provider sadly, but I can change my NS records. Considering setting up some free authoritative DNS with an API that could be used, any recommendations? preferably not cloudflare
#
sknebel
finding a better DNS host has been on my list to do too :D
#
sknebel
although I get LE wildcard certs by running my own DNS server just for the subdomain they use for verification
#
kisik21
can you do it with one NS record only?
#
sknebel
if you can set a NS record for subdomains, then yes
#
sknebel
I really should write a blog post about how I set that up, before I totally forget how it worked
#
kisik21
I wanna replicate your setup
#
sknebel
I'll try to get to writing it up soon-ish then :)
#
kisik21
I hope this can be done on OpenWRT because I really don't want to involve yuki in this
#
kisik21
yuki's OS is so outdated I'm afraid to even touch it
#
kisik21
also I'm considering upgrading to an RPi3 once I have the money
[kevinmarks] and jeremych_ joined the channel
#
[jgmac1106]
[kevinmarks] sent fragmentions link to the developers behind the Google project for annotations... Said that is exactly what they are building
#
[kevinmarks]
I should engage with them directly
#
[kevinmarks]
because I think their 'exactly' isn't mine
#
Loqi
agreed.
#
[jgmac1106]
To let you know some familiar faces in the GitHub repo already cscarven pushing for RDFa compatibility..
#
[jgmac1106]
Hacker News comments are hilarious.. Attacking Google for not using a W3C standard... When they are using ID and text selector......
#
sknebel
tbh, you can use the w3c syntax without caring about RDF at all, so I'm not sure what you mean by "RDFa compatibility"
#
[jgmac1106]
I was politely trying to say people who have expressed tension with our community are already on the issue... Avoid the tech description
#
Loqi
[kevinmarks] #5 Support the fragmention syntax as fallback
#
[jgmac1106]
The W3C annotation standard the way hypothes.is implements uses RDFa to customize
#
[kevinmarks]
the w3c annotation standard is very complicated
#
[jgmac1106]
Yeah I started to map them to mf2. Link in repo... Judell said he will help with mf2 export tool if we can just map everything for him
#
[jgmac1106]
Unmung rss got close
#
[kevinmarks]
can add mappings to unmung RSS if you like
#
[jgmac1106]
I will need to go back and take a look. My problem is I want to nest annotations under the first h-entry notine the article.
#
[jgmac1106]
But I have never dug deep into unmu
#
[jgmac1106]
That is hypothes.is rss feed into unmung
#
[jgmac1106]
!tell Zegnat it is hacky but figured out way to send students private "post" I send a reply but set it as private in Known. The webmention shows up in moderation... Student doesn't publish it...private post like.. But I can deliver critical feedback
#
Loqi
Ok, I'll tell them that when I see them next
Zegnat and sknebel joined the channel
#
GWG
My normalization of h-feeds is working. Yay. Soon I will be able to see the smiling face of the author in Microsub
bradenslen and [kevinmarks] joined the channel
#
[kevinmarks]
I am tempted to do an image link to https://thispersondoesnotexist.com/ for missing profile pics from twitter
#
@rubygems
indieauth-token-verification (0.2.0): Perform the access token verification portion of the IndieAuth process by… https://rubygems.org/gems/indieauth-token-verification
(twitter.com/_/status/1096401611860119552)
eli_oat, swentel, iasai and leg joined the channel
#
swentel
hmm I wonder how big a video can be for bridgy
#
swentel
bridgy to twitter specifically
#
sknebel
whatever twitters limit is
#
sknebel
at least I think that's how it works
#
swentel
urg it was my fault
#
swentel
my vue.js prints the video
#
sknebel
edit: seems like twitter increased their video size in the mean time, but bridgy still limits to 15 MB
#
swentel
but it wasn't included in the html underneath for non javascript :)
#
swentel
hmm actually, something else is wrong
#
swentel
got it
#
aaronpk
sknebel: please do write up your LE DNS setup. I tried that trick of using a separate sub domain pointing to a special dns server to respond to the challenges but never actually got it working.
[jgmac1106] joined the channel
#
@swentel
↩️ Works perfect with the built-in #drupal microsub server. Would be great if someone could test with other microsub servers (Aperture, Ekster ..)
(twitter.com/_/status/1096429949232254976)
snarfed and [Vincent] joined the channel
#
sknebel
swentel: is there documentation about specifically the microsub part of the drupal module? I.e. I could I use that more or less standalone as a microsub server, how does it store data etc?
#
swentel
sknebel, not much documentation apart from code
#
swentel
it pretty much resembles that form aperture
#
swentel
however
#
swentel
it's single user only right now
#
swentel
need to separate that
#
swentel
(which is fine if there's only one user of course)
#
@jgmac1106
↩️ Ohh yeah I would be remiss not mentions @swentel's work with Drupal. that works out of box for #IndieWeb but it's a harder box to build for average WordPress user. https://fed.brid.gy (https://quickthoughts.jgregorymcverry.com/s/23MpfM)
(twitter.com/_/status/1096436681719324674)
#
swentel
GWG, new release out for indigenous
#
swentel
managing channels and feeds is in
#
sknebel
swentel: thx, will take a look
#
sknebel
(also potentially to try autoauth)
#
sknebel
(too many moving parts in aperture for a quick prototype
#
sknebel
+ SPOA concerns)
[cleverdevil] joined the channel
#
[jgmac1106]
[snarfed] does this sound like it's a Known problem with the rich text HTML options .... I can't use <link> for Bridgy Fed, <a="href>" works but <link="href"> does not.....I have tried <link> inside and oustide of content in status updates. and it is in the source code
#
aaronpk
nobody pointed out that we've had fragmention for 5 years? https://news.ycombinator.com/item?id=19168442
#
Loqi
[kumaranvpl] Chrome will Soon Let You Share Links to a Specific Word or Sentence on a Page
#
sknebel
[jgmac1106]: example page?
#
sknebel
or rather, what do the logs say? bridgy fed should complain there if it fails to find the back link
#
[jgmac1106]
one sec biz call
snarfed joined the channel
#
[jgmac1106]
<link> doesn't show up in the logs, but <a> goes successful every time https://quickthoughts.jgregorymcverry.com/2019/02/15/this-attempt-didnt-work-i-moved-the
#
Loqi
[Greg McVerry] This attempt didn't work. I moved the syndication link to Bridgy into the content of the note even though I fell like it belongs outside.
#
[jgmac1106]
and wow 550 lines of HTML a lot to send a note
#
[jgmac1106]
<p class="p-name e-content entry-content"><link href="https://fed.brid.gy"></link> tried both inside and outside of e-content
#
@edheil
↩️ Oh, I know known and like it a lot! Was using it previously. I just wanted native comments (not just webmentions) and didn't think it had them. But I wonder if it was just that I didn't activate a plugin for it, I see there is one.
(twitter.com/_/status/1096454490335649793)
#
sknebel
bridgy fed log says it can't find the <link>? weird, ...
#
sknebel
you sure you sent a webmention for it?
#
sknebel
known might not send webmentions for <link>
#
Loqi
[Greg McVerry] Testing my @withknown install to see if I edited the templates for notes to have post syndicate to my fediverse instance: https://github.com/jgmac1106/Known/blob/master/IdnoPlugins/Status/templates/default/entity/Status.tp...
#
sknebel
guess it makes sense that it doesn't consider links in the template
#
[jgmac1106]
cool [cleverdevil] helped me find a syndication plugin to try for micropub, I will try the same thing for Bridgy Fed
[schmarty] joined the channel
#
GWG
!tell swentel New features work for me
#
Loqi
Ok, I'll tell them that when I see them next
#
@jgmac1106
↩️ You will get spam. Add Askimet plugin. I turn native comments off. Webmentions a better model. I build them in with students getting online for first time. The reply post, not sure why, maybe the agentive writing, usually so much richer than a… https://quickthoughts.jgregorymcverry.com/2019/02/15/edheil-you-will-get-spam-add-askimet
(twitter.com/_/status/1096463518705074178)
gRegorLove joined the channel
#
Loqi
[westurner] #4 Integration with W3C Web Annotations
snarfed joined the channel
#
willnorris
regarding the story yesterday of Chrome's "scroll to text fragment" ... I immediately reached out to the Google engineer working on the feature to ask about why fragmention wasn't listed as an "alternative considered". They have some maybe interesting use cases for extending the syntax in the future, which fragmention wouldn't allow, so I get that. Though I like kevinmarks's idea of falling back to fragmention.
#
snarfed
[jgmac1106]: yeah i expect your problem is that known only sends webmentions to links inside post content. (and maybe only to <a>s, not <link>s). bridgy fed itself will happily accept the string 'https://fed.brid.gy/' anywhere in the HTML
#
snarfed
hey willnorris! long time no see
#
willnorris
hey snarfed! :) Yep, it's been a while, but I'm still kickin
swentel joined the channel
#
[jgmac1106]
yeah it the <link> and not <a> I tried in and out of post content, and then verifies by doing it an article to make sure it wasn't the weird HTML rich text editor embedded in status posts
#
[jgmac1106]
going to try the plugin [cleverdevil] recommendation and this will give me a button as well
[tantek] and [kevinmarks] joined the channel
#
[kevinmarks]
They linked to fragmention when I looked. The point for me is that fragmentions can be the last thing you try after anyone's fragment parsing. It's the simplest and most robust
#
[kevinmarks]
You could also do Michal's sidewiki thing of enabling links to other occurrences of the text if the fragment is long enough
#
Loqi
[bokand] ScrollToTextFragment: Proposal to allow specifying a text snippet in a URL fragment
#
willnorris
they're talking about hooking it into Chrome's "find in page" feature, so you could use the native browser UI to skip through occurrences of the searched text
#
[tantek]
willnorris WDYT is a good way to get fragmentions as fallback into this? https://github.com/bokand/ScrollToTextFragment/issues/5
#
Loqi
[kevinmarks] #5 Support the fragmention syntax as fallback
#
willnorris
I'd initially wait and see if bokand responds to that issue, and see what he says. I can follow up with him directly as well to coax him toward that.
#
jacky
going to see if I can hash out this elixir IndieWeb library over the weekend
#
willnorris
just chatted with David. Sounds promising. I'll try to keep you posted if he doesn't respond on the GitHub issue
nloadholtes joined the channel
#
[kevinmarks]
Thank you. I think they have gone through the same use case journey that I have with this.
mcverryj1 joined the channel
#
[kevinmarks]
I like the idea of a command F setting the url bar to a fragmention link (maybe expanding out text to make it unique on the page, per the poetry example.
dougbeal|imac, eddietejeda and singpolyma joined the channel; mcverryj1 left the channel
#
snarfed
hey jacky, minor suggestion for your webmention receiver, you'll want to use u-url when available instead of source url for links back to wms. that would make your reply links eg here https://v2.jacky.wtf/post/fb0eb17b-dde6-48ff-a0c8-3cc107711fa4#mentions_like go to the actual tweets, instead of ugly bridgy pages
#
jacky
ooh nice
#
jacky
thanks sn
#
jacky
*snarfed
#
jacky
so I've been toying around with IPFS (tbh I'm running too many 'experiments' at once lol) and I _think_ that webmentions over ipfs might be possible
#
jacky
using their notion of pubsub; we could emulate the whole HTTP REST cycle and handle webmentions that way
#
jacky
I'm going to mess around with it probably next month but this is something I'd want
[cleverdevil] joined the channel
#
[cleverdevil]
<neo>Whoa</neo>
snarfed joined the channel
#
KartikPrabhu
what isifps
#
KartikPrabhu
what is ifps
#
Loqi
It looks like we don't have a page for "ifps" yet. Would you like to create it? (Or just say "ifps is ____", a sentence describing the term)
#
KartikPrabhu
what is ipfs
#
Loqi
IPFS is short for InterPlanetary File System, potentially a static site storage method using content based addressing https://indieweb.org/IPFS
snarfed and [ken] joined the channel
#
jacky
re: the post type discovery algo
#
jacky
is there plans to update it for things like h-event?
#
jacky
(there _shouldn't_ be a reason since it's already exposed in the top type)
#
jacky
but I can see someone (read: me) publishing something as an event but having bad markup
jgmac1106 and [jgmac1106] joined the channel
#
jgmac1106
okay if you need to set anyone up for commerce on static sites snipcart is just so dead simple. Highly recommend it. Seems too easy, if folks know of any secuirty concerns or anything let me know, but it’s a five minute ecommerce store for #IndieWeb sites
[tantek] joined the channel
#
[tantek]
jacky I think there's an issue on that?
tantek joined the channel
#
jacky
there's a repo tracking that?
#
jacky
looks
#
jacky
nvm then!
#
[tantek]
oh hey! that's even better, I was about to say file an issue 😂
tantek, [schmarty] and jgmac1106 joined the channel
#
petermolnar
I'm going to upload an experimental, relative url version of my site, if anyone spots issues, could you please let me know?
snarfed joined the channel
#
petermolnar
eh, already spotted an issue, u-featured became relative as well
#
KartikPrabhu
petermolnar: all mf2 properties are allowed to have a relative URL in the source HTML, the parser should make them absolute
jgmac1106 joined the channel
#
[tantek]
I certainly use relative u- URLs
#
[tantek]
This is amazing. I wonder if this could be yet another way to show personal /archives : https://adactio.com/notes/14815
tantek, strugee, [jgmac1106] and [cleverdevil] joined the channel