minioctt, to webdev Italian

Ieri sera, una roba che davvero mi ha fatto perdere la pazienza e ogni speranza, maledetto web development, avevo iniziato a scrivere questo post ma ho poi deciso di a mimire… in pratica, il Canvas HTML5 è inconsistente, tra diverse funzioni, diversi browser, e a tratti è proprio buggato mi sa. In breve: non si può tracciare linee o contorni puliti lì dentro, viene tutto sfocato, mannaggia!!! 😶‍🌫️️

Beh, non è la prima volta che scopriamo che la roba nei browser gira a furia di hack, quindi non so perché proprio questa volta sono così spiazzata, però questo è. Ho scoperto questa magagna dopo aver notato che, i bordi di rettangoli nel programma che sto facendo, che sono puliti su Firefox, appaiono tutti blurrati in Chromium. Ho fatto qualche test al volo, e notato che cambiare lo spessore dei tratti sistemava il problema su un browser e lo faceva apparire sull’altro. “Sarà colpa di p5.js“, ho pensato, “ti pare che nei due browser web più grandi al mondo ci sono gli spacc?“… e quindi ho cercato. Big oopsie, perché una issue l’ho trovata, ma da lì ho scoperto che p5.js in realtà non centra. E… ecco, facendo dei test con la API Canvas liscia, senza la libreria esterna di mezzo, persiste il problema. 👹️

https://octospacc.altervista.org/wp-content/uploads/2024/06/image-2.pngHo fatto un piccolo file con vari test: jsbin.com/dadobugiye/ (caricato su JSBin, così potete verificare anche voi). In foto c’è a sinistra come ha renderizzato Firefox, e a destra Chromium (entrambi chiaramente sul mio desktop Linux). Tra le quattro linee spesse da 1 a 4 pixel, e i tre rettangoli con bordo da 1 a 3 pixel, notate come a spessore alternato si alternano anche la presenza e l’assenza di sfumatura. Quello che cambia tra la copia superiore e quella inferiore è che sulla seconda è applicato uno shift di 0.5 pixel sia per X che Y (la seconda soluzione più brutta tra le consigliate)… appunto, fare questa cagata pulisce ciò che prima era sporco e sporca ciò che era pulito. 🚬️La schifezza è dovuta al fatto che il browser fa anti-aliasing di ciò che disegna lui, e non c’è modo di disattivare la cosa; c’è una proprietà imageSmoothingEnabled che vale però solo per i dati immagine raw (forse è per questo che non ho mai notato problemi con, ad esempio, gli emulatori web di console). Quindi, in teoria si potrebbero implementare da zero funzioni per disegnare linee e roba varia, che scrivono direttamente i pixel sulla tela… ma non sembra qualcuno abbia voglia di implementarlo in librerie grafiche general-purpose e che non deviano troppo dalla API. (Io certamente no.) Shiftare ogni azione di disegno di 0.5 pixel in base al browser può sembrare una soluzione (dato che il problema è causato dall’allineamento subpixel, e ci sarebbe il metodo .translate(x,y) per farlo senza ogni volta sommare alle coordinate), ma non lo è affatto, perché lo vedete come le linee e i rettangoli appaiono tra loro diversi (e, curiosamente, le linee sono uguali tra i due browser)… 💱️

Computer potentissimi e piattaforme software di complessità estrema e potenzialità infinite, ma poi non riescono a fare delle fottutissime linee non sburrate, stiamo tornando indietro. E falliscono appunto in modo pure inconsistente!!! Non sembra proprio esserci soluzione, se non creare delle mie astrazioni sulle funzioni di disegno di linee e rettangoli (che fanno in autonomia gli shift necessari ogni volta). Veramente sto male, è possibile che se il mio numero arbitrario di spessore in pixel è pari o dispari, a seconda del gusto del browser e dell’allineamento .0 o .5 a subpixel, deve venire tutto: o grigino anziché nero, o spesso di 2 pixel anziché 1 (o la qualsiasi), o coi bordi sciolti in lava? Per ora continuo a usare p5.js e quindi il disegno a forme sul Canvas per questa applicazione, perché è comodo, ma per i prossimi progetti chissà che dovrei usare… nulla si avvicina neanche lontanamente all’efficienza di scrivere del JavaScript vanilla e averlo immediatamente prendere vita. 🤢️

