• 1 Post
  • 107 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle




  • Back in the '90s, when you created a game, you had to build three separate game engines for DOS, Windows, and MacOS, with their separate audio and video drivers. Or you just selected DOS and ignored all Mac users.

    SDL was revolutionary, it could create an OS window for you to draw onto (or emulate a full-screen ‘window’ for DOS), and output 2D video and sound using the same SDL calls, on DOS, Windows, MacOS, Linux, AmigaOS, and even Sony PlayStation. So you had the same source code compiling to 6 different game binaries for each platform.

    SDL does not implement 3D graphics, it just initializes OpenGL in a window and passes that to your code, because the game studios went all ‘fuck you I’m using OpenGL or I’m ignoring your XBOX entirely’ so even Microsoft was forced to support OpenGL on top of it’s incompatible proprietary DirectX 3D drivers, so OpenGL became the new standardized cross-platform API for 3D graphics.

    Vulkan is a replacement for OpenGL which can use multiprocessor architecture, OpenGL is strictly single-threaded so your high-end 12-core gaming CPU ends up with one overworked core drawing all the graphics and 11 lazy cores performing Windows update in the background. The rules are already established, so every GPU and chip manufacturer will either support Vulkan or not have 3D graphics at all.




  • The only reason why they are separate is corporate politics. At the time Google decided to make a web-browser-only laptop, Android codebase was a stinking pile of garbage, the tablet version of Android failed hard, and Android would not support such fancy gadgets as a mouse or an Ethernet cable, because oh no, they need to design a new page in system settings.

    It’s always easier to start a new project from scratch with a new team than fix the pile of shit that is your existing commercially successful operating system, because (oh no!) you have you integrate into the existing team, adopt their coding style, and fight their established management at each step, who only cares about phones and ignores even tablets, much less laptops.

    Both Android and ChromeOS used the same identical Linux version from day one. Both Android and ChromeOS can be installed onto the same exact hardware.

    So ‘merging’ most probably means that they will port Android on all Chromebooks, lock system settings, strip every app except Chrome, change the color theme so it looks more like ChromeOS, then kick one of the management teams out, to work on the Google’s fifth chat app, with AI, or forced to quit (developers need not worry, they are all moving to Android team to implement that system settings dialog for notifying the user that Ethernet cable is plugged).



  • When the star is sufficiently big, it will simply generate a smaller black hole at it’s center when collapsing, and the rest of the star mass that did not get included into the black hole will suddenly lose the structural support of the star core and will swing inwards and then outwards and form an accretion disk, because it’s impossible for all the outer mass to fall exactly at the center, there will always be some rotation and wobbling, and the black hole itself is very dense, so it will consume only as much mass as it’s cross-section. So that places the upper limit on the black hole size.

    There is no clear theory on how supermassive black holes were created, supposedly the specific region of space just happened to contain a lot of smaller black holes right after Big Bang, and they did not get enough time to fly away and merged, and then slowly fed on gas clouds.

    The stellar bodies like stars and black holes are also located very far away from each other and are very unlikely to ever meet, so two black holes colliding usually means that they have somehow traveled at sufficiently close distance from each other and got entangled, then they rotate each other for millions of years just bleeding their kinetic energy as gravitational waves, until finally they merge. So a black hole merging with another black hole is already an improbable event, but we are catching many such events because we are listening to the whole observable universe at the same time. And now imagine the chances of that merged black hole to bump into another black hole.

    For the same reason the merged black hole is always rotating, it’s just impossible for two black holes to collide exactly center-to-center, any small offset means they will orbit each other, and near collision they will orbit each other really fast.