• 4 Posts
  • 417 Comments
Joined 11 months ago
cake
Cake day: July 31st, 2023

help-circle




  • With MacOS, specifically, it’s stupidly easy and unintrusive to enable disk encryption. Outside of that, programs can save key-value pairs to Keychain (a credential store) and use that to store a randomly-generated encryption key.

    It’s true that any program running with the user privileges and within its session can open the file, but once the user logs out it’s unreadable.

    If the data was saved to the login Keychain, it should only be accessible while that specific user is logged in. The existence of vulnerabilities notwithstanding, it should actually be reasonably secure as long as System Integrity Protection is enabled and the program in question isn’t running. SIP stops users (including root) from messing with system files or processes, and the Keychain requires a user password prompt to give programs access to entries created by other programs.

    Now, considering all the above… it would have taken a day at most to figure out how to encrypt the data before it gets written to the file so it’s not just sitting completely out in the open.










  • To offer a differing opinion, why is null helpful at all?

    If you have data that may be empty, it’s better to explicitly represent that possibility with an Optional<T> generic type. This makes the API more clear, and if implicit null isn’t allowed by the language, prevents someone from passing null where a value is expected.

    Or if it’s uninitialized, the data can be stored as Partial<T>, where all the fields are Optional<U>. If the type system was nominal, it would ensure that the uninitialized or partially-initialized type can’t be accidentally used where T is expected since Partial<T> != T. When the object is finally ready, have a function to convert it from Partial<T> into T.


  • It seems pretty obvious to me at this point that the DNC would rather lose than have an actual progressive win.

    It’s not in their interests to let a progressive win. Just like their counterpart, the DNC takes a shit ton of bribery donations from corporations lobbyists. Bringing in a progressive who would reform the system or push back against pro-corporate policies is biting the hands that feed them.



  • pivot_root@lemmy.worldtoLemmy Shitpost@lemmy.worldStay Mad, Tankies
    link
    fedilink
    arrow-up
    11
    arrow-down
    5
    ·
    edit-2
    6 days ago

    The system is set up in a way that the only viable options are between two evils, unfortunately. Under a FPTP system where the only good options are minority parties that won’t win a single seat in their districts, you’re left with the choice of voting for the lesser evil, or voting for your morals but increasing the risk of the greater evil winning.

    It’s a no-win situation.




  • I looked at the more detailed specs, and here we have:

    3 x audio jacks

    2/4/5.1/7.1-channel

    • You can change the functionality of an audio jack using the audio software. To configure 7.1-channel audio, access the audio software for audio settings.

    If using 2-pole aux jacks, those 3 back panel female connectors only provide 6 independent channels. If the case has a front panel connector, you can push that to 8 channels.

    The only way you’re squeezing 7.1 analog out of that is if you use the front panel as LR, use two of the three back panel ones as surround, and share center with the sub between the last remaining connector. But, that’s assuming that two of those back connectors aren’t for mic or line in.

    Maybe you could squeeze digital output through those jacks, but then you’d need a compatible receiver. Either way, stupid design for such an expensive motherboard.

    who is going to put a ryzen apu in a topend mobo??

    The Ryzen 9 7950X has integrated graphics, but if someone is willing to dump that much on a processor, they’re probably buying a GPU with it.