godforsaken.website is one of the many independent Mastodon servers you can use to participate in the fediverse.
godforsaken.website is a uk-based mastodon instance boasting literally thousands of posts about bumholes and UNESCO world heritage sites

Server stats:

31
active users

#dev

11 posts9 participants3 posts today

New Kitten release

• Now leaves <style> tags within <template> tags alone when collating and normalising the CSS on a page so as not to interfere with scoped styles in declarative shadow DOM.

(Kitten’s Streaming HTML workflow¹ – which uses htmx and WebSockets under the hood – combined with built-in support for slots, etc., in Kitten components² means the use of declarative shadow DOM is mostly useful if you want scoped styles. Ideally, of course, use classes to scope styles to your components and be specific in your CSS selectors in general so as not to pollute elements in your components. Although that’s a bit like saying you should floss everyday. Yeah, we all know we should…) :)

Update: All that said, I’d highly recommend you don’t use Shadow DOM in your Kitten apps. For one thing, htmx’s WebSocket extension doesn’t seem to play well with it. And for another, you really don’t need it and definitely not just to get scoped CSS.

Enjoy!

:kitten:💕

¹ kitten.small-web.org/tutorials
² kitten.small-web.org/tutorials

New Kitten release

• Socket routes now have precendence in the router.

This stops wildcard page routes from capturing the default socket routes that Kitten creates to enable the Streaming HTML workflow.

e.g., Previously, the following route:

/videos/index_[slug].page.js

Could not connect to its default socket (/videos/default.socket) because default.socket would be captured by the [slug] parameter.

Now, it will work as intended as the /videos/default.socket (a socket route) has precendence over index_[slug].page.js (a page route).

Learn more about Kitten’s Streaming HTML workflow here:
kitten.small-web.org/tutorials

Enjoy!

:kitten:💕

Continued thread

L’objectif est de faciliter le partage d’informations et d’activités.

Cela inclut l’automatisation de l’accueil des nvx membres, la mise en place de forums et chats, un calendrier, un système de petites annonces, des outils pour le reporting des activités, des outils de veille sur des flux RSS ainsi que des interconnexions entre assos et à des sites voisins.

Intéressé ?

#association #ethiciel #loi1901 #projet #dev #linux #python #php #nodejs #typescript #rust avec l'aide des #chatonsorg

GitLab CFO, Brian Robins, says they are “aligned with the goals of DOGE, because the company’s software tools aim to help people do more with less. What the Department of Government Efficiency is trying to do is what GitLab does.”

archive.is/okSlz

You either support fascism or you don’t. It’s binary. There’s no gray area or “aligning.”

Considering GitLab? Don’t. Use @Codeberg.

(Hat tip @aphyr)

[APPEL À L'AIDE #dev ]

Un collectif avec qui je travaille vient de perdre (tragiquement) son développeur web.
L'équipe -DA, graphiste, photographe et rédactrice- est à la recherche d'une ou plusieurs personnes qui pourraient reprendre les travaux de qualité, dans un esprit artisanal, sans framework, avec du code fait à la main.
Nous sommes basés en Côte d'Or (21), entre Montbard et Semur en Auxois, à 1h de Dijon.
Si vous aviez l'envie de relayer notre appel à l'aide, ce serait très sympathique.

Développeur pro ou amateur ? Mets tes compétences au service du bien commun ! Contribue à des projets open source et éthiques, notamment autour des réseaux sociaux au sein d'un collectif !

Codez ensemble un ou plusieurs week-ends par mois. Intéressé ? Rejoins-nous et constitue toi un réseau !

Donne du sens à ton engagement !

Reboostez svp !

framaforms.org/collectif-hacka

framaforms.orgCollectif Hackathon sur la création ou l'adaptation de logiciels libres à des besoins associatifs | Framaforms.org

New Kitten Release

• Automatic message routing: if the element that triggers an event on the client does not have a `name` attribute, Kitten now falls back to using its `id` instead to route the event to the correct server-side event handler on your live Kitten pages.

If neither attribute exists, Kitten will fail to route the message but no longer crash as it was due to a regression introduced when I implemented support for colons in element names.¹

kitten.small-web.org

For more details on Kitten’s live pages and automatic message routing, please see the Streaming HTML tutorial:

kitten.small-web.org/tutorials

Enjoy!

:kitten:💕

¹ A colon in an element name is ignored for message routing purposes, letting you, for example, give unique names to <details> elements, allowing more than one to be open at a time, while having their events be handled by the same handler.