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

help-circle



  • For LLMs it entirely depends on what size models you want to use and how fast you want it to run. Since there’s diminishing returns to increasing model sizes, i.e. a 14B model isn’t twice as good as a 7B model, the best bang for the buck will be achieved with the smallest model you think has acceptable quality. And if you think generation speeds of around 1 token/second are acceptable, you’ll probably get more value for money using partial offloading.

    If your answer is “I don’t know what models I want to run” then a second-hand RTX3090 is probably your best bet. If you want to run larger models, building a rig with multiple (used) RTX3090 is probably still the cheapest way to do it.







  • If you’re using btrfs then you might need to rebalance it. I had the same problem, i.e. “no free space” while tools like df reporting that there should be available disk space, and it confused the hell out of me until I found the solution.

    See manual: https://btrfs.readthedocs.io/en/latest/Balance.html

    This are the commands I run every now and then, especially if my drive has been close to full and I delete a bunch of files to make more space:

    sudo btrfs balance start -dusage=10 /
    sudo btrfs balance start -dusage=20 /
    sudo btrfs balance start -dusage=30 /
    

    The / at the end is the path, since it’s my root mount which uses btrfs. The example in the manual does 40 and 50 too, but higher numbers take longer time, even on an nvme ssd.




  • It looks pretty, but IMO one of the selling points of zsh is that it allows async updating of the prompt, allowing you to use slow commands like “git status” without adding a delay every time the prompt needs to be printed.

    E.g. the default prompt from prezto is quite light and responsive, but when inside a git repo adds the info on the right side (shows when you have commits ahead/behind the remote branch, stashes, modified/deleted/added/staged files, etc) when that becomes available.

    Image

    Didn’t look like any of the example themes on ohmyposh.dev had the $RPROMPT stuff, which I guess would be difficult support for a cross-shell theming engine.


  • In the defence of client side AC; if the entire game runs on the server, then network delay makes FPS:es awful to play. Being able to trust clients and let them do hit detection is quite important in making online FPS:es responsive. In addition, cheats that remove walls/grass, highlight players or even autoaim are near impossible to detect server side. One could try to use heuristics and statistics but it would be difficult to tell the difference between cheaters and players who are just good at aiming and map awareness.



  • I also use KDE because I like customizing my DE, but I’m not sure I agree that it’s hard to break. When I just switched from Xfce to KDE I downloaded several global themes using the built-it theme browser, and a few of those definitely messed things up. It’s also happened more than once that I boot my computer and end up with only the desktop background (i.e. no panels or context menu) because KDE thought there was some wrong with the theme, which can be difficult to recover from for someone who doesn’t know how to ctrl-alt-F3 and edit settings manually. Though it’s ofc. more stable when not testing global themes, and only changing other appearance settings.