Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @[email protected]

  • 3 Posts
  • 561 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle


  • ECC (and other methods) write the corrected value back to memory

    That was my understanding (it corrects the error and writes the good value back to RAM), but now I’m not so sure! I imagine it must do that, otherwise a second bit flip would actually corrupt the RAM, and the RAM manufacturer would want to reduce that risk.

    Regular ECC adds an extra parity bit for each byte. For each byte of memory, it can correct an error in one bit, and detect but not correct an error in two bits, so they wouldn’t want a one bit error to linger for longer than it needs to.




  • Prices will go up before black friday

    It’s before Black Friday now :P

    Amazon show a “lowest price in 30 days” badge if the price is the lowest in the past 30 days, so companies that sell their products on Amazon will sometimes raise the price 30 days before Black Friday.

    Some companies will make units specifically for black friday. Usually cheaper, less features, and sometimes less reliable.

    This has always been the case. Same with outlets - some items at outlet stores are specifically made to be sold at the outlet.



  • A better use of your time is to improve documentation. Developers generally hate documentation so it’s often in need of improvement. Rewrite confusing sentences. Add tutorials that are missing. Things like that. You don’t necessarily have to be a good developer or even understand the code of the project; you just have to have some knowledge of the project as an end user.







  • dan@upvote.autolinuxmemes@lemmy.worldI'm doing my part!
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    8 days ago

    I switched back to Linux on the desktop earlier in the year. I hadn’t used it on a desktop/laptop since 2008 so I was pleasantly surprised how much better things are these days (except suspending a laptop which seems to still be kinda broken). I’m glad we don’t have to deal with AMD proprietary drivers (fglrx) any more.

    Something that wasn’t immediately obvious to me, coming from the BIOS era, was that if you want to install multiple Linux distros, you just need a single EFI partition and they can all use it.

    I also share my /home partition between Debian testing and Fedora, but that might be risky. I’m planning to remove Debian soon anyways. I love it on servers (and have used it for over 20 years for that purpose) and it’s what I was trying out initially, but on a desktop, Fedora has newer packages and a better out of the box experience. I’m also forced to use Fedora at work (I can choose Windows 11, MacOS, or Fedora) so I may as well use it on my personal computers too.


  • you can disable swap.

    Be careful with disabling swap if you don’t have a very large amount of RAM, as many apps rely on memory overcommitment and a large virtual address space, which can behave erratically without swap.

    You’d be better off keeping swap enabled and instead setting vm.swappiness = 0 in sysctl.conf.

    Swappiness is a value between 0 and 100, where 0 means to never swap unless absolutely necessary (only if you completely run out of RAM), and 100 means all programs and data will be swapped nearly instantly. Think of it like a target for the percentage of RAM to keep available. The default is usually 40 which is fine for a low-RAM system, but swaps way too often for a system with more RAM.