#dev 2025-03-20
2025-03-20 UTC
GuestZero joined the channel
shoesNsocks joined the channel
#
[snarfed] and not necessarily even something AP did wrong. they put out a pretty good first pass! if there was a misstep imo it was just that the W3C people waited too long to form a WG to rev AP and put out a 2.0 or even 1.1 with a narrower profile based on the real world experience we've all accumulated
sebbu and GuestZero_ joined the channel
gRegor, grufwub, GWG- and NaomiAmethyst3 joined the channel
#
[KevinMarks] Noto?

#
trwnh [snarfed]: re: "need but lack a profile", the problem is i think that implementations will not recognize profiles. the vast majority of issues i see are due to assuming everyone else is operating on the same understanding as they are, i.e. assuming shared context or shared behavior
#
trwnh you could maybe signal link rel=profile and honestly i expect that the only outcome of that would be that people will either not signal it, or they will turn it into another magic incantation that needs to be present
#
trwnh it's weird bc with microformats there is at least the concept of say an hcard profile but it's not an expectation for it to be required, right
#
trwnh but i know multiple fedi projects where i have had to tell them or file issues like hey, please stop checking that @context exactly matches or includes activitystreams, what matters is that the media type is activity+json or whatever
#
trwnh i think the minimum viable profile is to compact *only* against activitystreams context, and leave everything else uncompacted. you lose human readability somewhat, but it's unambiguous, which is what you want for interop between machines
#
trwnh kinda like how xhtml and html are technically compatible with each other as long as you're careful how you write it
#
trwnh (yes this essentially turns the activitystreams context into a central registry, but arguably it kind of already is one? it's just lacking a registration method)
#
trwnh but the real problem is again that people will just use the same terms differently. it'd be if like soemone used .h-cite as a citation but someone else expected all h-cites to be quote posts rather than using .h-entry and .u-repost-of
#
trwnh there's no one to tell lemmy e.g. that they're doing the "wrong" thing by assuming all Group actors will only ever Announce activities
barnaby joined the channel
#
immibis [snarfed]: AP says that documents are JSON-LD. Mastodon does not parse them as JSON-LD.
#
immibis it parses it as JSON assuming a certain JSON-LD-to-JSON serialization.
#
[Trevor_Morris] I've managed to update my code, to get around the server issues. I have now deployed a few updates – https://www.trovster.com/changelog – music awards, music covers and the `/random` for blog posts, photos, movies, links, articles and books!
#
[KevinMarks] it was very much a design goal of activity streams to not require JSON-LD parsing

#
[KevinMarks] the compromise was to enable it for the small percentage of devs who like it, but not to force it on everyone else

Guest6, ttybitnik, shoesNsocks, nemonical, Guest6_ and [social] joined the channel
#
[artlung]1 ditch them when I'm done or want to change.
#
[artlung]1 [social] for DIY hosting infrastructure choices I tend to go with PHP+MySQL which is a bias based on what my current host supports. For very lightweight I'd be considering SQLite. But plenty of database choices. But simple CRUD (I want to store what people submit, and then augment with notes) doesn't need a lot. I've migrated to doing projects which I can use PHP composer with since it's a stack that lets me try out libraries quickly and
#
[social] I code in PHP and Python. MySQL, JSON (noSQL), and SQLite are options I regularly work with.
#
[social] But, I’m looking for easy to assemble interface. I can hand code the three or four screens, which I have been doing for 25 years, but with all the “easy to use” form systems and services out there, I figured there may be something for general form use by now. Nearly everything I’ve seen in recent months is all for surveys and are data capture forms and not management.
#
[social] I haven’t looked at PHP composer.
#
[social] One package I looked at is too new, FastHTML, but I couldn’t get it running on any of my Python builds I run locally.
#
[artlung]1 I think looking at composer would be in your interest. It sounds like a template library is sort of what you're after. Something to simplify creation of forms. Laravel uses Blade: https://laravel.com/docs/12.x/blade And There's also Twig https://twig.symfony.com
#
[artlung]1 Both are modern versions of something you may have encountered in the past: Smarty
#
immibis aaronpk: and that was a terrible idea. I don't have the link to the exact essay I read about it, but conforming to two specs at once is a bad idea because people only test one of them and it's a different one for each person
#
immibis some AP software will publish mastodon-format json and test with mastodon and it works; others will publish valid json-ld that mastodon can't parse. both assume they're right.
#
immibis btw json-ld that's constrained to be a particular format is... not json-ld. it's just json with an extra @context field tacked on.
#
immibis following the links from here, it's clearly not an unpopular opinion that the double-sided format is a bad idea: https://socialhub.activitypub.rocks/t/activitypub-a-linked-data-spec-or-json-spec-with-linked-data-profile/3647
#
[artlung]1 [social] I've been using composer in my professional work for a long time but only last year started using it on my own websites. It's been great for me. The one whose code you can play with (and ask me about!) is https://github.com/artlung/lab.artlung.com ... basically I can drop this into my hosting, se the `web` directory as the public root and things pretty much work.
#
[tantek] for a broader discussion of Interoperability and additional resources like that, you may be interested in https://www.w3.org/wiki/Interoperable

#
immibis i think it was that essay, yes
#
carrvo I HAVE STARTED (with just boilerplate code so far): https://github.com/carrvo/libapache2-mod-authn-indieauth
#
carrvo [edit] I HAVE STARTED (with just boilerplate code so far): https://github.com/carrvo/libapache2-mod-authn-indieauth
#
carrvo Could use help if anyone is interested...
[qubyte] joined the channel
#
[tantek] FYI agenda of that meeting in case you're curious about the features / discussions: https://github.com/whatwg/html/issues/11109

#
[social] [artlung] Now that my work-ish blog moved and I’m back writing, the database front end is a current in focus tasks and my updating my http://vanderwal.net site’s PHP is coming back into focus (the 4th to 6th PHP update I’ve done since 2000 on it). Once I get it updated from v5~ to 7 or 8, I may focus on some other subdomains and exploratory projects.
#
[social] [artlung] Adding in webmentions is one of the goals for the updated PHP version of my personal site.
shoesNsocks, [dave] and GuestZero joined the channel
#
[snarfed] activitypub (and JSON-LD) conversation can be welcome here if it's indieweb relevant ish, but it can also fit (sometimes better) in fediverse/AP-specific channels, eg https://matrix.to/#/#fediverse-devs:matrix.org
Guest6 and [aciccarello] joined the channel
[schmarty], nemonical and balintm joined the channel
NaomiAmethyst and ttybitnik joined the channel
#
[aciccarello] Sounds like just pages is affected https://www.githubstatus.com
#
mandaris Oh, I wanted to bring up the following to artlung[d] https://canwe.dev

#
mandaris [edit] Oh, I wanted to bring up the following to artlung[d] https://canwe.dev

#
mandaris [edit] https://www.caniemail.com

btrem joined the channel
#
btrem gRegor++ for the link to https://smolcss.dev/ in last nights Pacific IWC. Good site.
#
gRegor Also from that author: https://moderncss.dev/ pretty site! Love the hover on those cards

balintm joined the channel