• 0 Posts
  • 33 Comments
Joined 2 years ago
cake
Cake day: July 5th, 2023

help-circle


  • the 1000x before bit has quite a few sideffects to it as well.

    • lesser used languages suffer because there’s not enough training data. this gets annoying quickly when it overrides your static tools and suggests nonsense.
    • larger training sets contain more vulnerabilities as most code is pretty terrible and may just be snippets that someone used once and threw away. owasp has a top 10 for a reason. take input validation for example, if I’m working on parsing a string there’s usually context such as is this trusted data or untrusted? if i don’t have that mental model where I’m thinking about the data i might see generated code and think it looks correct but in reality its extremely nefarious.





  • tried Razer, Logitech and they just never felt right. got a new zowie (za13-dw) and it felt smoother, good weight and sensors, also no need for extra drivers. they make different shapes for different grips and hand size so you can find what fits. honestly one of the best mice I’ve used, up there with my old mx518



  • kewjo@lemmy.worldtoSelfhosted@lemmy.worldDocker Backup Stratagy
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    3 months ago

    caches are never really a concern to me they will regen after the fact, from your description i would worry more about db, this is dependent though in what you’re using and what you are storing. if the concern is having the same system intact then my primary concern would be backing up any config file you have. in cases of failure you mainly want to protect against data loss, if it takes time to regenerate cache/db that’s time well spent for simplicity of actively maintaining your system




  • kewjo@lemmy.worldtolinuxmemes@lemmy.worldNo bloat
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    3 months ago

    in Windows you separate each drive by a letter like C:, D:, etc, however on Linux your drives are mounted as part of your folder structure. the top level is called root which would be / you can then mount each disc as a folder under root, so for example /home could be a separate hard drive but it’s still mounted under root, note the starting slash. This means the command deletes any and all files+directories under root, this can include mounted USB, mounted network drives and anything mounted to your root. you’re basically nuking all the files you can access when you’re logged in as admin/root.





  • there was a study done in the 50s that pretty much decided US health policy for decades that said fat is bad and makes you fat. the reaction to this was for companies to remove fat from their products to claim it’s low fat but in order to maintain taste they replaced it with sugar. this proliferated all food products and being coupled with both parents working 40+ hours a week caused a lot of families to fill fridges with highly processed foods with “healthy” sugar/fat levels that could be prepared easily. tie in the fact that there’s no time to exercise with the fact that most Americans drive to destinations, it becomes easy to read articles that x is the cause of obesity that it took a long time to realize what the real problems are.