#dev 2020-10-31

2020-10-31 UTC
#
[tantek]
just found a bug with my reply-context handling / POSSEing based on mobile.twitter. vs just twitter. URLs, sigh.
#
jacky
KartikPrabhu: yeah!
#
[tantek]
turns out it was a utility function bug in cassis so that's an even better fix!
#
[tantek]
this kind of thing definitely makes me hesitate from posting. I always find new bugs when posting then feel compelled to fix them immediately before I can actually be "done" with posting.
geoffo, [chrisaldrich], vika_nezrimaya, prologic and KartikPrabhu joined the channel
#
[fluffy]
the best way to find a bug in software is to cut and announce a release
themaxdavitt, peterrother, jbove and ludovicchabant joined the channel
#
[tantek]
for me it's to try writing and publishing a post. like 50% of the time 😭
KartikPrabhu and gbmor joined the channel
#
jacky
tbh if Webmention forges (this is what I'm calling a service that allows one to hold and list Webmentions like webmention.io) could provide a uniform-ish way to collect like "a fixed feed", that could be fed into a generic "comment" component or something
#
jacky
I might be blabbing lol
[fluffy]1, nickodd, KartikPrabhu and [schmarty] joined the channel
#
aaronpk
That's why I added the "jf2" format to webmention.io so at least its JSON format would be somewhat standardized so others could support it too
#
aaronpk
I need to update the docs to make that one the default tho.
#
aaronpk
I can't change the actual default cause it'd break people's stuff but I can at least make sure new projects use the new format by burying the old one
gRegorLove and prologic joined the channel
#
jacky
time for a blog / "alert" on https://webmention.io to communicate changes? lol
#
jacky
but hm yeah jf2 would actually work perfectly for this
#
jacky
kinda glad all of the tools we need are just here :)
#
prologic
The code that a endpoint generates and handes toa. client
#
prologic
Is this meant to be persisted beyond the recommended 600s lifetime?
#
prologic
Or is this just a once-off token?
KartikPrabhu, leg, jjuran, ilm and [KevinMarks] joined the channel
#
aaronpk
prologic: the authorization code in IndieAuth/OAuth? It's one time use and can expire in even less time like 60 seconds
nickodd and [snarfed] joined the channel
#
[snarfed]
happy weekend all. back to indieweb for a bit today, fixing a couple bridgy bugs. nice to be here.
#
GWG
[snarfed]++
#
Loqi
[snarfed] has 34 karma in this channel over the last year (56 in all channels)
#
GWG
You are my favorite Bridgy maintainer
#
jacky
for those who have non-"static" sites, do y'all have like a single binary for your site or is it mainly the conventional approach?
#
jacky
I just saw something re: elixir and binaries and it got me curious (like if I could work on my site, deploy + build and let it ping and self update)
#
jacky
that said, I do want to have something like that
#
jacky
this is a halloween with no fanfare so I might as well spend it on something I don't mind doing lol
#
sknebel
none of the ecosystems I use particularly lend themselves to truly single binary (i.e. its more work than the common model)
#
jacky
that's what I'm figuring
#
jacky
it only seems "viable" in the desktop world for self updating applications
#
sknebel
for my own code I tend to keep things together, i.e. I don't split config/code/data all across the filesystem like a "properly packaged" app would
#
jacky
like (this is very Debian-y) putting cache stuff in /var/cache or $XDG_CACHE_DIR
#
jacky
^ that's supposed to be a question, lol
#
jacky
when I was at Shutterstock, we built Debian packages for the apps and had a cron job that pinged the internal system every minute for new changes
#
sknebel
(i.e. my website is pretty much one folder except the bits that come from system packages (nginx), nginx config)
#
jacky
ahh okay okay
#
sknebel
if I were to bring my own http server, I would stick it in there too
#
sknebel
(i.e. not one out of packages)
[KevinMarks] joined the channel
#
sknebel
now if you want to do something to ship to others, its a bit more tricky. bundling reduces the integration effort with the rest of the system, but means more for you to update
#
sknebel
i.e. see Gitlab that comes with some monster updater thing, or software that gets shipped as virtual machine images
jamietanna joined the channel
#
sknebel
e.g. I see why there shipping a simple go webserver instead of packaging nginx or apache is preferred because its one piece you just rebuild and ship a replacement
#
jamietanna
Jacky I'm thinking about whether I convert my static site to a dynamic site (to cut down on wait times for publishing new content) which I'd do as a self-contained Spring Boot JAR file if that helps
#
sknebel
(or in the VM case you take over the entire VM and use traditional system management tools)
#
jacky
sknebel: that omnibus thing?! oh yeah >_<
#
jacky
jamietanna: is it possible to do some sort of a hybrid?
#
jacky
like tbh, in order to 'speed' up my site, I'm thinking about having some sort of 'holder' page as my site does the grinding of a entry (resolving media, updating tags, etc)
#
jamietanna
jacky what are you thinking hybrid wise?
#
petermolnar
> if I were to bring my own http server - /me needs to get WordPress running on his phone again
#
jacky
tbh I was considering spitting out the core parts of my site to static files and rendering that
#
jacky
granted, I think I'm entering the land of overengineering now lol
#
jamietanna
my plan would be that I have the Java app responding to HTTP requests for my site's currently static content, reading the required files from GitLab (as my backend datastore) and rendering them as HTML for the consumer
gRegorLove and KartikPrabhu joined the channel
#
jacky
oooh okay
#
jacky
that's more-or-less what koype does (or tries to, lol)
#
jacky
but the files are stored in MinIO (I'm working to make that less relevant)
[grantcodes] joined the channel
#
[grantcodes]
Heh was scrolling down and thinking this all sounds like overengineering for a personal site 😛 but jacky already mentioned it
#
sknebel
jacky: do you want this for your use, or are you thinking about how to ship koype to users?
#
jacky
ah the real question ;)
#
jacky
it is def for the latter
#
jacky
tbh if I keep it in a 'hosted' set up, I can just do the whole packagecloud/GHR thing
#
jacky
which _should_ be okay
#
jacky
like even just having a Docker image (I think) is fine
#
jacky
and Koype doesn't need too much if I do it in a release build
#
[grantcodes]
I rarely see self hosted software as a single binary. Docker or package install seems way more common to me
#
sknebel
thought so. which is why I put all the caveats into my response ;) cause what we are comfortable with doing by hand is not the best elsewhere. so question also becomes "what users" :D
maxwelljoslyn, gRegorLove and gRegorLove_ joined the channel; nickodd left the channel
#
@famdirksen
For our local soccer club we integrated webmentions, social interactions from Twitter are now displayed on their website. This time it was not a package by @spatie_be, but the open source blog of @freekmurze inspired us. https://www.vvhierden.nl/nieuws-bericht/steun-v-v-hierden-doe-mee-met-de-banketletter-actie (cc @robindirksen1)
(twitter.com/_/status/1322616844650532866)
astralbijection, gRegorLove__ and KartikPrabhu joined the channel