• 0 Posts
  • 18 Comments
Joined 7 months ago
cake
Cake day: September 5th, 2024

help-circle

  • redxef@feddit.orgtoLinux@lemmy.mlWhy do we hate SELinux?
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    8 days ago

    Docker container can’t read a bind mount. Permission issue? No, it’s SELinux, again. And I didn’t even install it explicitly, it just got pulled in by another package.

    And to be clear, the issue isn’t SELinux really, but unexpected non standard behaviour which I never asked for (never explicitly installed it).


  • redxef@feddit.orgtoLinux@lemmy.mlMore info on pixel 4a battery nerf by Google
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    2 months ago

    Seems like I have an affected device. No thanks to google for helping me figure that out. Their useless page shows no information regarding that. Had to look at the serial number of the battery: sudo cat /sys/class/power_supply/battery/serial_number. Which contains the string from the mastodon post.

    Now, I have a custom ROM, so that means I won’t suffer degraded battery capacity, it just might be dangerous to continue to use my phone.





  • redxef@feddit.orgtoich_iel@feddit.orgIch🐮🐍🖥️iel
    link
    fedilink
    English
    arrow-up
    12
    ·
    4 months ago

    Lustiger Fakt: Python ist stark typisiert (aber dynamisch), aber booleans sind trotzdem integer:

    assert isinstance(True, int)
    

    War die einzige Falle in die ich bis jetzt rein gelaufen bin, die wirklich gemein ist.

    Und typehints im Zusammenhang mit cython. Und cython eigenheiten generell.