• 0 Posts
  • 44 Comments
Joined 1 year 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.






  • I assume it creates some sort of save file in the current working directory?

    You may try changing the working directory via batch script, if you’re on Windows.

    Make a text file, name it something like launch.bat (the actual name may be whatever you want, just make sure you leave the extention .bat) Paste this there:

    @echo off
    cd /d "%~dp0"
    start "" "game.exe"
    

    Be sure to replace game.exe with your game’s .exe filename. Don’t delete any double quotes, they are important.

    Put this text file near .exe file of your game, and make a shortcut of it to your desktop. You may rename a shortcut and choose an icon from your game’s .exe file to make it pretty.

    After that just launch the shortcut as you normally would. If I’m correct, the game should create it’s .bin file in the script directory and not in your desktop.




  • I’m perfectly aware of what I’m talking about. He lost control of company’s shares to government-affilated people and they fired him. What an unpredictable turn of events. I don’t really care if it happend due to stupidity or malice, considering the amount of public stunts he pulled off at the time, I doubt you can call his course of action straightforward.

    Even when he was fired, they did it with his own resignment notice he submitted as April Fool’s joke. The guy is a literal clown, I have no idea why you’d entrust him with your data.


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