#dev 2019-03-21

2019-03-21 UTC
[kimberlyhirsh], [xavierroy], [schmarty] and snarfed joined the channel
#
jacky
going to be spending the night attempting to port twitter-text to Elixir D:
#
jacky
just so I can have a similar way to detect @(mentions) and #{hashtags}
[tantek], [kimberlyhirsh], [kenbauer] and KartikPrabhu joined the channel
#
jacky
how vital is `u-tag-of` to the scope of "tagging" content on the Web?
#
jacky
like I'm reading https://indieweb.org/tags#How_to_markup and I'm wondering if this is something I should be actively looking for
#
jacky
right now I def catch vanilla references of a URI if one sends a Webmention about it
#
jacky
actually it looks like I'd probably only need it if I want to additionally tag a page with a local category/tag on my site
#
jacky
this feels like a bookmark with tags
#
jacky
(or any other reply type with tags associated to it0
snarfed joined the channel
#
gRegorLove
What is tag reply?
#
gRegorLove
What is tag reply?
#
Loqi
A tag reply is a special edit response to a post that tags that post with one or more tags, including possibly (or only) person-tags https://indieweb.org/tag-reply
snarfed, cweiske, iasai, KartikPrabhu, barpthewire, [Rose], [aaronpk], loicm, [kimberlyhirsh], [jgmac1106] and eli_oat joined the channel
#
jeremycherfas
All the moving parts of my Listens script are in place and functioning independently. This afternoon's task is to assemble them.
iasai and [schmarty] joined the channel
#
[schmarty]
Good luck jeremycherfas! Very exciting!
[keithjgrant] joined the channel
#
[keithjgrant]
Is there anybody around that has Omnibear installed in Firefox?
#
[keithjgrant]
need help checking something
[jgmac1106] joined the channel
#
[keithjgrant]
oh, I could test on my other machine…
#
jeremycherfas
!tell [keithjgrant] Yes. What do you need.
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
Thanks [schmarty] Going with one big file, rather than lots of requires, as I think it will be easier if anything is going wrong.
#
[keithjgrant]
Right-click a page and select “Reply to Entry”
#
[keithjgrant]
Does the reply form appear for you?
#
[keithjgrant]
I’m getting a blank window, but I suspect it has to do with some security setting on my new work computer
#
jeremycherfas
Yes, it works for me as you describe.
#
jeremycherfas
p.s. Had no idea you could do that.
[kenbauer] and iasai joined the channel
#
[keithjgrant]
awesome. thanks for checking. must just be something funny on this machine
#
[keithjgrant]
yes, the right-click will also highlight a specific h-entry on the page, too, so you can reply to one among a list or h-feed 🙂
#
[keithjgrant]
(or a specific tweet/facebook update on their respective sites)
loicm joined the channel
#
jeremycherfas
Good to know.
iasai joined the channel
#
[jgmac1106]
interesting it was %20 versus + in the urls for videos from archive .org
#
[jgmac1106]
it will have + in the browser but when I look at source code the video files have %20
[schmarty] joined the channel
#
[schmarty]
urlencoding 🤷
#
Zegnat
I seem to recall the modern URL standard nudging towards %20
#
Zegnat
As in, it never mentions + as anything special outside of application/x-www-form-url-encoded values (form submissions)
#
Zegnat
But I am with [schmarty] on this: 🤷‍♀️
#
[jgmac1106]
either way figured out how to the videos to play: https://jgregorymcverry.com/hwcpagetutorial.html
#
Loqi
[J. Gregroy McVerry] Video Guide to HWC Pages
iasai joined the channel
#
@sonniesedge
Test of a Twitter handle in a note @sonniesedge and how http://brid.gy interprets it.
(twitter.com/_/status/1108748102914183168)
loicm, iasai, gRegorLove and snarfed joined the channel
#
jeremycherfas
OK, so, trying to follow advice yesterday from cweiske and testing that the things I hope are arrays are indeed arrays, not null.
#
jeremycherfas
I have if (!is_null($podcast) {
#
jeremycherfas
And I get an error of syntax error, unexpected 'continue' (T_CONTINUE)
#
jeremycherfas
I've checked everything I can think of, to no avail.
#
jeremycherfas
NVM; found the problem
loicm, [kimberlyhirsh] and [Rose] joined the channel
#
[Rose]
Missing closing bracket, for anyone curious
iasai joined the channel
[eddie] joined the channel
#
[eddie]
There are two "u-in-reply-to"
#
[eddie]
I'm wondering if that is confusing his system
#
[eddie]
technically you can have multiple in replies, but I don't know if his Known instance supports that?
#
jeremycherfas
Thanks [Rose]
#
jeremycherfas
OK, giving up again, for the day. I WILL crack this beast if it is the last thing I do. Which it may well turn out to be.
#
jamietanna[m]
Ah interesting - that sounds like a good candidate, thanks Eddie
[tantek] joined the channel
#
[tantek]
what is multireply?
#
[tantek]
multiple u-in-reply-to is both ok and a thing!
#
Loqi
A multiple reply (multireply) is a reply written directly in response to multiple previous posts https://indieweb.org/multireply
#
gRegorLove
jamietanna[m], by "can't send" you mean it's not showing up on jgmac1106's site? Or what's the HTTP response code / error message you're getting when sending the wm?
iasai joined the channel
#
jamietanna[m]
Sorry, its returning a 400 - I'm not at my machine right now, but bear with and I'll share the full response
#
[eddie]
tantek: As I said above "You can have multiple in replies, but I don't know if his Known instance supports that". It's not that multiple in-reply-to was WRONG, just that it might be messing up the webmention specifically to jgmac1106
#
[eddie]
troubleshooting an error rather than making a statement on right/wrong of doing things
#
[eddie]
For example here is the telegraph details of a webmention attempt
#
[eddie]
It says "source not supported", and the error is that ""Could not interpret source as a comment."
iasai joined the channel
#
[eddie]
That seems to me that Known is having a hard time interpreting https://www.jvt.me/posts/2019/03/20/hwc-nottingham-session-1/ as a reply
#
Loqi
Homebrew Website Club: Nottingham, Session 1
#
[eddie]
Since it parses fine in xray, the means it's not an mf2 parsing issue which means it's probably the way Known is inspecting the mf2
#
[eddie]
everything looks pretty standard except for the two replies, which means I'm assuming Known is looking at the first item in the reply array and when it doesn't match the post, it's ignoring it rather than checking the entire reply array
#
[eddie]
Hmm whatever it is seems to be a routine Known issue that pops up
#
Loqi
[tantek] #1340 Known instances seem to require TWO webmentions to accept comments, likes
#
Loqi
[jeremycherfas] #1830 Error: source not supported
#
jamietanna[m]
Interesting, I'll have a read
#
[eddie]
jamietanna[m] if it's not the multiple in-reply-to then it's an issue on jgmac1106's side
#
jamietanna[m]
Okey dokey - I can try removing the second in-reply-to and see what happens
#
jamietanna[m]
The other issue is that the first in-reply-to is a relative URL (due to how I build my site) but when trying to read the mf2 markup, the parser doesn't like it
gRegorLove joined the channel
#
jamietanna[m]
And I'm wondering if I can get around that, or if it has to be the absolute URL
#
[eddie]
ohhhh hmmm that's a good question
#
[eddie]
I know xray translates it into an absolute URL but I don't know about what Known would do
#
[eddie]
looks like Known DOES support multiple reply urls
#
[eddie]
so it's either the relative url or just an issue inside of jgmac1106's site
#
jamietanna[m]
Very interesting, so that narrows it down!
#
gRegorLove
don't think relative url should cause a problem
#
[eddie]
Thanks gRegorLove! In that case, I would probably assume it's just a strange recurring Known issue
#
gRegorLove
I'm checking on the Known code a bit
#
[eddie]
gRegorLove these are the key points I found in the code
#
[eddie]
That's about where I ended. It seems like it's an issue in this function here https://github.com/idno/known/blob/f05ce8f655f9eb42beadd80609dab553e3dbed3f/Idno/Common/Entity.php#L2007
#
gRegorLove
That telegraph debug is pretty cool, I didn't know it showed that.
#
[eddie]
Yeah, it's super handy
#
[eddie]
aaronpk++
#
Loqi
aaronpk has 73 karma in this channel over the last year (257 in all channels)
iasai joined the channel
iasai and [cleverdevil] joined the channel
#
[cleverdevil]
[eddie] is your Nintendo Switch "play" code open source?
#
[cleverdevil]
I'm obviously going to need to start tracking that too 😄
#
[eddie]
lol it's not for the faint of heart
#
[eddie]
You have to grab some tokens by having your nintendo switch iOS app go through Charles Proxy or a similar snooping agent to grab environmental strings and tokens
#
Loqi
[Eddie Hinkle] nintendo-switch-importer.ts
#
[eddie]
If you (or anyone else) decides to attempt it, feel free to reach out to me in regard to retrieving the tokens and environmental variables as I haven't technically written that up
#
[eddie]
The things that are needed though are documented on that code sample i just linked to as the NintendoConfig JSON object
#
[cleverdevil]
Sweet. I'm doing similar crazy stuff for the Overcast tracking.
#
[cleverdevil]
I'm unafraid 🙂
#
[eddie]
[cleverdevil]++
#
Loqi
[cleverdevil] has 34 karma in this channel over the last year (82 in all channels)
#
[eddie]
Definitely! Feel free to ask any questions when you start investigating. The essential first steps is downloading the Switch Parental app on iOS, activating that on your nintendo switch so that the switch starts sending play time up to the server
#
[eddie]
You won't be able to fetch any plays done BEFORE the Parental app is configured
#
[eddie]
So I would do that ASAP, then you can worry about the actual proxy and fetching of that data later
[Rose] joined the channel
#
[Rose]
I have installed the parental controls app!
#
[Rose]
That's a start 😛
#
[Rose]
And removed the accidental 15 minute limit I set for myself. Though actually a 2 hour limit might not be a bad idea. RSI issues and all
#
[Rose]
Anyway, as evidenced here, collecting the data is always a good start
gRegorLove joined the channel
#
[Rose]
Unfortunately, I wasted 2 hours today because I mentally swapped the meanings of Needle and Haystack
#
gRegorLove
Whoa, that's awesome [eddie]!
leg joined the channel
#
gRegorLove
[eddie]++
#
Loqi
[eddie] has 36 karma in this channel over the last year (92 in all channels)
#
gRegorLove
Hehe "Played LEGO® CITY UNDERCOVER for 1.6666666666666667 hours"
#
gRegorLove
what is play?
#
Loqi
A game play or simply play is a passive type of post used to publish a game (digital or otherwise) that you have played https://indieweb.org/play
#
[Rose]
Has anyone written anything already to parse the Netflix csv download into posts?
jjuran, [jgmac1106], [kenbauer], [tantek] and [eddie] joined the channel
#
[eddie]
haha gRegorLove I just noticed that the other day too!
#
[eddie]
Looks like I need to add some rounding logic to my duration property
#
[eddie]
[Rose] Nope. I was looking into trying to automate my Netflix/Hulu, but I started with Hulu and then got upset that there isn't even a history page that I could scrape anymore so I never got around to Netflix
#
[eddie]
and yep, [Rose] collecting the data is definitely always the first start. When I knew I wanted to use OwnYourSwarm and Overland/Compass, I started checking in on Swarm and installed Overland on my phone before I got the server components up, because I knew as long as the data was collected, I could worry about actually retrieving it later
#
[Rose]
I already have a sample download from Netflix.
#
[Rose]
I plan to create a page where I can confirm/remove entries before they get added, as my boyfriend and I share a profile. Was just wondering if anyone had done the work for me 😛
#
[Rose]
That said, this week's history makes me seem like I do nothing but watch TV, sick leave ftw!
#
[tantek]
!tell jackyalcine delayed reply from this morning: tag replies (and thus u-tag-of) are just for the action of tagging a post (yours or someone else's) separately from publishing the post itself. I've done a bunch of visual design and markup work for how this could work, and it's in my list of things to implement on my own site: https://indieweb.org/tag-reply#Brainstorming
#
Loqi
Ok, I'll tell them that when I see them next
iasai joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
[tantek]
!tell jackyalcine in particular I need to implement tag replies so I can explicitly help mf2 issue make better progress using labels to communicate their state and what they need to progress: https://indieweb.org/Falcon#one-off_tag-of_post
snarfed joined the channel
#
@JamieTanna
@StevenPears @anna_hax I didn't get a chance to say earlier, but an alternative for comments is using https://indieweb.org/Webmention as per the #IndieWeb reply that @jgmac1106 did at https://quickthoughts.jgregorymcverry.com/2019/03/19/sweet-now-i-can-you-to-my - which would let users reply via their own sites
(twitter.com/_/status/1108842097610756097)
#
aaronpk
my maps really can't handle traveling across the date line
[eddie] joined the channel
#
[eddie]
aaronpk yeah that seems like a tough and not common use case 😞
#
aaronpk
not *that* uncommon
#
aaronpk
and it's totally on me to fix too, since I wrote the code that draws that line over the map
gRegorLove_ joined the channel
#
aaronpk
i'm going to start with the flight plan one with the curved lines
#
[eddie]
Well uncommon for me and most people I know. If you do it somewhat often, definitely helpful to fix it
#
aaronpk
I don't have any plans to travel that direction any time soon again, but plenty of people do that, and the code that does that is part of Atlas which is open source so I feel like I should fix it
#
aaronpk
actually it's this library which atlas uses and turns into an HTTP API https://github.com/aaronpk/Static-Maps-API-PHP
#
Loqi
[aaronpk] Static-Maps-API-PHP: A PHP app that renders static maps from tile hosting services
#
aaronpk
oh crap wait it's not, I merged the code into atlas directly. guess I should get rid of that project then
KartikPrabhu, gRegorLove_ and iasai joined the channel
#
GWG
I should do map lines someday
#
Loqi
totally
#
GWG
Loqi, unless you plan on helping...
KartikPrabhu, [kimberlyhirsh] and [jgmac1106] joined the channel
#
@jackyalcine
Sigh, I’ve resent this site about 60 Webmentions manually due to the random “purging” of Webmentions. It’s odd because it was _only_ those and not anything else (all of my posts are still here). It’s also not the first time it’s happened. I got some bad… https://v2.jacky.wtf/post/611ba13d-74cc-47b5-a50e-0ab5a269ac4b
(twitter.com/_/status/1108860839954710528)
snarfed joined the channel
#
snarfed
jacky: just out of curiosity, is that ^ a problem because you don't yet de-dupe wms?
#
Loqi
snarfed: [tantek] left you a message 1 day, 15 hours ago: congrats! Bridgy Publish a multiphoto to Twitter handled all 4 of 4 alt attributes just fine! https://twitter.com/t/status/1108272612378112000
#
snarfed
(we ideally want wms to be idempotent in general, ie you can resend them any number of times and nothing bad happens)
#
jacky
snarfed: my site can handle deduping
#
jacky
it's a bug in Koype
#
jacky
but like my _whole_ table of webmentions just disappeared lol
#
jacky
tbh I think there's a way around this for me (just saving the whole `source` page HTML when it comes in and using that as a backup/authoritative source)
KartikPrabhu, iasai, snarfed, jjuran and gRegorLove_ joined the channel