• 0 Posts
  • 60 Comments
Joined 8 months ago
cake
Cake day: October 16th, 2025

help-circle


  • I believe that, but… why should that be the case? It’s a convention without a reference or motivation. I remember when they were new and I really had nothing to refer to and just having no idea whether they were on or off. The fact that I’ve got used to them now isn’t really that forgivable. In contrast, checkboxes not only have convention behind them, but mimicked filling in paper forms which many people were and are familiar with anyway. The idea that “filled” is on and “empty” is off seems inherently more intuitive even if you’ve never filled in a form if you just know that the concept of forms that you fill in exists.


  • GNOME settings pages don’t have “apply” buttons. When do you think a selection from a drop-down or numerical selector takes effect?

    Yes, most settings now take effect immediately, and that’s great. (I think KDE still prefers a separate “apply” step though). That is (still) separate from the decision of how to style something which turns something on and off, which is what I’m complaining about. I don’t take any issue with having things apply immediately.

    You raise visual impairment, which is exactly why I’m complaining. Look at the image and tell me, which of the controls is on, and which is off?

    image


  • Taking effect instantly is not really indicated by the control shape; it’s indicated by whether or not the form has a button equivalent to “apply”. Settings pages with checkboxes that applied immediately have been common for years; this distinction is not nearly as clear cut as you make out. I suspect what is going on is that both toggle switches and the removal of a separate apply step has gone on gradually at the same time.

    But a good thing to think about is all the other controls: drop downs, text entry boxes, date pickers - these have no second version which might apply instantly or not! So it’s a mistake to think that information is conveyed by the look of the control.






  • This actually looks good. Though at this point I get annoyed at anything that doesn’t make an effort to be compatible with Markdown - idk if there’s any good reason they chose # as the symbol for introducing code lines, but surely it makes sense with the ubiquity of markdown to make that start a header. Similarly with * for emphasis and whatnot.

    But it genuinely looks like a good effort to dispense with the backslashes and braces of LaTeX yet retain a coherent and comprehensive mathematical output.

    What is surprising is that it doesn’t appear to ultimately just call through to TeX. That probably means it has a chance of having good error handling and decent performance… I will have to give it a try.






  • Looks like the chipset/graphics driver is crashing. That can be because of the driver or the hardware.

    It will be hard to diagnose, but you can search for the most detailed of those log lines together with your laptop model and see if that yields anything. There problem is that it’s never possible to know whether you have a software issue or a hardware issue that is exposed by particular software.

    You can try installing a completely different os (i.e windows) to see if the same problem occurs - if it does you can be fairly sure it’s hardware.



  • An almost-complete lockup on Linux is basically always due to running out of memory and having to hit swap. A system can run at 100% CPU and still be usable, but when it hits 100% memory, it will not be usable. For a desktop system, that means keystrokes, if they are registered at all, won’t be registered until minutes have passed. For a server, it will mean all requests time out.

    Unfortunately, Linux’s approach to memory management firstly allows this to happen and secondly fails to solve it once it does happen. What is supposed to happen is that the “OOM killer” wakes up and kills off a process to free up memory. That may theoretically happen if you left the machine on for a year, but what actually happens is that the amount of memory needed to run programs exceeds the amount of physical RAM, but swap is still available, so the OOM killer doesn’t give a shit. At this point many, many operations in programs are taking several orders of magnitude longer than they should do because instead of fetching a value from memory they need to:

    1. context switch to the kernel
    2. find some memory to write to disk, and write it
    3. find the requested memory on disk, and read it into memory
    4. context switch back to the process

    So while your PC is running 100-1000x slower than it normally would, the OOM killer is doing nothing. If you manage to consume all your swap space, then, and only then, will the OOM killer wake up and kill something. It may kill the right thing, or it may not.

    The modern approach is to use a user-space OOM daemon which monitors memory and swap usage and aggressively kills processes before that happens. Unfortunately, this tends to result in killing your (high-memory) web browser, or the whole desktop session.

    Sucks. Get more RAM for your sever maybe.