#dev 2019-05-12

2019-05-12 UTC
#
KartikPrabhu
what is mute?
#
Loqi
mute is the ability to hide posts in your reader from specific publishers https://indieweb.org/mute
#
KartikPrabhu
jacky: maybe add to that ^
#
kisik21
The only post types I'm separating are h-cards from posts. Events will probably be dumped in posts too, but I'm not sure as I'm not attending any events yet. And I think I'll not separate venues and people, because that may be impractical. Also I wanna have a nickname cache populated from that "address book" :3
#
kisik21
but this is all theoretical now
#
kisik21
because it's half not implemented
#
kisik21
and I should be writing code
#
kisik21
not writing IRC messages
#
kisik21
someone kick me please :3
#
kisik21
IRC client in Emacs is a very useful and very distracting feature :D
kisik21 joined the channel
#
Loqi
ok, I added "https://blog.feedly.com/mute-filters/" to the "See Also" section of /mute https://indieweb.org/wiki/index.php?diff=61151&oldid=44272
mattl, grantcodes[m], KartikPrabhu, myfreeweb, jamietanna|wwwjv, ketudb[m], plindner[m], voss[m], zoglesby, jgmac1106[m], Rixon, Guest74108, astrojuanlu[m] and [eddie] joined the channel
#
[eddie]
jacky: I agree, my end goal for readers are if someone reposts or likes something, the main content you’re seeing is ACTUALLY the content that was reposted or liked
#
[eddie]
Same thing, I have the goal that if someone RSVPs to an event, it would show UI to allow you to RSVP to the same event
#
[eddie]
So it would say “Jacky is going to IWS” with the IWS details below it and an RSVP button
jacky, kants_, sknebel, Ruxton, gRegorLove, [Rose], KartikPrabhu, [frank] and [tantek] joined the channel
#
[Rose]
My bash script works!
#
GWG
Bash for what?
#
[Rose]
Automatically backing up my Compass data
#
[Rose]
For the last week it was working only if there were changes, and erroring the rest of the time
#
[Rose]
Now, it works all of the time
jjuran and [jeremycherfas] joined the channel
#
[jeremycherfas]
Easy win [Rose]?
[Rose] joined the channel
#
[Rose]
Hehe, perhaps!
#
[Rose]
Bridgy is confusing me a little, but I made progress, in that I added a button 😛
#
[jeremycherfas]
Good work. I have what I think is an easy win too, automating Listen posts with Applescript and TE, but I don’t like testing over and over because I only have to clean up afterwards.
#
[jeremycherfas]
Currently writing it up.
#
[jeremycherfas]
Not so much inspired by as prompted by your Text Expansion podcast.
#
[Rose]
Haha, that's always good 😄
#
[Rose]
Bridgy is being weird with my IG
#
[Rose]
And other people's, odd.
#
sknebel
"being weird"?
#
sknebel
IG is scraping only, so lots of limitations
#
[Rose]
Ok, it looks like this is a WordPress issue ->
[eddie] joined the channel
#
[jeremycherfas]
Hack day low-hanging fruit picked (https://www.jeremycherfas.net/blog/automating-listen-posts) Now I can go outside and play. Maybe come back and attempt Compass later.
#
Zegnat
What is favicon?
#
Loqi
A favicon is a convention for websites to provide an icon for browsers to display in bookmarks, favorites, history, and other places they show or list URLs https://indieweb.org/favicon
#
Zegnat
favicon << https://meiert.com/en/blog/schmavicons/ now up to 31–45 different sizes?!
#
Loqi
ok, I added "https://meiert.com/en/blog/schmavicons/ now up to 31–45 different sizes?!" to the "See Also" section of /favicon https://indieweb.org/wiki/index.php?diff=61166&oldid=43123
KartikPrabhu, [jgmac1106] and Daniel joined the channel
#
Guest680
Anyone (in Düsseldorf) with an Android device keen to try a just-created PWA for me and check if Add-to-Homescreen and offline stuff works? https://danielpietzsch.github.io/fl/
#
Zegnat
Hi there Daniel! I am not in DUS, sadly, but I can confirm that opening the link in Chrome on Android will immediately popup the “Add FLE to Home screen” banner
#
Zegnat
Going into Airplane Mode will still let me open the PWA from the icon, and it will load. So looks like offline availability works as well
#
Zegnat
Pull down to refresh immediately jumps to the same version, even when phone is offline, so caches seem to work.
#
Zegnat
Nicely done!
[jgmac1106] and gRegorLove joined the channel
#
Guest680
Oh nice! Thanks very much, Martijn!
[Rose], leg, eli_oat, tantek_, [jeremycherfas], [tantek], [voss] and [dmitshur] joined the channel
#
[dmitshur]
I'm curious what setups people have for doing metrics on their websites, if any. I've tried a Prometheus + Grafana combo and it seems reasonable, but I wanted to compare notes if anyone has experience.
#
[dmitshur]
My needs are pretty simple. So far I needed to get a sense about 1 very important metric, but I figured it might be worth investing into a more permanent setup so I can remove a bunch of ad-hoc logging.
#
[tantek]
what are metrics
#
Loqi
exercise is a (typically) passive post type that represents some form of physical activity https://indieweb.org/metrics
#
[tantek]
what is analytics
#
Loqi
analytics is the collection, analysis and reporting of a websites traffic https://indieweb.org/analytics
#
[tantek]
[dmitshur] ^^^ maybe check examples there? and add to it with what you've tried / got set up!
#
[dmitshur]
those were the exact 2 pages I had looked at prior to this 🙂 thanks
gxt joined the channel
#
[dmitshur]
btw, I'm referring to metrics on backend rather than frontend, to be more clear and in case it makes a difference.
#
[dmitshur]
I guess they're pretty similar/related but still.
#
[dmitshur]
I was also curious if anyone tried to apply https://indieweb.org/own_your_data to their site's metrics
#
Zegnat
I just do not collect any metrics, he
#
[dmitshur]
yeah, that approach has served me well the last few years too. but I'm more motivated now because I'm trying to debug some complicated logic that interacts with external APIs, and the usual local debugging with printf statements approach isn't scaling well.
#
[Rose]
Woot! Fixed some things on my server and now I can install Monica PRM
#
Loqi
does a happy dance!
#
GWG
Monica PRM?
#
[Rose]
Only, it's for people
[tantek] joined the channel
#
[tantek]
[dmitshur] re: metrics/analytics, WDYT of the 'ping' attribute approach? https://webkit.org/blog/8821/link-click-analytics-and-privacy/
[dmitshur] joined the channel
#
[dmitshur]
I'm not very familiar with it, but from the description, it's not applicable to my use case. I'm currently interested metrics in the sense of inbound download requests/second and how quickly my server can serve them, not human users navigating the website and clicking links.
#
[dmitshur]
basically, I wanted to go from looking at logs to see how quickly something was happening (e.g., https://twitter.com/dmitshur/status/1124463243160952832) to seeing a graph over time like http://instantshare.win/1ambrmgey4exq.png
[schmarty] and [Chase_McCoy] joined the channel
#
[tantek]
[dmitshur] interesting. I suppose there are several different kinds of analytics different people might want / not care about for their own site. Perhaps you could help document a few of the kinds you know about on /analytics ?
#
[dmitshur]
I'm still in the process of learning and exploring this space, but I'll try to document it at a later time when I have more confidence.
[grantcodes] joined the channel
#
sknebel
[grantcodes]: how?
#
sknebel
unsubscribe & subscribe doesn't mean your server keeps state/history, which you'd want?
#
[grantcodes]
Well I think it would depend on the server?
#
Loqi
[grantcodes]: [eddie] left you a message 21 hours, 56 minutes ago: also Micro.blog supports *some* Micropub query filters so that’s pretty big
#
[grantcodes]
But I suppose most probably would delete feed history if you did a unsubscribe + subscribe.
#
sknebel
right, so as long that's allowed it's not entirely a replacement for move
[frank] and [Zegnat] joined the channel
#
GWG
Trying to figure out PHP autoloading
#
GWG
It isn't normally in WordPress
#
GWG
I never got bread at the table
#
GWG
Sorry, wrong window
[sebsel] and pstuifzand joined the channel
#
GWG
pfefferle wants to try autoloading, and I'm all for it if I can make it happen. But since up until this past week, minimum PHP for WordPress was 5.2, namespacing wasn't an option.
[Rose] joined the channel
#
sebsel
aaronpk: hm, the chatlog archive does not include QuartzDB's .meta files (they are gitignored) but chat.indieweb.org crashes if they are not there (in my local setup here)
#
sebsel
that makes the chatlog archive in git fragile I guess?
#
sebsel
I think I can infer them
#
aaronpk
oh huh. I think I excluded them from git because I realized that quartzdb wasn't actually using them
[gerwitz] joined the channel
#
aaronpk
guess I should actually patch quartzdb to not look for them
#
GWG
I've considered using QuartzDB for log entries. It seems good for it
#
GWG
I don't have anything to log webmentions for debugging
#
sebsel
GWG what kind of log entries?
#
aaronpk
huh lemme check something..
#
GWG
sebsel: Logging incoming and outgoing webmentions, actually.
#
aaronpk
GWG: unless you need to read the log entries in a structured format, I wouldn't use quartzdb for that. just write text to a file directly
#
Zegnat
Hmm, default open mode for SplFile is r. Maybe it needs to be r+ on that constructor so it will accept non-existing files?
#
GWG
aaronpk: You are probably right. I still need to do log rotation and such. There may be something better
#
aaronpk
oh hm it does read that file, but I don't think the chat logs ever actually do
#
aaronpk
is there a way to give SplFileObject the modes in the constructor? if so, do what Zegnat said
#
sebsel
has just created .meta files for today's logs
#
Zegnat
Yes, second argument to the constructor
#
Zegnat
Not 100% sure r+ covers missing files, you may need one of the modes that creates the file. Please test before taking my word for it
#
Zegnat
Alternatively use SplFileInfo, which should work on anything. Then only when you actually need to go into the file call ->openFile() on it to get the SplFileObject
KartikPrabhu and [tantek] joined the channel
#
[tantek]
This is probably worth re-opening/commenting on if someone with Ruby experience is around: https://github.com/feedbin/feedbin/issues/132 (the mf2 parser is much better these days)
#
Loqi
[tantek] #132 support subscribing to home page microformats2 h-feed and h-entrys
#
[tantek]
also important lesson: it can be premature to ask for support of something if the libraries are either not there, or of poor enough quality that using them leads to a bad initial experience
chrisaldrich, [aaronpk] and [tantek] joined the channel