https://octospacc.altervista.org/wp-content/uploads/2024/06/image-4.pngHo provato anche un’altra soluzione di tizi, un po’ brutta ma che avrei accettato se avesse funzionato: applicare un dato filtro SVG… che dire. Vero, non si vede più alcuna sbleurratura, ma gli angoli dei tratti sono più arrotondati (non chiesi), e lo spessore è comunque sbagliato. E una cosa stramba bonus: i lati delle linee superiori (ma non di quelle shiftate?!) sono tipo corrotti, hanno dei pixel che appaiono un po’ a sinistra come delle spine. Ma come cazzo è possibile?!?!?! 🌋️https://octospacc.altervista.org/2024/06/07/tela-spaccata/

#antialiasing #blur #broken #browser #bug #Canvas #demo #disegno #HTML5 #inconsistente #JavaScript #JSBin #Mannaggia #pixel #problema #prova #sfocatura #subpixel #test #web #webdev

image/png

astian, to technology
@astian@mastodon.social avatar

The new version of Midori will have a new and improved private mode to guarantee a more private, clean, secure and extremely fast navigation.

Coming soon

https://astian.org/midori-browser

Vivaldi, to tech
@Vivaldi@vivaldi.net avatar

Has the time-taken-to-boil-an-egg research taken over your browser?

Hold SHIFT and select the first tab and the last tab in your bar. Then right-click and select Close Tabs.

Boom. 🥚💥

Video of Vivaldi browser with multiple tabs open to egg boiling techniques and research.

filippodb, (edited ) to random Italian
@filippodb@mastodon.uno avatar

La mia guida ai ha superato i 2 anni! 🥳

Quale miglior momento per aggiornarla con alcuni nuovi consigli sul come migliorare la navigazione con , e :

:brave: :librewolf: https://noblogo.org/filippodb/breve-guida-per-navigare-piu-veloci-e-piu-sicuri-con-le-estensioni-per

La guida ora spiega anche come aggiungere i motori di ricerca alternativi come https://LibreY.devol.it e https://SearXNG.devol.it e come usare le alternative a youtube come invidious su https://i.devol.it e piped su https://p.devol.it in automatico.

astian, (edited ) to tech
@astian@mastodon.social avatar

We have released a new update of AstianGO, an update with improvements in the accuracy of the results, improvements in the news, video playback and much more.

Enjoy a search engine that doesn't track you, doesn't sell your information and doesn't keep track of your activity.

https://astian.org/midori-en/alert-new-update-of-astiango/

kuketzblog, to firefox German
@kuketzblog@social.tchncs.de avatar

Ich habe die allgemeinen Handlungsempfehlungen für die Browser-Nutzung überarbeitet bzw. erweitert. Sollten nun klarer sein. 👇

https://www.kuketz-blog.de/sichere-und-datenschutzfreundliche-browser-meine-empfehlungen-teil-1/#handlungsempfehlung

astian, to privacy
@astian@mastodon.social avatar

We continue advancing with the development of our VPN client that will be available within Midori web browser, this is a short video about how it works.

https://astian.org/midori-browser

MidoriVPN coming soon

astian, to privacy
@astian@mastodon.social avatar

We are committed to our users, so in order to improve our support, tutorials, Midori, Astian Cloud AstianGO and our applications we have released our community and help platform where we can better interact with all our users.

https://help.astian.org our help platform

#privacy #browser #midoribrowser #midori #tech #technology

kuketzblog, to firefox German
@kuketzblog@social.tchncs.de avatar

