#dev 2019-12-04
2019-12-04 UTC
ghjghjghjdgfhj, [davidmead] and [KevinMarks] joined the channel
# [KevinMarks] I see twitter's js as a decorator on underlying semantic html, as benward designed it. If it distinguished between nonexistent and deleted tweets it would be more useful. Im not sure that hydration is the right metaphor.
# [KevinMarks] What is jamstack?
# Loqi JAMstack is a web development architecture based on client-side JavaScript, reusable APIs, and prebuilt Markup https://indieweb.org/JAMstack
[Ramiro_Ruiz] joined the channel
# [Ramiro_Ruiz] Is it possible to have a IFTTT applet that if new feed item then make a web request to brid.gy to publish them?
# [KevinMarks] So is my site jamstack? It has static files with js running client side that calls webmention.herokuapp.com
# [KevinMarks] It's always fun when there's a trendy new name for things you're already doing
# [KevinMarks] I'm looking forward to a name for the "construct a json-like structure and write slightly too much logic in jinja2/nunjucks templates" approach I've been using to replace the old school PHP approach
[snarfed] joined the channel; mblaney left the channel
# [snarfed] unintentional indieweb: https://twitter.com/paulg/status/1201946168663654406
# @paulg Don't start a startup where you need to go through someone else to get users. (twitter.com/_/status/1201946168663654406)
gRegorLove joined the channel
[fluffy] joined the channel
# [fluffy] like when I run mf2py on https://tantek.com/ it only returns a single h-card and no entries
[jeremycherfas] joined the channel
# [jeremycherfas] Sorry to hijack your thread but are you using OsmAndMaps on an iPhone? For me it crashes every time I launch it.
cweiske and jjuran joined the channel
wgirl, jjuran, cweiske2, AkyRhO, treora, wgirl_, logiti, [LewisCowles], gxt, asymptotically, [LewisCowles]1, JellieDiscord[m], junyouDiscord[m] and [KevinMarks] joined the channel; dindustriesDisco left the channel
# [KevinMarks] I must admit I've written code that digs through nested mf2 structures looking for ones I recognise too
[LewisCowles] and swentel joined the channel
jeremych_ joined the channel
[davidmead] joined the channel
[jgmac1106] and [Rose] joined the channel
# jeremycherfas Arrgh. Suddenly getting 500 errors for my site. Cannot restart Apache. Have restarted the server once. Everything else on the server works. I've raised a ticket with DreamHost. In the meantime, is there anything else I could try?
# [LewisCowles] htaccess edits. Try rolling them back
# [LewisCowles] Dreamhost is a mare
# jeremycherfas Didn't touch them, honest guv.
# [LewisCowles] the other way to test is to make a new folder from shell / sftp /ftp login, and change your home folder to one of those, but if you’ve not touched a .htaccess file, maybe that is not the issue.
# [LewisCowles] let me re-familiarise myself with panel.dreamhost.com
# jeremycherfas Don't put yourself out; I think I can see the ticket being worked on. But weirdly, tail -f error.log shows nothing.
# [LewisCowles] is it a VPS?
# [LewisCowles] or shared hosting thing?
# jeremycherfas VPS
# jeremycherfas For me, most of the time, DreamHost works well. The extra work of having to learn another host puts me off changing. I'm not expert enough to use Linode, for example.
# [LewisCowles] Yeah I only use them for shared, DO & AWS for VPS. Still I wonder if you get the same UI? I just found a files option with my users which shows modification date, permissions, and lets me click through the UI
# [LewisCowles] it’s ultimately about what you are comfortable with
# [LewisCowles] not everyone needs to become an admin
# [LewisCowles] Apache has a check for it’s config right?
# jeremycherfas The first test my CMS suggests is to see whether phpinfo.php will run from that folder, and it does.
# jeremycherfas I cannot check anything to do with Apache from SSH
# [LewisCowles] then have you tried setting the PHP error_reporting and display_errors?
# [LewisCowles] Apache should be working if phpinfo is
# [LewisCowles] it’s likely that it couldn’t launch a second apache
# [LewisCowles] which is fine. Machines generally need work to run two web-servers
# jeremycherfas No, haven't tried that. Does it mean editing php.init?
# [LewisCowles] is there a common file your PHP loads early?
# jeremycherfas Don't know.
# [LewisCowles] config.php, or autoload.php?
# [LewisCowles] do you know what system(s) you run that use PHP? is it entirely custom?
# jeremycherfas It is Grav CMS. I've got to go out anyway for an hour or so. So I will do that and see whether time heals all, or whether DH responds to my ticket.
# jeremycherfas [LewisCowles]++ for vital help
# jeremycherfas Worst comes to worst, I can just nuke everything and then re-upload the entire CMS and flat files and see what happens. I also have a full backup from this morning.
jolvera joined the channel
[fluffy] joined the channel
[email096] joined the channel
# jeremycherfas Is there an option you would recommend [fluffy] that is reasonably easy to use? I am not an admin, obvs, and I am willing to put some work into learning, but as I said, Linode was too bare bones for me.
# jeremycherfas If Linode offers a panel, that's new. I'll look again at DO
# jeremycherfas Might be time nuke and restore.
chrisaldrich joined the channel
# [fluffy] My big gripe with DH VPS is the way they manage memory size. They look at total allocation size and if you exceed it for even a moment they reboot your virt. They don’t provide any way of just limiting the allocation size, and the size includes your kernel cache and buffers - which they allow to grow freely
# [LewisCowles] DO is pretty solid, sorry I was on a customer call
# [LewisCowles] I’m sure we can get grav to tell you what is wrong though
# [LewisCowles] it has an index.php right
# [LewisCowles] ini_set(‘display_errors’, 1);
# [LewisCowles] error_reporting(E_ALL);
# [LewisCowles] you can `E_ALL ~ E_NOTICE` if you like
# jeremycherfas I'm currently working my way through this. https://learn.getgrav.org/16/troubleshooting/permissions
# jeremycherfas And so far, I've learned that my Apache user is jeremyg+ while jeremygrav owns the files in my directory.
dougbeal|iOS and [schmarty] joined the channel
# [LewisCowles] although that could be it, wouldn’t it have come up before now?
[KevinMarks] and [snarfed] joined the channel
# [snarfed] [LewisCowles] [fluffy] please add to https://indieweb.org/web_hosting#Virtual_Private_Server !
# [LewisCowles] unless it’s an excutable bit on a file
# [LewisCowles] or a file it’s blindly including / opening with no guards
# jeremycherfas Tricky trying to run this down while at the same time making 6 loaves of bread, but at least in one I know what I'm doing.
swentel joined the channel
# [LewisCowles] I’m now thinking about bread
# jeremycherfas OK, diving into index.php now.
# [LewisCowles] The app I’m working on has some data I don’t love
# [LewisCowles] one of which is yeast as a skill
# jeremycherfas I'm your man for that.
# [LewisCowles] yeast or pivoting cpanel?
# [LewisCowles] :p\
# jeremycherfas Error reporting in phpinfo now shows 22519 but I still get a blank page with a 500 error when I try to load the site. Should the errors be displayed, or will they only be in the error.log?
[Rose] joined the channel
# [LewisCowles] is this specific to that PHP software? I’ve never seen that notation in PHP. Happy to learn but it looks like yaml
# jeremycherfas OK, I'll try that. Thanks [Rose].
# jeremycherfas Yes [LewisCowles] That is the config.yaml for the Grav cms
# jeremycherfas I currently have display: 1 Will change that.
# jeremycherfas That's what I thought. And I'm still seeing nothing, just the empty page.
# jeremycherfas Oh, it gets worse. Error.log seems to be empty. I'll check the http one now.
# jeremycherfas OK. Seems like I put my error reporting mods too early in index.php
# [LewisCowles] dump the PHP from above into the index.php. (leaving yaml as-is) it should at least spit out PHP then (unless index.php needs `chmod +x`
# jeremycherfas OK. I truly do not believe this. After moving the error reporting, the page loads fine. I have to think it is a coincidence and that SDH did something in the meantime.
# jeremycherfas DH
# jeremycherfas Presumably I should comment out that error reporting now?
# [LewisCowles] I added it to the wiki, but added a note about it being better to do it offline (on your own PC) with reasons why
# [LewisCowles] I added it to FAQ rather than add a troubleshooting section though
# jeremycherfas [fluffy]++ [Rose]++ That's quite enough excitement for one evening. Off to see whether DH has anything to say for themselves.
# jeremycherfas [Rose]++
swentel joined the channel
# GWG Does this make sense? To posse to micro.blog from Micropub, I would have to...when the checkbox is checked...add the post to a custom feed, then ping micro.blog to refresh that feed, then schedule a cron job for a minute or two later to poll the json api for my account and find the id to derive the hidden url for it and display as a syndication link
# jacky I think it's https://micro.blog/ping IIRC
# aaronpk ah it's https://micro.blog/posts/aaronpk
# aaronpk view source on https://micro.blog/aaronpk
# Loqi [aaronpk] I finally started documenting all the home automation devices and apps I use, with the main goal of everything running locally! Here's a fun list to browse through if you're looking for some holiday shopping ideas!
https://aaronparecki.com/home-aut...
gRegorLove joined the channel
tbbrown and [fluffy] joined the channel
[jgmac1106], leg, logiti, KartikPrabhu and [manton] joined the channel
# [manton] I think this question about getting the Micro.blog link (or getting a Webmention with it) is the same as this issue on GitHub... Anything missing? https://github.com/microdotblog/issues/issues/79
# [manton] Oops, okay. You tested with https://micro.blog/aaronpk/6876999?
# Loqi [aaronpk] I finally started documenting all the home automation devices and apps I use, with the main goal of everything running locally! Here's a fun list to browse through if you're looking for some holiday shopping ideas!
https://aaronparecki.com/home-aut...
gxt joined the channel
[schmarty] and [Rose] joined the channel
# aaronpk This is what I see: http://pin13.net/mf2/?url=https%3A%2F%2Fmicro.blog%2Faaronpk%2F6876999
# Loqi [aaronpk] I finally started documenting all the home automation devices and apps I use, with the main goal of everything running locally! Here's a fun list to browse through if you're looking for some holiday shopping ideas!
https://aaronparecki.com/home-aut...
[tantek] joined the channel
tbbrown and OneWalrus joined the channel