mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

9.4K
active users

#userspace

0 posts0 participants0 posts today
Replied in thread

@JessTheUnstill @bohwaz @punkfairie @ajsadauskas @tomiahonen @fuchsiii Exactly...

Coincidentially, that's why #Android (and #iOS) doesn't let users have #root access because billions of devices owned by mostly "#TechIlliterates" that hardly get #SecurityUpdates would be an even bigger risk if they didn't boot a locked-down #ROM image, thus only allowing for #malware in user-privilegued userspace!

Cuz having a mobile OS that shoves everything through #Tor and only allows #userspace-Apps in the form modern web technologies would be a big #security and #privacy gain.

  • Not to mention #amd64 is on it's way out and inevitably they gotta have to transition to supporting #arm64 and eventually #RISCv-#64bit at some point.
#amd64#arm64#riscv
Replied in thread

@kde@floss.social @kde@lemmy.kde.social

Thx for the info, then it is like that.

Here is the goal proposal

phabricator.kde.org/T17370

Tbh, #bubblewrap would need to be fixed drastically to be as secure as the #Android #sandbox. And (I am not sure yet) I think even #Snaps are more secure (on #Ubuntu with #Apparmor patches) than #Flatpak with the current system.

As far as I understood, sandboxing needs to happen in #userspace, with tools like #fuse doing the work while being restricted by #MAC like #SELinux or Apparmor.

phabricator.kde.org⚓ T17370 Sandbox all the things!

Ieri in una conversazione scaturita dall’osservazione (non mia) di come possedere un “portatile Linux” (cioè, pensato e venduto con GNU+Linux; no, credo che nessuno di loro venga con distro non-GNU) sia sofferenza e miseria, perché a quanto dicono hanno sempre strani difetti di driver che non dovrebbero, e difetti hardware spettacolari (rest in piss Framework owners)… ho detto una cosa per scherzare, ma seriamente. Il tablet #Android medio, su cui si fa girare “Linux desktop” in modi più o meno ortodossi, ammesso di avere una tastiera fisica add-on decente, potrebbe essere un laptop Linux migliore di… boh, qualsiasi; a parte il Mac M1, credo. 😡

In effetti così è imbrogliare, perché Android usa (una versione malata de) il kernel #Linux, quindi la parte desktop dell’equazione è tutta #userspace, e quindi o funziona o non funziona (funziona), vie di mezzo scomode non ce ne sono. Chrome OS sarebbe ancora più imbrogliare, perché quello in effetti è un semplicemente un sistema #desktop Linux un po’ malato, ma… chi fa i laptop Chrome OS? Esatto, gli stessi OEM che fanno i laptop Windows, che quando non hanno problemi di driver (cosa già rara) hanno sempre, e dico sempre, problemi hardware, o almeno compromessi… tablet Android da 100 euro avranno sempre uno schermo migliore di portatili Windows da 500 euro, quindi facciamo finta che non esistano proprio. 👻

Vabbe, io la tastiera fisica ideale per #tablet non la ho, ma di tablet Adrod ne ho (anche troppi), quindi perché non fare un #esperimento??? Avendo l’urgio di spendere il mio tempo in modo poco saggio stasera, mi sono messa a configurare XFCE sul mio Galaxy Tab S6 Lite; ricordo che XFCE non è il desktop scrauso che tutti credono, ha semplicemente un tema default #scrauso, e una configurazione che su touch screen lasciamo perdere. Dopo un po’ di valutazioni, ho innanzitutto pompato i DPI custom a 168, per rendere il testo leggibile e le hitbox della UI toccabili, pur non volendo scalare tutta l’interfaccia a 2x (troppo grossa), o usare scaling frazionale (pupù cacca tutto sbleurrato), ingrandito di 2 punti tutti i font, e installato il materia-gtk-theme come stile GTK, mentre ho messo Arc-Darker, fork HiDPI, per XFWM (altrimenti, barre del titolo troppo piccole, mi sentivo a disagio). Tocchi finali: trasparenzine del compositor, singolo click per aprire elementi sul desktop e nel gestore di file, e il pannello in alto fissato a 64px di altezza, con icone belle toccabili e niente testo inutile. 💯

