• 0 Posts
  • 20 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle




  • There is no single person responsible for Cyrillic script. It is mostly believed to be created by mixing and changing Greek and Glagolic scripts by the scholars of Preslav Literary School, which was indeed in Bulgaria. After a while, Peter the Great changed it a lot. And then Stalin stomped out almost all the deviations in the usage of the script.

    The last part is mostly why it is considered Russian. A lot of languages suffered because of Moscow just forcing them to use the version of Cyrillic that Russians were using.




  • rand() generates a number from 0 to a constant defined in stdlib, which usually corresponds to the architechture of your compiler. So, for 32 bit systems (assuming all the software in the line is 32 bit, too) it will be 2^31-1 = 2 147 483 647, as 1 bit in integers is reserved for negative numbers and 1 number is 0.

    Though, by design it is guaranteed to be at least 32767, which is a value for 16 bit integers.





  • Probably not, if we’re speaking about the next adapter in the line. They both use 4 pins, and there are no active conversion in the adapter itself, it just connects the pins like this:

    USB ↔ PS/2
    +5V ↔ +5V
    D-  ↔ D
    D+  ↔ CLK
    GND ↔ GND
    

    So, as long as next adapter is not doing something funny with PS/2 signals, it should be ok for bare USB 2.0 connection.


  • Might depend on where you were learning.

    On paper, when I was learning Descartes’ coordibate system, we used Y as up and X as left-right. And when it was time to plot in 3D, we used Z to “extend” the plane into yourself and away from yourself.

    You just hold your sheet of paper perpendicular to the ground (or just use a whiteboard) and it all makes sense.






  • Except it’s a proprietary piece of junk stuck on USB 3.1 (and I love my thunderbolt connectors too much to let it slide), that can’t offer proper power delivery because of power pin literally burning out.

    The only thing they did good is fixing the need to check cable orientation before inserting it (yes, you don’t have to try three times, you can just actually use your eyes, USB-A connector’s orientations can easily be told apart just by two square thingies on each of it’s sides).

    But as USB-C came out two years later, it wiped the floor with lightning. Anyone saying otherwise is either insane, didn’t read the specs or purposefully misleading you. And only now Apple is switching over. Freaking 7 years later. Though, not because they realize how inferior their connector is, but because they were made to.