Computer science problems and solutions, tips on free and open source software (FOSS), programming, self-hosting, hardware, artificial intelligence, science, and tech in general.
You'll see these things such as:
- algorithms implemented in C and Python - tutorials on how to set up specific configurations for programs such as Nextcloud and Gitea and other self-hosted software - tips and software using artificial intelligence (A.I.) - micro-controllers (Arduino, ESP*) - tech news I feel are important (A.I., CBDC, not-so-conspiracy-related stuff, etc...)
@@SolveComputerScience Good question. It could be because they are prosumer level and not enterprise level. As far as I can tell, they lack hardware encryption and power loss protection. I also didn't find any info about whether they have dram or not. But performance is descent. I get about 1000 MB/s seq. read and write on an encrypted zfs pool. So far, after two years and about 700 tb written everything is fine
It's certainly an interesting choice! I was thinking that it's strange that an NVMe drive like that costs the same as a Samsung SATA one with equal capacity (on Amazon that is). But then I saw that other NVMes (1TB) cost the same: it's probably a market thing. And yes, sometimes it's hard to find decent info about these drives. If you see on this spreadsheet even SSDs with similar names have totally different controllers, etc: docs.google.com/spreadsheets/d/1B27_j9NDPU3cNlj2HKcrfpJKHkOf-Oi1DbuuQva2gT4/edit?gid=0#gid=0
I thought they scrapped that! I remember the Windows XP era where you could see constant HDD activity even when it was idling. With this new "feature" they kill your privacy and potentially your SSD: "Snapshots are taken every five seconds while content on the screen is different from the previous snapshot."
@@SolveComputerScience They have been back and forth with it, the latest is that it WILL be installed on Win11 machines, and it will be running if you don't stop it as standard. It will be possible to uninstall totally, but how many users will know this and how many SSDs will it kill before this is knowlege for the common user. Also, taking snapshots when you log in to your bank account... they say it will be encrypted, but we all know that things like that is just a call to hackers. I'm staying on Win10 as long as possible...
Thanks for putting this together. I'm lost at this step too though. I went through the documentation which mentions "6. create a copy of the Redis socket with specific permissions" Where do you create this file ?
Point #6 tells you that you need to create a Systemd unit file. Once you run this Systemd service, a "copy of the Redis socket with specific permissions" will be automatically created. See the `ExecStart` line for the original and copy file paths. As an alternative you could create a Docker container for Redis as well, as described in one of the other use cases: docs.franco.net.eu.org/ftutorials/en/content/server/nextcloud.html#id40 Personally I use the method described in the video for convenience, but, of course, setting up everything in the docker compose file implies adding only a few lines.
Thanks for the video i'm trying to do the same and your video was the only one that i found addressing this subject. I was following the steps but i got lost in this part: "Systemd service that creates a link to the original Redis socket to be used by the Nextcloud container" This file was created from scratch? Where you place this file (folder/directory)? Do you have to "activate it" like some systemctl command? Thanks for again for sharing the video! Regards
Yes it's not that intuitive. The Redis socket used by Nextcloud is a client to the original one implemented by Redis. And yes, it's an extra Systemd service. You can read in detail how to set everything up from my documentation here: docs.franco.net.eu.org/ftutorials/en/content/server/nextcloud.html#a-more-scalable-setup
True. Mashumaro is useful for complex data structures, as shown in the video. If you need a different YAML parser there are others, such as ruamel. Maybe this article can help you: medium.com/@reorx/tips-that-may-save-you-from-the-hell-of-pyyaml-572cde7e1d6f
Salve, fra! Sei un grande! Sto provando a fare le cose in modo un po' diverso e non ce la faccio. Ho un paio di domande e forse mi dai la risposta giusta. a) Non lo stai collegando all'Internet, certo? Non vai ad un register e colleghi l'FQDN alla tua IP. Soltanto c'è la connessione "link" tra Nextcloud e CODE, mi sbaglio? Grazie per tutto. Proverò pure a seguire il tutoriale come fai te.
CIao! a suo tempo ho creato un dominio gratuito su eu.org e per il DNS ho usato 1984.is, anche questo gratuito. Questo servizio DNS supporta anche DDNS quindi è adatto per indirizzi dinamici. Nel mio caso Collabora è esposto su Internet su un sotto-dominio separato. All'inizio avevo fatto in modo di nascondere il server Collabora da Internet, ma quando modificavo un documento attraverso Nextcloud via Internet non funzionava. Il motivo è che il browser deve creare un "link" (web socket) direttamente con Collabora.
@@SolveComputerScience Ho indirizzo e non ho problemi col DDNS. Soltante volevo capire se il server CODE era esposto o no. Perque non si vede come lo imposti nel tutoriale. Ma grazzie mille per la risposta =)) Proverò ad impostare con Apache come hai fatto te. Io provavo ad usare Nginx ma non ce l'ho fatta. Mi sà che è li che ho sbagliato.
Ah ok. Non trovo le istruzioni per Nginx ma per Apache avevo seguito queste: collabora-online-for-nextcloud.readthedocs.io/en/latest/install/ Devi solo cambiare `ServerName` e linkare i certificati HTTPS (`SSLCertificateFile`, etc...).
That was another option easier to setup and that improves portability. However, I run multiple services which need Redis, so having a single instance reduces overhead. Plus, using the socket instead of TCP/IP is faster in most cases.
How to handle the following status message: Background Jobs are not executed via cron. Recognize requires background jobs to be executed via cron. Thanks
You need to check if cron jobs are actually running by going into "Administration settings" -> "Overview". If everything is working you should see a green tick, otherwise one or more error messages are displayed. See the documentation as well: docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html