Off-and-on trying out an account over at @[email protected] due to scraping bots bogging down lemmy.today to the point of near-unusability.

  • 14 Posts
  • 1.03K Comments
Joined 2 years ago
cake
Cake day: October 4th, 2023

help-circle


  • While I agree that I don’t think that an LLM is going to do the heavy lifting of making full use of Rust’s type system, I assume that Rust has some way of overriding type-induced checks. If your goal is just to get to a mechanically-equivalent-to-C++ Rust version, rather than making full use of its type system to try to make the code as correct as possible, you could maybe do that. It could provide the benefit of a starting place to start using the type system to do additional checks.






  • https://en.wikipedia.org/wiki/Zram

    One of the mechanisms for compressing memory in Linux. Trades CPU time for effectively having more RAM Recent versions of Fedora apparently have it on by default.

    I’ve read that zswap, another mechanism, is preferable on newer systems with NVMe/SSD, where paging isn’t as painful; that only compresses pages going to swap, but requires that you actually have some swap. I haven’t used either.

    Probably someone should try benchmarking them for various workloads if systems are going to be running on much less memory for a while. Was more of an edge case thing that not many people cared about, but if operating with less memory is suddenly more important, might have broader interest.

    On Linux, also possible to opt for lighter-on-memory versions of a lot of software that you’re kinda committing to using the Microsoft-provided version of on Windows. File browser, compositor, etc.












  • tal@lemmy.todaytoComic Strips@lemmy.worldBeen there
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    5 days ago

    Kismet can use a GPS sensor and multiple WiFi strength readings as one moves around to do a pretty good job of mapping WAPs.

    I’ve been kind of disappointed that F-Droid doesn’t appear to have any program using Android’s Location Services with high-resolution positioning to build a map of the location of nearby Bluetooth devices.

    I have, on occasion, not been able to remember where I set my Bluetooth headphones.



  • I commented elsewhere in the thread that one option that can mitigate limited RAM for some users is to get a fast, dedicated NVMe swap device, stick a large pagefile/paging partition on it, and let the OS page out stuff that isn’t actively being used. Flash memory prices are up too, but are vastly cheaper than RAM.

    My guess is that this generally isn’t the ideal solution for situations where one RAM-hungry game is what’s eating up all the memory, but for some things you mention (like wanting to leave a bunch of browser tabs open while going to play a game), I’d expect it to be pretty effective.

    dev tasks, builds…etc

    I don’t know how applicable it is to your use case, but there’s ccache to cache compiled binaries and distcc to do distributed C/C++ builds across multiple machines, if you can coral up some older machines.

    It looks like Mozilla’s sccache does both caching and distributed builds, and supports Rust as well. I haven’t used it myself.


  • The big unknown that’s been a popular topic of discussion is whether Valve locked in a long-running contract for the hardware before the RAM price increases happened. If they did, then they can probably offer favorable prices, and they’re probably sitting pretty. If not, then they won’t.

    My guess is that they didn’t, since:

    • They announced that they would hold off on announcing pricing due to still working on figuring out the hardware cost (which I suspect very likely includes the RAM situation).

    • I’d bet that they have a high degree of risk in the number of units that the Steam Machine 2.0 will sell. The Steam Deck was an unexpectedly large success. Steam Machine 1.0 kinda flopped. Steam Machine 2.0 could go down either route. They probably don’t want to contract to have a ton of units built and then have huge oversupply. Even major PC vendors like Dell and Lenovo got blindsided and were unprepared, and I suspect that they’re in a much less-risky position to commit to a given level of sales and doing long-running purchases than Valve is.

    I’ve even seen some articles propose that the radical increase in RAM prices might cause Steam Machine 2.0’s release to be postponed, if Valve didn’t have long-running contracts in place and doesn’t think that it can succeed at a higher price point than they anticipated.