mattotcha, to random
@mattotcha@mastodon.social avatar
minioctt, (edited ) to internet Italian

Credo che fare quello che volevo fare riguardo le #PWA, a maggior ragione ora che mi sto informando un po’, è più complicato di quanto credevo… ecco perché ai tempi cercai vie apparentemente più impegnative. Il lavoro di ieri è comunque valido e meglio di nulla, ma ho paura che la mancanza del supporto offline si possa sentire, perché quel metodo non la aggiunge magicamente, e riuscire a farlo appunto non è una passeggiata. 😤️

Per poter “funzionare #offline”, un sito web deve registrare un Service Worker che risponde ad un particolare evento restituendo risorse precedentemente cachate. Sarebbe abbastanza semplice, se non fosse che, per una scomodissima combinazione di requisiti di sicurezza e mancanza di #API nei browser, non c’è letteralmente alcun modo pratico di registrare uno di ‘sti cosi tramite estensioni, figurarsi userscript. Nello specifico, gli script per i ServiceWorker devono essere necessariamente serviti su protocollo https: (quindi niente blob: o data:, cosa che ci taglia via immediatamente gli inject con gli userscript, ma nemmeno file: o http:), per forza dallo stesso dominio della pagina (e quindi non si scappa ospitando per conto proprio solo quel file senza clonare il #sito), e come ho detto non ci sono API per iniettarne da #estensioni. 😨️

Ovviamente, andando per la strada di creare un’estensione, in pura teoria non servirebbe nemmeno preoccuparsi di usare questo metodo, perché a quel punto si potrebbe direttamente usare l’estensione per intercettare il traffico, salvandolo quando è nuovo, per poi servirlo da una cache quando non c’è Internet. Le API sembravano proprio adatte, quindi mi sono messa a fare varie prove, per poi scoprire che… non riesco in alcun modo a visualizzare il contenuto restituito per una pagina se non c’è #Internet: la schermata di errore del #browser prende precedenza, e nessuna delle cose che ho provato riesce a sovrastarla. E anche potenziali #workaround, come usare le API per modificare il contenuto della pagina di errore pur rimanendo sull’URL desiderato, col piffero che funzionano! (E no, sembra proprio che io non possa usare le richieste #web dell’estensione per servire una risposta fake ad un path da registrare come worker, l’evento viene triggerato ma il navigatore non si beve il risultato.) 😭️

In poche parole: ennesimo #rabbithole #JavaScript che mi sta completamente consumando, e anche molto velocemente, perché più trovo ostacoli alla mia #idea più cerco di andare veloce per superarli, ma più ne incontro sempre di nuovi e più il cervellino ammuffito deve elaborare, ma ci sono aspetti del #webdev che sarebbe meglio non elaborare proprio. A questo punto, tutte le strade che posso prendere per risolvere il #problema sono in ogni caso #hack: ne ho in mente qualcuna rimanendo con un’estensione, che comporterebbe comunque un dietro le quinte estremamente bizantino ma nessun particolare compromesso di sicurezza o usabilità… oppure, ben due soluzioni ancora peggiori (e in parte simili), che spero vivamente di non dover usare; sarebbe anche peggio. Comunque, che cavolo, questa piattaforma di #sviluppo è piena di risorse, una maniera prima o poi si troverà. ☠️

https://octospacc.altervista.org/2024/03/26/pwtorturaaaa/

#API #browser #estensioni #hack #idea #Internet #JavaScript #offline #problema #PWA #rabbithole #sito #sviluppo #web #webdev #workaround

aral, to design
@aral@mastodon.ar.al avatar

Thank goodness for the “Window title is back” GNOME extension that that tells you which app/window you’re currently in.

What’s truly mind blowing is that you need an extension to provide what is arguably the most important landmark in design: the “where am I?” cue.

https://extensions.gnome.org/extension/6310/window-title-is-back/

ordnung, (edited ) to random German
@ordnung@chaos.social avatar

Liebe Menschen auf chaos.social, eine kleine Info wegen der noch immer anhaltenden Spam Well. Leider können wir nicht viel machen, da Mastodon aktuell keine Features zur Spambekämpfung hat. Das frustriert uns auch. Leider scheint jede Instanz auch nur ein mal genutzt zu werden, sprich Limits oder Blocks ganzer Instanzen helfen nicht. Was wir aber sehen ist das Accounts die Follower Only und höchstwahrscheinlich auch Unlisted posten nicht betroffen zu sein scheinen. #mastoadmin

kernpanik,
@kernpanik@chaos.social avatar

@ordnung Möglicher #Workaround: Ich habe die Benachrichtigungseinstellungen jetzt mal wie im Screenshot eingestellt. Das sollte sämtliche Mentions von Leuten, denen ich nicht folge, ausblenden. Vielleicht reicht auch das erste (und ggf. das dritte) Häkchen.

Die Kommunikation wird dadurch zwar sehr begrenzt, aber immerhin habe ich (bis jetzt) keine neuen SPAM-Toots in den Benachrichtigungen.