Einen Beitrag zum Thema Browser zu veröffentlichen, ist mindestens genauso anstrengend wie zum Thema Messenger. Inhaltlich setzt man sich kaum mit den Aussagen und Erklärungen auseinander, sondern Stammtischparolen ersetzen dann eine ernsthafte Diskussion. Auf diesem Niveau möchte ich wirklich nicht diskutieren.

smallcircles, to random
@smallcircles@social.coop avatar
kuketzblog, to random German
@kuketzblog@social.tchncs.de avatar

Grundlegende Empfehlungen für Browser:

  • Benutzt mehrere Browser
  • Wenig/bis keine Add-ons installieren (Ausnahme Werbeblocker)
  • Keine Eingriffe an about:config/brave://flags vornehmen
  • Verzicht auf Fingerprinting/Ad-Blocking-Testseiten
  • Unter Android Chrome-basierte Browser bevorzugen (Sicherheit)
  • Zeitnah (Sicherheits-)Updates installieren
  • Verzichtet auf die meisten Tipps, die im Internet bezüglich Browser gegeben werden

Etwas ausführlicher? Hier! 👇

https://www.kuketz-blog.de/sichere-und-datenschutzfreundliche-browser-meine-empfehlungen-teil-1/

kuketzblog, to firefox German
@kuketzblog@social.tchncs.de avatar

Ich muss den Artikel über Browser nun doch aufteilen - es wird eine Artikelserie. Teil 1 ist ab sofort verfügbar.

Empfehlungen für Browser, die die Privatsphäre schützen und ein sicheres Surfen im Internet ermöglichen. 👇

https://www.kuketz-blog.de/sichere-und-datenschutzfreundliche-browser-meine-empfehlungen-teil-1/

astian, to tech
@astian@mastodon.social avatar

Companies are already recognizing Midori Browser as a privacy-friendly alternative that complements their products, in this case ExpressVPN.

https://www.expressvpn.com/blog/types-of-browsers/

We invite all technology lovers to download and use Midori as their default browser.

https://astian.org/midori-browser

#browser #tech #technology #privacy #windows #linux #ubuntu #debian

ngamradt, to Vivaldi
@ngamradt@vivaldi.net avatar

I wrote a blog post about the web and why I use it as my primary browser.

This post also contains links to a related video I created on the topic and a Vivaldi Community Talk conversation that I participated in.

https://nealgamradt.com/posts/2024/05/vivaldi-my-favorite-web-browser/index.html

astian, to wireguard
@astian@mastodon.social avatar

Our work advances with MidoriVPN, a private and secure system that uses #wireguard Multiple instances and mesh technology. Soon to be integrated into #midoribrowser.

https://astian.org/midori-browser

#privacy #browser #tech #technology #linux #windows #ubuntu #debian

MidoriVPN

kuketzblog, to firefox German
@kuketzblog@social.tchncs.de avatar

Aufgrund der Datenschutzverstöße in der aktuellen Android-Version von Firefox (Version 126.0) habe ich @mozilla kontaktiert und um Stellungnahme gebeten. 👇

https://www.kuketz-blog.de/firefox-data-protection-breach-in-android-version-e-mail-an-mozilla/

tommi, to CSS
@tommi@pan.rent avatar

Hey @piccalilli!

I found https://buildexcellentwebsit.es extremely insightful and inspiring! It pushed me to finally completely restructure my personal website’s , after many years of mess.

I used the awesome https://utopia.fyi to generate the vars, (actually, I am using the SCSS library).

Unfortunately, though, I find the massive use of all those calc() and clamp() functions to be quite heavy in terms of performance… gave the website a very bad performance score (see screenshot). It even seems that while scrolling the page it lags (😳) even if it’s super simple and built with pure and CSS!

Do you have any ideas or suggestions? 🤔

Thank you so much for all the interesting things you share! ❤️🚀

