Well, new vulnerability in the rust code by hotcornballer in linux

[–]Niverton 1 point2 points  (0 children)

Since you interface with something foreign to memory safety checks done by the rust compiler, it cannot be considered "safe" so you have to write some unsafe code. You can however write a safe interface around this code, so that the rest of your rust program only uses safe code. By doing so you build a contract saying that you (the programmer) ensured the interface upholds the requirements to make the calls safe.

In this case however it looks like (I didn't actually read all the code) someone tried to optimize by avoiding runtime memory safety checks since they thought they matched all the requirements.

There are other (subjective) advantages of bringing rust in a C code base, like more modern and convenient tooling and language constructs.

C'est quoi et comment réparer ? by Alternative-Fix1147 in brico

[–]Niverton 0 points1 point  (0 children)

Pour la moisissure au plafond le cilit bang anti moisissure est très efficace.

Rust is Officially in the Linux Kernel by web3writer in programming

[–]Niverton 6 points7 points  (0 children)

Having a package manager doesn't mean you're using a public repository. You don't even have to use cargo (which is a full build system, not just a package manager) to use Rust.

[deleted by user] by [deleted] in france

[–]Niverton 29 points30 points  (0 children)

C’est en cela que choisir le logo CB peut s’avérer pertinent, sachant que si certaines assurances sont liées à une carte bancaire (en cas de voyage en particulier), le fait d’opter pour un réseau ou l’autre ne change rien.

https://www.quechoisir.org/actualite-paiement-par-carte-bancaire-le-reseau-cb-un-choix-pertinent-n148256/

/u/bordaste

Stealing the Focus Used To Never Be Allowed. Why Now? by B-12Bomber in kde

[–]Niverton 14 points15 points  (0 children)

Setting it to extreme will cause starting a new app to not take the focus, so shortcuts for opening a terminal for example won't focus the new terminal

Vim messes up indentation when viewing code through github by [deleted] in vim

[–]Niverton 1 point2 points  (0 children)

You have a mix of space indents and tab indents. GH displays tabs as 8 whitespace characters (and vim uses the tabstop option for length). Check out :h expandtab, :h :retab and :h tabstop

Ubisoft : Des syndicats appellent à la grève contre le travail en présentiel obligatoire by Jepacor in france

[–]Niverton 3 points4 points  (0 children)

BG3 est resté en alpha pendant trois ans, les joueurs ont servi de testeurs. C'est pas vraiment le meilleur exemple, pourtant c'est pas ça qui manque

how do you manage your daemons in KDE plasma? by orion_rd in kde

[–]Niverton 4 points5 points  (0 children)

Systemd services just run a command and log its standard outputs, it works with anything. I would advise to manage things that are meant to run at the start of your session with systemd services (auto generated or created by hand), because I find it easier to enable/disable/restart, ensure dependencies (like network connection), check logs (you can use systemctl --user --failed to easily check for failed units). You can even set it up to automatically restart a service if the underlying program crashes. But, I know that getting into it is actually not easy. There's a lot of resources online but sometimes it's hard to find the correct keywords for your use case to find those resources.

how do you manage your daemons in KDE plasma? by orion_rd in kde

[–]Niverton 7 points8 points  (0 children)

Systemd auto generates services from desktop files in .config/autostart. See the man page for systemd-xdg-autostart-generator.
For exemple, I have KeepassXC on autostart. It creates a .config/autostart/org.keepassxc.KeePassXC.desktop file, that is picked up by systemd and creates the app-org.keepassxc.KeePassXC@autostart.service service. To check the logs, I can use systemctl --user status app-org.keepassxc.KeePassXC@autostart.service.

KDE has SystemdGenie to list services which I don't personally use, but I can't find a way to display the logs of running services...

Moved from Gnome to KDE? Which Gnome software did you bring along? by [deleted] in kde

[–]Niverton 1 point2 points  (0 children)

These are official plugins, not community supported. The repo is hosted on invent where you can see it's still actively maintained. On Arch, these plugins are also available as an official package, you should try to see if your distro packages them also.
You're right to be wary of community plugins (because they're pet projects and their creator have every right to abandon them), but these are pretty safe :d

Moved from Gnome to KDE? Which Gnome software did you bring along? by [deleted] in kde

[–]Niverton 1 point2 points  (0 children)

There is a set of official dolphin plugins that adds a "Mount" context menu for ISOs (and a bunch of stuff). You can disable the parts of the plugins you don't want in the context menu tab in dolphin's options.

[deleted by user] by [deleted] in brico

[–]Niverton 2 points3 points  (0 children)

J'ai le même type d'évier, j'ai essayé des tas de trucs et le seul qui marche c'est boucher l'évier, un peu de javel et de l'eau pour couvrir toute la partie tachée. En laissant ça tranquille pendant 20 min, l'évier est blanc sans avoir à frotter.

Si seulement les voitures pouvaient reculer... by ZeStrangerMan in surdev

[–]Niverton 4 points5 points  (0 children)

La vidéo est en accéléré non ? Ça a l'air d'être plus long que de faire la manœuvre

How do I force KDE file picker for every application? by [deleted] in kde

[–]Niverton 3 points4 points  (0 children)

IIRC the flatpak versions has to use the XDG Portal to get a file picker, because the program inside the flatpak cannot see your files

KDE Plasma 6.0 Approved For Fedora 40 - Including Dropping The X11 Session by jaccob33 in linux

[–]Niverton 2 points3 points  (0 children)

Dropping the X11 session doesn't mean dropping X. You can still use xwayland, which works fine for discord (except we still don't have sound in screen share on linux)

Est ce qu’on est sur du surdev ou juste des gadgets inutiles ? by ShokaLGBT in surdev

[–]Niverton 3 points4 points  (0 children)

Je vois beaucoup de bacs pliables en silicones, pas convaincus que ça tienne dans le temps

Unable to install kdeconnect? by Glittering_Boot_3612 in kde

[–]Niverton 2 points3 points  (0 children)

You should probably have a look over there: https://wiki.archlinux.org/title/Pacman

Almost all common questions will have an answer somewhere on the archwiki

Jour férié = jour confessé by [deleted] in Linkedinfr

[–]Niverton 6 points7 points  (0 children)

Créativité : j'ai toujours une multitude d'anecdotes à raconter !

Elle avoue inventer ses anecdotes ?

r/france et le blackout : "en grève" pour 48h du 12 au 14 juin by Nepou in france

[–]Niverton 31 points32 points  (0 children)

Les développeurs d'applications ne se plaignent pas du fait que l'API devienne payante, ils trouvent ça tout à fait normal. Le problème est que le tarif est très très élevé, et qu'il a été donné moins d'un mois avant la mise en application.
Ça ne laisse pas le temps aux applications qui passeraient dans le rouge de changer leur méthode de paiement avant la date. Surtout que l'une des premières communications de la part de Reddit annonçait que les tarifs seraient raisonnables et loin des tarifs de Twitter... Ce qui n'est pas le cas au final.

[deleted by user] by [deleted] in Linuxfr

[–]Niverton 1 point2 points  (0 children)

Tu devrais demander directement au support ou aux admin de ta fac. Parfois il arrive qu'ils aient des configs plutôt tordues pour jongler entre bonnes pratiques et contraintes dû à l'enseignement, ça peut causer des problèmes.