• 2 Posts
  • 32 Comments
Joined 5 months ago
cake
Cake day: September 5th, 2024

help-circle


  • 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
    ·
    2 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.