• 0 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle

  • rasensprenger@feddit.detoAsklemmy@lemmy.mlWhats your such opinion
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    8 months ago

    Apparently you can’t read either textbooks or wikipedia and understand it.

    Also, wait, you’re just a tutor and not actually a teacher? Being wrong about some incredibly basic thing in your field is one thing, but lying about that is just disrespectful, especially since you drop that in basically every sentence.







  • rasensprenger@feddit.detoAsklemmy@lemmy.mlWhats your such opinion
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    8 months ago

    Let me quote from the article:

    “In mathematics, the distributive property of binary operations is a generalization of the distributive law, which asserts that the equality x*(y+z) = x*y + x*z is always true in elementary algebra.”

    This is the first sentence of the article, which clearly states that the distributive property is a generalization of the distributive law, which is then stated.

    Make sure you can comprehend that before reading on.

    To make your misunderstanding clear: You seem to be under the impression that the distributive law and distributive property are completely different statements, where the only difference in reality is that the distributive property is a property that some fields (or other structures with a pair of operations) may have, and the distributive law is the statement that common algebraic structures like the integers and the reals adhere to the distributive property.

    I don’t know which school you went to or teach at, but this certainly is not 7th year material.


  • rasensprenger@feddit.detoAsklemmy@lemmy.mlWhats your such opinion
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    8 months ago

    About the ambiguity: If I write f^{-1}(x), without context, you have literally no way of knowing whether I am talking about a multiplicative or a functional inverse, which means that it is ambiguous. It’s correct notation in both cases, used since forever, but you need to explicitly disambiguate if you want to use it.

    I hope this helps you more than the stackexchange post?


  • rasensprenger@feddit.detoAsklemmy@lemmy.mlWhats your such opinion
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    8 months ago

    If you read the wikipedia article, you would find it also stating the distributive law, literally in the first sentence, which is just that the distributive property holds for elemental algebra. This is something you learn in elementary school, I don’t think you’d need any qualification besides that, but be assured that I am sufficiently qualified :)

    By the way, Wikipedia is not intrinsically less accurate than maths textbooks. Wikipedia has mistakes, sure, but I’ve found enough mistakes (and had them corrected for further editions) in textbooks. Your textbooks are correct, but you are misunderstanding them. As previously mentioned, the distributive law is about an algebraic substitution, not a notational convention. Whether you write it as a(b+c) = ab + ac or as a*(b+c) = a*b + a*c is insubstantial.










  • Almost all programs use both 32bit and 64bit integers, sometimes even smaller ones, if possible. Being memory efficient is critical for performance, as L1 caches are still very small.

    Garbage collection is a feature of programming languages, not an OS. Almost all native linux software is written in systems programming languages like C, Rust or C++, none of which have a garbage collector.

    Swap is used the same way on both linux and windows, but kicking toolbar items out of ram is not actually a thing. It needs to be drawn to the screen every frame, so it (or a pixel buffer for the entire toolbar) will kick around in VRAM at the very least. A transfer from disk to VRAM can take hundreds of milliseconds, which would limit you to like 5 fps, no one retransfers images like that every frame.

    Also your icon is 1.1Mbit not 1.1MB

    I have a gentoo install that uses 50MB of ram for everything including its GUI. A webbrowser will still eat up gigabytes of ram, the OS has literally no say in this.


  • I also think 50ms is a bit pessimistic, but there are locations which are far off of googles datacenters (at least until they finish their Johannesburg location, south africa seems very isolated) and you’re never directly connected via as-the-bird-flies fibre connections, actual path length will be longer than just drawing a line on a map.

    This can all be mitigated by just building more and closer edge servers, of course, but at some point you just have a computer in your room again.