#dev 2022-10-24

2022-10-24 UTC
tbbrown, [benatwork], jacky and gxt joined the channel
#
GWG
https://ma.tt/2022/10/open-source-podcasting-client/ - Wonder if there is a way to now get my data in/out of their sync system?
#
[schmarty]
ah thanks for the reminder GWG. i am curious to play with this!
#
[schmarty]
scrobbling support via micropub would be fun
#
GWG
[schmarty]: Exactly. Own your Pocket Cast?
#
GWG
Also, I wonder where I could open an issue for sending some other way
tbbrown, [benatwork], dodo1 and [aciccarello] joined the channel
#
slyduda[m]
snarfed: got it, i was overthinking what needed to be done on my end and realized that this was a two step pr. thanks for the guidance and sorry for the back and forth
mro, nertzy and [aciccarello] joined the channel
#
Saphire
...how much can I trust indieauth clients to honor the profile info from the server and ignore the inital "me"/profile url?
#
Saphire
Wait
#
Saphire
Is IndieAuth PKCE S256 incompatible with OAuth
#
Saphire
Wait nvm
#
Saphire
Oh nvm yeah, I see, derp
jacky, geoffo, mro, gRegorLove_, [tantek] and omz13 joined the channel
#
GWG
I'm still having trouble with an idea.
#
GWG
If I have local venues, and the ability to retrieve venue data from remote apis..how do I decide when to create a local venue from the remote data
#
GWG
Anyone have any thoughts on this they might have contemplated? I want to release something before November
#
[schmarty]
can you clarify what you mean by "local"? like some list of venues on a page on your site? or in your micropub endpoint available with a `?q=...` query?
#
[schmarty]
also what are the purposes for the "local" venues? does a venue have a page on your site that acts as a nexus listing checkin posts at that venue (or other posts that mention the venue in some way)?
#
[schmarty]
my gut answer based on my assumptions about your question is that you'd want to make a "local" venue any time you make a post that involves that venue in some way.
#
sknebel
I'd say always create a local entry based on a remote one
#
sknebel
and keep the reference where it was from around
#
sknebel
because you certainly dont want to call out to something external every time you access any informatin about that venue
#
GWG
[schmarty]: Local in this context is stored in my database and remote is using a service to get that data. So, I'm just trying to figure out, when I have an existing local venue nearby and remote venues...how do I display it for selection
#
GWG
So, if I find a local venue in range.. should I not even search for anything?
#
GWG
Is there a scenario where my local venue is near a new future venue...
#
GWG
I'm probably overthinking this
#
[schmarty]
ah, yeah, i've been thinking about this for a checkin client as well. i think the best option will be... context dependent. 😄
#
[schmarty]
like if there's only a handful (1-3?) of already-known venues nearby, it seems fine to load in "remote" results right below that, so long as they are on the screen.
mro joined the channel
#
aaronpk
could always do: show local results automatically, only hit the remote API if you search for a venue because you don't see it in your list
#
[schmarty]
but another approach is thresholding - if you fetch both already-known and "remote" venues, sorting them by whatever is closest will probably always make sense, as long as location accuracy and density are good.
jacky joined the channel
#
GWG
I am also debating if using the Foursquare API is going to get me into trouble
mro joined the channel
#
aaronpk
ownyourswarm has been running for several years now without issues fwiw
#
GWG
aaronpk: Yes, but it is behind a login....
#
GWG
I'd have the Foursquare link on my 'local' venue page
#
GWG
The data structure I set up has a rel-syndication like field where I can link to other representations of the page, and a URL property for the canonical website for something
#
aaronpk
ownyourswarm pushes the foursquare data to your site via micropub, so i have essentially copies of all the foursquare venues on my site
#
GWG
Good point
#
GWG
Also, I'm probably a small fish in a big pond
#
GWG
I'm still having trouble with how it should look for selection. The venue stuff for Micropub is still experimental, so I need a local interface
#
GWG
I'm not sure I'll get this done before my next trip. I may have to compromise
#
GWG
Maybe I should build it first so checking in via Own Your Swarm builds a venue URL on my site.
#
GWG
Interim step
#
[tantek]
GWG, if all you're doing is a "View this venue on Foursquare" link, my guess is that it would either not attract much attention, or if anything, would be seen as mildly positive since it's an inbound link that could direct some traffic.
#
GWG
My venue data structure is starting out as very basic. Name, coordinates, optional radius(though I debated a bounding box instead), venue canonical URL, and alternate venue URLs(akin to syndication links)
#
GWG
I'm not even storing address data, and may not, but I do have the locality stored.
Pyroxtheythem[m], jacky, KatherineMoss[m], slyduda[m], AramZ-S[m], kandr3s[m], h4kor[m], lqdev[m], jordemort, [Murray] and [jgarber] joined the channel
#
[jgarber]
Safari 16.1 is out today with a particular feature that caught my attention:
#
[jgarber]
> *Scroll to Text Fragment*
#
[jgarber]
> Safari 16.1 adds support for Scroll to Text Fragment, making it possible to include a text directive for finding a text fragment as part of a URL. When a user navigates to a URL that includes such a directive, the browser scrolls the text fragment into view and marks it with a persistent highlight.
#
[jgarber]
Sounds a lot like fragmention.
#
aaronpk
did they do it the same way as google?
#
[jgarber]
I'm not familiar with Google's implementation.
#
[jgarber]
But the linked spec in the quote above was written by some Google folks.
#
[KevinMarks]
Try it with highlightpoetry.com
#
[jgarber]
Love the linked examples, [KevinMarks] 😂
#
Saphire
FINALLY
#
[tantek]
yeah I still dislike the ugly syntax
#
[tantek]
IMO Fragmentions with a polyfill on your own site is a better way to go, better /URL_design
#
Saphire
takes it down for now until it's wrapped in docker and stuff
#
superkuh
Anything that requires JS execution should be avoided.
#
superkuh
I really, really hate sites that implement anchors via javascript.
#
Saphire
...mmh?
#
superkuh
Just use anchors.
#
Saphire
Ah
#
superkuh
I'm pro-browser based implementation here.
jacky and tbbrown joined the channel
#
[KevinMarks]
These are anchors that you don't pre provide though
#
@SaphireLattice
IndieAuth implemented, IndieWeb Wiki login successful! Woo Now to wrap that in docker, whack out a frontend, actual login page, etc ...feeling like being lazy and slapping an SPA in there >_> I mean, it's not like I'll share that instance with many people :P
(twitter.com/_/status/1584624652298878980)
#
Saphire
coughs
jacky joined the channel
#
barnaby
congratulations Saphire!
#
gRegor
Saphire++
#
Loqi
Saphire has 4 karma in this channel over the last year (9 in all channels)
#
gRegor
Huh, didn't realize that was getting more adoption outside Chrome. https://wicg.github.io/scroll-to-text-fragment/
#
Loqi
[Nick Burris] Text Fragments
#
gRegor
Bummer (but not surprising) they declined on supporting fragmention fallback. Due to SPAs I guess? https://github.com/WICG/scroll-to-text-fragment/issues/5
#
Loqi
[kevinmarks] #5 Support the fragmention syntax as fallback
[jeremycherfas] joined the channel
#
[tantek]
yeah it's dumb. per the point about not wanting to depend on JS, we really should have a reliable browser add-on that does Fragmentions for you
#
[tantek]
!tell KarthikPrabhu looks like your https://kartikprabhu.com/ redirection broke again — should we repair all your links on the wiki to require the "www." in front?
#
Loqi
Ok, I'll tell them that when I see them next
chenghiz_, walkah, oodani, t0nic and oxtyped joined the channel
#
[tantek]
what is photo archiving
#
Loqi
It looks like we don't have a page for "photo archiving" yet. Would you like to create it? (Or just say "photo archiving is ____", a sentence describing the term)
[jgmac1106] joined the channel
#
GWG
I figured out how I'm going to proceed for now with adding venues.
#
[schmarty]
GWG: keeping it a secret?
EncryptedGiraffe joined the channel
#
GWG
I'm going to take the output from Own Your Swarm and write the code to autoadd a local venue or link to an existing venue. And test that a bit as an interim measure so I can work on the UI longer and still release what I built
nertzy, dodo2, jeeyoon, [aciccarello], IWSlackGateway, IWDiscordGateway and haskell_is_no_ha joined the channel
#
haskell_is_no_ha
Hello everyone! I'm attempting to host a React website I built on a local machine running a LAMP stack. I'm able to see my webpage on my LAN when I access it using the domain name, and the DNS hookup works fine. However when I attempt to access it the same way via WAN, it times out. I feel like I'm missing something fundamental here, I think I've properly set up the port forwarding (port 80, and the ipv4 address
#
haskell_is_no_ha
for the machine running apache), so I don't think that's the problem either. Did I just miss a step somehow?
#
barnaby
have you tried doing a dig query for the domain name on both interfaces and comparing the results?