mapkycaRe S3, yep. It's probably suffered a bit of bitrot. Things have moved on quite significantly in core since the S3 plugin was written but there's only one of me so I can't keep track of everything. Been broken for months now, so I figure not many people are using Known on AWS
mapkycaApropos, in one of my other personas I'm in the process of migrating a very complex system into AWS, so a lot of the learnings from this could be fed into known. Particularly getting things running on Fargate etc. Anyway.
mapkycaRe Mongo: Urgh. Don't get me started. Personally I'd like to see MongoDB support taken into the woods and shot for a number of reasons... not least of which the inconsistent driver support, weird incompatibilities in the versions of the php libraries, and dependancy hell when trying to install it on any sort of modern computer.
nekr0zDear all! I've noticed that sometimes posts on my known site get created with blank "search" database field (in "entities" table). Naturally, such posts are not searchable via builtin search. I'm trying to figure out what triggers this behaviour (not all posts are created this way) and would appreciate any advice on debugging this.
mapkycaThe search field is a fudged conflation of a number of object datas - title, body, etc. It's done as part of the individual database engine's saveRecord() method so it'd be good to know what database you're on.
mapkycaIt's possible that either the entity isn't providing title, body and tags (which is unlikely, but possible if it's a custom type that stores everything in non-standard metadata)
mapkycaThe search field was always a hack, this isn't the way FT search should be done. But sadly most people aren't going to run an elastic search server
[jgmac1106]yeah search is meh..probably my least favorite feature, no boolean operators, body text not searched for, you have to use hashtags if you ever want to find something again
[jgmac1106]each post carries every kind of metadata used since Sumerian librarians started to categorize scrolls...always wondered if any of these could be used for search
mapkycaSearch is hard, and is a product in its own right. The current full text search is a fudge to just get things working, but is in no way the "correct" way of doing things. For clients and paid for known builds I have implemented this sort of thing in AWS using Elastic Search cloud servers.
nekr0zAnd I can not figure out the difference. Observe also that they share one tag, and the second post isn't even searchable by tag or listed when you click on the tag.
mapkycaMetadata search, yeah possible. But the data model of Known needs some work - currently it suffers a great deal for having been built on Mongo first, and trying to preserve the document store way of doing things. When we can finally give mongo the bullet I'd like to go back and make the model more relational
mapkycaWant to do this as part of a database patch, but there's hilarious fun with indexes on mysql and using real utf8 support and I've not had time to really dive into it
nekr0zmapkyca: Thing is, at least regarding these two posts, they were created a couple of days apart, and using the same procedure. Is it possible that different collation was used all by itself? I mean, I do update the site to latest master regularly.
nekr0zOK, it's no longer reproducable, or so it seems. I open the "bad" posts, click "Edit", change nothing, click "Publish" - lo and behold, now the post is searchable. Too bad there's no guarantee it doesn't happen again.
[jgmac1106][wtmonroe] I added your ideas of the regular Monday IndieWeb edu meetings to the calendar in July. Happy to hang each Monday morning and chat
[wtmonroe][jgmac1106] and I'll be in touch about Monday. Also looking forward to your instructions regarding updating composer in the Reclaim environment. I've managed to install composer in my Known directory using these instructions: https://getcomposer.org/download/ But I'm unsure of what to do next.
[wtmonroe]It appears that the most recent version of Known on Marcus Povey's site is 0.12.2 released on 6/15 https://withknown.marcus-povey.co.uk/?C=M;O=A Would that be the correct version for updating if you are seeking non-development builds?
[wtmonroe]I've made an attempt to upgrade my Known instance from 0.9.2 to 0.12.2 but was not successful. I posted some comments and error messages here: https://pastebin.com/SbgkJhFP
mapkycaCli != mod apache != php_fpm. This can cause much confusion. Simplest way to be sure is to put a phpinfo() in a file and upload it to your web server
[wtmonroe][mapkyca] thank you for that tip. I'm afraid I'm unsure of how to implement it though. I did confirm that terminal in cPanel was showing PHP 7.0.33.
nekr0z[wtmonroe]: Depends on what hosting you are using. For example, on Dreamhost I had to export path for correct php version (they still offer 5.6 for default, but have up to 7.3 available) for known to work reliably.
nekr0z, [cleverdevil] and [snarfed] joined the channel; nekr0z left the channel
[davidmead]GitHub would not be the first place I’d look (if at all) to see if something is being maintained. For a lot of people that for developers and not end-users
@withknownWe believe everyone has the right to define their own identity. We don't just stand for an independent web: we stand for an independent world, where everyone can represent themselves on their own terms and build safe, nurturing communities. #indieweb is the future. (twitter.com/_/status/1148701594424229889)
[fluffy] and [n0mad] joined the channel; [n0mad] left the channel
@benwerd↩️ Let me be clear: I was delighted when @withknown was used for groups for racial equality. I would be mortified if it - or @UnlockProtocol - was used by racists, nationalists, sexists, incels, transphobes, etc. Intent matters. I intent to build for inclusive communities. (twitter.com/_/status/1148725288211062784)
@benwerd↩️ Let me be clear: I was delighted when @withknown was used for groups for racial equality. I would be mortified if it - or @UnlockProtocol - was used by racists, nationalists, sexists, incels, transphobes, etc. Intent matters. I intend to build for inclusive communities. (twitter.com/_/status/1148725569665691648)