• 0 Posts
  • 122 Comments
Joined 2 years ago
cake
Cake day: July 2nd, 2023

help-circle


  • You can put any type of value in an array in JavaScript. You can have numbers, strings, booleans, arrays, and objects. So what should the default sort function sort by? Sorting by numbers makes sense, but what if it wanted to sort strings instead?

    When you don’t know what value is in an array ahead of time you can’t assume how to sort it. When you’re controlling the program you can provide a sort function for the type of values you know will be in it, but when you’re writing the standard default sort function, there’s only one type that you can convert all the other types to safely and simply in the most predictable way, which is strings.







  • It’s still called programming, coding is the same thing. Assembler more commonly refers to the utility program that converts the assembly code to machine code while assembly refers to the code itself, but the term assembler code is also valid. It’s uncommon to simply call the code assembler because it would be easily confused with the utility program.


  • This ruling seems to be really badly misinterpreted. The case wasn’t for people using ai tools to create works but from a computer scientist who created a completely autonomous tool and was trying to co-copyright the works with the tool. Copyright needs human involvement, how much human involvement is still not hard law, but if you integrate the output of an AI and integrate it into a larger work that is very much covered.