• 0 Posts
  • 114 Comments
Joined 2 years ago
cake
Cake day: August 6th, 2023

help-circle












  • not familiar with the specific app you’re using. am I reading that right, that you’re throttling on power, current and temp?

    if so, there’s not much you can do. but if it’s just temp throttling, you can get better fans/cooling.

    if you’re already satisfied with fans/cooling, then yes, you’re pretty much using it to it’s max.

    to be clear: throttling on power and current means you’re getting as much as you can out of the hardware you have (without over clocking or similar). although, make sure your CPU governor is ‘performance’.

    throttling on temperature alone means you’re not getting the most out of you’re hardware that is technically possible, it means you’re hitting the thermal TDP of the system. for some systems (laptops, generally), there’s not much you can do there. but for others, you can tinker with cooling.







  • Yeah. ‘lib’ isn’t a standard Python library, it’s the name of the abomination that this person created. Since python has quite a bit of useful introspection, they can do something like:

    • get the stack
    • find the exact call to abomination.add()
    • reparse the text of that line, turn the text of the comment into actual numbers, and add them

    Now, I don’t know if python keeps the comments around, so it may involve getting the filename and line number, reading the file, and manually extracting the comment text from that line.