Danke für Eure Mühe, das muss aktuell echt frustrierend sein! ❤️

koalie, to random
@koalie@mastodon.social avatar

I just discovered a nasty thing about with which I had otherwise been pretty happy with since I purchased one secondhand 4 months ago.

Without the paying “connect” subscription, syncing stops after 50 days of inactivity.

New activity doesn’t trigger syncing, but the document remains usable still.

The is to duplicate it. But it’s just a lot of busy work.

solimanhindy, (edited ) to FreeBSD
@solimanhindy@mastodon.lovetux.net avatar

From documentation about vulnerability Terrapin Attack there's a

"IV. Workaround

Add the following lines to /etc/ssh/ssh_config and /etc/ssh/sshd_config:
Ciphers -chacha20-poly1305@openssh.com
MACs -*etm@openssh.com"

Link: https://www.freebsd.org/security/advisories/FreeBSD-SA-23:19.openssh.asc

nikita, to Youtube German
@nikita@social.tchncs.de avatar
Minionslayer, to macos

Is anyone else on having a problem with where nothing is announced when they arrow through a lot of text fields? Please don't say I'm the only one. I mean it's not even consistent; it'll work completely fine in web apps, but won't in others like Notes, Pages, or Mona. Shocking and here from . Really quite disappointed with the Sonoma release. Glad that Apple are pausing feature updates to work on .

Minionslayer,

@tmmahaff I changed my typing verbosity away from nothing, and lo and behold the bug is gone. Thanks for the , even if it’s for an issue thats quite frankly ridiculous and in a “stable” version of MacOS.

ai6yr, to random

Linux catch-22. In order to connect to the Internet, need to get a Wi-Fi card working. In order to get a Wi-Fi card working, need Internet to load packages to build Wi-Fi card driver. 🤔 (likely fix--mega-long Ethernet cable down the hallway and through a few rooms, temporarily).

ai6yr,

Aha! Workaround: using the mobile phone as a USB tethered Ethernet adapter. Slow, but the driver works out of the box. Now loading/attempting to build a suitable driver.

danmorrill, to Youtube

So if you get this using an adblocker on YouTube, I'm finding that going into incognito mode works for keeping ads down and not worrying about being blocked by youtube

itnewsbot, to business
@itnewsbot@schleuss.online avatar

The US Has Failed to Pass AI Regulation. New York City Is Stepping Up - The US Congress won’t pass federal AI regulation anytime soon. NYC is forging ahead with ... - https://www.wired.com/story/us-failed-to-pass-ai-regulation-new-york-city-stepping-up/ /artificialintelligence

isAutonomous, to random German
@isAutonomous@karlsruhe-social.de avatar

Die diversen heftigen Lücken in der Cloud von Microsoft betreffen auch Privatkunden.
Cloud ist praktisch, nutze ich auch. Daher hier wieder ein paar Hinweise:

  • Es sollten nur Bilder in die Cloud-Bilder-App hochgeladen werden, die nicht gegen einen verwendet werden können.
  • Persönliche Dokumente, Finanzdaten, manche Bilder, ..., sollten nur verschlüsselt abgelegt werden (z.B. Cryptomator).
  • Man sollte immer wissen, was man in der Cloud liegen hat -> Aufräumen, löschen, Überblick behalten.
kkarhan,
@kkarhan@mstdn.social avatar

@isAutonomous Klar, aber inwiefern Mensch dieses Risiko eingehen mag ist zu bezweifeln...

Würde daher den Original-Take als abheften, denn es ist ein hässlicher bis dysfunktionaler , kein :

Da kann ich auch gleich ne verschlüsselte SSD per Post versenden.

Hat in sogar mehr Geschwindigkeit als !

https://karlsruhe-social.de/@isAutonomous/110847256361818999

itnewsbot, to business
@itnewsbot@schleuss.online avatar

How to Install Threads on Your Windows Desktop - Meta’s new social app may be mobile-first, but with a little effort, you can install it o... - https://www.wired.com/story/how-to-install-threads-on-windows/ /socialmedia /howtoandadvice

majorlinux, to threads
@majorlinux@toot.majorshouse.com avatar

I knew it!

I knew it all along!

Threads crashing when you try to post a photo? There's a workaround https://9to5mac.com/2023/07/06/threads-crashing-when-you-try-to-post-a-photo-theres-a-workaround/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • cubers
  • magazineikmin
  • GTA5RPClips
  • khanakhh
  • InstantRegret
  • Youngstown
  • mdbf
  • slotface
  • thenastyranch
  • everett
  • osvaldo12
  • kavyap
  • rosin
  • anitta
  • DreamBathrooms
  • Durango
  • modclub
  • ngwrru68w68
  • vwfavf
  • ethstaker
  • tester
  • cisconetworking
  • tacticalgear
  • Leos
  • provamag3
  • normalnudes
  • JUstTest
  • All magazines