Quindi ora che si fa con ‘sto coso? …non lo so. Almeno, a casa col PC non lo so, ma fuori gli utilizzi sono molteplici, con tutte le app produttive che su Android non ci sono (o hanno versioni brutte), mentre su Linux avoja (inclusi programmi o giochi Windows, scomodando strati di compatibilità vari). A proposito di giochi… “come fai a fare gamin’ se lagga persino lo scrolling in Firefox e la riproduzione di YouTube?” Semplice, installando virgl, anziché tenere llvmpipe, che è il peggior emulatore di driver video dell’universo ma stranamente è sempre quello default su ogni cosa Linux. 🪨

Ora qualcuno dirà pure… “cosa ma #XFCE sul tablet?” Si regà, basta, è un ambiente desktop meno stupido di quanto sembri… come si vede nel video ha pure il tiling ai bordi dello schermo, e ricorda persino lo stato massimizzato delle #finestre quando una app viene riaperta (cosa a cui non vorrei rinunciare su tablet). Certo vorrei anche magari le finestre con bordi di ridimensionamento più grossi, pensandoci, cosa che però pare un vero casino (con guide che indicano file da modificare che nei miei temi non ci sono), e che mi sa non riuscirò a quagliare… ma alla fine non è vitale, avendo pure il pennino. ✨

…Ah no? Giusto, qualcuni diranno “cosa ma XFCE sul tablet? in che modo, come hai fatto“… non c’ho tempo di spiegarlo, dopo anni e anni la pazienza non ce l’ho più. Su questo blog cinese dalla grafica rilassante ci sono guide molto efficienti al Linuxaggio sugli Androidi, tra cui come installare #Debian in #Termux (virtualmente obbligatorio, le repo di Termux hanno 2 app desktop in croce) e avere subito tutto funzionante, tra cui video, audio, e la scorciatoia home per avviare tutto in 1 click… si noti solo che io sudo l’ho settato in modo meno complicato, e l’emulazione del mouse di Termux:X11 l’ho messa a “Direct touch”, che con gli aggiustamenti di prima è perfetto, e in tutte le app GTK3/4 funge lo scrolling naturale e la selezione del testo come se fosse antani nativohttps://ivonblog.com/en-us/posts/termux-proot-distro-debian/ 🙏

Share this page from your fediverse server

https:// Share

This server does not support sharing. Please visit .

https://octospacc.altervista.org/2024/08/19/linuxaggio-androidico/

Continued thread

After spending yesterday entirely by re-implementing #tcp in #userspace I now know:

- TCP is weird
- we have the PSH flag that completly makes the data ignore the TCP sending/recieve buffers and directly writes into the application's stream
- ACK can be part of literally any other package; you also can SYN, FIN or PSH data while ACK'ing
- zero-length data packages *technically* exist, but they dont do anything; they dont even wake up the FD when it's in a epoll
- the #linux #kernel is funny: it responds with RST to incomming TCP packets, even on raw sockets; you'll need to drop them via #iptables if you want to implement TCP in userspace

Learned a lot! Now I can go on and create a few tests for #webservers; mainly SYN floodings and so on.

Continued thread

I do object #Landley's opinion re: #SystemD on general-purpose #Desktop & #Server because #systemd solved a lot of issues:

But #toybox doesn't aim to be the #userland / #userspace of like @ubuntu so the #init could also ne just a simple #shell #script starting #toybox and I think that would be fine for most people.
youtube.com/watch?v=SGmtP5Lg_t

After all I like #btop but I can understand why it won't he included in toybox but instead top, htop & iotop...

Continued thread

In fact, I like #toybox because it's clean and wants to be a #minimalist #userland / #userspace for #Linux...

And I think Linux as a #Kernel is best because it has extremely good #compatibility and #drivers across platforms...

I'm not #TerryDavis and I don't want to build another #TempleOS but make something useful yet smol for a lot of my projects...

youtube.com/watch?v=SGmtP5Lg_t