e

  • 6 Posts
  • 307 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle
  • I installed arch “from scratch” for the first time after installing it with archinstall like 4+ times previously, and yes it definitely somewhat did this, but honestly not quite to the extent that I expected. I feel like most of my system’s configuration was determined for me by the KDE plasma dependencies and defaults lol

    My bootloader configuration is definitely one of the parts that I was more exposed to with a manual install, but honestly I don’t really see how what I learned would help me fix issues like that in the future, more about how I could customize the boot screen and extend my configuration with more boot options

    idk it was a good experience to have but I think it brought more personal satisfaction than real practical benefit



  • lol I randomly searched for a page from collabora about how they reverse engineer GPU drivers (since I’ve seen that they’ve done that for other GPUs) and the very first page I went to was written by this person. Apparently this was a side project while she did fairly similar work on Mali GPUs at Collabora.

    Anyways, here’s what she said about the process:

    Typically, for Linux or Android driver reverse-engineering, a small wrap library will be written to inject into a test application via LD_PRELOAD that hooks key system calls like ioctl and mmap in order to analyze user-kernel interactions. Once the “submit command buffer” call is issued, the library can dump all (mapped) shared memory for offline analysis…

    it took some elbow grease to identify the three critical calls: memory allocation, command buffer creation, and command buffer submission…

    With those obstacles cleared, we can finally get to the shader binaries, black boxes in themselves. However, the process from here on out is standard: start with the simplest fragment or compute shader possible, make a small change in the input source code, and compare the output binaries. Iterating on this process is tedious but will quickly reveal key structures, including opcode numbers.

    From https://alyssarosenzweig.ca/blog/asahi-gpu-part-1.html , there’s a lot more details about the subsequent parts of the process in the next articles but they’re harder to summarize


  • I think it’s supposed to be that how AI turns high level instructions into code is compared to how compilers turn code into assembly. Implying that using AI is just a natural extension of the handing off work to the computers that we’ve already been doing.

    I wonder if you gave different AI models some c++ or something and told them to write assembly based on it how well they would do compared to an actual compiler


  • The SpaceX IPO was hilariously ridiculous. They were saying that in a few years they’ll be launching Starships every few hours. Meanwhile they haven’t even delivered payload to orbit with them yet… (As they still don’t trust it enough I guess)

    Anyone who knows anything at all about spaceflight could tell you that was both stupid and impossible, yet they just get away with it. It’s blatantly obvious lying to investors, but I’m sure they’ll make up some excuse or pretend they never said that by the time it’s 2030 and they’re not launching Starships every few hours









  • lol as a piano player I feel like my hands get quite a bit of exercise

    And in general piano players are known for having quite large hands (although that’s by no means universal) it really makes some things quite a lot easier. I think it also trains you to stretch your handspan more than non-piano-players can with equivalently sized hands, although I’m sure that won’t help you open a beer ofc.






  • I was about to say this same fact on another comment above, but then I read the wikipedia article again

    apparently it isn’t like an ‘official’ national dish, I guess it comes from Foreign Secretary Robin Cook referring to it as “a true british national dish” in a speech

    Chicken Tikka Massala is now a true British national dish, not only because it is the most popular, but because it is a perfect illustration of the way Britain absorbs and adapts external influences. Chicken Tikka is an Indian dish. The Massala sauce was added to satisfy the desire of British people to have their meat served in gravy. (full speech) (wikipedia)