Your friendly local programmer, uni student and *nix addict.

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

help-circle








  • I don’t know about dangerous, but case-insensitive Unicode comparison is annoying, expensive and probably prone to footguns compared to a simple byte-for-byte equality check.

    Obviously, it can be done, but I guess Linux devs don’t consider it worthwhile.

    (And yes, all modern filesystems support Unicode. Linux stores them as arbitrary bytes, Apple’s HFS uses… some special bullshit, and Windows uses UTF-16.)





  • Most of the more exotic colors (such as green) are caused by various optical tricks.

    Physically speaking, all true stars are roughly one of these colors:

    • Red
    • Orange
    • Yellow
    • White
    • Blue

    The exact color of a star depends on its size/temperature. Red stars are the coolest, while blue stars are the hottest.