• 3 Posts
  • 315 Comments
Joined 2 years ago
cake
Cake day: November 24th, 2023

help-circle

  • RustyNova@lemmy.worldtoProgrammer Humor@programming.devGitHub auth
    link
    fedilink
    arrow-up
    75
    arrow-down
    4
    ·
    6 hours ago

    I kinda hate the push towards passkeys. If you have two factor Auth, going to passkeys makes you go back to 1 factor, aka less secured.

    There’s also more and more 2FA fatigue attacks going on, and they can affect passkeys too, and if you don’t have a 2FA that involves the user writing a code on the 2FA device, passkeys could be quite possibly worse than passwords





  • This is also part of my death, because it’s much easier to not deadlock when you are FIFO.

    Personally I went for the nuclear option, and any transaction is sent as a tokio task to make sure the transaction keeps getting polled despite other futures getting polled. Coupled with a generous busy timeout timer (60secs) and Wal mode, it works pretty well.

    Probably should also put the mutex strategy (perhaps a tokio semaphore instead?) although due to lifetimes it might be hard to make a begin() function on my DB pool wrapper.

    … Congratulations. You nerd snipped me. Time for it to go on the todo stack.

    Hyped for it too, but wouldn’t use until sqlx suport. Compile time checked queries are just so good. I don’t use rustsqlite for that reason alone (you often don’t need async SQLite anyways)







  • Been maining Linux mint for 3 years now. I did distrohop once to nobara to see if the grass was greener on the other side, but had to revert due to Nvidia.

    … The grass wasn’t green, but tasted exactly the same. Apart from Nvidia (which isn’t a distro issue but more shitty company that can’t make things right), the only noticeable changes is going from cinnamon to KDE.

    There’s no “stupid distro” nor “smart distros”. Everything is valid. (Although I’d argue that Linux mint is the best beginner distro, to let people get into Linux gently before eventually trying something else)





  • Mint main here, and I’ll say outright: most distros are good for gaming. Got steam? Then you have an easy install of proton. Got flatpak? You got bottle to help you setup wine configs.

    Mint is not setup out of the box for gaming (unlike distros like nobara), but it’s still arguably easier to install than windows’s exes.

    I recommend mint to start getting into Linux. Keep it 4-5 months as daily driver, then you’ll be free to try other things. Personally I did some distro hopping, but came back to it as it was just… Good and stable.

    … Until you talk about Nvidia. By default, mint uses the nouveau drivers… Which can be hit or miss. There’s the driver manager to help you one click install other versions, but you might have to try a few to get it working. If steam games crashes on startup, but not in Nvidia GPU only mode, that might be a bad version. That’s not really a mint thing, but it’s good to know.





  • RustyNova@lemmy.worldtoProgrammer Humor@programming.devGIT the Princess
    link
    fedilink
    arrow-up
    56
    arrow-down
    3
    ·
    edit-2
    23 days ago

    You have rust:

    You spent a lot of time planning and simulating the perfect rescue plan, and perform a blazingly fast 🔥🚀 and perfect rescue,

    But you bore the princess to death explaining why she should stop being a princess and instead become a knight that rescue princesses.

    I love rust btw, but the cultist behaviour needs to stop.