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

help-circle
  • Wow. I might have the same model. What distro are you running?

    I’m running Ubuntu Budgie Jellyfish. My biggest gripes are battery life and notifications (only low battery warning I get is the screen flickering 1 min before it dies at around 5% power), video (maybe once a month the screen will go black and I can’t do anything but hard reset), and Wi-Fi (5G connection is much more likely to drop than 2.4G if I’m between APs). Might be a bit of a lemon since I had to get the mobo replaced in like the first 2 weeks.











  • What’s the purpose of foo? Why an ambiguous single character variable? What if the property was there but the value was null? Why not use (assuming JS) optional chaining?

    I’d approach it more like this:

    function getWhatevrProp(userData) (
      const default = { whatevr: "n/a" };
    
      return { ...default, ...userData }.whatevr;
    }
    

    Sorry, read too fast the first time. It’s more likely Python. I also don’t know Python well enough to give recommendations on that.



  • Usually it doesn’t solve my problems but it gives me a few places to start looking. I know some models are capable of this but to get a perfectly accurate and useful response would probably require it to recall a specific piece of input it was given and not just an “average” of the inputs.