• 23 Posts
  • 104 Comments
Joined 1 year ago
cake
Cake day: July 14th, 2023

help-circle








  • Thank you, but the problem is that is howdy installation (that gets automatically executed after I run sudo apt install howdy that tries to run “old fashioned” pip commands. So I should either find a way to tweak Howdy install (like building it from source after changing something maybe?) or disable this system security feature temporarily, install howdy and re-enable it immediately after


  • Nope I didn’t, but the problem doesn’t seem to be the Python version, but instead the fact that now Python is “externally managed” and therefore I cannot install packages using pip install packagename as it used to be.

    I know that this is done for security reasons and that the good practice would be using pipx or conda, but the problem is that howdy istallation still tries to use the “old approach”







  • Arrivo un po’ tardi per portare un punto di vista diverso: a me (decisamente unexperienced developer) Dart e Flutter piacciono molto e per la mia limitata esperienza hanno entrambi grandi vantaggi rispetto agli altri linguaggi e framework.

    Dart a mio avviso combina un po’ il meglio di Java (/ C# / altri linguaggi OO) e Javascript, mantenendo appunto una struttura OO con classi, ereditarietà, fortemente tipizzata ecc. ma allo stesso tempo introducendo una serie di strumenti per la programmazione asincrona (come i futures) un po’ “alla javascript” semplificando così molto l’implementazione di applicazioni complesse (per esempio che richiedono concorrenza o l’utilizzo della rete) rispetto a Java. Ah e il fatto che qualche versione a questa parte sia fortemente null-safe è una comodità a parer mio da non sottovalutare. Come detto sopra non sono un programmatore esperto, ma se ora come ora dovessi scegliere un linguaggio tra Java, Javascript, C# e Dart sceglierei Dart abbastanza a occhi chiusi.

    Su Flutter posso fare un confronto più limitato purtroppo, poiché per il momento l’unico altro framework per costruire UI che ho approfondito veramente è JavaFX (e fidati, anche qui a parer mio Flutter è avanti anni luce). L’unica cosa che mi sento di dire è che all’inizio l’approccio a “albero di widget” lasciava scettico anche me ma in realtà è molto flessibile e snello (supponendo tu stia programmando con un IDE e non dal blocco note s’intende) e la possibilità di fare hot reload e quindi vedere immediatamente nella tua app i cambiamenti grafici che hai appena fatto al codice senza dover rebuildare è una comodità enorme.

    Quindi TL;DR: se hai tempo e voglia, dai a Dart e Flutter una chance e secondo me non te ne pentirai. Ovviamente non sono la soluzione a tutte le esigenze e hanno sicuramente margini di miglioramento, però per molti casi sono secondo me una validissima opzione che nulla ha da invidiare a Java+JavaFX, C#+WPF o JavaScript+[inserire qualsivoglia nome di framework]



  • Then I would suggest you to take a look at Reverse Proxies, which are programs that let you publicly expose different services hosted on the same computer under different (sub)domains.

    The easiest to start with (and also probably the one that better fits your needs) afaik is NGINX Proxy Manager, which can be set up really easily using docker, and you can find plenty of tutorials online (here is one I watched when I was starting to look into docker and selfhosting, it’s a bit old but should still be valid).

    If after having set up that you will to thinker around it a little bit and dive a bit deeper, there’s also Traefik which is pretty cool and also has a lot of materials to learn online.

    I don’t remember if the video I linked mention it or not, but to use a reverse proxy to expose your services on the web you will first need to set up a dynamic dns (probably the easiest way is to use Cloudflare) or to ask your ISP for a static IP, then go into your routers settings and find the Port Forwarding section where you should tell your routers to send all the incoming traffic from ports 80 (HTTP) and 443 (HTTPS) to the local IP of your server. And then you should be ready to use spin up Nginx Proxy Manager or Traefik on your server.

    (idk if I was clear or not but I swear it’s easier that how it seems ahah)





  • Long time Fedora user here. I’ve used Manjaro for a few months before Fedora and I’ve switched to PopOS! a few months ago because it was better supported from my laptop manufacturer…

    I’ve to admin I was a bit skeptical about switching to a Debian based distro, because I’m someone who likes to follow the latest news in the field and gets exited to try the latest stuff. But then I did and gosh if it’s a smoother experience compared to Fedora! (which itself was a notable smoother experience compared to Manjaro). I’m not saying that Fedora experience was bad, I still think is one (if not the) best compromise between usability and freshness, but I’d say that with Pop I’ve had even less troubles than with windows! The price of that? Being stuck with Gnome 42 after having tried the goodies of newer ones :/

    TL;DR: If you think you can live without the latest magic from the linux community, to then I’d reccommend you Pop. Otherwise Manjaro is a good distro and from what I can remember NVIDIA drivers works almost out-of-the-box but be ready for some frequent minor troubleshooting sessions