#dev 2023-09-22

2023-09-22 UTC
eitilt, [tw2113] and gxt joined the channel
#
btrem
I have a small static website for a family member that is currently on a shared hosting service, along with email. The family member in question is unhappy with the email service, and wants to move. I'm strongly inclined to move email and web to separate services. For the web, either Amazon Web Services or Netlify.
#
btrem
I have some experience with AWS, and find it to be tedious to set up and update. Is Netlify any better? I was on the faq/quick setup page and it seems pretty straightforward setting it up and connecting to GitHub, which would be easy since her site is already in a GH repo. Thoughts?
gerben, [Jo] and [jeremycherfas] joined the channel
#
[KevinMarks]
Is github pages not usable? I found Netlify pretty easy to run a static site which is node+express and everything in a statically served directory.
#
[KevinMarks]
Have a look at https://github.com/indieweb/blank-gh-site for how to do it with github pages
#
Loqi
[preview] [indieweb] blank-gh-site: Setup a simple new indieweb site on a domain name in mere minutes with this project.
#
Loqi
[preview] [kevinmarks] kevin-marks.com: my website
#
[KevinMarks]
I should probably update node versions as 10 has been deprecated for a while
#
Loqi
totally
jeremy and merole joined the channel
#
merole
Im trying to build a web app with svelte and sveltekit. Need a good db backend, currently im using pocketbase, will it be safe to use it in production? Any1 with any experience?
gnoo and [Murray] joined the channel
#
[Murray]
@btrem is a long-time Netlify user 👋 it's certainly extremely easy to set up and use, UX is one of its strong points. Also free for small sites (can't remember what AWS is like). I'd strongly recommend it as a service 🙂 There are also competitors (with varying feature overlap) like Vercel and Cloud Cannon if there's anything you dislike about Netlify specifically
jonnybarnes, Xe, gerben and btrem1 joined the channel
#
[KevinMarks]
I was using Heroku for my static node site, and when their github integration broke I switched to netlify in about 30 minutes, it is handy.
gRegorLove_, geoffo and gxt joined the channel
#
omz13
[tantek] and capjamesg Sorry, I can't make the SwigCG meeting today (will explain more in chat)
gerben, yousef, AramZS, eitilt and [schmarty] joined the channel
#
[tantek]
aaronpk, I know Micropub has extensions for POSSE destinations, is there a way to extend that to federation destinations? e.g. posting via Micropub and automatically having it trigger Bridgy Fed?
#
[tantek]
figuring that answering that question would be part of Monocle -> Bridgy Fed working better
#
aaronpk
right now we've been treating syndication and federation destinations the same way in micropub
#
[tantek]
interesting! and makes sense
#
[tantek]
how would a Micropub server indicate to a Micropub client that it is using Bridgy Fed as a "syndication" destination?
#
aaronpk
e.g. i have a button in quill that tells my site whether to send a post out to my activitypub followers, not every post does that by default
#
GWG
I'd like to formalize a few syndication ideas for Micropub
#
[tantek]
I have a feeling answering that question would help [schmarty] with his Monocle -> Bridgy Fed setup
#
aaronpk
but my site knows that if i'm replying to something that is an activitypub post, that it should send out the reply via activitypub
#
aaronpk
the question is how does either the micropub client or server know if a post is an activitypub post
#
[tantek]
oh yeah I should automate that for in-reply-to @-@s myself
#
aaronpk
my micropub server knows because it fetches the post for reply context, and can tell if it responds with activitypub JSON or not
#
aaronpk
the key is that it's part of the reply context fetching step
#
[tantek]
presumably all "normal" (non-response) post could be federated via AP, just a question of making it opt-in
#
GWG
aaronpk: Isn't that a server implementation detail?
#
[schmarty]
aaronpk: another approach is to add extra syndication buttons/checkboxes everywhere 😄
#
aaronpk
[schmarty]: yep putting the burden on the user is definitely an approach :D
#
aaronpk
GWG: yes it is, which is my point, and why i haven't needed a button for it in the micropub client
#
[tantek]
is there some way to check for an @-@ at the start of a reply as an indicator that the reply should be sent to ActivityPub servers?
#
aaronpk
i don't think that's a good idea, since I never want to type @-@ anywhere and currently don't
#
[schmarty]
from my perspective, because syndication targets are specified in the micropub standard both in terms of what is available, and `mp-syndicate-to`, i lean towards having the micropub clients be "in charge" of this.
#
aaronpk
one way to flip this around is to make the micropub client smarter, where the micropub client can pre-fetch the post for reply context (which is also good UX!), at which point it can check the syndication boxes for activitypub if it knows which of those in the syndication options is the right one to check
#
[tantek]
and obv all self-replies, per prev chat with [snarfed] and I think he filed a Bridgy Fed issue on it (self-replies should go to all the same destinations as the thing they are replying to, transitively upthread)
#
aaronpk
the question is whether to put the smarts in the micropub client or the micropub server
#
[tantek]
or the protocol
#
aaronpk
not sure what you mean, something has to implement the protocol
#
[tantek]
presumably we want this to be consistent across clients
monoob joined the channel
#
[schmarty]
i agree that cluttering up the UI with syndication options all the time doesn't feel right. but if the client wants to try and figure out ahead of time, sure! i'd even take an option that i configure per-channel in monocle.
#
GWG
[tantek]: What are you suggesting the protocol do exactly
#
[tantek]
there's "can this go to AP destination(s)" and "should this go to AP destination(s)". they are different
#
[tantek]
GWG re: protocol
#
[tantek]
I believe the server should be responsible for answering the "can this" question, in the protocol, and then the client can answer (potentially with UI) the "should this" question
#
GWG
If I'm replying to a post on a Mastodon site, I assume I would want to send that reply there.
#
GWG
I don't see what the interface is
#
[tantek]
what aaronpk said, same as syndication. right now servers handle the "can this go to syndication destination(s)" question
#
[tantek]
then communicate via the syndication extension to the client
#
[schmarty]
i hadn't considered that this would be specifically around some kind of activitypub-specific detection or determination.
#
[tantek]
then the client answers the "should this go to syndication destination(s)" question via similar extension telling the server what to do
#
aaronpk
[schmarty]: right now your micropub server has some code that tells bridgy fed to do the thing right?
#
[tantek]
I like the idea of treating federation (to any other protocol) as just another syndication destination
#
[tantek]
I believe that works
#
aaronpk
it has been working so far
#
[tantek]
so it's worth formalizing in a "how to"
#
[schmarty]
aaronpk: i put syndicate-to links in the HTML for the post and my webmention sender takes it from there.
#
aaronpk
ah right
#
aaronpk
so your micropub server needs to know whether to put the syndicate-to links there
#
[schmarty]
right. which is really easy if they're in micropub payload as mp-syndicate-to like quill does 😄
#
aaronpk
and am I correct that you are saying it would be too burdensome to add some code in your micropub server that fetches the in-reply-to URL to determine whether it's an activitypub post?
#
GWG
aaronpk: We would need finer grained options for syndication possibly
#
GWG
Remember the discussion of different syndication targets based on post type?
#
aaronpk
one step at a time
#
GWG
Maybe you need to be able to ask for a target for replies that might be platform specific?
#
GWG
It was related
#
[tantek]
GWG, no need to grow the scope for the current discussion
#
[tantek]
(e.g. "different syndication targets based on post type")
#
[schmarty]
with my current architecture it would be awkward. my micropub endpoint saves what it gets and kicks off a build. the first time my site learns anything about a given URL is when i fetch reply context data (i just run it through xray)
#
[schmarty]
the publishing step isn't currently allowed to rewrite things about posts, just add extra information, so i'd need to do that and update my templates to look in that new place.
#
aaronpk
thinking how i'd do this with monocle, i guess this is actually more of the job of the microsub server. the microsub server should know whether a post is an activitypub post and then it can tell the microsub client that information so that it can check the syndication box
#
aaronpk
but then if you reply in quill, quill needs to know too, so quill would have to fetch the post itself
#
aaronpk
so the question for others is whether you think this is a good and sustainable pattern, moving more of the reply context logic into the micropub clients
#
aaronpk
for example what are the implications for doing this from an iOS app, if you reply to something in the iOS app, the app needs to know whether that thing is an activitypub post, so it would have to have a way to fetch the post too
#
[schmarty]
having any of these parts know whether a post "is activitypub" is interesting. i don't think quill's reply interface link preview currently checks to see if a page supports webmentions?
#
aaronpk
it doesn't, but it does check if the thing is a tweet
#
aaronpk
so there's some precedent
#
[schmarty]
oho, yeah, that's interesting!
#
[snarfed]
joining this conversation late, but mp-syndicate-to seems entirely appropriate for federation targets (including bridges) to me
#
aaronpk
i don't hate this idea in general
#
[snarfed]
this is how I've replied/liked/reposted to the fediverse via BF for a long time. the WordPress Syndication Links plugin (hi GWG) supports BF as a synd target
#
[schmarty]
i'm still strongly considering adding per-channel syndication options for micropub likes and replies created via monocle 😄
#
[snarfed]
I don't bother "detecting" AP targets, I just syndicate all replies/likes/reposts to BF, and it drops the ones that aren't AP
#
GWG
[snarfed]: Yes, but if my code knew it was a reply to a Mastodon post... I'd autocheck the box
#
[schmarty]
is there a standard way of detecting whether a post "is activitypub"? i've seen discussions come through here that made it seem tricky conneg--
#
Loqi
conneg has -25 karma in this channel over the last year (-33 in all channels)
#
aaronpk
conneg is how i do it
#
aaronpk
since activitypub seems to be allergic to the web
#
[snarfed]
aaronpk++ yup
#
Loqi
aaronpk has 39 karma in this channel over the last year (102 in all channels)
#
[snarfed]
but again, with BF at least, feel free to not bother and throw everything at it, it will happily discard non-fediverse targets
#
[schmarty]
snarfed++ letting bridge fed sort it all out has certainly occurred to me, haha
#
Loqi
snarfed has 104 karma in this channel over the last year (158 in all channels)
#
[snarfed]
unrelated, the SWICG call got me thinking about ActivityPub auth. it seems like the main point of AP's S2S auth right now is authenticating the server sending an HTTP request to the one receiving it
#
[snarfed]
ie, client auth, in S2S
#
[snarfed]
given that, would SSL client certs be a reasonable alternative?
#
[snarfed]
(I don't actually want this, nor do I want to even try it. just a thought experiment)
#
[tantek]
aaronpk, I believe you described my exact proposed protocol with "can" and "should" being server and client responsibilities respectively
#
aaronpk
[snarfed]: 🏃‍♂️
#
sknebel
[snarfed]: mTLS is the kind of thing that I'd be wary outside of "single entity running all pieces taking part"
#
sknebel
[snarfed]: i.e. between your cluster nodes in your DC, sure, why not. in random software you want random people to be able to write and deploy compatible versions... it's going to be messy
#
aaronpk
(i *think* the would be roughly equivalent but there are many reasons why mTLS is not a viable option, so much so that there's been years-long efforts to replace mTLS in the OAuth world with something else)
#
[snarfed]
notably, SSL client certs would replace AP's current PKI of WebFinger + AS2 + poorly specified key structure and ids with...CAs
#
[snarfed]
which has very different tradeoffs, but is arguably at least more mature
#
[snarfed]
interesting. I haven't followed modern mTLS, I can go read
#
[tantek]
backs away slowly from the SSL client certs discussion
#
[snarfed]
sknebel: "messy" accurately describes both the history and present of AP auth. so yeah 😁
#
sknebel
[snarfed]: sure, but "lets replace this mess with a different mess thats worse in some directions" is not the only option to "improve" things
#
[snarfed]
oh yeah. I'm not seriously proposing it
#
[snarfed]
not important, just curious
#
[schmarty]
"why not authenticate activitypub S2S with passkeys?" 😈
#
[snarfed]
lol. those are...less equivalent
#
[tantek]
can we go back to enhancing Micropub (whether by protocol, extension, convention) to handle server indication of "this post can federate to AP/BF etc.", client detection of that, client optional offering UI to opt-in for such federation (like syndication), then client indication to the server that "this post should federate to AP/BF etc." and letting the server handle it?
#
aaronpk
yes plz
#
[snarfed]
WP Synd Links plugin is a functional proof of concept of this!
#
sknebel
[snarfed]: for one thing, afaik AP implementations do per-user keys. so now you either run *your own* CAs or you are trusting on free CAs being very accomodating to you requesting thousands of certs
#
[snarfed]
has been for years afaik
#
Loqi
GWG has 6 karma in this channel over the last year (46 in all channels)
#
[schmarty]
hahaha _i_ know they're not equivalent but i bet a blog post suggesting it could trend on the orange site
#
Loqi
nice
#
aaronpk
oh god
#
aaronpk
is it mean if i take away a [schmarty] karma
#
[schmarty]
aaronpk: it's appropriate
#
[snarfed]
sknebel yeah I knew that would come up. yes, but those are all _custodial_ keys. fediverse servers all generate, store, and manage them. so in practice right now there isn't a meaningful difference btw per-user and per-server keys
#
[tantek]
I blame [snarfed] for trolling you both and sknebel too
#
[snarfed]
mission accomplished 🦆
#
[schmarty]
back on topic: WP Synd Links is a good example that i haven't looked at in a while!
#
[tantek]
not as bad as httprange14 but perhaps a close second
#
[tantek]
do we need a page of dev trolling topics?
#
Loqi
conneg has -26 karma in this channel over the last year (-34 in all channels)
#
[snarfed]
conneg--
#
aaronpk
i think we have one
#
aaronpk
what is dragons?
#
Loqi
🗺🐉 Here be dragons is in general a warning of potential dangers or dangerous areas, originally on physical maps, on the IndieWeb it refers to particularly problematic silos that usually formed in response to entire sets of abusive behaviors and accounts being banned from Twitter https://indieweb.org/dragons
#
aaronpk
oh that is more specific than i remember
#
[tantek]
no no, dragons are dangerous places for users
#
[tantek]
I mean specifically dev traps but conversational not technical
#
aaronpk
that sounds like a yak
#
[snarfed]
nerd snipes
#
[snarfed]
/ flame wars
#
[schmarty]
(staying on topiccccc-) especially for things like syndication rules i tend to shy away from pushing logic "into my site". when i have to have a branching internal model of what it will "do for me" when i publish something, i tend to trust it less and therefore use it less.
#
[tantek]
[schmarty]++ will take it to #indieweb-meta
#
Loqi
[schmarty] has 13 karma in this channel over the last year (50 in all channels)
#
GWG
Syndication Links for WordPress was deliberately meant to be a pluggable system...so the syndication selection code doesn't know what happens when it hands over to each provider. In most cases, Bridgy.
#
[schmarty]
are there any video demos or screenshots of how syndication links for WP works as a user? i don't have a WP site handy to set this up on to try out the user experience 😅
#
GWG
[schmarty]: It's just checkboxes in the UI
#
GWG
Also connects to micropub to add syndication to that
#
[schmarty]
a different kind of nascar problem
#
GWG
Do I need to look that up?
#
[schmarty]
what is NASCAR?
#
Loqi
The NASCAR problem is when there is a jumble of branding icons in a user interface, like 3rd party proprietary sign-in/login options (instead of IndieAuth) or silo-specific sharing buttons (instead of web actions) on websites, that is visually busy and often noisy, distracting, and overwhelming https://indieweb.org/nascar
#
[aciccarello]
Lots of activity this morning. But I wanted to call out this new developer survey available about HTML. Microformats gets a mention https://survey.devographics.com/en-US/survey/state-of-html/2023
#
[tantek]
interesting, can you share the question about microformats? I didn't see it at that URL
#
[tantek]
what is a client
#
Loqi
It looks like we don't have a page for "client" yet. Would you like to create it? (Or just say "client is ____", a sentence describing the term)
#
[tantek]
^ aaronpk, tempted to ask you to define that generically for IndieWeb with specifics linking to Social Reader and protocols :)
#
[tantek]
what is a server
#
Loqi
Server or web server refers to the hardware and/or software that hosts the content of a web site https://indieweb.org/server
#
aaronpk
what is an app?
#
Loqi
app is a top level domain that requires HTTPS and was opened to limited registration on 2018-05-01, with availability to the general public on 2018-05-08 https://indieweb.org/.app
#
[tantek]
lol /.app hiding /app from Loqi 🙄
#
[tantek]
ok I'm gonna fix that
#
[tantek]
^ that's an example of a nerd snipe
#
[aciccarello]
On the content section of the survey there's a question about what you've used to make HTML machine readable. Lists <time>, <data>, microdata, microformats, RDFa, and JSON-LD
#
[tantek]
interesting
#
[tantek]
well I suppose folks here should answer that then 🙂
#
[KevinMarks]
You will notice that I ignored an httprange14 snipe about rel=me
#
[tantek]
wait really, where?
#
[KevinMarks]
Somewhere in the meeting discussion. Maybe the chat?
#
[KevinMarks]
does jitsi save the chat logs?
#
[KevinMarks]
on the can vs should point about syndication - does the micropub response indicate the default state of the syndicate checkbox to the client? Or is that too subtle?
#
GWG
[KevinMarks]: We had a proposal for that...
#
[tantek]
no jitsi chat is ephemeral
#
c​apjamesg
I tried to log points from Jitsi.
#
[tantek]
yup, saw that
#
[tantek]
answering my usual 1337 to the stupid demographic age question on the web dev survey
#
[tantek]
survey finished
#
[tantek]
this survey that is: https://survey.devographics.com/en-US/survey/state-of-html/2023 ([KevinMarks] did you answer it?)
#
[tantek]
^ worth IndieNewsing that to get IndieWeb newsletter subscribers to fill it out?
#
[tantek]
there was a question about which CMS you use to blog, I chose "Other" and entered "Falcon" into the text box
#
[tantek]
aaronpk you should answer it with p3k
#
[tantek]
let's get IndieWeb software into the poll!
#
[tantek]
On page 3 of the survey "Content", there's a question on: "Which of the following have you used to include machine-readable data in HTML?" with [x] checkbox items for: <time>, <data>, Microdata, Microformats, RDFa, JSON-LD — this would make sense for every dev here to answer
#
aaronpk
whoa, there are some cool new things
#
[tantek]
On page 7 of the survey "Other Tools & Features", there's both a question on "Which of these static or dynamic site generators do you regularly use?" with [x] checkbox items for: Astro, Eleventy, Gatsby, Hugo, Jekyll, Next.js, Nuxt, Other… — and you can choose "Other..." and enter your own software
#
[tantek]
anyway, IMO worth IndieNewsing for the newsletter which could use a dev-related item!
#
[tantek]
[KevinMarks] do it!
#
[tantek]
lots of new HTML things in there for you to at least say you've heard of if not used 🙂
btrem joined the channel
#
aaronpk
lots of things i haven't heard of that sound cool too!
#
aaronpk
makes me want to try them out for some updates to some of my apps!
#
[schmarty]
⬇ Negative experience ✔
Fisher2445995 joined the channel
#
[tantek]
lol omgoodness
Fisher2445995 joined the channel
#
btrem
I'm pretty sure I'm the only person who likes (or, more accurately, liked) microdata.
#
btrem
aaronpk: is there a post that that image goes with?
#
btrem
(I tried to hack the media url to get to a post, but failed. So sorry about the 10ish 404 errors I just generated.)
#
aaronpk
No that's my image server
#
aaronpk
its a screenshot from the survey linked above
#
c​apjamesg
Hahah
#
btrem
Ah, got it.
#
btrem
I was curious about your url scheme for images that are connected to a post. I have a scheme for my site. Took me while to arrive at it. It works, but I'm curious about other schemes that might be better than mine.
#
[schmarty]
my image server is all content-addressed which is great for deduplication but is a ridiculous bucket of undifferentiated files without external data (like my site's HTML)
#
c​apjamesg
Content addressed?
#
aaronpk
btrem: my images in posts are stored in a folder next to the post, so the URLs are all under the post URL. This media subdomain is more like ephemeral storage and my site will go copy images from there to the actual storage when I make a post
#
gRegor
Hey, nice that their example is mf2 and not mf1 as well
#
gRegor
*adds survey to open tabs*
#
btrem
aaronpk: That scheme would be logical, but I think a bit hard to backup. I have my raw images (before resizing/converting) all in one directory that I can easily backup. Outside of the posts, which are in a git repo.
#
aaronpk
Why hard to back up? All my images and posts are together, so I back up the whole folder of posts and it includes all the images in the post
#
btrem
I just starting taking the survey. (I logged into #dev after it was posted, hence my confusion about the image.) So far, there are more things I've never heard of than things I have. Like what is <selectlist>? Is it a <select> element that is more easily styled? That'd be an odd thing to introduce to html.
#
btrem
aaronpk: I don't back up the posts. Those are in a git repo, which is backed up to github. So it's only the images (and other media) that I need to backup.
#
aaronpk
Oh, all of my posts and images are in a git repo
#
btrem
Ah, I was warned not to put digital files in a git repo, so I set it up without them. I've since read posts arguing that it's fine to include e.g. images in a repo. But I was already down a different path.
#
AramZS
Someone told you not to put digital files in a git repo? What an odd piece of advice to give.
#
AramZS
Did they give a reason?
#
aaronpk
My theory is if it's ok to serve on the web it's ok to put in git. I'm not going to commit a 2gb video file to the git repo but I'm also not going to put that file in a video tag
#
[snarfed]
^ right. by "digital" I'm guessing btrem meant large binaries
#
AramZS
I assumed media files yeah
#
gRegor
I've heard that often too. I thought that's why LFS was made.
#
AramZS
I mean, even that is more conservative than I. What is Git LFS for if not for handling repos with large files.
#
AramZS
yeah
#
[snarfed]
oh sure, _with LFS_ yes
#
[schmarty]
git LFS is why i moved to a separate dedicated media server, hahaa
#
gRegor
bad experience?
#
gRegor
what is git LFS
#
Loqi
Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server https://indieweb.org/git_lfs
#
btrem
Yes digital files. Not sure what constitutes large.
#
btrem
I know about LFS, but I've never used it, and don't really know how it works.
#
btrem
The warnings I got were that binary files can make pull/push/etc. slower.
#
gRegor
btrem, not familiar with <selectlist> either. Did they typo <datalist> maybe?
#
btrem
I should point out that I was new to git when I read that advice.
#
btrem
gRegor: no, apparently not.
#
btrem
Because <datalist> is listed separately.
#
gRegor
Huh, interesting
#
aaronpk
I think the warning is more important if you have a lot of frequently changing large files. Cause then you have to pull down all the old versions in a clone. But if you're basically only ever adding files then there's less redundancy
#
btrem
Loqi is so weird sometimes. What was the +1 for? hahaha
#
Loqi
rofl
#
btrem
me too, Loqi. Me too.
#
gRegor
Response to "I should..." type things
#
gRegor
I should get more coffee
#
AramZS
Oh good call, me too
#
gRegor
But we're not all entirely convinced aaronpk isn't prodding Loqi to say some things :D
#
aaronpk
I promise I don't :)
#
c​apjamesg
I like that arrangement of words.
#
c​apjamesg
“I should get more coffee.”
#
Loqi
I agree
#
btrem
aaronpk: yeah, that's what I learned after the fact. Having them in the repo would make the site more atomic and portable. But as I said, I was already down a path when I read the countervailing point re: digital files in a repo.
#
c​apjamesg
I have taught you well, Loqi.
#
[schmarty]
i had weird experiences with git LFS. even now that it's more well supported by git hosts and git client versions. it requires extra setup when creating and cloning repos, for example. ultimately i learned that under the hood Git LFS works a lot like a content-addressable remote filesystem, and that i could use a micropub media server in the same way, so i just skipped to the end. :}
#
btrem
lol @ gRegor and jamesg.
#
[schmarty]
Loqi: aaronpk prompting or just that clever?
#
Loqi
just that clever
#
btrem
I'm not going to intentionally try to game Loqi, because that would just be noise. But I am curious what could be done. ;-)
#
aaronpk
Loqi is good at not getting taken advantage of
#
aaronpk
Feel free to try in #indieweb-chat
#
btrem
Not taking advantage of Loqi. Just curious what prompts her to interject. Like above, she said "+1" and I had no idea why until someone explained it.
#
btrem
(I assume Loqi is a she, for absolutely no reason at all.)
#
[tantek]
who is Loqi
#
Loqi
Loqi is a friendly and useful bot/digital therapist present in the IndieWeb discussion channels https://indieweb.org/User:Loqi.me
#
aaronpk
Loqi: a/s/l
#
Loqi
474866425/bot/internet
#
[snarfed]
maybe avoid gendering robots 😁
#
c​apjamesg
What is the significance of that number?
#
c​apjamesg
It’s no 0118999881999119725… 3.
#
aaronpk
!calc 474866425 seconds to years
#
Loqi
15.06 years
#
c​apjamesg
Loqi!
#
btrem
That's a very informative User page. :)
#
btrem
re: the survey. I'm on the "which methods have you used to manipulate the DOM?" I checked jquery, but I can't decide if I should check "negative experience." I doubt I'll ever use jquery again, because the things I need can be done in plain js. But for the brief period that I used it, it wasn't negative.
#
AramZS
Honestly, I never got the jQuery hate. It was perfectly fine at doing what I needed it to do - what it was designed to do.
#
AramZS
It's a smooth dream compared to React
#
[KevinMarks]
jQuery was so good it pretty much all got built into the browser API with slightly less opaque names
#
AramZS
^
#
[KevinMarks]
It also did a lot of papering over browser variations for you when that was a big deal.
#
aaronpk
i do remember that being a major selling point
#
[tantek]
yeah I don't know why jQuery would deserve any negativity
#
[KevinMarks]
https://dev.to/tigt/why-not-react-2f8l is very interesting, especially the bit that starts “Code struggles to escape why it was created. *You can often trace the latest version’s strengths and weaknesses all the way back to the goals of the original authors”*
#
AramZS
I will note that there was a seriously long period where jQuery was famously disliked in a bunch of dev circles. People wrote pages and pages about how terrible it was.
#
AramZS
I think really the problem is there are a lot of people who don't understand Javascript and would prefer not to have to *really* learn it.
#
btrem
I didn't check "negative" for jquery. I only *thought* about it because I don't think I'll ever use it again, but that's because, as [KevinMarks] said, it got written into javascript. So I no longer need it.
#
btrem
And with that, I have completed the survey.
#
btrem
And am surprised at the sheer number of features that I've never heard of. But then, my paying job is server/bartender, not web dev. So there's that.
#
btrem
[KevinMarks]: I read that post yesterday. Seems like the author knows what he's talking about, but I've never used React, so it's hard for me to tell. (Never used Vue either, nor next.js, nor....)
#
[KevinMarks]
I'm interested in the Marko multiple flush idea, and feels like it would suit a grid layout.
#
[KevinMarks]
they have this thing where they flush placeholders and js that copies them up, but with grid your document order is independent of your display order, so you don't need to do that.
geoffo, [Niklas_Siefke] and gerben joined the channel