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/)GI
Posts
6
Comments
576
Joined
2 yr. ago

  • Temperatures are pretty normal around 40-45°C as seen in the screenshot. Under stress it went up until 85°C, but still normal frequencies and the device was usable.

    Throttling seems to be an idea, I found this Git repo, but I have no idea how to confirm this is the issue (and also don't fully understand it), so I'd rather not install it.

    With re-checking on Windows you mean create a Windows stick and boot from that (is that possible?) I formatted the drive of the laptop, so no dual boot available..

  • I am subscribed to 30-40 communties. I only use subscribed, sorted by Hot. I am pretty happy with what I am seeing, the content changes from the morning to the evening pretty much. Yes, a lot is member, but there is also tech and politics. I even blocked .ml and still have enough content...

  • He literally doesn't care about his reputation. I asked him once why he became boss, and he said "at one point you may notice your boss is shitty at his job so you need to do it on your own". Also he is an ex programmer doing project management, which is very refreshing compared to ex project manager who are doing project management.

  • This is what I would come up with:

     py
        
    try:
        if len(foo) == 0:
        ...
    except TypeError:
        ...
    
      

    There is no need to add a None check, as foo being None should be considered as a faulty input. Avoiding the possibility of foo being None from the beginning using static checks or testing is of course the preferred solution. But in reality we do not work in such optimal environments, at least I can say that from the perspective of data science, where often procedural, untested code is produced that runs only a few times. But I get your point and I think both paths are viable, but I am also okay with being in the wrong here,

  • I am not saying it's better, just that I don't like the proposed way :) I would argue that being "pythonic" has even less value than the Zen, which I quoted because it's true, not because it is some strict rule (which it isn't anyway).

    You could argue I also need to write that extra code for the if not case, as I explicitly have to check if it is None if my program somewhere further down expects only lists.

    Hunting for those sweet milliseconds is a popular game in the Python community ;) if this mechanism is that important for your program, you should definitely use it, I would do as well!