Bene, #Firefox mi sta facendo più o meno scimunire per bene per quanto riguarda il supporto alle #webapp progressive (su #mobile dico, su desktop non ci pensate nemmeno, Mozilla è capa tosta). Ho perso veramente le ultime ore a capire perché cavolo Chromium accetta di buon grado anche il più scarno dei #manifest, permettendo senza fatica di raggiungere l’obiettivo di una pagina web che ha la sua finestra dedicata che sembra nativa… mentre sulla volpe un sito si installa bene, un altro si installa ma manca l’icona, un altro ancora non si installa e quindi magari ha l’icona perfetta però si apre come scheda del #browser. 🥴️
Ovviamente, anche #Mozilla Developer Network manca di #informazioni soddisfacenti a riguardo: certamente potrei in teoria esagerare e implementare tutti i #metadati possibili, ma visto che viviamo nel mondo reale devo chiedermi qual è il minimo sindacale. Dopo qualche #test, non ho alcuna risposta definitiva, ma almeno delle linee guida generali di cosa mettere nel manifest si:
name, display: in teoria sono obbligatori, ma francamente anche se non lo fossero sarebbero da mettere ugualmente, quindi non ho manco provato senza; il nome della app serve, così come serve specificare se vuoi che vada a schermo intero o lasci almeno la UI del sistema operativo (e/o quella del browser, a cui io dico no grazie)
start_url, scope: non so se per solo uno dei due parametri o entrambi ma, se non si impostano correttamente, magari la #app si installa pure e funziona ugualmente (in loro assenza, da standard il browser dovrebbe usare l’URL corrente per le sue considerazioni), ma ho notato che su Firefox può succedere che l’icona non viene visualizzata; anche questi, quindi, è bene metterli
icons: questo è un array di oggetti che è ancora più #complicato, ma per farla breve, serve almeno un’icona che sia in formato PNG per far rilevare la pagina come #PWA, e nello specifico ne serve una che sia abbastanza grande (128×128 è il minimo credo? almeno sul mio dispositivo, in realtà non so se su altri cambia, però Chromium fa in ogni caso meno capricci) per avere una scorciatoia di lancio che abbia effettivamente un’icona, e non la prima lettera del nome; i parametri sizes e purpose rendono tutto ancora più incasinato, se si ha 1 sola icona si fa prima a settare entrambi come "any" (però intanto il type sembra si possa omettere)
Perché mi interessa tutto questo? Perché non solo dovrei sistemare le mie #applicazioni, che appunto non si installano tutte come dovrebbero (e per alcune dovrei anche implementare i Service Workers per farle andare offline, ma quella è un’altra storia), ma perché fin troppe app #web programmate da altri non hanno proprio la decenza di supportare un minimo lo #standard, essendo pensate come #siti vecchio stile, e quindi non le si riesce ad usare in maniera soddisfacente su mobile. Volevo fare un mio browser nativo (wrapper dell’Android System Webview banalmente) ai tempi come soluzione, però non solo credo rimarrà nel limbo per sempre, ma non potrei mai implementare tutte le cose che mi sono utili in navigatori completi come Firefox e di cui giornalmente giovo, quindi è chiaro che la soluzione vera è semplicemente apparare quest’ultimo. ⛏️
Questa #idea mi è venuta circa stamattina senza alcun trigger particolare (ormai le mie migliori sono sempre così), e ho provato a cercare “un modo per forzare qualunque sito come PWA su #Android”, cosa che avevo già fatto tempo fa senza arrivare a nulla, e ho quantomeno trovato un #userscript, questo qui. Ha però un sacco di problemi (tra cui quelli che mi sono scimunita per levigare un attimino), quindi tant’è che ho fatto il mio ora con lo stesso meccanismo: https://greasyfork.org/en/scripts/490784-pwas-anywhere. In pratica genera al volo un manifest e lo inietta in qualunque pagina se questa non include già un suo, così da farlo rilevare al browser. Testato su vari siti e, nonostante i punti ancora da sistemare, è meglio avere lui che non avere nulla; però tra tutti quelli su cui ancora non funziona, ci sono i sitarelli di Google, mannaggia (più tanti altri ancora non provati)… dovrò aggiustare, e qualche metodo lo ho già in testa. 😳️
Continuing our #EverythingOpen schedule highlights, we present PJ Waskiewicz, who will talk all about #CXL - Compute Express Link - an #open#standard for high-speed #CPU communication with devices and #RAM.
PJ's talk will dig into why this is such an improvement, and give an overview of CXL internals.
📢 OGC is seeking public comment on the adoption of openEO as a Community Standard. openEO aims to increase the interoperability of processing “big EO data” (e.g. satellite imagery) in the cloud by defining a simple an unified API. https://bit.ly/49pZaDE #OGC#standard#EarthObservation#openEO
Anche oggi, per l’ennesima volta in cui mi faccio distrarre da #collegamenti colorati durante la mia #navigazione errante nell’oceano del #web, scopro nuove cose #interessanti. 😼
Nel #footer di un sito c’era un collegamento ad un “#IndieWeb#Webring”, il cui nome di dominio è una sequenza di emoji. Lo apro, e anziché una classica lista di membri, mi trovo un insolito modulo che mi chiede di fare login nel sistema inserendo il #link del mio #sito. Scopro che questa cosa posso farla con questo sito #WordPress, dopo aver installato il #plugin#IndieAuth; quindi, ci provo, e mi viene chiesto di aggiungere alla home del sito i link di navigazione del webring, e poi di preparare #dati del #profilo secondo lo standard h-card. 📟
È stata un’occasione per fare una robina che mi sono sempre seccata, cioè inserire le #info del mio profilo autore (inclusive di bio, come escono sul Fediverso) sulla sezione #MicroBlogdel fritto misto. Purtroppo, questo #standard ben predicato sembra razzolare male: non c’è stato verso di far vedere al #validatore del webring la mia descrizione, e mi devo accontentare di URL, nome, e foto profilo… però, un validatore a parte, che viene consigliato dalla stessa pagina, invece valida tutto come vorrei io. Uno #schifo. 😶
Non so perché, avevo voglia di provare #Preact, allora l’ho provato, ma dopo un po’ ho iniziato a rendermi conto che stava uscendo lo spaghetto… ho continuato fin quando non sono usciti addirittura bug di cui non avevo la minima idea, e allora #pazienza. Meglio fare come ho sempre fatto. 😩️
Nel #2024 le tecnologie #web#vanilla sono così buone, non c’è bisogno di usare #paradigmi strani (tutti nati quando le tecnologie web #standard non erano così buone, infatti) per #programmare… che non nego siano bellini, ma nella pratica non so perché non mi ci trovo, la mia mente sa riconoscere i pregi della #programmazione non-imperativa, ma poi nella pratica se mi cimento fo il macello… 😶🌫️️
I highly recommend supporting the Standard Ebooks project. 📚
«Standard Ebooks is a volunteer-driven project that produces new editions of public domain e-books that are lovingly formatted, open source, free of copyright restrictions, and free of cost.»
#NISO just announced a new #standard "enabling the combination of arbitrary portions of content, data, semantics, & other resources from separate sources [e.g. articles, books, data sets, metadata schemes] into a single, standards-based format optimized for interchange, search, & display." https://www.niso.org/publications/z39105-2023-cpld
@hramrach@bagder if you think #bash is horrible (I assume you use #zsh and/or #fish - which then yes that is a valid argument) then please take a look at #ksh, #tcsh or the original #UNIX#sh and tell me that's readable.
Tangents aside: Bash, for better or worse, is the #standard for #Linux and since I want OS/1337 to be "self-reproducing" / "self-hosting" with as little dependencies as possible, I'm stuck with it.
I was out shopping with my Christian friend Christina and, not gonna lie, it was kind of a downer.
At #Aldi they had the cutest little boxes of cookies that were also a music box and Christina couldn’t stop sighing that she couldn’t buy one because the music was somehow no good.
#XMPP a 20+ years #open and #standard#protocol, boasts a minimal, well-conceived core feature set. It enables diverse software to intercommunicate without reinventing the wheel. It has evolved over time, maintaining backward compatibility, and allows for low-resource implementations. Suitable for any conceivable use case, it advocates for no indiscriminate resource consumption. XMPP stands as one of the communication protocols most aligned with the #ecological challenges of today and tomorrow.
I suggested expansion of the existing Robots Exclusion Protocol (e.g. "robots.txt") as a path toward helping provide websites and creators control over how their contents are used by #AI systems.
Shortly thereafter, #Google publicly announced their own support for the robots.txt methodology as a useful mechanism in these contexts.
While it's true that adherence to robots.txt (or related webpage Meta tags -- also part of the Robots Exclusion Protocol) is voluntary, my view is that most large firms do honor its directives, and if ultimately moves toward a regulatory approach to this were deemed genuinely necessary, a more formal approach would be a possible option.
This morning Google ran a livestream discussing their progress in this entire area, emphasizing that we're only at the beginning of a long road, and asking for a wide range of stakeholder inputs.
I believe of particular importance is Google's desire for these content control systems to be as technologically straightforward as possible (so, building on the existing Robots Exclusion Protocol is clearly desirable rather than creating something entirely new), and for the effort to be industry-wide, not restricted to or controlled by only a few firms.
Also of note is Google's endorsement of the excellent "AI taxonomy" concept for consideration in these regards. Essentially, the idea is that AI Web crawling exclusions could be specified by the type of use involved, rather than by which entity was doing the crawling. So, a set of directives could be defined that would apply to all AI-related crawlers, irrespective of who was doing the crawling, but permitting (for example) crawlers that are looking for content related to public interest AI research to proceed, but direct that content not be taken or used for commercial Generative AI chatbot systems.
Again, these are of course only the first few steps toward scalable solutions in this area, but this is all incredibly important, and I definitely support Google's continuing progress in these regards.
I'm not sure adding yet another "#standard" (see XKCD ...) does much to advance the cause.
I'm not a huge fan of the "declare it in the document content" approach, as it means you have to modify every piece of #content on your site(s), and also include it in all future content.
I also think the "do not use for ML" should not exist. All content should be "no inclusion in models" by default, and should be opted-in with an #explicit declaration.
Apple seems to think my dog is a Great Pyrenees. It’s an easy mistake to make. She is actually just an Okay Pyrenees, otherwise know as an English Cream Retreiver
Wir wollen das Rad nicht neu erfinden, sondern bei #Standards für #KI vernetzen, unterstützen & Synergien schaffen, so Peyman Khodabakhsh von der Nationalen Initiative zur KI-basierten Transformation in die Datenökonomie (NITD) – ein Projekt der #Digitalstrategie.
#Standards sind die Spielregeln der digitalen Welt. Dabei geht es längst um viel mehr als nur um die Frage nach der Kompatibilität von Stromsteckern oder USB-C. Wie wir internationale Standards gestalten, diskutieren wir heute mit Expertinnen & Experten.
In the year since #RoeVWade was overturned, the #Republican Party has tested out constantly changing talking points & messages on #abortion in an attempt to make its anti-abortion policies sound less #extreme. #Conservatives are even considering moving away from the term “#ProLife,” fearing that voters have newly negative associations w/the label.
With post-#Roe outrage showing no sign of waning, strategists are pushing a new lexicon on #abortion — medically, legally & culturally. Some #Republicans have abandoned the term “#ban” when speaking about #AntiAbortion#legislation, for example. Now they’re pushing for a 15-week “#standard” on abortion — which, to be clear, would be a ban. #Americans overwhelmingly oppose strict #AbortionBans, so Republicans are moving away from the term.
English may be a hot mess but at least we don't have to worry about this nonsense (lemmy.world)