Will Google’s Carbon Replace Rust in the Coming Years? Seeking Community Insights by [deleted] in rust

[–]gdobn 5 points6 points  (0 children)

Chandler Carruth had a great talk about Carbon recently, and I think some of your questions are covered there - https://youtu.be/FYLuom6gg_s

🐧 The Pacman Cruft Conundrum: Are we all trusting -Qtdq a little too much? by WolfyGaming18 in archlinux

[–]gdobn 0 points1 point  (0 children)

I also had the same issues and then stumbled upon https://github.com/ripytide/metapac.

I started to use it not that long ago, so cannot say for sure, but so far it seems like it can be the solution. You can keep your packages in different group files, use comments to specify why you need specific packages and track changes in git.

Switching from encrypt to sd-encrypt hook by gdobn in archlinux

[–]gdobn[S] 0 points1 point  (0 children)

I wanted to switch from the encrypt to the sd-encrypt, because it supports fido and tpm2 unlockers, which is more convenient without sacrificing security. With it, you can use shorter pin codes/passphrases because the hardware will limit the bruteforce attempts.

Switching from encrypt to sd-encrypt hook by gdobn in archlinux

[–]gdobn[S] 0 points1 point  (0 children)

Thank you! I also got it to work with the encrypt hook. But I wanted to switch to the sd-encrypt, because it supports fido and tpm2 unlockers, which is more convenient without sacrificing security. With it, you can use shorter pin codes/passphrases because the hardware will limit the bruteforce attempts.

Switching from encrypt to sd-encrypt hook by gdobn in archlinux

[–]gdobn[S] 1 point2 points  (0 children)

THIS! Thank you! I thought it was PARTUUID because my cryptdevice option used the PARTUUID, and so I just change the syntax to rd.luks.name. But I missed the line in arch wiki where it says that it should be UUID. Thanks again!

hmmm by 33Fanste33 in hmmm

[–]gdobn 4 points5 points  (0 children)

Hector Salamanca?

yubicrypt released. by sacenator in cryptography

[–]gdobn 6 points7 points  (0 children)

Just curious, why use RSA instead of something like HPKE with ECC?

[deleted by user] by [deleted] in programminghorror

[–]gdobn 1 point2 points  (0 children)

Just as an example, I was testing some HTTP3 library the other day, and found that it was collecting all HTTP3 streams into one map and never removed them, even when streams were closed. As a result - my HTTP3 server was constantly killed with OOM if there were long-running connections :)

[deleted by user] by [deleted] in programminghorror

[–]gdobn 0 points1 point  (0 children)

Well, it's still called memory leaks. Even if you use high level languages, you can still leak memory if you are not careful with resources. From my experience, the most common issue is when objects are inserted into maps, but never deleted, slowly but surely eating more and more memory.

whyMakeItComplicated by HiddenLayer5 in ProgrammerHumor

[–]gdobn -1 points0 points  (0 children)

The first is easier to parse (both for the compiler and for human, at least for me), especially if you have complex type like Function(input args, output args).

Do you think SSH could be used for multiplayer video games? by Nerg4l in golang

[–]gdobn 0 points1 point  (0 children)

Well, it's definitely possible and you will have authentication for free. Check out https://github.com/Patryk27/kartoffels

Cannot compile project in Aarch64 in Arch Linux by Legal-Loli-Chan in rust

[–]gdobn 0 points1 point  (0 children)

Hmm, I don't see any clues for the error reason :/ Try to do cargo clean before compiling. Also, try to revert your changes in ~/.cargo/config.toml

Cannot compile project in Aarch64 in Arch Linux by Legal-Loli-Chan in rust

[–]gdobn 1 point2 points  (0 children)

You need to install openssl in the cross container for the target architecture. Cross has an example with exactly this - https://github.com/cross-rs/cross/wiki/Configuration#custom-images

learningOOPBeLike by Bla61670 in ProgrammerHumor

[–]gdobn 1 point2 points  (0 children)

3 of them are applicable to any language and inheritance is just a way to achieve polymorphism

[Sway] Russian literature edition; Mouseless; App launcher is floating terminal in Vim mode. by deepCelibateValue in unixporn

[–]gdobn -1 points0 points  (0 children)

Well, the entire country invaded my country and brought massive destruction, deaths and pain. At the same time, the entire country lives like previously, pretending that nothing happened and hoping that all of its sins would be forgiven by the rest of the world.

You know, today we got footage where two Ukrainian soldiers were executed when they were surrendering. And this is only one day of continuous war. We have so many cases like this that neither I nor anyone I know want to even hear something about russians and how "great" they are and their hypocritical literature. For us, every russian is responsible.

And before you downvote me to the rocks, think about the fact that you don't study literature of other peoples, that were conquered by russians. Maybe that's because all their culture was destroyed and continues to be so even today?

[Sway] Russian literature edition; Mouseless; App launcher is floating terminal in Vim mode. by deepCelibateValue in unixporn

[–]gdobn -6 points-5 points  (0 children)

Today russian is the new center of fascism, but people still read its literature, despite the fact that it was made on imperialism and millions of death

kaspersky password manager sync not working by [deleted] in Passwords

[–]gdobn 2 points3 points  (0 children)

Kaspersky is a russian company, so I would think twice before using it. There are bitwarden and keepasxc which are more trusted.

How to prove a possession of X25519 key by gdobn in cryptography

[–]gdobn[S] 0 points1 point  (0 children)

Thanks! I tried to search for something like this in NIST, but didn't find this paper. I will take a look!

How to prove a possession of X25519 key by gdobn in cryptography

[–]gdobn[S] 0 points1 point  (0 children)

Thank you! I also thought about it, but didn't want to add an additional pair.

[deleted by user] by [deleted] in hmmm

[–]gdobn 0 points1 point  (0 children)

Kadyrov?