#dev 2021-05-17

2021-05-17 UTC
[tantek] joined the channel
#
lahacker
IPFS for decentralized *media*.. nice static hashes, don't always need to be human readable when embedded.. pin it at home on your desktop, link to it from a reply context on your site, even possibly delete your local copy above a threshold of active peers (to save space).. viral media posts can have the bandwidth distributed amongst active viewers (automagically or just by one single user clicking the
#
lahacker
pin button next to the media).. just trivially installed the go-ipfs binary and IPFS Companion extension (in ff & chrome) and unlike the last half dozen attempts *everything* worked out of the box with zero config. blocked ipfs.io in /etc/hosts and my extension reads over 1000 peers. every video i find streams instantly.
sparseMatrix joined the channel
#
sparseMatrix
dang
#
sparseMatrix
well, I'm out for the evening. for the curious, I rebuilt my system-wide uwsgi, got the plugin issues worked out, the https-socket instead of the http-socket, got the app ssl-ified with flask_talisman, socket file and permissions proper, finally got uwsgi to start my app, and all with no complaints or errors.
#
sparseMatrix
also no logging of any request, and every request returns 404 not found.
#
sparseMatrix
that's my main-strength attempt for today lol
[chrisaldrich] joined the channel
#
sparseMatrix
also @lahacker that is a far better report than I can give on ipfs ; )
#
sparseMatrix
but it's been over a year since I fiddled with it
#
sparseMatrix
anyways, see y'all next time : D
#
sparseMatrix
o/
mmarfil, gRegorLove and [tantek] joined the channel
#
[tantek]
lahacker - any advantage over torrenting media? or is it same idea, different hash?
nertzy_, [jeremycherfas], gRegorLove, gRegorLove_ and [jgmac1106] joined the channel
[Tim_Culverhous], tweet[m], [KevinMarks] and sparseMatrix joined the channel
#
sparseMatrix
I gotta say, this setting up of the uwsgi/flask/nginx -- it's like an unholy trinity. That webapp I flipped up on to https was a node app and it took like ten minutes. I'm staring day 4 right in the face.
#
sparseMatrix
seemed to have dropped half a sentence there. What I meant to say was, the last I did was a node app, and it took about ten minutes to get it on https.
#
sparseMatrix
for whatever reason, nginix stopped logging to my vhost-specific logfiles and went back to logging to the canonical access/error logs. I've been stumped ever since.
#
sparseMatrix
And having found out where its actually logging and reading whats happening doesn't make a hell of a lot of sense.
#
sparseMatrix
instead of passing my requests through to wsgi, it's trying to read static files from the default nginx html folder.
#
sparseMatrix
well I've found /yet another/ example on the interwebs that's phenomenally different from everything else I've tried. We'll see if it's a swing and a miss. Stay tuned!
barnabywalters and [tantek] joined the channel
#
barnabywalters
has anyone used hostinger.com for web hosting? they seem to have good reviews and good prices for EU hosting
#
[tantek]
^ I bet petermolnar and sknebel have opinions 🙂
#
petermolnar
me? opinions? pff.
#
petermolnar
on a more serious note, I have no idea. I've never heard of them before.
#
petermolnar
to be honest the ginormous cookie banner is scary
#
petermolnar
other, than that, it looks like an oldschool shared hosting provider
gRegorLove and sparseMatrix joined the channel
#
sparseMatrix
@barnabywalters Digital Ocean just opened up a datacenter in London, and I could not offer a more glowing endorsement for hosting
#
sparseMatrix
Haven't had a service interruption in two years, and the support is beyond par
#
barnabywalters
well, London isn’t EU any more, but I’m still vaguely considering UK-based hosts if they’re considerably better than an equivalent EU host
#
sparseMatrix
you have a point, I guess that fracture hasn't yet settled in for me :/
#
sparseMatrix
That said, they also have a DC in The Netherlands
#
aaronpk
linode has london and frankfurt if an EU-based business is not the criteria
#
sparseMatrix
In the interest of full disclosure, I do not own any part of DO nor do I collect their referral 'bonus' ; )
#
sparseMatrix
but man, their stuff works great :)
#
sparseMatrix
goes back to the grindstone
#
barnabywalters
heh, it’s weird that most “oldschool” shared hosting providers have better product summaries and comparison charts than either of those more developer-focused offerings
#
aaronpk
linode used to be more straightforward but they started adding all the fancy stuff and are not just a VPS provider anymore
#
[tantek]
I'm wondering if there's privacy law advantages to using a EU-based host, or if US-based businesses have to comply with EU privacy laws in their EU operations? Or if that doesn't matter because any US-based business is still vulnerable (anywhere in the world) to US gov monitoring pressures/orders
#
barnabywalters
tbh all I really need is regular shared hosting, with SSH access and support for many domains
#
barnabywalters
I got into the mess I’m in now due to using a cheap VPS provider and not really knowing how to manage it myself, or the ridiculous limitations it ended up having
#
barnabywalters
turns out I’m not really interested in being a hobby sysadmin
#
barnabywalters
and my current VPS provider’s virtualisation doesn’t support the latest linux kernel, which prevents me from updating most software
#
barnabywalters
so I’m stuck with PHP 7.0, which is not really good enough any more
shoesNsocks joined the channel
#
[tantek]
these are all interesting "gotchas" to look out for, maybe worth mentioning (perhaps in a "Criteria" section?) in the /web_hosting page
#
petermolnar
> turns out I’m not really interested in being a hobby sysadmin - that's sad, I was about to say try FreeBSD :)
#
barnabywalters
it’s tempting, but I know myself better by now
#
aaronpk
sometimes i fantasize about running everything on shared hosting and ditching all my VPSs
#
barnabywalters
I wish hosting providers had a publicly accessible no-op demo of their control panel/configuration UI
#
[tantek]
I think that's called the 30day free trial?
#
barnabywalters
sure, if they offer a free trial
#
barnabywalters
but you still have to sign up
[Murray] joined the channel
#
[Murray]
for UK I can fully recommend Krystal hosting, but not sure they're right (can be expensive for multiple domains etc)
#
[Murray]
(also SSH access is only on premium tier stuff, which is irritating)
#
sknebel
Hetzner also does shared hosting, probably not the cheapest for many domains though
#
sknebel
Uberspace are interesting, I'm not 100% how good their english docs are, but worth checking out: https://uberspace.de/en/product/ (they give you a shell account and even let you run your own services, so a bit more than just normal hosting if you want that)
#
sknebel
in the UK https://www.mythic-beasts.com has a good reputation
#
sknebel
honorable mention to https://www.netcup.eu/ (I get my VPS from them), but they are stingy with letting you use external domains on their webhosting package and I see no way of upping that, so likely not the right thing for you
#
sknebel
that's the ones I can think of right now and feel like I can recommend
lahacker joined the channel
#
sknebel
(none of those are any of the large EU hosting companies though, which probably are also just fine, I just have no idea about details there)
KartikPrabhu, barnabywalters and lahacker joined the channel
#
sparseMatrix
...and, it's working.
#
sparseMatrix
the app is doing plain jane http -> uwsgi, uswgi -> nginx https
#
barnabywalters
small bug report: the toggle css link redirects to localhost:7000
#
sparseMatrix
there's a host of crap I had wrong. But, it's fixed. Thanks for all the help and the good vibes y'all : D
#
sparseMatrix
Thanks, yes I'm aware of it
#
sparseMatrix
it seemed like the proper thing to do was tackle the hard bits first xD
#
sparseMatrix
service/proxy/transport/service and such
lahacker joined the channel
#
sparseMatrix
gonna figuratively take five to shake out the sawdust from my head, and definitely to thoroughly back up this configuration for future reference
[chee] joined the channel
#
[chee]
i use Linode and keep some in UK and some in Frankfurt. i also have a plan 9 box and an openbsd box on vultr, which has datacenter in London too
#
[chee]
Linode have always been very reliable, and very good when I've needed support
#
barnabywalters
[chee]: what do you use plan 9 for? I installed it on a raspberry pi once for fun
#
[chee]
i mostly just wanted to see if i could install it on a VPS, haha. though it was also for part of an art project i was/am working on: http://borksystems.net
#
[chee]
recreational sysadmin
#
sparseMatrix
@[chee] I <3 that 'recreational sysadmin', good stuff :D
#
barnabywalters
sparseMatrix: I’m a bit confused by what that page is supposed to be, as it says that the h-card url is http://code4peeps.life, but that has nothing on, and the page you linked has an empty h-card on
#
sparseMatrix
@barnabywalters, please forgive me - it's a bit of a mess. I've been rearranging it since about day1, mostly because of infrastructure/architectural overthinking
#
sparseMatrix
and a little underthinking in places too
#
sparseMatrix
now that I have things about right, I'll see if I cant get it tidied up a bit :)
#
barnabywalters
ah, I see. no worries, was just curious and a little confused
#
barnabywalters
I suppose you already know about tools like http://pin13.net/mf2/ for helping to debug microformats markup? e.g. http://pin13.net/mf2/?url=https%3A%2F%2Freader.code4peeps.life%2Freader%2Findex.md
#
sparseMatrix
yeah, it's just a little broken atm is all :D
#
sparseMatrix
No, I did not
#
sparseMatrix
I'm totally new to the ecosystem
#
barnabywalters
ah okay, cool! I have a little mf2 testing UI on my website too, you can’t parse external content, but it live-updates the parsed result of HTML you input for quick learning and experimenting https://waterpigs.co.uk/php-mf2/
#
barnabywalters
it might be running a somewhat out of date version of the parser, but is a nice quick-feedback learning tool
#
sparseMatrix
interesting
#
sparseMatrix
that pin13 tool seems to show my page source back to me
#
sparseMatrix
perhaps slightly transformed in places
[chrisaldrich] joined the channel
#
barnabywalters
it shows you how the microformats-2 markup on the page is parsed
#
sparseMatrix
it seems it deserves a somewhat closer look than I gave it
#
barnabywalters
the h-entry looks good, but you have an empty h-card
#
barnabywalters
another minor gripe: the datetime formatting in the <time datetime=""> attribute isn’t in a valid format for that attribute, at least according to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
#
sparseMatrix
@[barnabywalters] try this hcard link https://jamesstallings.code4peeps.life/ -- it's what will eventually be linked to the blog pages
#
Loqi
James Stallings II
#
sparseMatrix
you may not be aware, but this app started life as a private lan denizen that has been/is being modified for the big bad interwebs
#
barnabywalters
oh yeah that one looks good! nice to see honorific-suffix, that one doesn’t get so much usage
#
sparseMatrix
: )
[KevinMarks] joined the channel
#
sparseMatrix
@[barnabywalters] that sort of header that appears on the top of each page is ultimately meant to display authorship details, which of course come from the hcard
#
sparseMatrix
I know it probably doesn't look much like it, but your site was one of the first I browsed, and served as a bit of a guide
#
sparseMatrix
I keep learning new things so quickly though that the whole project keeps changing shape in mid flight hahaha
#
sparseMatrix
which I really don't mind
#
Loqi
awesome
#
sparseMatrix
I just hate getting wrapped around the axels of setting up transport layers
#
sparseMatrix
which is where I have been with it for a couple of days now
#
sparseMatrix
...and honestly it was that realization that made me decide to bite t he bullet and get my https working and a proper functional relationship between my flask app and nginx
#
sparseMatrix
so I could then really focus on the fun parts
[jeremycherfas] joined the channel
#
@bnijenhuis
↩️ I've updated this to include the per-page parameter, because the default number of entries for the mentions endpoint is 20 (which I only found it recently because a note went over 20 :P ) https://bnijenhuis.nl/notes/2021-05-03-implementing-clientside-webmentions/
(twitter.com/_/status/1394392891167059968)
#
barnabywalters
woah I didn’t know webmention had a wikipedia article
#
barnabywalters
that’s how you know you hit the bigtime
sumner and [tw2113_Slack_] joined the channel
#
[tw2113_Slack_]
the real bigtime status indicator is that it’s not marked as a stub and risking removal
#
sparseMatrix
yeah I really need to just take a break for a while, I just broke hell out of everything again, just trying to add a stinkin' favicon lol
#
sparseMatrix
it's back up now, but yeah
#
sparseMatrix
I'll see y'all rsn
[tantek] and [KevinMarks] joined the channel