#dev 2019-11-19

2019-11-19 UTC
uniquerockrz joined the channel
#
[LewisCowles]
1 PR away, but I'll have to go up the chain of vendoring to be able to complete a pytest run
#
[LewisCowles]
a job for tomorrow I think as it's just past 12 midnight here
#
[LewisCowles]
okay, so bearlib is also PR'd and it passes it's test-suite. But now I really am going to bed
uniquerockrz joined the channel
#
jacky
got fortress looking a bit cleaner
#
jacky
it can only consume indieauth atm
#
jacky
going to make it a provider and then adapt my site to use it for that
#
jacky
hoping to make it as useful / usable as indielogin :)
[KevinMarks] and uniquerockrz joined the channel
#
[LewisCowles]
bear++ (I never managed to get to sleep)
#
Loqi
bear has 3 karma over the last year
jeremycherfas_, [jgmac1106], uniquerockrz, [KevinMarks], [xavierroy], KartikPrabhu, [snarfed], fauno, gRegorLove, cweiske, jacky, swentel, fauno_, [tantek], asymptotically, gxt and [Rose] joined the channel
#
GWG_
Okay, so my import of location data locked things up, so I had to restart it. On a positive note, I was able to reduce the memory footprint in a rewrite. I never thought about the implications of not passing a 600mb array by reference as I've never had an array that big before
ayorosmage and uniquerockrz joined the channel
#
GWG_
And on some of these data entries, it keeps jumping from one hemisphere to another.
#
GWG_
So, there is bad data mixed in with the good.
uniquerockrz joined the channel
#
GWG_
I need to figure out some logic to clean the data afterward
#
GWG_
Or reprocess it
#
GWG_
QuartzDB is one json array per line in a file.
#
GWG_
The question is how do I know what data to discard
uniquerockrz joined the channel
#
GWG_
I think that I may have had a second Google Device at home pinging their servers
uniquerockrz, masura, KartikPrabhu, [tantek], [schmarty], jjuran, gRegorLove, asymptotically and [KevinMarks] joined the channel
#
[KevinMarks]
also sometimes wifi geolocation is way off. I've seen that at conferences, where they brought the routers from another venue, but google remembers the previous location for that mac address
leg and uniquerockrz joined the channel
#
[KevinMarks]
for me it thinks the pub down the hill from me, The Brunton Arms, is in the Alps
#
[KevinMarks]
Also an implausible teleport from London to Bristol
#
[KevinMarks]
You think 50km is a lot, Tantek, how about 105 miles in 5 minutes?
#
[KevinMarks]
sure, I drive 3000 miles an hour to the pub on Boxing day
uniquerockrz, asymptotically and [fluffy] joined the channel
#
[fluffy]
I remember driving around my parents’ neighborhood shortly after I got a smartphone and the wifi-based geolocation thinking I’d been teleporting around town thanks to the lack of actual GPS in it
[Will_Monroe], uniquerockrz and [intover_q] joined the channel
#
[intover_q]
Hello, I have a general Brainstorming question:
#
[intover_q]
Want to migrate from Wordpress to a "System" ( Jamstack/Headless CMS) that can handle several hundred webpages (different websites / subdomains).
#
[intover_q]
all of them will be multilingual (at least 5 different languages);
#
[intover_q]
Some will be static,
#
[intover_q]
maybe some of the content will be also delivered to our Apps.
#
[intover_q]
all of them will be responsive and SEO optimized to get the highest ranking possible;
#
[intover_q]
Was looking to the following resources for some ideas and would appreciate your feedback:
#
[intover_q]
What kind of "System" / (CMS, JamStack, Hybrid CMS) architecture would you recommend.
#
[fluffy]
Wow, that’s a pretty big question with some pretty complex requirements.
[intover_q]1 joined the channel
#
gRegorLove
Quite. There's not much there yet, but we have /headless_CMS
jeremycherfas and jeremycherfas_ joined the channel
#
[fluffy]
I think the first question I’d ask is: how uniform are your content management needs?
#
[fluffy]
Like you say some of it will be static and some won’t. Can you simply fit everything into a non-static model? That would simplify some stuff.
#
[fluffy]
Since then you can just consider the hostname to be part of the route to everything else.
#
[fluffy]
Well, “just.” There’s still a bit more to it than that, obviously.
uniquerockrz joined the channel
#
[fluffy]
Especially if you have to handle login sessions, or want to use relative links between things, or whatever.
#
[fluffy]
And like, how often do you need to add/change domains/subdomains? I assume you’re going down this path because the admin overhead of managing vhosts or whatever is getting to be burdensome.
#
[fluffy]
But you might be able to get away with some sort of automated Apache/nginx/etc. config generator that is driven by some other configuration file.
#
[fluffy]
Like I think that’s what Dreamhost does.
#
[fluffy]
Also there’s the question of: who owns/manages the content? Do you want it to all be accessible from a single all-encompassing CMS dashboard, or do you want each site to be hosted by its own git repository, or…?
#
[fluffy]
s/hosted/managed/
uniquerockrz joined the channel
#
[intover_q]1
Thanks for the brain candy 😁
#
[intover_q]1
Did not get that question? What do you mean with "uniform"?
#
[intover_q]1
Actually, wordpress with combination of static sites and multilingual pages are generating the overhead.
#
[intover_q]1
Non-static model for all pages should be doable.
#
[intover_q]1
Will be adding, changing subdomains every 1-2 months in the coming years.
#
[intover_q]1
>But you might be able to get away with some >sort of automated Apache/nginx/etc. config >generator that is driven by some other >configuration file.
#
[intover_q]1
>Like I think that’s what Dreamhost does.
#
[intover_q]1
Wow, that sound really complex 😅
#
[intover_q]1
>Single all-encompassing CMS dashboard sounds good.
#
[intover_q]1
What do you think about a cloud first headless cms approach?
KartikPrabhu and uniquerockrz joined the channel
#
aaronpk
[intover_q] are any of these a personal website for yourself? That's the focus of this channel, not general web development
#
jacky
anyone who isn't using wordpress but communicating to indieweb+wordpress sites; do you find the mf2 to be a bit unexpected when you use it for your reply context?
#
jacky
I have to document an example but I've been seeing it a bit more as I build my microsub client
#
aaronpk
Yes quite
#
aaronpk
it's been an ongoing challenge
#
jacky
it's making me want to ignore whatever they sent and work off the PTD I resolve to rebuild the context
#
jacky
which feels like what I _should_ be doing from jump
#
jacky
but I don't want to ignore anything that someone might be trying to express
#
aaronpk
If it's not in Post type discovery I would ignore it tbh
#
aaronpk
and if you find a common recurring object that is not yet in PTD then it's worth suggesting it be added to PTD
#
jacky
like eat ;)
#
jacky
okay next query/idea suggestion
#
jacky
I wanna expand /rel-subscribe a bit
uniquerockrz joined the channel
#
jacky
I'm finishing up a page for lwa that can be used for this
#
jacky
it'd take it the providing URL (or the referrer) and then ask the visitor to sign in for microsub access
#
jacky
to do the whole subscription thing
#
jacky
that's very GUI-y centric but I can't think of what it'd look like for an api layer since people who are visiting indieweb sites and wanna subscribe might already be in their microsub client
#
jacky
can't prove ^ without stats tho
#
jacky
the other option is adding a URL handler for microsub that microsub mobile clients can listen to for subscription purposes
#
jacky
like `microsub://subscribe?url=https://omg.com`
#
jacky
what is webaction
#
Loqi
A web action is the interface and user experience of taking a specific discrete action, across the web, from one site to another site or application https://indieweb.org/webaction
#
jacky
^ or that
#
jacky
wait does this web action stuff work on mobile browsers?
#
jacky
hmm it can if the app registers itself at `web+action://`
#
jacky
needs to figure out how to test this on mobile lol
#
gRegorLove
snarfed: is it possible to get Twitter replies/mentions with twitter-atom?
#
jacky
oh it does! niceeee
#
jacky
this means I can go from Firefox Web view -> auto-open Indigineous and like
uniquerockrz joined the channel
#
jacky
okay random question/feedback
#
jacky
I'm considering extending my faith in indieauth to use it to sign into my site _myself_
[LewisCowles] joined the channel
#
[LewisCowles]
!tell bear just checking in if the code had any regressions. Test suite might have saved me, but I'm aware I don't know those tools as well as a user. Sprinkle tells or GitHub with mentions
#
Loqi
Ok, I'll tell them that when I see them next
#
jacky
I don't know if there's a suggested way in oauth2 to "request higher / harder" authorization
#
bear
[LewisCowles] not sure if it did - i'll be upgrading my installation with it this weekend and i'll let you know
#
Loqi
bear: [LewisCowles] left you a message 1 minute ago: just checking in if the code had any regressions. Test suite might have saved me, but I'm aware I don't know those tools as well as a user. Sprinkle tells or GitHub with mentions
#
jacky
the only way I can think of doing this is doing some sort of special scope request (like `user:admin` or `admin`)
#
sknebel
for *your* site, your endpoint can also just know to do that for your site
#
sknebel
(or look at scopes if we are talking Authorization and not just login/Authentication, true)
#
jacky
oh so I'd want to externalize the endpoint altogether
#
jacky
but I do see what you're saying
#
jacky
that sounds doable
#
jacky
makes a note
#
jacky
I'm moving towards tearing my site up into pieces that I can make tweaks and optimizations for without having the rest know about
#
jacky
and even move to separate parts of my server
uniquerockrz and [asuh] joined the channel