• 0 Posts
  • 246 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle




  • There is a lot of creativity in the manufacturing world. I’m think more where someone repurposes the engine of their weed whacker to build some contraception that can split a piece of wood into 10 pieces in one go. It’s not safe, by it works.

    I agree that the traditional arts are more left leaning. Music could be one of those where it’s more balanced. Country music is full of fake cowboy conservatives, and rock isn’t without it’s shit heads either.








  • BassTurd@lemmy.worldtoScience Memes@mander.xyzI'm not okay.
    link
    fedilink
    English
    arrow-up
    52
    ·
    edit-2
    11 days ago

    Used to catch them growing up. There would be thousands of them periodically blinking in the yard and across the field every night. It was pretty and serene.

    I saw one just the other night when I let my dogs out before going to bed. It was so surprising that I had to wait a minute and verify I wasn’t just seeing things. It was a real life lightning bug. It was a happy sad moment.




  • BassTurd@lemmy.worldtoaww@lemmy.worldFluffiest dog detector
    link
    fedilink
    English
    arrow-up
    9
    ·
    18 days ago

    It does look like 3 of those pictures may be the same golden, so it may not be just sleeping on all random dogs. Could just be a case of cuddling with one or two that it likes. That’s also a really young puppy by the looks, and getting tuckered out isn’t abnormal.

    Still good advice to keep eyes and watch for the things you mentioned.





  • Edit… I reread your comment and realized that python does it differently and that everything I typed was irrelevant… I’m still gonna leave it if anyone is interested in ternary expressions, but I suppose the answer to your question is, that’s just how python does it.

    That’s how ternary operators are designed to work. In essence, if you’re looking to do a single line if/then, you can directly assign a variable from the result of a ternary expression.

    As an example, I was scripting something earlier where there may or may not be a value returned from a function, but I still had to do something with that return value later. For this thing, I was using JavaScript.

    I ended up with:

    return platform == "name"  ? "Option 1" : "Option 2"
    

    If I were to write that out in a typical if/then it would be:

    if (platform == "name") {
        return "option 1"
    } else {
        return "option 2"
    }
    
    

    A ternary starts with a boolean expression, then the if true value, else the false value. That’s returned to either a variable or if in a function like my example, to the object calling the function. It’s just a way to write less code that in many cases is easier to read.


  • The best half cocked reason I’ve heard from my own employer, is optics when clients are visiting and tours and shit. It’s not a good reason, but it was the only reason I’ve heard with any explanation.

    There are plenty of people that I know that like going to the office and others that like hybrid. I am hybrid 3 days at home, and I’m okay with that, and if I want to, I’ll just say I’m not coming in, and nobody asks questions. The point is, if you need asses in seats, find the people in the company that want to, and work within those bounds, or incentives fringe people if you need more. If my company required RTO, I’d immediately update my resume and start shopping around.