Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)AN
Posts
0
Comments
404
Joined
2 yr. ago

  • To my understanding, the original meaning of object oriented is more similar to what we call the actor model today.

    In reference to the modern understanding of OO, js uses prototypal inheritance, which some consider closer to the original vision.

  • That boolean can indicate if it's a fancy character, that way all ASCII characters are themselves but if the boolean is set it's something else. We could take the other symbol from a page of codes to fit the users language.
    Or we could let true mean that the character is larger, allowing us to transform all of unicode to a format consisting of 8 bits parts.

  • It might also introduce spurious data dependencies

    Those need to be in the in smallest cache or a register anyway. If they are in registers, a modern, instruction reordering CPU will deal with that fine.

    to store a bit you now need to also read the old value of the byte that it's in.

    Many architectures read the cache line on write-miss.

    The only cases I can see, where byte sized bools seems better, are either using so few that all fit in one chache line anyways (in which case the performance will be great either way) or if you are repeatedly accessing a bitvector from multiple threads, in which case you should make sure that's actually what you want to be doing.

  • C/C++ considers an nonzero number, as your true value but false is only zero. This would allow you to guard against going from true to false via bit flip but not false to true.
    Other languages like rust define 0 to be false and 1 to be true and any other bit pattern to be invalid for bools.

  • Pope

    Jump
  • Probably because she payed to be dead weight on the dick rocket that was marketed as the first all female space missions.
    In reality Valentina Tereshkova became the first woman in space and because she flew solo it was also the first all female space mission.

  • You are supposed to run sudoedit.
    This command creates a temporary copy, opens it in you editor of choice and overwrites the protected file when the temp file changes.
    That way the editor doesn't run as root.
    You can see the difference if you run shell command, like whoami, in vim.

  • I think there is a misunderstanding, what running locally means.
    You can run a gitlab runner on your local machine, but it needs to pulls it's jobs from git. It also requires gitlab to register your runner, so it can't really work for new contributors to use themselves.