#dev 2018-05-15

2018-05-15 UTC
eli_oat, KartikPrabhu, snarfed, [miklb], [jgmac1106], renem and [chrisaldrich] joined the channel
#
grantcodes_
skippy: My micropub chatbot client is postrchild.com
snarfed and [grantcodes] joined the channel
#
[grantcodes]
Oh my... My micropub bookmark syncing extension kind of morphed into a on site inline micropub editor and it actually works. I am amazed
#
@ChrisAldrich
↩️ @fionajvoss Just for fun I built an own your own AMA page using webmention: https://boffosocko.com/about/ama/
(twitter.com/_/status/996250210228756480)
[eddie] joined the channel
#
[eddie]
grantcodes++
#
[eddie]
Wow! That’s amazing!!!
#
Loqi
grantcodes has 14 karma in this channel (20 overall)
AngeloGladding, loicm, maingo, KartikPrabhu, tomasparks, cweiske, tantek__, iasai, swentel, [jgmac1106], [pfefferle], [xavierroy], [jeremycherfas], jeremycherfas and [kevinmarks] joined the channel; jgmac1106 left the channel
#
[jgmac1106]
[kevinmarks] not for me, at least on desktop
#
Zegnat
That looks odd.
#
[kevinmarks]
thats on android
#
[kevinmarks]
desktop looks ok
#
sknebel
Complain to Slack support?
#
sknebel
(hm, seems like the way for webhooks that could override titles isn't the recommended one anymore, but no notice that they disabled that)
loicm, jjuran, tantek__ and leg joined the channel
#
loqi.me
created /Piwik (+19) "prompted by Zegnat and redirect added by Zegnat"
(view diff)
snarfed, swentel, KartikPrabhu, [stefp], [xavierroy], [kevinmarks], [kim_landwehr], jjuran, gRegorLove and [grantcodes] joined the channel
#
[grantcodes]
New post creation works inline now too!!!
[eddie] and [manton] joined the channel
#
[grantcodes]
I think I will need to add the option to include some sort of template though so the editing post looks totally perfect
KartikPrabhu joined the channel
#
gRegorLove
jgmac1106, some microformat weird edge cases are happening on https://jgregorymcverry.com/opening-up-digital-teaching-and-learning-ii/ ...
#
gRegorLove
your p-author h-card on the byline is inside a microformats1 vcard
#
gRegorLove
for backwards compatible parsing, if there's an mf1 root like vcard with mf2 properties, the mf2 properties don't get parsed.
#
gRegorLove
Writing up an example fix, just a moment.
#
gRegorLove
if you want to maintain the mf1 for backwards compatibility: http://pin13.net/mf2/?id=20180515175223927
#
gRegorLove
oops, with mf1 hentry too, since your site has that: http://pin13.net/mf2/?id=20180515175330213
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[gRegorLove] jgmac1106, some microformat weird edge cases are happening on https://jgregorymcverry.com/opening-up-digital-teaching-and-learning-ii/ ...
#
gRegorLove
Probably a WordPress theme issue. A lot of them have mf1 built-in and not quite right.
snarfed, pstuifzand, [chrisaldrich], AngeloGladding and maingo joined the channel
#
www.boffosocko.com
edited /read (+153) "/* Twitter */ want to read accounts"
(view diff)
[cleverdevil], [schmarty], [kevinmarks] and eli_oat joined the channel
#
skippy
I'm having trouble installing aperture. I am unfamiliar with `artisan` or Laravel, so it's very likely something I'm doing wrong; but i can't seem to get the DB created correctly.
#
pstuifzand
normally the steps are:
#
pstuifzand
- set db values in .env
#
pstuifzand
- run "php artisan migrate"
#
pstuifzand
you can copy .env.example to .env to get started
#
skippy
oh. okay. i was manually editing config/database.php.
#
pstuifzand
config/database.php gets the values from .env using the env(...) function
[grantcodes] joined the channel
#
[grantcodes]
Once it's more documented, I may have a go at making a docker image for aperture too - easier to self host in my opinion
#
skippy
getting DB errors
#
skippy
gotta step away for a few.
#
[cleverdevil]
Great idea [grantcodes]...
#
pstuifzand
It's a combination of MySQL and the unique on the users url
#
pstuifzand
4*512 > 767
KartikPrabhu joined the channel
#
aaronpk
Oh that thing
#
aaronpk
new MySQL versions handle it fine but old versions have that likt
#
Zegnat
MySQL is weird. I set the limit for the varchar columns in Mintoken to 255 because apparently MySQL under a certain version literally couldn’t go any higher?
snarfed joined the channel
#
gRegorLove
Up til 5.0.3 it was limited to 255
#
gRegorLove
InnoDB keys are limited to 1000 by default as well
#
Zegnat
Any clever PHP folks in here that can tell me why `shell_exec("echo -n 'hi!' | pbcopy");` puts `-n hi!\n` in my clipboard? Surely the -n is an option for echo to drop the \n and definitely shouldn’t get inclused :/
#
gRegorLove
I'm honestly still in the habit of varchar(255) even though it supports longer, heh
#
skippy
mysql Ver 15.1 Distrib 10.1.21-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
#
skippy
so i need a newer MariaDB ?
#
skippy
looks like 10.1 is still whats on Docker Hub.
#
gRegorLove
Not necessarily. Can you change the config to change max key length?
#
Zegnat
(To answer my own question, PHP apparently doesn’t run in the same shell as I do, it runs in `sh` where `echo` is different. Learn something every day: https://stackoverflow.com/a/40225695)
#
skippy
gRegorLove: potentially, but then I'm mucking about in my container. I'm using the container's default my.conf, and only volume mounting /var/lib/mysql to my host to preserve data.
#
gRegorLove
skippy, Ah, yeah I'm not very familiar with that
#
skippy
10.1.32 appears to be the latest version on hub.docker.com
#
skippy
do you know which MySQL / Mariadb version shipped the fix?
#
gRegorLove
I'm not familiar with this 767 bytes limit or mariadb
#
skippy
mariadb SHOULD be MySQL compliant 100%.
#
skippy
but tracking MariaDB releases to MySQL releases may not be trivial
#
@jgmac1106
Looks like I can’t get webmentions to display on my notes. New theme looks inevitable for experimentation to continue. Already played plug-in wack-a-mole. Didn’t fix (https://www.brid.gy/publish/twitter)
(twitter.com/_/status/996494202732150784)
#
gRegorLove
It was fixed in mysql ages ago so I'd be surprised if mariadb doesn't have it.
#
skippy
does it require manual intervention, or is it a default?
#
aaronpk
yeah mysql 5.7 supports larger indexes, 5.5 does not
#
aaronpk
mariadb 10.1.25 is too old, not sure which mariadb version adds it
#
aaronpk
it's also not critical to running aperture so you can change the index length to make it smaller or just leave off the index entirely
#
skippy
where would I do that? in the migration file?
#
aaronpk
yea if you remove the `->unique()` from that line it will avoid making the index
#
aaronpk
in the very first migration file
#
aaronpk
or change 512 to 255 and it should work too
#
skippy
thank you.
KartikPrabhu, snarfed, KevinMarks, [jgmac1106], [chrisaldrich] and [schmarty] joined the channel
#
skippy
aperture is just spinning when i try to add a feed now.
#
aaronpk
did you set up and get it connected to watchtower too?
#
skippy
oh, i need watchtower also?
#
aaronpk
yeah watchtower is what actually fetches feeds
#
skippy
i see. and that needs beanstalkd.
#
skippy
maybe i should wait for microsub-server-as-a-service...
#
aaronpk
i tried to warn ya ;-)
#
skippy
nah, it's a fun learning journey.
#
aaronpk
watchtower is small enough that someone could create a version of it that has the same interface that works on cron jobs instead of a beanstalk queue
#
skippy
that would be cool. or i could just find a way to docker-compose all of these pieces correctly.
#
@dsample
↩️ Static content for security. Webmentions & other @indieweb standards for community building. Make different kinds of posts first-class citizens (eg. Tweet-style vs photo vs long-form article).
(twitter.com/_/status/996517800951865344)
#
gRegorLove
One thing I might try to work through before IWS is having RSVPs add h-events to my calendar page. That would be one less instance I need to enter events on my google calendar.
#
gRegorLove
For example, I've posted a few rsvps to meetup.com events. To get that event info, though, I'd need to deal with their schema.org stuff. :/ *might* not be too difficult for basic event info, name and date.
snarfed joined the channel
#
gRegorLove
Manual until it hurts, though. Probably easier to add text fields for name an dt-start
#
gRegorLove
Something like http://pin13.net/mf2/?id=20180515223721461, then I could have my calendar extract my RSVP posts with `in-reply-to h-event`
#
[schmarty]
gRegorLove: that sounds awesome! i do something similar with an h-feed of h-events on my homepage and an iCal sidefile that i generate separately. i never went to the final step of subscribing to it in my calendar tho'.
#
gRegorLove
schmarty, Does it include your RSVPs?
#
schmarty
gRegorLove: when XRay can parse them
snarfed and KartikPrabhu joined the channel
#
@jgmac1106
Can someone give me a like or a reply? Testing my webmention functionality since moving to the latest GitHub repo from .9.9
(twitter.com/_/status/996526801756110848)
[chrisaldrich], KartikPrabhu and snarfed joined the channel