• 0 Posts
  • 431 Comments
Joined 1 year ago
cake
Cake day: June 22nd, 2023

help-circle
  • Because usually if you end up at the API reference in that situation it’s a code / project smell that other stuff is going wrong.

    If I want to use a library to do something, you should be able to search for what you want to do + language / framework, find the library’s docs, follow the install instructions and then look through the highest level API / instructions and then just go from there.

    If you find yourself confused at unhelpful API references that just means that they have badly written top level API docs, badly written intros, or quite probably just badly written APIs.









  • For software to run on a computer, it needs to tell the computer what to do, “display this picture of a flower”, “move my character to the left”, “save this poem to a file”.

    And for a bunch of different software to all run on the same machine, they all need to use the same basic set of instructions, this is called the machine’s Instruction Set.

    Because the instruction set has to work for any software, these instructions don’t look that readable to us, instead of “show this flower” they might be “move this bit of memory into the processor”, but software builds up millions of those instructions to eventually display a flower.

    Intel processors used a set of instructions that were called x86, and then when AMD made a rival processor, they made theirs use the same instruction set so that their processors would be compatible with all the software written for Intel processors (and when they needed to move from 32bit instructions to 64bit instructions, they made a new set called x64).

    Meanwhile Apple computers for a long time used processors built by IBM that used IBMs PowerPC instruction set.

    Now many companies are using the ARM instruction set, but ARM is still a private company you have to pay licensing fees to, so RISC-V is rising as a new, truly open source and free to use instruction set.






  • You’re really trying yourself in knots to try and blame the big bad corpos and no one else.

    Yes they are shoving it in people’s faces, and when the average person uses their default browser with a default search engine and searches on Bing and it uses AI in addition to a search index they are to blame, but every single user who intentionally seeks out ChatGPT or Copilot is also to blame.

    It’s a new technology, people are going to use it and burn energy with it and then eventually we will make a more efficient version of it as it matures, similar to everything else, including traditional search.