Тёмный
Solve Computer Science
Solve Computer Science
Solve Computer Science
Подписаться
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...)

Fiverr: it.fiverr.com/franco_masotti
SSD wear caused by excessive logging?
3:44
14 дней назад
ESP8266 flammable gas alarm - part 3
6:24
21 день назад
ESP8266 flammable gas alarm - part 2
3:01
Месяц назад
ESP8266 flammable gas alarm
5:10
Месяц назад
Buzzer and LED via button press
0:59
Месяц назад
Anonymous ChatGPT
5:27
5 месяцев назад
Self-hosted CPU A.I. part 2 - setup
11:01
5 месяцев назад
Self hosted CPU A.I. part 1 - usage
18:40
5 месяцев назад
3 tips to reduce computer-induced eye strain
2:23
7 месяцев назад
Homebox: your personal inventory system
9:49
7 месяцев назад
eBay permanent suspension: no reason
0:33
7 месяцев назад
Amazon scraping with MechanicalSoup
26:20
7 месяцев назад
Digital Euro updates and considerations
18:14
8 месяцев назад
Simpler Python YAML
12:38
8 месяцев назад
Simple text generation
16:26
10 месяцев назад
Xonotic: playing on the "Vehicles" server
25:04
11 месяцев назад
Real-world Python code optimizations
15:07
11 месяцев назад
Whoogle vs Google
8:35
11 месяцев назад
Nexcloud News app feeds on e-reader
13:44
11 месяцев назад
Kdenlive A. I.  speech recognition subtitles
12:27
11 месяцев назад
Simple YAML iptables script
13:58
Год назад
Reverse a string in C
15:16
Год назад
Radioactive CRT TV dust
3:52
Год назад
Комментарии
@samt11ts3
@samt11ts3 День назад
what year is this comand prompt?
@SolveComputerScience
@SolveComputerScience День назад
2023
@samt11ts3
@samt11ts3 День назад
is this a regular softwere? what are this comand prompt ,and python wtf is going on?
@SolveComputerScience
@SolveComputerScience День назад
Sure it is. It's from Flathub. You need the terminal in order to install the speech recognition Python package in the Flatpak environment
@samt11ts3
@samt11ts3 День назад
for christ sake man, are you dying? can you please explain, this better? i barely understands you
@SolveComputerScience
@SolveComputerScience День назад
I push manual English subtitles along with the video. You can enable those.
@roopey
@roopey 16 дней назад
That's exactly why I switched to higher endurance drives (in my case WD Red sn700)
@SolveComputerScience
@SolveComputerScience 16 дней назад
I see. 2000 TBW is a lot btw, but I wonder why the price on that model is so low 🤔
@roopey
@roopey 15 дней назад
@@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
@SolveComputerScience
@SolveComputerScience 15 дней назад
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
@Bratfalken
@Bratfalken 18 дней назад
Now let M$ start taking snapshots of your desktop every 6th seconds and write this to the poor SSDs!
@SolveComputerScience
@SolveComputerScience 18 дней назад
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."
@Bratfalken
@Bratfalken 18 дней назад
@@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...
@SolveComputerScience
@SolveComputerScience 14 дней назад
Well if it's encrypted like whatsapp, etc, then good luck 🤣. Installing a reputable GNU/Linux distro would solve the privacy problem
@dsouzadrian
@dsouzadrian 29 дней назад
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 ?
@SolveComputerScience
@SolveComputerScience 29 дней назад
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.
@dgcoelho
@dgcoelho 3 месяца назад
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
@SolveComputerScience
@SolveComputerScience 3 месяца назад
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
@arbbairagi
@arbbairagi 5 месяцев назад
Nice guide. Works flawlessly.
@SolveComputerScience
@SolveComputerScience 5 месяцев назад
Thanks. Please read the warning in the video description about the consequences of disabling IPv6, just in case.
@vNCAwizard
@vNCAwizard 5 месяцев назад
I was Director of the International Core War Society, from 1987 to 1992. I think your presentation is very well constructed.
@fun_with_Dhruv_2017
@fun_with_Dhruv_2017 5 месяцев назад
I have clear first 2 min vedio but next not clear Plz u can do any help on it
@SolveComputerScience
@SolveComputerScience 5 месяцев назад
What part is not clear? The docker-compose setup?
@fun_with_Dhruv_2017
@fun_with_Dhruv_2017 5 месяцев назад
$command running
@fun_with_Dhruv_2017
@fun_with_Dhruv_2017 5 месяцев назад
Not getting set on windows
@freakent
@freakent 7 месяцев назад
But it still uses PyYaml underneath. So it doesn't help me much.
@SolveComputerScience
@SolveComputerScience 7 месяцев назад
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
@PCBOOM
@PCBOOM 8 месяцев назад
Very interesting! I'll have to give this a shot with my 600+ and my radiacode!
@grandfiore5573
@grandfiore5573 10 месяцев назад
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.
@SolveComputerScience
@SolveComputerScience 10 месяцев назад
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.
@grandfiore5573
@grandfiore5573 10 месяцев назад
@@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.
@SolveComputerScience
@SolveComputerScience 10 месяцев назад
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...).
@Agus-tl5qb
@Agus-tl5qb 10 месяцев назад
thanks, very usefull.
@khizershareef5076
@khizershareef5076 10 месяцев назад
why not run redis on a container? do you have limited memory?
@SolveComputerScience
@SolveComputerScience 10 месяцев назад
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.
@andrut04
@andrut04 11 месяцев назад
Thanks, I wanted to do this for a long time.
@SolveComputerScience
@SolveComputerScience 10 месяцев назад
It might also come useful behind a NAT
@default4591
@default4591 Год назад
Thanks
@francocastilloAR
@francocastilloAR Год назад
What did it cost you to write those lines in the description?
@SolveComputerScience
@SolveComputerScience Год назад
Scolding from the IPv6 community and about 3 minutes
@arbbairagi
@arbbairagi 5 месяцев назад
Chill Bro... Just type
@francocastilloAR
@francocastilloAR 5 месяцев назад
@@arbbairagi No.
@radhadwivedi7672
@radhadwivedi7672 Год назад
Bro u made these videos of your own or just copy video from other channel. Just asking!
@SolveComputerScience
@SolveComputerScience Год назад
Made them on my own without the help of generative A.I. 😄
@voquyen84
@voquyen84 Год назад
How to handle the following status message: Background Jobs are not executed via cron. Recognize requires background jobs to be executed via cron. Thanks
@SolveComputerScience
@SolveComputerScience Год назад
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
@HammondYouIdiot
@HammondYouIdiot Год назад
great, thank you.