(The current unstable development version of my website is at https://dev.tommi.space/, I am using the homepage as reference)

Cc: @j98 + @trys

GrapheneOS, to privacy
@GrapheneOS@grapheneos.social avatar

Vanadium version 125.0.6422.147.0 released:

https://github.com/GrapheneOS/Vanadium/releases/tag/125.0.6422.147.0

See the linked release notes for a summary of the improvements over the previous release and a link to the full changelog.

Forum discussion thread:

https://discuss.grapheneos.org/d/13130-vanadium-version-125064221470-released

look997, to firefox Polish
@look997@101010.pl avatar

Oho, za chwilę przywrócą tę funkcję do Firefoksa, bo oni kopiują Chrome w głupi sposób, więc i skopiują rzecz, którą wcześniej już mieli i usunęli, bo chcieli skopiować sztywność menu z Chrome... xD
#firefox #chrome #mozilla #google #browser

kuketzblog, to firefox German
@kuketzblog@social.tchncs.de avatar

Welchen Browser benutzt ihr auf dem Desktop und mobil? Bitte kurz erklären, warum.

Nachfolgend eine Tabelle mit Browser-Empfehlungen, die demnächst in einem Beitrag über Browser erscheint.

blu, to Vivaldi

Around this time, a year ago, I started using @Vivaldi as main browser on my work computer. The tiling tabs and web panels are very convenient for daily tasks. Too bad about the code analysis of websites, which I prefer the way Firefox handles it, but it's legacy of Chromium. Since I work on web design I have to use at least two browsers anyway, so this is a minimal problem.

kuketzblog, (edited ) to firefox German
@kuketzblog@social.tchncs.de avatar

Update der Browser-Tabelle.

Zur Erinnerung: Ich arbeite an einem (sehr) ausführlichen Artikel über Browser. Dieser wird auch eine Tabelle mit empfohlenen Browsern enthalten. Anbei eine Vorschau. Die Tabelle wird sich sicher noch ändern.

Gerne könnt ihr Feedback abgeben - weitere Browser werden allerdings nicht aufgenommen.

#browser #brave #firefox #librewolf #mull #fennec #vanadium #tor #torbrowser

BobLefridge, to random
@BobLefridge@mastodon.nz avatar

Opera browser has become downright dangerous.

"You should not, under any circumstances, use Opera Browser or any of its derivatives."

P.S. Don't use Brave, either.

https://www.spacebar.news/stop-using-opera-browser/

#Opera #Browser

beardedtechguy, to VivaldiBrowser

I just submitted my 1st @Vivaldi theme! It’s under review currently so eagerly waiting for it to be approved.

Here is a sneak peek of what it will look like. It is called: Cyberpunk DeLorean

#VivaldiTheme #VivaldiBrowser #VivaldiCommunity #Vivaldi #Browser

beardedtechguy,

My @Vivaldi theme has been approved and is now available to download!

You can find it in the themes directory at https://themes.vivaldi.net/themes/V6kJN54LvWX.

It is called Cyberpunk DeLorean.

#Vivaldi #VivaldiTheme #VivaldiCommunity #Browser

kubikpixel, to internet German
@kubikpixel@chaos.social avatar

Welchen Browser ihr am besten für mehr Sicherheit und Privatsphäre nutzen solltet, könnt ihr auf @privacytests herausfinden. Geschmackssache und Argumente sind nicht das selbe und helfen selten für eine korrekte technische Entscheidung. Nicht nur Privat sondern hoffentlich auch innerhalb von Firmen.

🌐 https://privacytests.org

#internet #sicherheit #browser #privat #prifatsphäre #alternatieve #desktop #mobile #facebook #chrome #librewolf

kubikpixel,
@kubikpixel@chaos.social avatar

Stop using Opera Browser and Opera GX

Opera Browser and Opera GX are bloated web browsers, and the company behind them has tried to cover up its controversies.

🌐 https://www.spacebar.news/stop-using-opera-browser/

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