"AI can help by providing mostly mostly accurate descriptions of images on web pages. This can be especially helpful when the image has not been provided with an text alternative, but is visible on the page."
Ich mag eine #Website machen, möglichst reines #HTML 4, möglichst ohne #Javascript. CSS 3 wenns sein muss, sonst eher 2.
Die Website soll möglichst auf Chrome genauso laufen wie auf Netscape (die Älteren werden sich erinnern...) und auch in Text-Browsern wie Lynx oder w3m.
tl;dr: Die Seite soll auch noch funktionieren, wenn javascript und css ausfallen.
Wie würde ich da denn "Tabs" machen? Oder was wären Alternativen zu tabs?
Oh man, there are so many #HTML tags I didn't know about. One of those is the <abbr> tag that can be useful when working with abbreviations. Here's a short example.
In 2024, for a locally hosted app that should feel fast, are there good reasons to prefer a pagination UX for an html table vs. showing all ~5k rows and just scrolling through them?
FWIW, I dislike the pagination UX, and resent seeing images load lazily on a 10Gbps network.
The underlying query is essentially instant; the bottleneck appears to be the browser, and I can ~solve that by batching DOM updates.
Isn't RSA the current secure solution for the corresponding encryption/security on the browser with JavaScript?
»Galois/Counter Mode and random nonces:
It turns out you can encrypt more than 2^32 messages with AES-GCM with a random nonce under certain conditions. It’s still not a good idea, but you can just about do it.«
Macros are one thing I enjoy using the most in #Laravel. It's a way to extend the functionality of many built-in #Facades by providing custom callbacks for a specific key.
One production example I use macros for fairly often is what I call the "admin alert". Especially in smaller applications I want to get notified whenever an error or an event occurs the admin (mostly that's me) should know about.
Mastodon #jerecrute ! Une asso dont je suis membre cherche à refaire son site internet, avec un CMS libre tant qu'à faire, plutôt sur SPIP. est ce que vous connaissez des boites qui propose des presta sur SPIP ? #webdev
I so much want to use this #Hexo theme but translating site with Google Translate is making it hard lol. Can anyone here help me with it ? #Foss#Theme#WebDev
Related - if anyone is looking for a web dev with agency experience working on modern headless + serverless stacks, toot in my general direction. #chatgpt#ai#webdev
Here's another interesting #HTML tag. <mark> lets you highlight certain parts of your text to draw extra attention to it.
One real world example where this can be especially useful is highlighting the parts of your search results that match the search query. Or at least that's where I regularly use it.
🤓 This is gonna be a extremely nerdy toot, but my most favorite piece of code I ever wrote is a small TypeScript library complete with unit tests that makes it super simple to filter a list of domain names by various criteria.
Do you know the #HTML tags 'details' and 'summary'? I didn't until now.
The combination of those two let's you toggle content with default HTML behavior. This is one of those things you will probably not use in production because it just doesn't look so nice but as always, for quickly prototyping something like an FAQ section this might just fit in perfectly.
Got a Playwright question - in my tests I'm clicking a button which in the backend sends an email. I tried to use Jest to mock that function in the backend so it doesn't send an email, but that doesn't seem to work. Should it?
I could check for NODE_ENV in the backend and not send an email, but I'd like access to the email contents in my playwright test, but without actually sending an email.
See, there are still awesome sites on the Internet. Here you can test-drive roughly 100 monospaced programming fonts. https://www.programmingfonts.org/
I don't have time to look through all of them, so let me know what your favorites are. #webdev