#dev 2023-05-01

2023-05-01 UTC
bret, geoffo, Soni, gRegor, Loqi__, pharonix71, bterry, holiday_medley, [bradleyallen], Loqi and [jacky] joined the channel
#
[jacky]
TIL that Twitter's algo is in the wild
#
[schmarty]
haha, yep!
geoffo joined the channel
#
[snarfed]
as far as we've been able to tell, that block of features was primarily informational, ie they weren't used much or at all in predictions (ranking etc)
#
[snarfed]
still hilarious and ridiculous though
#
bkil
The Slack-IRC bridge seems to have a bug in abbreviating links in the middle as if they were just long words. Which software are you using?
lanodan joined the channel
#
aaronpk
that's what shows up in the slack client itself
#
Loqi
[preview] [aaronpk] Slack-IRC-Gateway: Bridge Slack rooms to IRC channels
#
Loqi
[preview] [Zegnat] #24 Shortened Slack URLs need to be expanded on IRC
#
aaronpk
their API is a nightmare of docs to wade through but if you can find it in the docs that would be helpful
mindofaaronw[m] joined the channel
#
bkil
Slack << bridged via the [[https://github.com/aaronpk/Slack-IRC-Gateway|Slack IRC Gateway" target="_blank">https://github.com/aaronpk/Slack-IRC-Gateway|Slack IRC Gateway]]
#
bkil
IRC << bridged via the [https://github.com/aaronpk/Slack-IRC-Gateway Slack IRC Gateway]
#
Loqi
ok, I added "bridged via the [https://github.com/aaronpk/Slack-IRC-Gateway Slack IRC Gateway]" to the "See Also" section of /IRC https://indieweb.org/wiki/index.php?diff=87669&oldid=82204
#
bkil
aaronpk << runs the [https://github.com/aaronpk/Slack-IRC-Gateway Slack IRC Gateway]
#
bkil
bridge all the things << [[Matrix]] is a [[federation|federated]] alternative to [[Slack]] designed to offer an extensible [[open]] superset of common chat protocols so it can be used as a lowest common denominator for a [[bridge all the things|universal bridge]]
#
Loqi
ok, I added "[[Matrix]] is a [[federation|federated]] alternative to [[Slack]] designed to offer an extensible [[open]] superset of common chat protocols so it can be used as a lowest common denominator for a [[bridge all the things|universal bridge]]" to the "See Also" section of /bridge_all_the_things https://indieweb.org/wiki/index.php?diff=87671&oldid=60420
#
bkil
open << [[Matrix]] is a [[federation|federated]] alternative to [[Slack]] designed to offer an extensible [[open]] superset of common [[chat]] protocols so it can be used as a lowest common denominator for a [[bridge all the things|universal bridge]]
#
Loqi
ok, I added "[[Matrix]] is a [[federation|federated]] alternative to [[Slack]] designed to offer an extensible [[open]] superset of common [[chat]] protocols so it can be used as a lowest common denominator for a [[bridge all the things|universal bridge]]" to the "See Also" section of /open https://indieweb.org/wiki/index.php?diff=87672&oldid=21849
#
bkil
federation << [[Matrix]] is a [[federation|federated]] alternative to [[Slack]] designed to offer an extensible [[open]] superset of common [[chat]] protocols so it can be used as a lowest common denominator for a [[bridge all the things|universal bridge]]
#
Loqi
ok, I added "[[Matrix]] is a [[federation|federated]] alternative to [[Slack]] designed to offer an extensible [[open]] superset of common [[chat]] protocols so it can be used as a lowest common denominator for a [[bridge all the things|universal bridge]]" to the "See Also" section of /federation https://indieweb.org/wiki/index.php?diff=87673&oldid=87373
#
bkil
chat << [[Matrix]] is a [[federation|federated]] alternative to [[Slack]] designed to offer an extensible [[open]] superset of common [[chat]] protocols so it can be used as a lowest common denominator for a [[bridge all the things|universal bridge]]
#
Loqi
ok, I added "[[Matrix]] is a [[federation|federated]] alternative to [[Slack]] designed to offer an extensible [[open]] superset of common [[chat]] protocols so it can be used as a lowest common denominator for a [[bridge all the things|universal bridge]]" to the "See Also" section of /chat https://indieweb.org/wiki/index.php?diff=87674&oldid=68472
[capjamesg], gRegor and pharonix71 joined the channel
#
[tantek]
bkil, why add copy/paste duplicate content to multiple pages? is that something that's a common practice on other wikis that you've contributed to?
jacky and jarenado joined the channel
#
bkil
[tantek]: We did talk about keywords and improving discoverability by fixing wording in the wiki here, but you forgot to get back to me about this. Should I still be waiting for an answer or should we then skip it?
#
[tantek]
I believe I noted at the time that the #indieweb-meta channel was more appropriate for that discussion, since it's about the community/wiki, not about building your personal website in particular
[Caleb_Hearth] joined the channel
#
GWG
I'm trying to solve a problem and need some advice
#
GWG
I want to self-host a limited reverse geocoding server...since hosting the entire world would be prohibitive.
#
GWG
I'm trying to figure out how I should design a system that would incorporate a local and remote source.
geoffo joined the channel
#
GWG
bkil: I'm well aware.
#
GWG
This is about handoff between a local limited and the remote one
#
bkil
And which one did you have in mind?
#
GWG
bkil: That isn't relevant to the question. It was about my local design to decide which one to ask for the information.
#
bkil
Is this a hobby project (i.e., no big API hit requirements)? I'd first hit the local endpoint first, and if it fails, then hit the external one. (Assuming both of them are of the same software kind and using the same underlying database other than the geographical extracting)
#
bkil
You may need to do a bit of both query doctoring and post processing, though, as Nominatim can be quick to return results outside the given country if the street matches neatly for example or if the house number is missing altogether, but matches something similar to a district within another city.
#
GWG
bkil: All my projects are hobbyist projects
#
GWG
Some of the services I use have limits, even if I'm barely hitting them. Trying to figure out a respectful usage pattern
#
bkil
But it has an elaborate input syntax to alias a few filters, such as limiting results to a country first. I'd probably fire the query locally both with and without the country appended for this reason.
#
GWG
bkil: Wrong direction though. I'm doing reverse coding
#
bkil
Oh, sorry, slipped.
#
bkil
Then I don't see your issue. If you are within the bounds of the extract, query the local service, otherwise query the remote one...
#
GWG
I don't have a way to determine the bounds of the extract.
#
bkil
Could you please tell us why? Extracts come with vector boundaries.
#
bkil
But for a slight reduced efficiency you could also come up with very cheap rectangular ones by hand, even without accounting for projection in certain cases.
#
GWG
bkil: They do, but I need to be able to either set it in config, or query it from the endpoint.
#
[tantek]
GWG, I'm curious, what's the user use-case for reverse geocoding that you're solving in particular?
#
[tantek]
is this for a checkin UI? e.g. to go from a user's lat & long to a list of suggested venues?
#
GWG
[tantek]: Well, [manton] was working on a venue API at one point.
#
GWG
But, right now, I'm trying to deal with a problem of Nominatim locking me out despite minimal usage
#
GWG
By hosting my own, but I can't afford to host the world.
#
bkil
How much storage and RAM do you have?
#
GWG
Not enough based on the specs
#
aaronpk
i use reverse geocoding to put city names and timezones on my posts
#
bkil
This is #indieweb-chat territory, but I'd love to iterate on an ultra-light OSM pipeline just for such a use case on a hackathon.
#
GWG
aaronpk: But you don't self-host, I believe
#
aaronpk
correct
#
bkil
(I.e., processing the raw minute diff gz xml and update my own flat-file representation)
#
GWG
aaronpk: Have you ever considered hosting, let's say, Portland?
#
aaronpk
if you don't need street names the data set isn't that big
#
GWG
Right now, I'm just trying to figure out a few minor things.
#
[tantek]
GWG, perhaps add yourself to https://indieweb.org/Nominatim#IndieWeb_Examples and maybe add an Issue also about using the service and being locked out
#
GWG
Basically, I just want to redesign the load part of my code to intelligently pick a provider to look up information, and was trying to decide how.
#
Soni
did anyone look into the "social search" stuff from before?
#
[KevinMarks]
GWG sounds like you need a list of bounding boxes and costs (in whatever units make sense), sorted by ascending cost, then take the first bounding box that contains the point.
#
GWG
Well, I just need one bounding box...or a set. The one that defines what I loaded into my own.
#
GWG
Or alternatively, just go with a simple priority system
Xe joined the channel
#
GWG
For now, I just stabilized the system manually by switching, so I can fix something else