#known 2019-07-09

2019-07-09 UTC
[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
#
mapkyca
Re 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
#
mapkyca
Apropos, 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.
#
mapkyca
Re 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.
#
mapkyca
Oh, 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
#
nekr0z
Dear 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
#
mapkyca
The 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.
#
nekr0z
mapkyca: MySQL
#
mapkyca
It'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)
#
mapkyca
The 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
#
nekr0z
mapkyca: 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]
but like you said you are one person
#
[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
#
mapkyca
Search 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.
#
nekr0z
And 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.
#
mapkyca
Metadata 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
#
mapkyca
Nekr0z I wonder whether it's a utf8 utf8mb4 thing
#
mapkyca
Object models are fine because it's encoded, but search field would run into trouble storing anything that's not on the BMP
#
nekr0z
mapkyca: hmmm... maybe. How do I check?
#
mapkyca
Probably the quickest thing to do would be to change the collation and see if that fixes things
#
mapkyca
Want 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
#
nekr0z
mapkyca: OK, at least now I have something I could do in my spare time. Thanks!
#
nekr0z
mapkyca: 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.
#
mapkyca
Already got part of the way through it, but ran out of time
#
mapkyca
Unlikely, unless you also updated the database server as well
#
mapkyca
But the issue is with the collation is mysql's utf support isn't real utf - so characters outside of the bmp cause storage problems
#
mapkyca
Most people hit this when using emojis
[Vincent] and nekr0z joined the channel
#
nekr0z
mapkyca: thing is, I can't seem to find any character in the "bad" post that hadn't been used in the "good" one.
#
mapkyca
It was a hypothesis, but it might be another issue that's preventing it.
#
mapkyca
Might be worth seeing if you can build a failing test with the "bad" data
#
mapkyca
If we can replicate it we can fix it :)
#
nekr0z
mapkyca: OK, now I have even more things to do when I have spare time! :)
#
mapkyca
It's good to keep busy :)
nekr0z joined the channel
#
nekr0z
OK, 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?
#
mapkyca
Weird. 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?
#
mapkyca
I'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
#
mapkyca
Yep. 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
#
mapkyca
Cli != 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
#
@raldridge
@withknown is this project still active? I’m thinking of implementing but wanted to be sure it’ll be around. Thx
(twitter.com/_/status/1148657363223638016)
[eddie] joined the channel
#
aaronpk
seeing a lot of those tweets lately ^^
#
aaronpk
worth finding out what they are seeing that would indicate it's not active
[davidmead] joined the channel
#
[davidmead]
probably because the last tweets were from 2018
#
aaronpk
ooh didn't even think about the twitter account haha
#
[davidmead]
and looks like the last Facebook posts are from 2017
#
[davidmead]
might be worth whoever is in control of them just post a link to an update , or maybe the recent summit
[mapkyca] joined the channel
#
[mapkyca]
I think it's just [benatwork] and erin who have the keys
#
aaronpk
good reminder that setting up a company/project twitter/facebook has the implication that you have to keep updating it otherwise it looks dead
#
[davidmead]
true [aaronpk]
[benatwork] joined the channel
#
[benatwork]
Yes
#
[benatwork]
I’ll do that
#
[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
#
@UnlockProtocol
You shouldn't need to learn about crypto to sell memberships to your independent website. We make it possible with just two lines of code. Here's how we integrated the Unlock protocol into the @withknown CMS: https://unlock-protocol.com/blog/integrating-unlock-with-known/
(twitter.com/_/status/1148690743835316224)
[grantcodes] and [schmarty] joined the channel
#
@withknown
We 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)
[tantek] joined the channel