• 0 Posts
  • 60 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle

  • grue@lemmy.mltoProgrammer Humor@programming.devIts not wrong though
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    10 months ago

    While DRM is the bane of everybody there are cases where trust and integrity is important and it’s an intriguing look into how hard it is to manage.

    Nah, when the user wants to ensure trust and integrity in his own system, it works just fine. The problem comes when the user who needs to be able to access the data is simultaneously the adversary who needs to be stopped from accessing the data.

    In other words, it’s one of those situations where the fact that it’s hard to manage is a gigantic clue that it’s wrongheaded to try to do so in the first place.



  • grue@lemmy.mltoProgrammer Humor@lemmy.mlno cap
    link
    fedilink
    arrow-up
    5
    ·
    10 months ago

    Edit: wait… return ! 0 ; wtf

    I mean, returning non-zero exit status on error is just good practice. It even managed to evaluate to the same numerical value as EXIT_FAILURE when I tested it on my machine (gcc 11.4.0 linux x86-64), although I’m not sure if that’s always the case or if it’s undefined behavior.

    This cursed code is quite well-written.




  • I have a similar issue (also Firefox on [K]ubuntu 22.04) every time I open a link on a logged-in site in a new tab, but in my case merely refreshing the page is enough to get me logged back in.

    I assume is most likely the fault of the fairly aggressive mix of extensions I’m running rather than Firefox itself, but I haven’t actually tried to troubleshoot it yet.








  • Sometimes there is so much configuration options a GUI would scare most users.

    Or if it didn’t, it would be because the dev limited the options displayed so much that it would cease to be useful for most users. (This is especially true when different users are likely to use different subsets of options rather than having the majority of them using the same subset.)



  • Trust me, you don’t want to be trying to maintain legacy Jython code at this point, let alone use it for anything new. All the “normal” Python infrastructure like Pip etc. has moved on and broken compatibility, so you’d have to find and maintain locally the last working compatible version of every single package you use. I suppose you could use Java libraries, but the impedance mismatch trying to use LBYL explicitly typed stuff in EAFP python is terrible. It’s just a horrible mess.