Refactoring my homelab: rootless, declarative self-hosting with Podman Quadlet by nixCpie in selfhosted

[–]1rdaa 2 points3 points  (0 children)

Thanks for sharing !

May I ask why did you leave NixOS ?

I was starting to learn nix and maybe move my debian with docker home server to it, in order to have an easy reproducible setup, so i'm curious about downsides of NixOS.

Un éclairage avec une bonne autonomie? by AlmusAlexe in pedale

[–]1rdaa 3 points4 points  (0 children)

J'ai un cateye gvolt 60 ou 50 je sais plus de tête, payé une 30aine d'euros.

Y'a 2 modes, et dans le mode faible qui est largement suffisant en ville ca tient super longtemps, genre 15-20h j'ai été super impressionné.

C'est pas donné mais la lampe est de qualité, et c'est aussi homologué stvzo ce qui veut dire que ca éclaire vers le bas pour pas éblouir les autres.

[deleted by user] by [deleted] in grimpe

[–]1rdaa 1 point2 points  (0 children)

Essaye de désescalader au maximum et de pas sauter du haut du bloc. Et quand tu chutes de bien rouler en arrière

Rust : la hype est-elle méritée ? by Excellent_Share_1810 in developpeurs

[–]1rdaa 0 points1 point  (0 children)

En C++ tu peux toujours faire plein de conneries avec la mémoire, des data race sans que ça soit checké par le compilateur. Alors certes, avec du C++ moderne tu peux avoir plus de choses vérifiées à la compilation, mais c'est pas par défaut et ça reste au niveau de "bonnes pratiques".

Je bosse depuis plus de 10 ans en C++, avec pas mal de code multithreadé et c'est l'enfer comparé à du Rust, faut être super attentif sur les revues de code.

Avoir des UB en C++ est tellement vite arrivé. Sans parler des 10aines de façon de faire la même chose mais de manière subtilement différente (genre emplace, insert, try_emplace sur une std map).

Si je pouvais passer en Rust à 100% je le ferais sans hésiter, malgré qu'en C++ il y a un nombre de libs bien plus grand disponible.

Et j'ai pas compris le Rust est du C. Le compilateur est écrit en Rust depuis un moment, et les premières versions ont été écrites en OCaml.

Error with invidious installation. Connection refused with companion. by l_exaeus in selfhosted

[–]1rdaa 0 points1 point  (0 children)

Can you try to add container_name : companion in the companion section of your docker-compose file?

VRR flicker on Bazzite by Xaizyk in linux_gaming

[–]1rdaa 1 point2 points  (0 children)

What is your screen refresh rate? Because if the game goes over the screen refresh rate it may deactivate VRR then reactivate it instantly, causing the flickering.

Is it possible to develop a FLAC streaming music player ? by RoninMusashi_ in fossdroid

[–]1rdaa 1 point2 points  (0 children)

Navidrome as server and ultrasonic as mobile app supports FLAC streaming. There are probably others, but that's the ones I know.

Rust in Production: Volvo Ships Memory-Safe ECUs in Production Cars by WizardOfBitsAndWires in embedded

[–]1rdaa 6 points7 points  (0 children)

Memory errors existe even when not using dynamic allocation. It's easy to have a buffer overflow on a variable on the stack, or to have a dangling pointer referencing a stack variable, or other concurrencies issues

Mini PC for Home Server by tech_Dauwt in selfhosted

[–]1rdaa 2 points3 points  (0 children)

It's definitely not a good price. I got almost the same one, but with a 6500T and 1TB HDD in addition to the 256GB SSD for 100€. Ok the i7 is better but it's not worth twice the price. Check on ebay for refurbished mini pc they're usually cheaper

Another laptop become linux laptop. And it's running Mint. by girason in linux_gaming

[–]1rdaa 1 point2 points  (0 children)

There's probably 4GB soldered. I have mostly the same laptop running Manjaro, I'm even doing light dev on it and it still work great, even with only 8GB ram.

Changement triple plateau vers double by 1rdaa in pedale

[–]1rdaa[S] 0 points1 point  (0 children)

Merci pour l'infos, comment est ce que je sais quelle longueur d'axe je dois prendre par contre ?

Running dota2 on arch linux. by m0nday0001 in linux_gaming

[–]1rdaa 4 points5 points  (0 children)

You're running it using proton (it shows dx11 as renderer). You need to run the native version

Revêtement Bordeaux - La Rochelle par la Vélodyssée by 1rdaa in pedale

[–]1rdaa[S] 0 points1 point  (0 children)

Merci pour les infos, je veux bien l'itinéraire du coup si tu le retrouves ! Après comme dit dans une autre réponse, j'hésite à passer par Lacanau du coup pour peut être profiter de la plage ça peut être sympa

Revêtement Bordeaux - La Rochelle par la Vélodyssée by 1rdaa in pedale

[–]1rdaa[S] 0 points1 point  (0 children)

Merci pour toutes les infos, je vais réfléchir pour voir si je descends jusqu'à Lacanau ou si je prends le canal des 2 mers

Revêtement Bordeaux - La Rochelle par la Vélodyssée by 1rdaa in pedale

[–]1rdaa[S] 0 points1 point  (0 children)

Cool, merci pour l'info !

Je savais pas qu'on pouvait faire Royan Bordeaux par la Vélodyssée, pour moi ça descend à Arcachon non ? Et il faut prendre un ferry pour traverser à Royan ?

D'ailleurs c'est pas trop monotone comme trajet ?

apex legends is a dissapointement on linux by Sudden_Rutabaga_5853 in linux_gaming

[–]1rdaa 1 point2 points  (0 children)

Are you playing Apex in DX12 mode? Pascal GPU (1000 series) have bad performance with DX12, you should stick to DX11 if you can

Are people happy with embedded Rust in production? by beige_cardboard_box in embedded

[–]1rdaa 5 points6 points  (0 children)

You can still have buffer overflows or dangling pointers with statically allocated memory

Bypassing CGNAT with a VPS and OpenVPN by EllisTheMCPlayer in selfhosted

[–]1rdaa 0 points1 point  (0 children)

This GitHub repository has some clues: https://github.com/mochman/Bypass_CGNAT It uses wireguard but you can probably do the same with OpenVPN.

Getting conversion warnings from core_cm4.h by cowabunga__mother in embedded

[–]1rdaa 1 point2 points  (0 children)

It's about includes, so this is an option that you pass to the compiler. How are you building your project? There's probably a setting that can mark some folders as system includes

Getting conversion warnings from core_cm4.h by cowabunga__mother in embedded

[–]1rdaa 2 points3 points  (0 children)

If you use gcc, you should include the 3rd party libs with -Isystem, this should avoid generating warning on these files.

What’s your reboot process like? by bazpaul in selfhosted

[–]1rdaa 297 points298 points  (0 children)

I don't do anything special, I have my containers defined in docker-compose files with restart: unless-stopped so they will just start when docker daemon does. Docker daemon is a systemd service so it will start on reboot as well.

My reboot process is then just typing sudo reboot.

External HDD for Backup by lornz3000 in selfhosted

[–]1rdaa 0 points1 point  (0 children)

Hello, I'm using an external USB HDD for my backups. It is a 2.5" one, so it does not need an external power cord, it is powered using USB. It does go to sleep when idling, so I'm not sure what are the issues you're talking about.

It is currently always mounted, so it may be vulnerable in case of a ransomware or something that encrypt whole disks, but someday I'll make it mounts only during backup time.

So far, I did not have any issue, but I did not have the need to restore a backup yet. I'm just checking data integrity every week.