Lurker News
I remembered this post from six years ago, and thought it would be good to have a post like it on HN today. It's especially important to call important people in your life today with the pandemic, both for the caller and the person (or people) being called. It may also be worth setting up a Zoom (or Jitsi Meet, or Google Hangouts, or Facebook, or another group video call service) gathering. I joined one for my little brother's birthday late last month, and it was really good for feeling connected.

https://news.ycombinator.com/item?id=7728411

Comments (222) 38 threads

Earlier comments
greggturkington1 reply#
She's dead. I needed another reminder today, thanks. On a tech site.
dvtrn#
I am sorry for your loss and the pain you’re having conjured up today.
stakkur4 replies#

  def mom(believe_hallmark = False, mom_exists = False, mom_cares = False):
    if (believe_hallmark == True and mom_exists == True and mom_cares == True):
        print('Call Mom')
    else:
        print('Nah')

  mom(False, True, False)
License: This code is open source.

[EDIT] I'd forgotten how poorly humor fares on HN.

WarOnPrivacy#
I suspect the highest mom-wisdom is knowing that Hallmark is full of crap.

Ergo mom(False, True, True)

tomrod#
For many environments, better performance can be found by swapping the "and" conditions with "or" conditions.
Liron1 reply#
`== True` is triggering
therealdrag01 reply#
I have mixed feelings. I prefer “if (condition)”, but I dislike “if (!cond)”, since the exclamation looks sneaky, especially when the condition is a method call or a long variable. But I dislike the dis-symmetry of using != but not == . Programming syntax taste is hard!!
dragonwriter#
But it's clearly Python, so it would be the very not-sneaky “not” instead of “!”.
airstrike#
I mostly downvoted for the uneven indenting TBH

All comments shown.