Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)RU
Posts
29
Comments
717
Joined
2 yr. ago

  • 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)

  • Tbh trigger performance isn't that much of a concern unless you need to write lots of data, which most usage don't need.

    Also try check statements instead or even re-evaluate your schema to prevent them if you really need to.

    Personally my death would be multiple write transaction deadlocks. Sadly it doesn't play that well with async code, like with sqlx (rust).

  • I really like librewolf. Does need some getting used to and actually learn to manage profiles (which it sadly remove the new profile browser for some reason?), but pretty great and "just works"

  • 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)

  • After reading the entirety of the sword comics, I can assure you that if it was actually spelled "grate" I would have assumed it was literal.

    Although it also could not be narrator talk, but in universe folklore where word of mouth could have easily messed up the two

  • CunkPosting @lemmy.world

    Hmm... Spaghetti...

    KDE @lemmy.kde.social

    Reduce animation time for Task Switcher

    Selfhosted @lemmy.world

    Restart an OOM killed docker automatically

    VS Code @programming.dev

    Automatically ask for stashing changes when switching branches

    Visual Studio @programming.dev

    Stash changes on branch switching

    Open Source @lemmy.ml

    Audio effects for Windows (Like Easy Effects)

    Source Memes @lemmy.world

    Tumbler is looking suspiciously like Aperture's chat room

    Nobara Project @lemmy.ml

    Switching from Linux Mint to Nobara on a secure boot and dual booted laptop

    Eternity @lemdro.id

    This post is crashing upon loading (Also impact Eternity 0.1.2)