[snarfed], [KevinMarks], [benatwork] and [zach] joined the channel
#[zach]My summer weekends are rather busy, but I will definitely try and make it if I can
RockSteadyTRTL[m and [wtmonroe] joined the channel
#[wtmonroe][zach] thank you again! That makes sense.
[cleverdevil], [KevinMarks], mapkyca_ and mapkyca joined the channel
#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.
#mapkycaOh, and lets not forget that the whole nosql document store thing is basically an overly complex way of implementing a bad filesystem
nekr0z joined the channel
#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.
nekr0z joined the channel
#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
#nekr0zmapkyca: The entity in cases I've observed is standart Post.
[jgmac1106] joined the channel
#[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]"most people aren't going to run an elastic search server" wonders if that is an option
#[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
#mapkycaNekr0z I wonder whether it's a utf8 utf8mb4 thing
#mapkycaObject models are fine because it's encoded, but search field would run into trouble storing anything that's not on the BMP
#mapkycaProbably the quickest thing to do would be to change the collation and see if that fixes things
#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: OK, at least now I have something I could do in my spare time. Thanks!
#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.
#mapkycaAlready got part of the way through it, but ran out of time
#mapkycaUnlikely, unless you also updated the database server as well
#mapkycaBut the issue is with the collation is mysql's utf support isn't real utf - so characters outside of the bmp cause storage problems
#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
[Rose] and [wtmonroe] joined the channel
#[wtmonroe][jgmac1106] that's great! Where can I find that calendar?
#mapkycaWeird. Maybe it was a particular bug with your install at that one time... or maybe we fixed something since you created the post
#[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.
#jgmac1106[m]Next you either update to latest build using Terminal and Composer or you FTP. Will do a full video tomorrow
#[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?
#mapkycaI'll try and build a newer version when I remember, but if memory serves there haven't been any major changes since that build
[Jay_Hoffmann] and jeremycherfas joined the channel
#[wtmonroe][mapkyca] thank you! I've downloaded 0.12.2 and am uploading it now.
[schmarty], [tantek], [cleverdevil], [Rose], [grantcodes] and JustMaier[m]1 joined the channel
#[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
#mapkycaYep. PHP 7.0 is EOL, so Known only supports 7.1 and above
#[wtmonroe]Under cPanel > phpMyAdmin it states that PHP version: 7.2.7 is in use.
#[wtmonroe]But surely I've missed something because of the error message I received
#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.
[benatwork] and nekr0z joined the channel
#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
#[davidmead]Though I agree with [mapkyca] that gives the best view into it being “active”
[cleverdevil] and [Rose] joined the channel
#[benatwork]And lo, I have pumped some life into the social presences, and will continue to do so
#@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)
[zach] joined 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 intend to build for inclusive communities. (twitter.com/_/status/1148725569665691648)