c.im is one of the many independent Mastodon servers you can use to participate in the fediverse.
C.IM is a general, mainly English-speaking Mastodon instance.

Server stats:

2.8K
active users

#js

30 posts28 participants1 post today

[Перевод] Пошагово создаём QR-код

В этой статье (оригинал представляет собой интерактивное приложение на JavaScript) подробно описывается, как текстовая строка кодируется в символ QR-кода. Она, по сути, объясняет, как устроена внутри моя библиотека генератора QR-кодов . Пользовательский ввод Результат генерации QR-кода

habr.com/ru/companies/beeline_

ХабрПошагово создаём QR-кодВ этой статье (оригинал представляет собой интерактивное приложение на JavaScript) подробно описывается, как текстовая строка кодируется в символ QR-кода. Она, по сути, объясняет, как устроена внутри...

Aktuelle Dokumentation über neue, extrem rechtsradikale und gewaltbereite Jugendgruppen wie Jung & Stark (JS), Störtrupp Deutschland (DST) oder Deutsche Jugend Voran (DJV). Diese sind sehr gut untereinander, aber auch zur etablierten Neonazi- und Hooliganszene vernetzt und treten immer hemmungsloser in der Öffentlichkeit auf. Natürlich kratzt die Doku nur an der Oberfläche, ist dennoch sehenswert.

#DieSpur @ZDF #NeueRechte #Neonazis #Hooligans #js #dst #djv #Faschisten

zdf.de/video/reportagen/die-sp

ZDFmediathekJung. Radikal. Organisiert. - Wie gefährlich ist die Neonazi-Jugend?Rechte Straftaten erreichen 2024 einen Höchststand. Darunter sind Gewalttaten, die sich gegen politische Gegner richten. Wer sind die jungen Täter?

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.

TAWPA (台灣公益揭弊暨吹哨者保護協會) 網站被植入木馬

新聞的部分應該蠻好搜的,這邊抓個中央社的:「揭弊者協會網站疑有惡意程式 黃國昌:沒有資安外洩」。 網站現在已經離線了,但 Internet Archive 上的資訊已經足夠判斷,看起來至少首頁就被植了? 從 web.archive.org/web/*/https:// 可以看到首頁上最近的兩筆是這兩個 archive (以寫這篇的當下): 20250313220309 (2025/03/13) 20241206095011 (2024/12/06) 直接翻網頁 html 比較可以看到 3041 行以前的結構都一樣,但今…

blog.gslin.org/archives/2025/0

web.archive.orgWayback Machine

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