• 0 Posts
  • 89 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle

  • My first temptation was to say that it might be an age thing, but then I know many people my age who still don’t care about plants.

    For me, it’s like a switch flipped one day. When I was younger, I just didn’t really care, and the few times I was given a plant, it did not end well. Figured that I just had a brown thumb.

    But, maybe 10-some-odd years ago, I got a peace lily, and, by then, something had changed. I wanted to see this plant thrive, and it brought me just a little bit of satisfaction to see it doing well. It doesn’t hurt that peace lilies will tell you when they need watered, and, as such are pretty easy to keep.

    I’m still not the best plant dad, but I’d since gone on to buy about a dozen more and appreciate the bit of greenery around the house.



  • I think you’ve already gotten some good answers here regarding the function itself:

    It sits and waits for the user to input something and hit Enter, and returns the value the user entered, which is then assigned to your nam variable. (See the documentation for the function.

    I might also offer the advice of confirming your understanding of the flow of a program. That is, understand that, in the general sense, the computer must resolve the right-hand side of the equals sign to a value before it can assign it to the left.

    For example, if the right-hand side is a literal value, it’s already resolved. For example, a line like name = “Joe” is easy—assign the string literal “Joe” to the variable name, when the line is run.

    If the right hand side is a mathematical equation, it must be resolved to a value when the line is run. For example, for a line like value = 2+2, the 2+2 must be resolved to 4 before it can be assigned to the variable.

    Then, for something like name = input(“Who are you?”), in order to resolve the right-hand side, the computer must first run the function before it can assign a value to the variable name.

    It can, of course, get more complicated, where you can call multiple functions on a line, and the results of one feed into the next, and so on. But, that can be an exercise for the near future.




  • I’m slightly embarrassed to admit that I’m 25 years into my career and I’ve only just started to put this into practice. (I say “slightly” because, hey, I’ve been doing this without any advice or mentorship, and, maybe, one can be forgiven for not finding this stuff self-obvious…)

    Took a new position and got tired of people scheduling my lunch four out of five days a week. In addition to the meetings before and after, it often meant most of my day in meetings without a break.

    So, I threw a tentative meeting for that time slot and the number of lunchtime meetings cratered. Somehow, folks were able to figure out another time or solve it without a meeting. Only twice in four months have I been asked if that “meeting” could be moved.

    Needless to say, I’m a convert and would wholeheartedly recommend the practice—of scheduling a self-meeting, for any purpose, be it lunch or even just productive time—to folks well before they hit 25 years.


  • Hard agree. I played through the opening twice in my first sitting. Died both times. Put it down for a year and a half.

    Finally decided to try again and picked it back up. Passed the opening sequence and got into the game proper. And, I can say that I had a pretty good time—excepting a key, bullshit timed mission that I barely passed.

    They really did not need to gatekeep the game behind the poor design of the opening.