mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.8K
active users

#js

2 posts2 participants0 posts today

Folks who #website: I'm trying to create a slice'n'dice-able #data #table -- somewhat like instances.vantage.sh/ with the per-column client-side search/constraint/etc. FWIW my data's a discrete JSON file.

I'm allergic to JavaScript insofar as I have zero idea what I'm doing with it (and *can't* do anything with it, myself) but will happily copy'n'paste it as needed.

Got any pointers? #websites #HTML #datadriven #javascript #js #webdev #WebDesign #WebDevelopment #dataviz

instances.vantage.shAmazon EC2 Instance ComparisonA free and easy-to-use tool for comparing EC2 Instance features and prices.

So I should re #introduce myself; used to host my own instance at artemai when that was a thing; decided to get back on Mastodon again because the rest of social is a dumpsterfire.

I'm a #UNIX sysadm originally (from the late 90s) but started using #Linux 🐧 in 91, bringing early ☎️ dialup internet to #Newcastle with community group hunter #apana.

I'm a #coder, #python 🐍 is the go-to language these days, some #js but plenty of #C and some #golang too.

Ten years ago I landed in #liveevents and #visionswitch / 📹 #camera #direct #sports presentation in major 🏟️ #stadiums along with building software for data-driven #content for use in those environments.

I'm a #ham 📻 radio operator. Callsign VK2WAY. I'm mostly interested in signals processing and digital communications.

I used to officiate 🛼#RollerDerby but have streamed it since 2014 as Downunder Derby TV. I still manage socials for and help co-ordinate Queer Roller Derby - @queerderby.

I'm #queer 🏳️‍🌈 #pansexual ❤️💛💙 #poly 👫👬 #nonbinary 💛🤍💜🖤 and use they/them pronouns.

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:💕

Is there any way in HTML / JavaScript to configure the language of native form validation messages?

The browser (at least my Firefox) seems to display the labels in the preferred language that I configured in the settings, but on some website I might have configured another language at the website level (different from my Accept-Language header), and it looks super weird to have a webpage in French but form validation messages in English.

#webdev#html#js

If you have dozens (or more!) third-party scripts on a page, it can be tricky to find the source of your #webperf pain. This guide covers how to:

👉 Audit the scripts on your pages
👉 Understand third-party performance metrics
👉 Prevent regressions
👉 Make your third-party providers accountable

speedcurve.com/web-performance

SpeedCurveThird-Party Web Performance | SpeedCurveAds, analytics, and social widgets can seriously hurt page speed. Find out how to measure and optimize the third parties on your pages.
#ux#javascript#js
Continued thread

Also, inspired by this post by @rauschma I made the Navigation menu toggle in mobile/narrow viewports work without JS. Neat!

fosstodon.org/@rauschma/114099

However to make it more accessible I set aria-expanded to true or false, which you can't do with CSS. So I had to use JS for that. So JS is a requirement for accessibility apparently.

FosstodonAxel Rauschmayer (@rauschma@fosstodon.org)#CSS experiment: collapsible TOC. Thanks to :has(), the input:radio can be anywhere. body:has(#collapsed:checked) > ul > li > ul { display: none; } https://codepen.io/rauschma/pen/raNyweB

this is it, folks! we are in the final week before submissions are due for GOOD INTERNET, a new print periodical magazine about all the things that make the #web fun: things like the #smallweb, the fediverse, the #indieweb, and efforts to actively fight #enshittification. submissions are open until MARCH 15.

check the submission guidelines or sign up for email alerts to be notified when we publish in may!

goodinternetmagazine.com

if this is your first time hearing about this, you still have enough time to come up with and write an article or complete a digital #art piece, if you're passionate about the #internet and want to write about it! :) bloggers, it's your time to shine!~

i can't wait to show y'all the incredible stories that have been submitted from all over the 'net, and some of the coolest art i've seen about the web!

thank you to everyone who's been so supportive of this project already. this is why this side of the internet is amazing. ❤️ please boost, if you can; i want to make sure i did everything i could to include as many diverse voices as i can.

thank you! 🤟

original post: tilde.zone/@xandra/11391327776

goodinternetmagazine.comgood internet magazine | for the small webA print and digital magazine coming soon.

Can Cro be used to stand up a simple website? I know zero JS and negligible CSS. I'm mostly a Raku and Perl guy who is 100% on the back end. At minimum I need a primer for basic JS, CSS forms, and likely Cro or #Dancer.

The site will send text and hashes to and from the back end and manage a modest number of users with their own accounts. Message forms need to look nice on the front end. This is for a ham radio project of mine.